Single commented (and improved) sources for ZX81 ROMS

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
Post Reply
User avatar
marste
Posts: 279
Joined: Sun Aug 10, 2014 9:58 pm
Location: Italy
Contact:

Single commented (and improved) sources for ZX81 ROMS

Post by marste »

Some time ago I was analysing the load/save audio routines of the ZX81 ROMS and added few comments. Willing to share them I took what seemed to me a good public repository: https://github.com/Toysoft/ZX-81-ROMS

Seemed to me good since it had a nice parametrical way to integrate the various “extensions” in a single source:
- ZX-81 version 1 (buggy) ROM
- ZX-81 version 2 (improved) ROM
- TK-85 ROM
- ZX-81 "Shoulder of Giants" ROM
- Timex Sinclair 1500 ROM

And also had some scripts to compile pretty print them in html formats.

I forked the repository and made change in the main file “src/zx81_roms.asm“ (within https://github.com/stevexyz/ZX81-ROMS) and created a pull request, but seems the maintainer is idling.

Today by chance I encountered a very similar (if not equal) content in another repository: https://github.com/proteanthread/ZX-81-ROMS, even if they are not officially related by fork relations, and also saw that @zsolt might have an even improved version of the currently present roms.

Said that, I think having a single central repository to both continually refine the comments and improve the code by all the community would be a nice thing for everyone. The question is: there is already such a place?
User avatar
1024MAK
Posts: 5526
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...
Contact:

Re: Single commented (and improved) sources for ZX81 ROMS

Post by 1024MAK »

I can’t answer your question.

But do wish to point out that there are actually THREE official Sinclair versions of the ZX81 ROM. Details here.

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

:!: Standby alert :!:
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :!:
Spring approaching...
sboisvert
Posts: 45
Joined: Mon Nov 02, 2009 3:43 pm

Re: Single commented (and improved) sources for ZX81 ROMS

Post by sboisvert »

Nice - that's one thing I wish had been better documented as I've read through that code in the past.

You might also want to look as some commented code I did for the BASIC listing routines here. It's by no means complete, as I was mostly curious how the actual lines get displayed (and not the whole LIST routine).

As for your changes, if the existing maintainer isn't responding, you could always fork the repo and integrate your changes into your own fork.

User avatar
marste
Posts: 279
Joined: Sun Aug 10, 2014 9:58 pm
Location: Italy
Contact:

Re: Single commented (and improved) sources for ZX81 ROMS

Post by marste »

1024MAK wrote: Sat Mar 22, 2025 6:27 pm .. there are actually THREE official Sinclair versions of the ZX81 ROM. Details here.
Interesting! Surely something that can be added!

sboisvert wrote: Sun Mar 23, 2025 7:57 pm As for your changes, if the existing maintainer isn't responding, you could always fork the repo and integrate your changes into your own fork.
Sure! For the meantime there is just my fork with my inputs (for now on the "stevecomments" branch but I can fast forward and merge back them into main), and until something else will be found I can also integrate any pull request I will receive
Post Reply