F1 G.P. Circuits

Found on:
"F1 G.P. Circuits"

Loader files:
ROM Header
Turbo loader
ROM Data
Autostart

Encoding:
Endianess:LSbF
Threshold:0x0180
Lead-in:247 x 0x02
Sync:2 x 0x53

Structure:
Header:Yes
Checksum:Yes
Lead-in:
The loader fetches 9 bits per byte while checking for and loading lead-in bytes.
The first bit is just shifted out of the byte and ignored.
Before the sequence of lead-in bytes there always seems to be this sequence
01 80 40 20 10 08 04 02
The values are 9 bits and in hexadecimal.

Header:
00-01   Load start address (Low/High order)
02-03   Load end address (Low/High order) (Exclusive)

Checksum:
EOR of all payload bytes and the checksum byte that follows the data should cancel out to 0x00.

Trailer:
Files seems to have a single byte trailer with the value 0x80.