The best ZX81 emulator for Linux?
Re: The best ZX81 emulator for Linux?
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.
- chernandezba
- Posts: 205
- Joined: Tue Mar 11, 2014 4:30 pm
Re: The best ZX81 emulator for Linux?
Hiolofsen 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.
I'm working on the image stabilization; is a beta feature, but it does works (the last SN version)
Cheers
Cesar
Re: The best ZX81 emulator for Linux?
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 263 times
Re: The best ZX81 emulator for Linux?
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.olofsen wrote:In the meantime I tested if my patches also work with Thunor's sz81 and yes see attachment.
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.
Started w/ BASIC on ABC80 & ZX81 then Forth, Z80… http://scratch.mit.edu/users/mobluse/ https://www.youtube.com/user/MOBiL4u/ https://twitter.com/mobluse/
Re: The best ZX81 emulator for Linux?
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?
Does it compile?
Re: The best ZX81 emulator for Linux?
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 wrote:Does it compile?
Started w/ BASIC on ABC80 & ZX81 then Forth, Z80… http://scratch.mit.edu/users/mobluse/ https://www.youtube.com/user/MOBiL4u/ https://twitter.com/mobluse/
Re: The best ZX81 emulator for Linux?
Does the original sz81-2.1.7 from sourceforge work? Good to hear that the z81-2.2 works on the Pi!
Re: The best ZX81 emulator for Linux?
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 wrote:Does the original sz81-2.1.7 from sourceforge work?
Started w/ BASIC on ABC80 & ZX81 then Forth, Z80… http://scratch.mit.edu/users/mobluse/ https://www.youtube.com/user/MOBiL4u/ https://twitter.com/mobluse/
Re: The best ZX81 emulator for Linux?
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.)
Re: The best ZX81 emulator for Linux?
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: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...
./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/
Started w/ BASIC on ABC80 & ZX81 then Forth, Z80… http://scratch.mit.edu/users/mobluse/ https://www.youtube.com/user/MOBiL4u/ https://twitter.com/mobluse/