Apple I for Apple II

7 replies [Last post]
mmphosis's picture
Offline
Joined: Aug 18 2005
Posts: 276

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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mmphosis's picture
Offline
Joined: Aug 18 2005
Posts: 276
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
Joined: Aug 18 2005
Posts: 276
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

david__schmidt's picture
Offline
Joined: Apr 11 2006
Posts: 809
[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
Joined: Aug 18 2005
Posts: 276
Re: The connection has timed out

david__schmidt wrote:

Is hoop-la feeling ok?

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

mmphosis's picture
Offline
Joined: Aug 18 2005
Posts: 276
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
Joined: Sep 5 2009
Posts: 47
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
Joined: Aug 18 2005
Posts: 276
Re: underscore character

wsander wrote:

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.