Open fengb opened 4 years ago
Format ideas:
0xDC
— busts ascii (high bit) + unicode (0xDC00 - 0xDC7F is illegal as first char for both UTF8 and UTF16)0x00
— version (increment this when the format changes)0x46
— F
0x44
— D
0x0D
— CR0x0A
— LF (DOS line)0x1A
— DOS EOF0x0A
— LF (Unix line)cart[0x134..][0..0x18]
(24 bytes)Note: first pass will not do compression because Zig doesn't have a standard implementation yet.
Implemented via https://github.com/fengb/fundude/commit/053e8dcc4719b353bbe9b8212d371bdbb73c8fc9
Still iterating super quickly so maybe we shouldn't expose this to the frontend yet.
Every other emulator does this. Why can't we?
Questions:
Which format? This should probably be a compressed binary, but there's still a lot to choose from: