Apple I for Apple II

8 posts / 0 new
Last post
mmphosis's picture
Offline
Last seen: 1 week 6 days ago
Joined: Aug 18 2005 - 16:26
Posts: 433
Apple I for Apple II

Here is a program to run the Apple I monitor (and other Apple 1 programs with a small patch) on an Apple II.

There are patches to echo a character to the display and get a key from the keyboard. I am not sure if newlines work quite properly as I don't have an Apple I to see how these actually work. It uses HGR2 for the display so that the RAM from 0.3FFF is available.

Control L will clear the screen. Control Q will quit. Control ^ will allow you to enter control L and control Q and control ^.

To load the program, from Applesoft BASIC, go into the monitor:
]CALL -151

Enter the program in the monitor starting at $8000:
*8000:

Paste this program into an Apple II emulator or somehow copy it to a real Apple II.
http://geocities.com/mmphosis/apple2/apple1.hgr2.8000.bin.hex.txt

replace the bytes AD 12 D0 with 20 70 80 in your Apple 1 programs. LDA $d012 becomes JSR $8070

also, replace the bytes AD 11 D0 with 20 70 80 in your Apple 1 programs. LDA $d011 becomes JSR $8070

I did this with "lunar" lander and the program worked.

Happy Hacking,
mmphosis

mmphosis's picture
Offline
Last seen: 1 week 6 days ago
Joined: Aug 18 2005 - 16:26
Posts: 433
Apple I for Apple II - one more thing

To run the Apple-1 for Apple II program, from the monitor:
*8000G

And, from Applesoft BASIC:
]CALL32768

mmphosis's picture
Offline
Last seen: 1 week 6 days ago
Joined: Aug 18 2005 - 16:26
Posts: 433
update

Sorry, the GeoCities web site you were trying to reach is no longer available.
The Apple I for Apple II machine language program is now here:
http://hoop-la.ca/apple1/apple1.hgr2.8000.bin.hex.txt

I've put the program in Binary format on a (non-bootable) Apple DOS 3.3 Format disk image file (143360 bytes.)
.dsk is the kind of image file that many Apple II emulators use.
http://hoop-la.ca/apple1/apple1.dsk
http://hoop-la.ca/apple1/apple1.dsk.gz
http://hoop-la.ca/apple1/apple1.dsk.zip

Offline
Last seen: 8 years 5 months ago
Joined: Apr 10 2006 - 20:01
Posts: 1013
[i]The connection has timed o

The connection has timed out
The server at hoop-la.ca is taking too long to respond.

Is hoop-la feeling ok?

mmphosis's picture
Offline
Last seen: 1 week 6 days ago
Joined: Aug 18 2005 - 16:26
Posts: 433
Re: The connection has timed out

Is hoop-la feeling ok?

It took a while to respond but we're feeling much better now, thank you.

mmphosis's picture
Offline
Last seen: 1 week 6 days ago
Joined: Aug 18 2005 - 16:26
Posts: 433
underscore character

After reading a recent posting, I've discovered a bug in how the Apple-1 for Apple II program works.

By default, echoing the underscore character rubs out the previous character on the screen which is not how the Apple-1 works. To display the underscore character, apply this patch to the Apple-1 for Apple II program:

8179:EA EA

http://hoop-la.ca/apple1/#underscore

Offline
Last seen: 11 months 5 days ago
Joined: Sep 4 2009 - 21:04
Posts: 127
Re: underscore character

The underscore character is used as the rubout on the Apple 1, the underscore prints and the previous character is deleted. This works in both the monitor and Basic.

mmphosis's picture
Offline
Last seen: 1 week 6 days ago
Joined: Aug 18 2005 - 16:26
Posts: 433
Re: underscore character

The underscore character is used as the rubout on the Apple 1, the underscore prints and the previous character is deleted. This works in both the monitor and Basic.

You are correct. I am writing about how Apple I for Apple II displays the underscore character. I've corrected the wording of my previous posts. Thanks.

Log in or register to post comments