sz81 (gnu/linux) not supporting hires?

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

sz81 (gnu/linux) not supporting hires?

Post by nitrofurano » Fri May 09, 2014 4:28 pm

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: 123
Joined: Wed Jan 08, 2014 11:29 am

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

Post by olofsen » Fri May 09, 2014 5:23 pm

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: 1227
Joined: Thu May 15, 2008 9:11 am
Location: Rubber Planet
Contact:

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

Post by yerzmyey » Fri May 09, 2014 5:29 pm

Hi Nitrofurano, welcome to the ZX81 community!
The best early 8bit computer in history! ;)
"FERENGI" - an arcade game for ZX81: http://tiny.pl/hp3bq
"MONOCHROME" issue 5 (Spring 2014) - a free paper/PDF magazine about ZX81: http://tiny.pl/q2m44
ZX-81/TS1000/TS1500 COMPETITIONS 2007/2009: http://zx81.republika.pl/

User avatar
nitrofurano
Posts: 18
Joined: Fri May 09, 2014 4:18 pm
Contact:

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

Post by nitrofurano » Fri May 09, 2014 8:00 pm

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: 18
Joined: Fri May 09, 2014 4:18 pm
Contact:

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

Post by nitrofurano » Fri May 09, 2014 8:17 pm

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: 123
Joined: Wed Jan 08, 2014 11:29 am

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

Post by olofsen » Fri May 09, 2014 8:35 pm

I haven't tried this, but I think you can set such paths by editing the Makefile?

User avatar
nitrofurano
Posts: 18
Joined: Fri May 09, 2014 4:18 pm
Contact:

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

Post by nitrofurano » Fri May 09, 2014 11:46 pm

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: 18
Joined: Fri May 09, 2014 4:18 pm
Contact:

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

Post by nitrofurano » Fri May 09, 2014 11:54 pm

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: 123
Joined: Wed Jan 08, 2014 11:29 am

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

Post by olofsen » Sat May 10, 2014 7:14 am

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: 18
Joined: Fri May 09, 2014 4:18 pm
Contact:

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

Post by nitrofurano » Sat May 10, 2014 1:12 pm

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

Who is online

Users browsing this forum: No registered users and 1 guest