Apple II basic

3 posts / 0 new
Last post
robbo007's picture
Offline
Last seen: 4 days 20 hours ago
Joined: Dec 14 2011 - 06:39
Posts: 116
Apple II basic

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,0
30 goto 10
 

 

thanks,

Rob

robbo007's picture
Offline
Last seen: 4 days 20 hours ago
Joined: Dec 14 2011 - 06:39
Posts: 116
robbo007 wrote:

robbo007 wrote:

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,0
30 goto 10
 

 

thanks,

Rob

 

Worked it out thanks. INIT HELLO :)

 

 

Offline
Last seen: 2 days 58 min ago
Joined: Nov 20 2004 - 00:26
Posts: 49
Or....

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.

Log in or register to post comments