Russian ATM Screen Preservation (ZX-Evo)

This is the place for general discussion and updates about the ZXDB Database. This forum is not specific to Spectrum Computing.

Moderator: druellan

User avatar
PeterJ
Site Admin
Posts: 6878
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Russian ATM Screen Preservation (ZX-Evo)

Post by PeterJ »

Apologies if I have missed something here, but is the only way of getting screens from emulators, as PNG from Unreal at the moment?
Alone Coder
Manic Miner
Posts: 401
Joined: Fri Jan 03, 2020 10:00 am

Re: Russian ATM Screen Preservation (ZX-Evo)

Post by Alone Coder »

You can switch pages in UnrealSpeccy manually to save the actual picture data from memory, but UnrealSpeccy doesn't allow to save the current palette...
Maybe Deathsoft will add a special function if you write him? deathsoft [a] yandex ru
User avatar
moroz1999
Manic Miner
Posts: 329
Joined: Fri Mar 30, 2018 9:22 pm

Re: Russian ATM Screen Preservation (ZX-Evo)

Post by moroz1999 »

Alone Coder wrote: Sun Jun 07, 2020 9:18 am I don't have a ZX Evo, so I can't test, but I asked Sashapont to test, and he said it works on his ZX Evo.
In UnrealSpeccy in ATM3 mode it also works well.
https://www.youtube.com/watch?v=Ip0HvPs ... e=youtu.be - strange, this is how it works for me. Same thing if I take Unreal Speccy, select ZX-Evo there and try to load it.
Alone Coder wrote: Sun Jun 07, 2020 9:18 amUnrealSpeccy shows pictures with values 0,96,160,255 (palette "Alone", looks right) or with 0,118,205,255 (palette "Pulsar", looks wrong).
Ok, thanks, I'll take 0,96,160,255 then for ATM BMP files.
Alone Coder
Manic Miner
Posts: 401
Joined: Fri Jan 03, 2020 10:00 am

Re: Russian ATM Screen Preservation (ZX-Evo)

Post by Alone Coder »

Maybe it depends on firmware? I see you have BASE&TS.
That's how it works in UnrealSpeccy 0.39.0 from NedoOS repository (the detect also affects 3-color pictures):
https://youtu.be/nE43nwp0V8M
Similar ATM2 detection routine is also present in ACNews and maybe somewhere else. You can open MCX sources in ALASM, the cursor in the source just points to it.
User avatar
moroz1999
Manic Miner
Posts: 329
Joined: Fri Mar 30, 2018 9:22 pm

Re: Russian ATM Screen Preservation (ZX-Evo)

Post by moroz1999 »

It may easily be the problem of firmware indeed. Hires itself is working fine in ANSI viewer, I've selected ATM2 80*25 mode and it worked.
Thanks for examples, now I now how images should look like, I can now implement it in viewer.
Alone Coder
Manic Miner
Posts: 401
Joined: Fri Jan 03, 2020 10:00 am

Re: Russian ATM Screen Preservation (ZX-Evo)

Post by Alone Coder »

Also tried:
- the same emulator in ATM2 mode
- UnrealSpeccy 0.38.0 in ATM3 mode
- Pentagon 2.666LE
All of them show pictures correctly.
Alone Coder
Manic Miner
Posts: 401
Joined: Fri Jan 03, 2020 10:00 am

Re: Russian ATM Screen Preservation (ZX-Evo)

Post by Alone Coder »

Added a patch to UnrealSpeccy 0.37.1CFIX to save the palette when you save a snapshot: http://alonecoder.nedopc.com/zx/US0371FIX.ZIP
It's just 3 lines in snapshot.c, you can copy it in any other version: http://alonecoder.nedopc.com/zx/US0371FIXSRC.ZIP
There are 4 bytes per palette entry, only one is used, and the format is unusual gg0rr0bb.
User avatar
PeterJ
Site Admin
Posts: 6878
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Russian ATM Screen Preservation (ZX-Evo)

Post by PeterJ »

Thanks [mention]Alone Coder[/mention],

When I start taking screens for ZXDB I will use this version.
Post Reply