the cutting room mirror

Formula One (ZX Spectrum, Spirit Software)

Formula One is a barebones example of a car simulator. It's very basic, even for the time.

Source Code Fragments#

One small sections of the code is repeated multiple times in the disk, starting at 4960 in the .tzx dump.

        JP  Z,LOOP3
        CP  #01
        JP  Z,LOOP4
        CP  #02
        JP  Z,LOOP5
        JP  LOOP6
LOOP3   CALL    GETCDE
L5FB7   PUSH    AF
        CALL    GETCDE
        PUSH    BC
        LD  B,#00
        LD  C,#00
        LD  HL,LOG
        CALL    READ1
        PUSH    HL
        ADD HL