ZX81 io address list including modules/extensions

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
Post Reply
User avatar
PokeMon
Posts: 2264
Joined: Sat Sep 17, 2011 6:48 pm

ZX81 io address list including modules/extensions

Post by PokeMon »

Well - it might be useful for developers.
I am always thinking of which addresses have been in use by what modules and which one to take for new developments to avoid collisions. As in tradition to Sinclair most interfaces and modules are not fully decoded. This gives a quite fast overview and technical details to different modules known and widely used.

If I may have forgotten something (I guess there is much more hardware out ...) or made mistakes, any hints for updates and corrections and adding of more hardware modules is appreciated. As long as you can give as many details as possible. So I will update it regularly.

Have fun. 8-)
ZX81ioaddresslist.pdf
(5.62 KiB) Downloaded 212 times
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: ZX81 io address list including modules/extensions

Post by sirmorris »

Hi Karl.

ZXpand+ also uses $07.RW, and port $17.R for a status bit.
It fully decodes $0f,$1f,$cf and $df for AY & on-board turbo-ay.

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

Re: ZX81 io address list including modules/extensions

Post by PokeMon »

And if an AY module is attached, does it use standard (or which) ports additionally ?
I am a bit confused about usage of $CF/$0F and $DF/$1F.
Didn't found too much documentation of it.
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: ZX81 io address list including modules/extensions

Post by sirmorris »

As far as standard is concerned, one version of the Zon-x manual states DF and 0F are the register select and data registers respectively. In practice the decoding is so loose you could use any one of about 8 ports, but that's another story. I don't know where the CF register comes from historically.

ZXpand will address a single AY chip at any valid combination of register and data ports. So DF & 0F, CF & 0F, DF & 1F or CF & 1F. If a turbo board is fitted then CF & 0F are chip 1, DF & 1F are chip 2. A4 is used to discriminate in this case.

There are no other registers involved.
User avatar
1024MAK
Posts: 5102
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...

Re: ZX81 io address list including modules/extensions

Post by 1024MAK »

My earlier attempt at collating ZX81 IO port information is here

Mark
ZX81 Variations
ZX81 Chip Pin-outs
ZX81 Video Transistor Buffer Amp

:!: Standby alert :!:
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :!:
Looking forward to summer later in the year.
User avatar
PokeMon
Posts: 2264
Joined: Sat Sep 17, 2011 6:48 pm

Re: ZX81 io address list including modules/extensions

Post by PokeMon »

Thanks. Didn't know about your previous work (even if responded earlier but 5 years ago is much time). Jesus - is it 5 years now working on and with Sinclair Hardware ??? :shock:

I think it is important to have the decoded bits to see, not just the main used address in software. It is complicate if hardware respond to other addresses as well. And a PDF format would be better as the XLS is opened on my Mac with another viewer who automatically converts all data (dec, hex, bin) into the decimal format.
Bildschirmfoto 2017-06-11 um 15.25.07.png
Bildschirmfoto 2017-06-11 um 15.25.07.png (53.01 KiB) Viewed 2830 times
I think it would be better to have a view from an interface side as it is more helpful to see what interface exactly conflicts and if it is an important one (widely used like ZXpand) and how to avoid best. On the other hand the list you created earlier is hard to follow as there is a PIO port named for example but don't know which module is meaned here. Which module is using SIO ports this way or CTC ? That is unclear for me.

So I think starting new now would be better. A bit difficult is the sorting criteria but I used here the main io addresses used.
I tried to put it all in detail as much as possible to get a good overview.
So at the end I hope this new list will help people here.
User avatar
PokeMon
Posts: 2264
Joined: Sat Sep 17, 2011 6:48 pm

Re: ZX81 io address list including modules/extensions

Post by PokeMon »

By the way - will wait about one week to update the list to let it all do in one tun - maybe there are more missing modules. So time to report here now. 8-)
Post Reply