From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:HFE image (HxC)" |
|---|
| claim | "An HFE file begins with HXCPICFE (HXCHFEV3 for HFE v3, which greaseweazle accepts and MAME does not: MAME's identify compares only the 8 bytes HXCPICFE and eval_header requires revision byte 0, while greaseweazle accepts revision 0 or 1); revision byte at 8, cylinders at 9, sides at 10, track encoding at 11, u16 bitrate at 12, interface mode at 16, u16 track list offset in 512-byte blocks at 18." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:HFE image (HxC)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "48 58 43 50 49 43 46 45" |
|---|
| offset | 0 |
|---|
| meaning | "HxC HFE signature HXCPICFE (HFE v1); HXCHFEV3 is the v3 signature, accepted by greaseweazle but not by MAME" |
|---|
| alternatives | | "48 58 43 48 46 45 56 33" |
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "header table comment and eval_header" |
|---|
| repo | "https://github.com/mamedev/mame" |
|---|
| commit | "1d7a454ed79e97d35d2a9f127ac029ead94711d6" |
|---|
| path | "src/lib/formats/hxchfe_dsk.cpp" |
|---|
| lines | "23-41, 223-296" |
|---|
|
| type | "source" |
|---|
| detail | "unpack <8s4B2H2BH and accepted signatures" |
|---|
| repo | "https://github.com/keirf/greaseweazle" |
|---|
| commit | "26690f89967d519e0106ab9566019a026b920bb4" |
|---|
| path | "src/greaseweazle/image/hfe.py" |
|---|
| lines | "177-182" |
|---|
|
| type | "source" |
|---|
| detail | "identify(): memcmp(header, HXCPICFE, 8) is the only signature; eval_header: headerbytes[8] != 0 is an error" |
|---|
| repo | "https://github.com/mamedev/mame" |
|---|
| commit | "1d7a454ed79e97d35d2a9f127ac029ead94711d6" |
|---|
| path | "src/lib/formats/hxchfe_dsk.cpp" |
|---|
| lines | "210-229" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T22:25:09.110Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T08:58:49.339Z" |
|---|
| summary | "HXCHFEV3 is accepted by greaseweazle, not by MAME (MAME identify compares only HXCPICFE and requires revision byte 0); add as alternative" |
|---|
| changed | | "claim" |
| "data" |
| "evidence" |
|
|---|
|
|
|---|