Floating Point BASIC for the Replica

4 replies [Last post]
iceandfire's picture
Offline
Joined: Dec 20 2003
Posts: 67

I've been working for a couple of weeks adapting a floating point BASIC program for the Replica. I would say it's for the Apple-1 but it's way too big for any Apple-1. It's about 10K bytes, fitting in the upper area of RAM and leaving about 20K for program storage.
I finally got it working right today. Next, I need to get it uploaded to Applefritter so anyone interested can play with it.
The program is a pretty full-featured version, with good math features and string handling capabilities. It came from Lee Davidson, who wrote the original source code. For a comprehensive set of user instructions, requirements and language references, go to http://members.lycos.co.uk/leeedavison/

__________________

Larry Nelson

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Offline
Joined: Mar 15 2004
Posts: 17
Too big?

What about placement into ROM in user expansion areas (Axxx, Bxxx, Cxxx)? The same notepad area as in Woz basic in the zeropage can be used for temporary data storing.

__________________

Jiri T. Dolezal, M.D.
Prague, Czech Republic, Europe

iceandfire's picture
Offline
Joined: Dec 20 2003
Posts: 67
F. P. Basic

Better would be the $9XXX, $AXXX, and $BXXX pages since those locations have no other uses at present. $CXXX page is the address that the Apple-I used for the cassette interface, and I still hope that someday we can get a cassette interface for the Replica-I. I have a few recordings from my Apple-I days that are unmarked, and I have no idea if there are any valuable programs there. Maybe someday I will be able to download those tapes, play with them enough to discover their purposes, and make them available to everyone.

For now, the floating point BASIC works fine in the locations from $5800 to $7FFF, and with 20K bytes for program execution there seems to be plenty of space. (the remaining RAM from $0-$0300 is used for stack, zero-page addressing, input buffer and a few other routines.)

It would be a snap to re-locate it for a ROM if anybody wants to do it.

__________________

Larry Nelson

Offline
Joined: Mar 9 2005
Posts: 79
I have a cassette interface c

I have a cassette interface comming in the mail. Smile I also have a super secret board. I'll post pictures of it and if you guess right I'll let you know. Wink

It will cost about $20 in parts to put together plus the PC board. I chose to be historically accurate and use origional component placement as well as 256x4 roms. They're about $18 of the $20 cost. Wink

If vince has a Replica 1 he could loan me for testing I could test it. I will not be buying a replica one, I will be making my own with the Dram refresh circuitry and video sections without microcontrollers. When I started my Macintosh Clone I wanted to use a microcontroller to save components in the video and sound areas. I was somewhat insulted when someone I met in arch.fpga told me at best I'd have an emulator. Wink

iceandfire's picture
Offline
Joined: Dec 20 2003
Posts: 67
Floating Point Enhanced BASIC is Here

Finally uploaded the Floating Point BASIC for the Replica/Apple.

Find it here -- applefritter.com/node/6970

__________________

Larry Nelson