The best ZX81 emulator for Linux?

Emulator and emulator development specific topics
olofsen
Posts: 189
Joined: Wed Jan 08, 2014 12:29 pm

Re: The best ZX81 emulator for Linux?

Post by olofsen »

I've just compiled the source 0.6 SN March 31st. The configure detects the presence of the ssl library and adds it to the ld flags, but an ldd of the executable does not show the library... With spiro and --realvideo the options are all set as you described, but the image is not stable in the x direction.
User avatar
chernandezba
Posts: 205
Joined: Tue Mar 11, 2014 4:30 pm

Re: The best ZX81 emulator for Linux?

Post by chernandezba »

olofsen wrote:I've just compiled the source 0.6 SN March 31st. The configure detects the presence of the ssl library and adds it to the ld flags, but an ldd of the executable does not show the library... With spiro and --realvideo the options are all set as you described, but the image is not stable in the x direction.
Hi
I'm working on the image stabilization; is a beta feature, but it does works (the last SN version) ;)

Cheers
Cesar
----

ZEsarUX
ZX Second-Emulator And Released for UniX
https://github.com/chernandezba/zesarux
olofsen
Posts: 189
Joined: Wed Jan 08, 2014 12:29 pm

Re: The best ZX81 emulator for Linux?

Post by olofsen »

In the meantime I tested if my patches also work with Thunor's sz81 and yes :) see attachment.
Attachments
patches.zip
(2.24 KiB) Downloaded 262 times
MOB-i-L
Posts: 62
Joined: Mon Apr 19, 2010 12:13 am
Location: Lund, Skåne/Scania, Sweden
Contact:

Re: The best ZX81 emulator for Linux?

Post by MOB-i-L »

olofsen wrote:In the meantime I tested if my patches also work with Thunor's sz81 and yes :) see attachment.
I applied the patches using patch < file.patch to sz81-2.1.7-source.tar.gz from http://sz81.sourceforge.net/#downloads but after that make and make -f Makefile.z81 wouldn't compile to executable files. I compiled on Raspberry Pi with latest and most updated Rasbian from NOOBS. I suspect you might be using some other source. It was possible to compile before applying the patches. I could also compile your version of xz81 in z81-2.2.tar.gz from http://rullf2.xs4all.nl/sg/zx81ce.html and run some WRX-programs from http://www.pictureviewerpro.com/hosting/zx81/fredn.htm. Maybe you could provide a full patched version of sz81-2.1.7-source.tar.gz so people don't have to patch themselves.

Edit: I discovered that if I run make clean and make -f Makefile.z81 clean I could compile to executable files but then the WRX-graphics didn't work -- i.e. in sz81 it was just a blank screen and in xz81 there was random noise.
Last edited by MOB-i-L on Thu Apr 10, 2014 8:45 pm, edited 1 time in total.
olofsen
Posts: 189
Joined: Wed Jan 08, 2014 12:29 pm

Re: The best ZX81 emulator for Linux?

Post by olofsen »

Here is a link to the patched (not yet documented) source: http://rullf2.xs4all.nl/sg/sz81-2.1.7p.tar.gz
Does it compile?
MOB-i-L
Posts: 62
Joined: Mon Apr 19, 2010 12:13 am
Location: Lund, Skåne/Scania, Sweden
Contact:

Re: The best ZX81 emulator for Linux?

Post by MOB-i-L »

olofsen wrote:Does it compile?
Yes, but I have the same problem as in my edited post above i.e. in sz81 it was just a blank screen and in xz81 there was random noise. (One idea of what might be wrong: I know that the gcc on RasPi has different defaults compared to other compilers when it comes to char so you should specify signed char or unsigned char, or you could add CFLAGS = -fsigned-char, but maybe you already did this.) The other xz81 on your page works with WRX also on RasPi.
olofsen
Posts: 189
Joined: Wed Jan 08, 2014 12:29 pm

Re: The best ZX81 emulator for Linux?

Post by olofsen »

Does the original sz81-2.1.7 from sourceforge work? Good to hear that the z81-2.2 works on the Pi!
MOB-i-L
Posts: 62
Joined: Mon Apr 19, 2010 12:13 am
Location: Lund, Skåne/Scania, Sweden
Contact:

Re: The best ZX81 emulator for Linux?

Post by MOB-i-L »

olofsen wrote:Does the original sz81-2.1.7 from sourceforge work?
Yes, and on Raspberry Pi, but I havn't tried it with WRX16. Your probably works too for normal use but not now with WRX16 on Raspberry Pi. I read about WRX1K, will that also be supported?
olofsen
Posts: 189
Joined: Wed Jan 08, 2014 12:29 pm

Re: The best ZX81 emulator for Linux?

Post by olofsen »

I used the Makefile (without .z81) without any additional flags. Normal and hires modes work also on an old 32 bit machine. So for now it is a mystery... Yesterday I tested some 1K hires games which required some more patching (included in the links above), but the results vary. (Use the "1K" setting in the user interface or the "-u" command line option depending on the package.)
MOB-i-L
Posts: 62
Joined: Mon Apr 19, 2010 12:13 am
Location: Lund, Skåne/Scania, Sweden
Contact:

Re: The best ZX81 emulator for Linux?

Post by MOB-i-L »

olofsen wrote:I used the Makefile (without .z81) without any additional flags. Normal and hires modes work also on an old 32 bit machine. So for now it is a mystery...
I also compiled it on Ubuntu 10.04 LTS (IA32) and I get the same run-time misbehavior with sz81 as on Linux, i.e. the hi-res screens are blank. I downloaded your source right now. I tested with:
./sz81 games-etc/SPIRO.P
./sz81 games-etc/JUL-FFP.P (I moved those programs there.)

Do you have a Raspberry Pi to test on? Otherwise it should be possible to install emulators of Raspberry Pi but I haven't tried it since I have two Raspberry Pi:s (Model A & B2):
http://www.linux-mitterteich.de/fileadm ... p_2013.pdf
http://xecdesign.com/qemu-emulating-ras ... -easy-way/
Post Reply