Curiosities

A disk check that always passes

When Game Disk A starts, its loader checks the disk (routine 0x8C3B): it calls a routine and expects a 4. That routine is just ld a,4 / ret, so the check always passes. The real check is right behind it and nobody calls it: 43 bytes that read sector 14 with the BIOS's own disk routine (PHYDIO) at 0xD000.

…and a hidden one in the race

The race program does look at that check, in another way. Every time it works out how much a bend pushes the car outwards (0x63A4), it reads the first byte of the loader's check (0x8C3B) and makes sure it is still a call (0xCD). If someone has changed the check to skip it, the race moves the table of the push in bends (0x6437): it copies 64 bytes from 0x6463 to 0x6443. The table is 32 words, one per bend, so the first time every bend pushes like the one 16 steps sharper; and since the copy is repeated on every call and its upper half is filled with the bytes of the brake code behind it (0x6483), from the second call on the whole table is code. The copy still runs, but the car no longer takes bends as it should.

A brake that looks at the wrong tyre

The tyres wear out in four counters, one per tyre (0xC135-0xC138), and worn tyres brake less. The braking (0x6483) takes off the wear from 0x64ED: 0xC137 and 0xC138 count two each, and then 0xC135 is looked at twice (0x64FF and again 0x6506). 0xC136 never counts: one tyre can be worn out and the brakes do not notice.

The gap to the car ahead is made up

In the Grand Prix, the DIFFERENCE box shows the time to the car ahead. The hundredths are two random digits taken from the Z80's refresh register (R, at 0x409A and 0x40A5): they change every time and mean nothing.

BREAK in the pits

The settings menu says BRAKES; the pit menu, drawn as a picture, says BREAK.

The pit menu

Another championship on the Opening Disk

The Opening Disk, in its tour of the menus, shows the circuits with its own table, different from the one on the game disk (0x1426) in almost every entry. Monaco has 5.03 km, the length of Brazil, instead of 3.33; Belgium has 4.94 instead of 6.94; the records are other ones (France, 1'10"38 instead of 0'57"58) and the last number of each entry, which on the game disk is the number of laps, is also different (France, 3 instead of 8). It looks like an earlier version of the data.

Pits in the demonstration, but closed

The demonstration race (Opening Disk) carries the same code as the real race to mark the pit lane (0x21EA)… but the part that lets the car in (0x2210-0x2230) is left as bytes nobody runs. The demonstration never stops in the pits.

Old pictures under the new ones

Disks 1 and 2 share 607 identical sectors. In both, nothing reads sectors 173-303: they hold the compressed pictures of entries 16-47 of the circuits' picture table (0x11B7) in an older layout (1 KB each, eight per 16 KB block), with the tail of the previous buffer behind them. The compacted version that the game reads (sectors 112-172) covered the first ones.

Code switched off

What is still not known