ZX80 Program Listing to text file
ZX80 Program Listing to text file
Can someone help with getting a zx80 program listing to a text file on my Windows desktop?
Progress so far:
- Got eightyone to load my file from a wav.
- sirmorris and mrtinb got me to the point of having a .o file and pointed to the online emulator.
Still to do:
- Can't quite get my program listing to a text file (trying to avoid OCR'ing a screenshot as this would be painful for multi screen program listings)
Notes:
Googled around a bunch and found a tool called XuR, but won't work with my Windows architecture.
I can work in OSX or Linux if there's a tool that will help me there.
Thanks for any help!
Progress so far:
- Got eightyone to load my file from a wav.
- sirmorris and mrtinb got me to the point of having a .o file and pointed to the online emulator.
Still to do:
- Can't quite get my program listing to a text file (trying to avoid OCR'ing a screenshot as this would be painful for multi screen program listings)
Notes:
Googled around a bunch and found a tool called XuR, but won't work with my Windows architecture.
I can work in OSX or Linux if there's a tool that will help me there.
Thanks for any help!
Re: ZX80 Program Listing to text file
Update:
I found something called P2TXT (from mobluse on github https://github.com/mobluse/zx81-mob/tre ... converters) which I was able to compile, but no output and no error. Probably because it's for .p files and I have an .o file (saving from zx-80 to .p didn't seem to help).
Maybe there's an O2TXT out there somewhere?
I found something called P2TXT (from mobluse on github https://github.com/mobluse/zx81-mob/tre ... converters) which I was able to compile, but no output and no error. Probably because it's for .p files and I have an .o file (saving from zx-80 to .p didn't seem to help).
Maybe there's an O2TXT out there somewhere?
Re: ZX80 Program Listing to text file
The ZX80 w/4k ROM and ZX81 have different memory layouts and you'll need to look into these differences, documented in the respective manuals, in order to make the necessary changes to p2txt. Don't be scared, it should be quite fun and educational 

Re: ZX80 Program Listing to text file
Vb81 XuR won't help you much it would seem. I can't get it to emulate ZX80.
Re: ZX80 Program Listing to text file
It seems Grant's site had the same problem, so he decided to take pictures of his tv. http://zx80.netai.net/grant/zx80/zx80software.html
- 1024MAK
- Posts: 5534
- Joined: Mon Sep 26, 2011 10:56 am
- Location: Looking forward to summer in Somerset, UK...
- Contact:
Re: ZX80 Program Listing to text file
Emulators for ZX80
If you use a Unix or similar system, there is also ZEsarUX 6.0 stable
viewtopic.php?f=3&t=2675
An old Windows/DOS emulator is NO$ZX by Martin Korth
http://problemkaputt.de/zx.htm
I have not actually tried either in ZX80 mode though.
Mark
If you use a Unix or similar system, there is also ZEsarUX 6.0 stable
viewtopic.php?f=3&t=2675
An old Windows/DOS emulator is NO$ZX by Martin Korth
http://problemkaputt.de/zx.htm
I have not actually tried either in ZX80 mode though.
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...
ZX81 Chip Pin-outs
ZX81 Video Transistor Amp


There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb

Spring approaching...
Re: ZX80 Program Listing to text file
The ZX81-IDE (windows program which can run under wine) is able to load and Edit ZX80 and ZX81files.
From there you can copy and print your text.
It's a FASM Assembler extended to use Z80 mnemonic and offer mixed language programming with Sinclair Basic and Z80 assembler.
It's definitely worth a look.
It's made by Karl who is here in the forum (and in the german tlienhard forum) as user pokemon.
Kind regards
Paul
From there you can copy and print your text.
It's a FASM Assembler extended to use Z80 mnemonic and offer mixed language programming with Sinclair Basic and Z80 assembler.
It's definitely worth a look.
It's made by Karl who is here in the forum (and in the german tlienhard forum) as user pokemon.
Kind regards
Paul
In theory, there is no difference between theory and practice. But, in practice, there is.
Re: ZX80 Program Listing to text file
^^ What Paul said.
Also, if you're so inclined to mod the program anyway then good starting points are:
Description of system variables in a side-by-side form from Mastering Machine Code
The never-ending gift of the no-cash docs describing the P and O file layouts (and everything else as well)
Also, if you're so inclined to mod the program anyway then good starting points are:
Description of system variables in a side-by-side form from Mastering Machine Code
The never-ending gift of the no-cash docs describing the P and O file layouts (and everything else as well)
Re: ZX80 Program Listing to text file
Thanks for the leads guys.
I accidentally went down the route of using something called "Fresh" then found FASMW-ZX.
I output every format I can from the EightyOne emulator (.o, .p, .tzx, .t81, .p81).
Out of those, the ZX-81 IDE only seems to accept .p files and that causes it to crash when I pass it in.
Am I missing an option maybe?
BTW: Thanks for the info/doc links. The P2TXT mod project sounds fun, but it may be a while before I could get to it. I'm drifting between design and web dev jobs at the moment so time is a bit tight.
I accidentally went down the route of using something called "Fresh" then found FASMW-ZX.
I output every format I can from the EightyOne emulator (.o, .p, .tzx, .t81, .p81).
Out of those, the ZX-81 IDE only seems to accept .p files and that causes it to crash when I pass it in.
Am I missing an option maybe?
BTW: Thanks for the info/doc links. The P2TXT mod project sounds fun, but it may be a while before I could get to it. I'm drifting between design and web dev jobs at the moment so time is a bit tight.
Re: ZX80 Program Listing to text file
The "ZX80LP" button at http://rullf2.xs4all.nl/jszeddy/jszeddy.html prints every printed character to the printer area - so that would need a bit of formatting after a number of LIST commands, but perhaps it's something 
