"EightyOne" and file zx81.cset.bmp

Emulator and emulator development specific topics
Post Reply
User avatar
yerzmyey
Posts: 1240
Joined: Thu May 15, 2008 10:11 am
Location: Rubber Planet
Contact:

"EightyOne" and file zx81.cset.bmp

Post by yerzmyey »

Hi guyz.

I use mostly the ZX Spectrum emuls and I associate files like *.TAP or *.Z80 to those emulators.

I can't do it properly for EigtyOne because when I press *.P, I always have a requester: "Can't find zx81.cset.bmp" (or similar) and then the emul switches itself off.

Where should I copy the tragic zx81.cset.bmp file to be able to press *.P and have it loaded into EO?

Thx,
Y
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
yerzmyey
Posts: 1240
Joined: Thu May 15, 2008 10:11 am
Location: Rubber Planet
Contact:

Re: "EightyOne" and file zx81.cset.bmp

Post by yerzmyey »

OK, got it.
On the main C: path.
Good.
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/
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: "EightyOne" and file zx81.cset.bmp

Post by sirmorris »

I thought I'd fixed that bug - it is because I assumed that the current working folder is set, but when you start EO with a P the working folder is set where the P file lives :(

I'll fix it in the next release.

C
User avatar
yerzmyey
Posts: 1240
Joined: Thu May 15, 2008 10:11 am
Location: Rubber Planet
Contact:

Re: "EightyOne" and file zx81.cset.bmp

Post by yerzmyey »

No problem man, I already figured it out. ;)
Thx a lot,
Y
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/
MikeW
Posts: 68
Joined: Tue May 29, 2012 10:56 pm

Re: "EightyOne" and file zx81.cset.bmp

Post by MikeW »

I'm sure we talked about this years ago, C, may not...

I'd name the character bitmap the same as the ROM file that's being used and store it in the ROM folder. So if ZX81.ROM is loaded, it'd use zx81.cset.bmp in the ROM folder. if you're using the ZX80 ROM, it'd use zx80.cset.bmp in the same folder. If no bitmap is exists for a particular ROM, use the default ZX81 character set.

I'd fix it myself, but I don't have the current source.

Mike
REX LIES IN WAIT
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: "EightyOne" and file zx81.cset.bmp

Post by sirmorris »

That's how it's supposed to work Mike, except I think the open file code differs from the one used to open the ROM and must be taking the current working directory into account when it shouldn't, or vice versa :?
MikeW
Posts: 68
Joined: Tue May 29, 2012 10:56 pm

Re: "EightyOne" and file zx81.cset.bmp

Post by MikeW »

It only took me all day, but I've managed it:

http://www.chuntey.com/pic/IMG_0178.JPG

- Migrating to a parallels VM wasn't fun. So where does the latest version of the source live?

Mike
REX LIES IN WAIT
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: "EightyOne" and file zx81.cset.bmp

Post by sirmorris »

Yikes I'll have to scrape it off the VM at work. I wonder if it would be worthwhile setting up a repository on some code collaboration site or something? That way my experiments won't pollute the main code line.

C
MikeW
Posts: 68
Joined: Tue May 29, 2012 10:56 pm

Re: "EightyOne" and file zx81.cset.bmp

Post by MikeW »

Sounds a good idea.

It's the reason the VM is poluted with half a dozem old copies of the source - I was playing with stuff and didn't want to mess things up. From memory, there's a few components used that I'm not sure are included with EO. I know I modified the Office Buttons component quite a bit before I got it how I wanted. Maybe I should dig that out...

Mike
REX LIES IN WAIT
Post Reply