the cutting room mirror

Milk Race (MSX)

A cycling game that serves as a promotional tie-in to the 1987 Milk Race event.

Uncompiled Code#

Loaded at various code addresses are leftover bits of the game's code. The first two snippets are written in 6502 assembly language while the others are written in Z80 assembly language. The CPU used in MSX computers is a Z80, so it's odd that there would be any code written for a 6502.

$2000:

 #$FF
STA BKY,X
NOFF:DEX
BNE MBLP


LDX #$03
SPLVLP:JSR SPLEV
LDA BKY,X
SEC
SBC LEVBUFF,Y
STA BSY,X
DEX
BNE SPLVLP
LDA BKY
STA B

$2480:

*****************


LDA #22*8+51
W2:CMP RASTER
BNE W2

LDX #199+16
STX XSCROLL
LDY #$0C
STY BCOL

LDA MPH
JSR PRTA
STY $7C00+$28

$4100, $4580, $4A00 and $4E80:

RL (HL)
DEC L
RL (HL)
DEC L
RL (HL)
DEC L
RL (HL)
DEC L
RL (HL)
DEC L
RL (HL)
DEC L


RL (HL)
DEC L
RL (HL)
DEC L
RL (HL)
DEC L

$C100:

 ;
INC DE
CALL DLINE
EXX ;0

DJNZ L_01

RET





;CLEAR 2ND DFILE 3840 LONG
CLDF2:
LD HL,DF2-3

$C640:

HL)
CP 16
RET NC
AND 15
LD (