Different ZX81 ROM versions ?

Anything Sinclair ZX Basic related; history, development, tips - differences between BASIC on the ZX80 and ZX81
Post Reply
User avatar
PokeMon
Posts: 2264
Joined: Sat Sep 17, 2011 6:48 pm

Different ZX81 ROM versions ?

Post by PokeMon »

If I use functions or code from ZX81 rom, I just want to know if there are complete different ZX81 rom versions with other code or other procedure addresses.
Or is it safe to assume, that the following listing is valid for all ZX81 (including first versions on the market) ?

http://www.wearmouth.demon.co.uk/zx81.htm
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: Different ZX81 ROM versions ?

Post by sirmorris »

ZXpand's ROM has a few things moved around. Nothing major though, and compatibility has been near 100% so far with everything I've tested.

C
User avatar
PokeMon
Posts: 2264
Joined: Sat Sep 17, 2011 6:48 pm

Re: Different ZX81 ROM versions ?

Post by PokeMon »

I use following entry points now in Basic:

;; N/L-ONLY
L0413:

;; SLOW/FAST
L0207:

Want to be sure that it works with all Zeddys.
What does ZXpand ROM exactly ? Does it disable the internal ROM and ZXpand ROM is used only ?
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: Different ZX81 ROM versions ?

Post by sirmorris »

Those entry points should be the same on all known ROMs, including ZXpand.

The ZXpand disables the internal ROM for anything other than character generation.


C
MOB-i-L
Posts: 62
Joined: Mon Apr 19, 2010 12:13 am
Location: Lund, Skåne/Scania, Sweden
Contact:

Re: Different ZX81 ROM versions ?

Post by MOB-i-L »

There is an 'unimproved' ZX81 ROM. It has some bugs: e.g. SQR has errors and PAUSE sometimes crash the computer. I have the unimproved ROM in my ZX81 that was bought in December 1981. I also have the rom-file. Search for unimproved in the listing you referred to - it is mentioned once but that file generates the improved ROM. (There is also the old ROM meaning ZX80 ROM.)
User avatar
PokeMon
Posts: 2264
Joined: Sat Sep 17, 2011 6:48 pm

Re: Different ZX81 ROM versions ?

Post by PokeMon »

MOB-i-L wrote:There is an 'unimproved' ZX81 ROM.
This is just one byte I think.
What I wanted to know is if there are different memory locations for some routines.
Anyway found a method of using RST $08 for jumping back to BASIC from the fastloader.
So this won't be changed ever in any version I think. ;)
Post Reply