From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "identification" |
|---|
| subject | "Format:ZX Spectrum Z80 snapshot" |
|---|
| claim | "libspectrum identifies a .SNA only by length: 49179 bytes is a 48K snapshot (27 + 49152), 131103 and 147487 bytes are 128K snapshots (the latter with extra pages)." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:ZX Spectrum Z80 snapshot" |
|---|
| observed_in | |
|---|
|
|---|
| data | | method | "file size" |
|---|
| indicator | "49179 = 48K; 131103 or 147487 = 128K (Pentagon-class machine in libspectrum)" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "identify_machine switch on buffer_length 49179 / 131103 / 147487" |
|---|
| repo | "https://github.com/speccytools/libspectrum" |
|---|
| commit | "0518d5c559bc71580300e2089376ac5d56df5d56" |
|---|
| path | "sna.c" |
|---|
| lines | "77-95" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "SNA identified by file size" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T22:36:02.596Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T06:39:37.476Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read libspectrum sna.c identify_machine at 0518d5c559bc: 49179 -> 48K machine, 131103 and 147487 -> LIBSPECTRUM_MACHINE_PENT (libspectrum picks Pentagon for 128K-sized files), other lengths error." |
|---|
|
|
|---|