BASIC and POM1 emulator

8 replies [Last post]
Offline
Joined: Sep 3 2005
Posts: 93

Has anyone been able to get BASIC to load in the POM1 emulator.
I've tried but everytime I run it (E000R) it hangs????

Thanks in advance.

Phil

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: 316
BASIC and "Apple I for Apple II"

Yup, in my experience with BASIC (E000R) it "hangs" as well (I am using an "Apple I for Apple II" program, see below.) Most of the (patched) binary programs work, BASIC did not. I didn't debug/look into Apple 1 BASIC too much. Perhaps, we are missing something?

FYI: Apple 1 for Apple II...
http://www.applefritter.com/node/17831
http://geocities.com/mmphosis/apple2/apple1.hgr2.8000.bin.hex.txt

Offline
Joined: Sep 3 2005
Posts: 93
Thanks for the info...I'll lo

Thanks for the info...I'll look into the Apple 1 for II program.

cheers

Offline
Joined: Jun 23 2005
Posts: 48
I have a version of Pom 1 on

I have a version of Pom 1 on my site that has some of the bugs fixed in order to get it to handle my assembler properly. It runs BASIC, and it comes with BASIC included in ROM (like the Replica 1). Look for the "Emulator" link at http://school.anhb.uwa.edu.au/personalpages/kwessen/apple1/Krusader.htm

A second "Emulator" link is for a version that emulates a 65C02 CPU - as is found in nearly all versions of the Replica 1. I had to add that since I extended my assembler to optionally target the 65C02.

If anyone's intereested, I will be uploading tonight a fully tested version of Krusader 1.2. As I just mentioned, it now targets either a 6502 or a 65C02, and also includes a minimonitor that lets you debug your assembled programs by examining and changing register values, viewing the current instruction, changing the PC, and single stepping through assembled code.

Ken

(edit: I've just uploaded the new version I mentioned)

anarkavre's picture
Offline
Joined: Oct 18 2005
Posts: 59
What version

What version of Pom1 are you using? I'm using v0.62b and BASIC works fine for me. I'm still trying to get it to work in my C conversion of Pom1.

Offline
Joined: Jun 23 2005
Posts: 48
Just off the top of my head,

Just off the top of my head, some of the bugs I came across in v0.62 included the decimal mode operation of ADC and SBC were broken, there were some memory overflow errors that caused valid assembly to break, the ASCII code for a space character was wrong, there was no underscore character in the video ROM, and probably some others. I also think the B and I flags are not being set properly, but I haven't really checked this. However, the code was very neat and it was easy to fix things and extend it. I wrote the author, but recieved no reply, so I just did it myself.

If you are porting it to C, you should also endeavour to fix these and any other bugs, and I think the best thing you could add is the ability to interrupt the emulator, investigate the registers and code, single step through code, modify memory etc. That would be really handy.

Ken

Offline
Joined: Sep 3 2005
Posts: 93
I was using Version 0.62b. I

I was using Version 0.62b.
I downloaded the version at Kallikak's site which seems to work fine on my PC with basic built in. However, I can't get it to work in Java on my Mac, where as Version 0.62b worked fine...no biggie though. Thanks for all the info.

Phil

Offline
Joined: Sep 18 2006
Posts: 2
running Kallikak's version of Pom1 on a Mac

It seems bizarre, but I got it to work by running "cd Emulator; ./Pom1.bat" from Terminal. At that point I was able to run BASIC via "E000 R". This was the only way I found to run Apple I BASIC on my Mac. (It didn't work with the "official" version of Pom1)

-Jeremy

Joined: Nov 20 2004
Posts: 40
Apple 1 for Apple II

I just got it working!
Did you do it? I suspect that the Basic does not work because it is supposed to be at $E000, right where the Applesoft ROMS are.
Can you give me more info on Apple 1 for Apple II? ? How it was developed etc. (I've visited node/17831)
Cheers,

Laurie.