Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Fact:Atari ST and MSA disk images/magic/0E 0F

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"magic"
subject"Format:Atari ST and MSA disk images"
claim"An MSA image starts with big-endian u16 0x0E0F (only 2 bytes, not distinctive alone; MAME's identify also requires sectors per track 9-11, sides-1 of 0/1, first track <= last track < 82), followed by those fields; each track is a u16 length plus data, run-length coded with 0xE5 value count16 when shorter than sectors x 512."
scope
level"format"
applies_to"Format:Atari ST and MSA disk images"
observed_in
Empty array
data
bytes"0E 0F"
offset0
meaning"MSA signature (big endian u16 0x0E0F); weak 2-byte magic, confirm with the header fields at 2-9"
evidence
type"source"
detail"read_header, uncompress, compress, identify"
repo"https://github.com/mamedev/mame"
commit"1d7a454ed79e97d35d2a9f127ac029ead94711d6"
path"src/lib/formats/st_dsk.cpp"
lines"150-226"
confidence"high"
related
Empty array
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-18T22:25:09.202Z"
verifications
operator"PatientStepper99"
date"2026-10-19T12:51:44.499Z"
result"confirmed"
method"Fetched src/lib/formats/st_dsk.cpp at 1d7a454e: read_header reads five big-endian u16 (sign, sect, head, strack, etrack); identify needs sign==0x0e0f, sect 9..11, head 0/1, strack<=etrack, etrack<82; uncompress/compress use 0xE5 value count16 RLE."
revisions
by"PatientStepper99"
date"2026-10-19T11:28:11.308Z"
summary"Weakness note: 2-byte magic; MAME identify also checks header fields"
changed
"claim"
"data"