Original Apple I BASIC

13 posts / 0 new
Last post
Simon27's picture
Offline
Last seen: 4 months 6 days ago
Joined: Jul 7 2005 - 15:54
Posts: 73
Original Apple I BASIC

I've just got into the Apple I recently and have bought the Replica Creation book by Tom.

I found the Pom1 emulator on th' net and got it up and running with some assembly routines.

Next stage: find BASIC.

I found the enhanced BASIC thorugh the Apple I page here on this site but I would rather get the original BASIC done by Woz.

Where (if possible) can I get this from?

Any reply would be great.

Offline
Last seen: 1 year 11 months ago
Joined: Sep 23 2005 - 13:29
Posts: 316
i dont know but...

i dont know, but if woz wrote the apple I nasic, why dont you ask him if he still has it? he seems to be pretty much behind the whole hacker mentality.... maybe you can send him an email through his site at http://www.woz.org

Offline
Last seen: 2 months 1 week ago
Joined: Dec 20 2003 - 10:38
Posts: 249
Re: Original Apple I BASIC


Where (if possible) can I get this from?

Any reply would be great.

Here you go. Hmmm... I thought this was uploaded.

http://www.brielcomputers.com/basic_dump.txt

I'll be sure to add it to the list of downloads.

Vince

Offline
Last seen: 1 year 11 months ago
Joined: Sep 23 2005 - 13:29
Posts: 316
hey!!

wow... that was far more helpful than my response!! (that sure is a tiny amount of code!!! ah... back in the days.... Smile )

Simon27's picture
Offline
Last seen: 4 months 6 days ago
Joined: Jul 7 2005 - 15:54
Posts: 73
Thanks for the URL -- the BA

Thanks for the URL -- the BASIC works!!!

(although I might still try and get through to Woz to see if he has anything else up his sleeve)

Offline
Last seen: 11 months 3 weeks ago
Joined: Aug 22 2005 - 10:32
Posts: 404
how did you get it. to run wh

how did you get it. to run when i try using E000R it just freezes up.

al
Offline
Last seen: 16 years 4 months ago
Joined: Oct 16 2006 - 04:00
Posts: 8
Hello I'm using this Apple

Hello

I'm using this Apple 1 emulator:

http://pom1.sourceforge.net/?page=downloads

What must I do to get this Basic running? It just hangs if I type E000R.

al
Offline
Last seen: 16 years 4 months ago
Joined: Oct 16 2006 - 04:00
Posts: 8
Re: Original Apple I BASIC


Where (if possible) can I get this from?

Any reply would be great.

Here you go. Hmmm... I thought this was uploaded.

http://www.brielcomputers.com/basic_dump.txt

I'll be sure to add it to the list of downloads.

Vince

Hello Vince,

I'm testing the Apple 1 Pom emulator:

http://pom1.sourceforge.net/?page=downloads

but the basic hangs if I type E000R.

If I type the test program of the Apple 1 manual, then the emulator works.
IF I look at the programs that I type and saved , I see there are adress numbers before every line.
In the basic_dump.txt , I see only one address (E000)
If I look in the Apple 1 monitor after I load the basic_dump.txt, I see there is only on line of code(E000). The rest is 00 .
Is it possible to send me a basic_dump.txt with line numbers for every line of code. Or is there another way to get these line numbers in my code...

many thanks,

al

Offline
Last seen: 2 months 1 week ago
Joined: Dec 20 2003 - 10:38
Posts: 249
With the monitor, you only ne

With the monitor, you only need a starting address for your code. For example, basic starts at E000 so I can break it up into several lines:

E000:4C 20 EF FF

And then I can type in the next line like this:

:30 EA E8 FA 20 EF FF

The colon will allow you to enter data from the last used memory location. I haven't used Pom emulator but you should be able to dump the text file as it is.

Vince

iceandfire's picture
Offline
Last seen: 8 years 8 months ago
Joined: Dec 20 2003 - 10:38
Posts: 67
Loading BASIC

If Vince's dump listing doesn't work, you can edit the listing by adding the address prior to the colon on each line as follows:
E080
E100
E180
E200
E280...

up to:
EF00
EF80

That will add the addresses to the dump. Apple I and the Replica don't require the address to proceed each line if they are in sequence, but maybe POM I does.

I'm pretty sure the Replica uses the exact code that Woz wrote in the orginal Apple I.

Larry

al
Offline
Last seen: 16 years 4 months ago
Joined: Oct 16 2006 - 04:00
Posts: 8
Hello, The Apple 1 BAS

Hello,

The Apple 1 BASIC works now.

How can I get from Basic into the WOZ monitor ?

Thanks,

al

iceandfire's picture
Offline
Last seen: 8 years 8 months ago
Joined: Dec 20 2003 - 10:38
Posts: 67
From BASIC to Monitor

Hmmm.. Good question. With the Apple I or the Replica, the normal way out of BASIC is to press the Reset button. I guess (although I've never tried it) one could CALL -256 from BASIC, which would take you to the Monitor. To return to BASIC, do a RTS or JMP to E2B3.

Offline
Last seen: 18 years 1 month ago
Joined: Nov 22 2006 - 17:44
Posts: 14
Perl one liner for prepending the ram address on every line

If you want to prepend the running address to the beginning of lines with a bare colon then the following perl one liner will do the trick for you on any rom file:

perl -pe '$base = /^([0-9A-F]{4}):/ ? $1 : uc sprintf "%04x",hex($base)+8; s/^[^:]*:/$base:/'

Log in or register to post comments