sz81 (gnu/linux) not supporting hires?

Emulator and emulator development specific topics
User avatar
nitrofurano
Posts: 24
Joined: Fri May 09, 2014 5:18 pm
Contact:

sz81 (gnu/linux) not supporting hires?

Post 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!
olofsen
Posts: 189
Joined: Wed Jan 08, 2014 12:29 pm

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

Post 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)!
User avatar
yerzmyey
Posts: 1240
Joined: Thu May 15, 2008 10:11 am
Location: Rubber Planet
Contact:

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

Post by yerzmyey »

Hi Nitrofurano, welcome to the ZX81 community!
The best early 8bit computer in history! ;)
IN NIHILUM REVERTERIS - a big text-adventure game for ZX81: http://tiny.pl/g2m6m
"MONOCHROME" issue 5 - (Spring 2014) free paper/PDF magazine about ZX81: http://tiny.pl/q2m44
ZX81 COMPETITIONS 2007/2009: http://zx81.republika.pl/
User avatar
nitrofurano
Posts: 24
Joined: Fri May 09, 2014 5:18 pm
Contact:

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

Post 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! ;) )
User avatar
nitrofurano
Posts: 24
Joined: Fri May 09, 2014 5:18 pm
Contact:

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

Post 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?
olofsen
Posts: 189
Joined: Wed Jan 08, 2014 12:29 pm

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

Post by olofsen »

I haven't tried this, but I think you can set such paths by editing the Makefile?
User avatar
nitrofurano
Posts: 24
Joined: Fri May 09, 2014 5:18 pm
Contact:

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

Post 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?
User avatar
nitrofurano
Posts: 24
Joined: Fri May 09, 2014 5:18 pm
Contact:

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

Post 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?
olofsen
Posts: 189
Joined: Wed Jan 08, 2014 12:29 pm

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

Post 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?
User avatar
nitrofurano
Posts: 24
Joined: Fri May 09, 2014 5:18 pm
Contact:

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

Post 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
Post Reply