ZX 81 development on Linux. What tools?

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
sl07h1
Posts: 34
Joined: Mon Feb 22, 2021 7:16 pm

ZX 81 development on Linux. What tools?

Post by sl07h1 »

Hi, I'm a Linux user, I would like if there's a tool setup for do the following:

1. Write Assembler code (or BASIC code) in a reasonable way and export the code to an emulator to test.
2. Export stuff from the emulator to a .tgz file (or a .p file) in order to get the stuff working in the ZX 81

I'm currently working with the JtyOne emulator, but I don't know how to export / import stuff (I think it doesn't support .p files) and the Tape Tools (ZX81 Tape Converter) that works very good, but I'm stuck in the import code / export to .p file parts. I've looked in google but I can't find the tools needed in Linux.

There's a chance or should I work in Windows / Mac?

Thanks.
User avatar
kolbeck
Posts: 32
Joined: Sat May 02, 2020 3:10 pm

Re: ZX 81 development on Linux. What tools?

Post by kolbeck »

z88dk - runs on linux and supports ZX81. You can use the supplied assembler to do assembler (in case you don't to stick to C), and it can generate .p files for you. Find it here: https://github.com/z88dk/z88dk
https://api.zxinfo.dk/v3/ - ZXDB API for developers
zxinfo-file-browser - Cross platform app to manage your files
https://zxinfo.dk - another ZXDB frontend
User avatar
Paul
Posts: 1511
Joined: Thu May 27, 2010 8:15 am
Location: Germanys west end

Re: ZX 81 development on Linux. What tools?

Post by Paul »

EO (eightyone) is a ZX emulator for Windows that works fine with wine on Mac and Linux.
Sz81 and zesarux work native on Linux and both are good emulators.
In theory, there is no difference between theory and practice. But, in practice, there is.
User avatar
kolbeck
Posts: 32
Joined: Sat May 02, 2020 3:10 pm

Re: ZX 81 development on Linux. What tools?

Post by kolbeck »

Paul wrote: Sun Mar 21, 2021 10:49 pm EO (eightyone) is a ZX emulator for Windows that works fine with wine on Mac and Linux.
Sz81 and zesarux work native on Linux and both are good emulators.
EO does not work on macOS Big Sur, unless you install Parallel Desktop or similar, as wine is totally broken on BS.
https://api.zxinfo.dk/v3/ - ZXDB API for developers
zxinfo-file-browser - Cross platform app to manage your files
https://zxinfo.dk - another ZXDB frontend
User avatar
kolbeck
Posts: 32
Joined: Sat May 02, 2020 3:10 pm

Re: ZX 81 development on Linux. What tools?

Post by kolbeck »

Another interesting emulator working on Linux (and macOS Big Sur) is Clock Signal - find it here: https://github.com/TomHarte/CLK
https://api.zxinfo.dk/v3/ - ZXDB API for developers
zxinfo-file-browser - Cross platform app to manage your files
https://zxinfo.dk - another ZXDB frontend
sl07h1
Posts: 34
Joined: Mon Feb 22, 2021 7:16 pm

Re: ZX 81 development on Linux. What tools?

Post by sl07h1 »

Wow, I guess I didn't search properly...

Thank you guys!!!

:)
User avatar
Paul
Posts: 1511
Joined: Thu May 27, 2010 8:15 am
Location: Germanys west end

Re: ZX 81 development on Linux. What tools?

Post by Paul »

kolbeck wrote: Sun Mar 21, 2021 11:03 pm EO does not work on macOS Big Sur, unless you install Parallel Desktop or similar, as wine is totally broken on BS.
Much more doesn't work in Big Sur. Thats why I stick to Catalina.
In theory, there is no difference between theory and practice. But, in practice, there is.
User avatar
Paul
Posts: 1511
Joined: Thu May 27, 2010 8:15 am
Location: Germanys west end

Re: ZX 81 development on Linux. What tools?

Post by Paul »

sl07h1 wrote: Sun Mar 21, 2021 11:37 pm Wow, I guess I didn't search properly...

Thank you guys!!!

:)
As assembler I use BRASS which runs under MONO on my mac.
In theory, there is no difference between theory and practice. But, in practice, there is.
swensont
Posts: 76
Joined: Tue Jan 18, 2011 4:55 am
Location: SF Bay Area
Contact:

Re: ZX 81 development on Linux. What tools?

Post by swensont »

For assembly, I use PASMO. Documentation is online.

sudo apt install pasmo

For BASIC, I use zxtext2p. Source is available and it was a quick compile.
To convert a .p file to text, then zx81list (source code also available).

I also concur with using sz81 as a great ZX81 emulator. It has lots of features and is easy to use. You just need to have SDL 1.2 installed.

sudo apt install libsdl1.2-dev

As mentioned, z88dk is great for using C on the ZX81.

Tim
User avatar
BarryN
Posts: 151
Joined: Thu Nov 09, 2017 11:34 pm

Re: ZX 81 development on Linux. What tools?

Post by BarryN »

I'm glad you like SZ81. I contributed some code fixes and enhancements to some recent versions.
Post Reply