Hi all,
Could someone assit with some basic code? I need to have this program autoboot and run from my Apple IIe floppy disk.
How can I make it autoboot from my floppy drive and run without typing in anything?
10 print peek (49152), peek (49168)20 if PEEK(49152) > 128 THEN POKE 49168,030 goto 10
thanks,
Rob
[quote=robbo007]
Hi all,
Could someone assit with some basic code? I need to have this program autoboot and run from my Apple IIe floppy disk.
How can I make it autoboot from my floppy drive and run without typing in anything?
10 print peek (49152), peek (49168)20 if PEEK(49152) > 128 THEN POKE 49168,030 goto 10
thanks,
Rob
[/quote]
Worked it out thanks. INIT HELLO :)
Or....
In most cases, just make sure that the program that you want to run at startup is named "HELLO". For DOS 3.3, when you initialize (INIT) a floppy it clears the disk and lays down the DOS on the first 3 tracks, and clears the VTOC. "INIT HELLO" will save the current basic program in memory to the disk, names it "HELLO" and tells DOS to run that program at boot. Most startup programs have been called "HELLO" but it is possible that someone initialized the disk with a different startup name.