Page 1 of 4

sz81 (gnu/linux) not supporting hires?

Posted: Fri May 09, 2014 5:28 pm
by nitrofurano
hi everyone!

i was trying to run this game on sz81 (on gnu/linux)
https://speccy-live.untergrund.net/2013 ... 81-racing/

it looks this way:
http://postimg.org/image/ng85bflgv/

which zx81 emulator supporting hires do you reccomend for gnu/linux?
or for when must we expect (milestone) emulators like sz81 (imho, the best zx81 emulator i found until now) supporting it?

thanks!

Re: sz81 (gnu/linux) not supporting hires?

Posted: Fri May 09, 2014 6:23 pm
by olofsen
This version includes some patches for hires:

http://rullf2.xs4all.nl/sg/sz81-2.1.8.tar.gz

jbracing seems to work (when RAM is set to 16K)!

Re: sz81 (gnu/linux) not supporting hires?

Posted: Fri May 09, 2014 6:29 pm
by yerzmyey
Hi Nitrofurano, welcome to the ZX81 community!
The best early 8bit computer in history! ;)

Re: sz81 (gnu/linux) not supporting hires?

Posted: Fri May 09, 2014 9:00 pm
by nitrofurano
thanks a lot, olofsen! :) (btw, besides i'm going to try to run it right now, is this patch going to be official in the next sz81 release? )
yes, yerzmyey! and one day i'll solder a zx81 kit or cloned kit! :) (take a look a the picture i sent for the contest! ;) )

Re: sz81 (gnu/linux) not supporting hires?

Posted: Fri May 09, 2014 9:17 pm
by nitrofurano
olofsen wrote:This version includes some patches for hires:

http://rullf2.xs4all.nl/sg/sz81-2.1.8.tar.gz

jbracing seems to work (when RAM is set to 16K)!
it runs from the compiled directory, but running from what i copied to /usr/bin/, this happens (running from the terminal, i actually run emulators via nautilus scripts usually):

Code: Select all

guest@macbooklubuntu:~/Downloads/jbracing$ sz81 jbracing.p 
sdl_init: Cannot load window manager icon ./data/sz81.bmp: Couldn't open ./data/sz81.bmp
PACKAGE_DATA_DIR is ./data
fonts_init: Cannot load font image ./data/zx80font.bmp: Couldn't open ./data/zx80font.bmp
guest@macbooklubuntu:~/Downloads/jbracing$ 
where should be sz81.bmp and zx80font.bmp then?

Re: sz81 (gnu/linux) not supporting hires?

Posted: Fri May 09, 2014 9:35 pm
by olofsen
I haven't tried this, but I think you can set such paths by editing the Makefile?

Re: sz81 (gnu/linux) not supporting hires?

Posted: Sat May 10, 2014 12:46 am
by nitrofurano
olofsen wrote:I haven't tried this, but I think you can set such paths by editing the Makefile?
and weird is why the files are being searched in a relative directory to the executable, like "./data/" ("/usr/bin/data/" ?) instead of a usual absolute directory like "/usr/share/sz81/data/" or anything alike - what do you think?

Re: sz81 (gnu/linux) not supporting hires?

Posted: Sat May 10, 2014 12:54 am
by nitrofurano
even more confusing, "./data/" is relative to the directory the terminal is targetting, not relative to sz81 at /usr/bin/ - i guess that there is a bug in the emulator, that should try to find these files at inside /usr/share/sz81/ as well?

Re: sz81 (gnu/linux) not supporting hires?

Posted: Sat May 10, 2014 8:14 am
by olofsen
According to the Makefile, data should be relative to the prefix, and if the prefix is absolute, the path to the data will be too - did you recompile after editing the Makefile and a make clean?

Re: sz81 (gnu/linux) not supporting hires?

Posted: Sat May 10, 2014 2:12 pm
by nitrofurano
i have no idea how to do this - normally, when i have to compile sources, i follow the instructions in a txt file - i guess it's missing or confusing