The following programs initialize the Apple's memory and RUN your application program. After the program is loaded above the High-Res buffer, DOS and CHAIN continue to load programs there until you re-boot the system or execute a FP command.
For HGR:
10 POKE 103,1
20 POKE 104,64
30 POKE 16384,0
40 PRINT CHR$(4); "RUN PROGRAM"
For HGR2 or both pages:
10 POKE 103,1
20 POKE 104,96
30 POKE 24576,0
40 PRINT CHR$(4); "RUN PROGRAM"