Quantcast
Channel: Emulators - World of Spectrum
Viewing all articles
Browse latest Browse all 477

Extending SNA Standard Snapshot 48k 128k Format to new Hardware like ZXN (SpecNext)

$
0
0
This may have been discussed before...

Looking at the definition of standard 48k and 128k .SNA Snapshot e.g. at: https://www.worldofspectrum.org/faq/reference/formats.htm or: https://faqwiki.zxnet.co.uk/wiki/SNA_format or: http://rk.nvg.ntnu.no/sinclair/faq/fileform.html#SNA
I´m thinking if we can extend this widely used format.

E.g. for newer hardware like the ZX Next/SpecNext with it´s extended hardware like new opcodes.

On the SpecNext-Git at: https://gitlab.com/thesmog358/tbblue/blob/83a2bfc626e265f6df1bbb854cf61dc524642b66/tools/KeyboardTester.sna?fbclid=IwAR0rqkE-KpQpjRj8guktC8sQoudz3TrlDkcKk741FaQD4xX6LWHtssgRQMo
we can find have a "48k standard-sized" KeyboardTester.SNA Snaphot. This only runs on Spectrum Next.
(Source can be found here: https://gitlab.com/thesmog358/tbblue/blob/809cfc8ed57fa16d66f182869530ce1eeeb9f3bc/src/asm/KeyboardTester/KeyboardTester.asm ) - So SpecNext use standard SNA-Format...

For new Emulators and emulated new hardware why can´t we extend this .SNA format? There are several ways:
Keep the standard Extension .SNA but write to files which have other size than standard 48k = 49179 Bytes.
So new emulators can detect on this different file size, that it is NOT 48k standard format and have a deeper look "whats inside". Older Emulators may rise an error because on "non-standard-sized" SNA-Files.

For me it is irritating that we can have standard sized 48k .SNA-Files (like the one we can download from the link above) and this won´t run on standard 48k or standard 128k emulated machines...

Viewing all articles
Browse latest Browse all 477

Trending Articles