dluck
Experienced Member
Hi all,
II have some assembly code that runs a pinball game that I would like to assemble and create a new set of roms for the game.
The pinball game is called Space Riders, made by Atari in 1978.
Here is snippet of the code:
.ASECT
.RADIX 16
.SBTTL RAM ALLOCATION
;*DISPLAY
DISP: .BLKB 10
;*TEMPS
TEMP1: .BLKB 2
TEMP2: .BLKB 2
...
LTHLMP =3D42. ;L THUMPER
RTHLMP =3D43. ;R THUMPER
...
;*CHECK PROGRAM STATUS
;*
STATCK: LDAA RTEST ;CHECK RAM TEST
CMPA I,0AA
BNE BADCK ;FAIL
LDAA RTEST+1
CMPA I,55
BNE BADCK ;FAIL
TSX
LDAA X,0
CMPA I,6F ;PC IN RANGE?
I can use either windows or linux to do the work.
vi and command line assembler, linker, etc. can work.
Suggestions?
II have some assembly code that runs a pinball game that I would like to assemble and create a new set of roms for the game.
The pinball game is called Space Riders, made by Atari in 1978.
Here is snippet of the code:
.ASECT
.RADIX 16
.SBTTL RAM ALLOCATION
;*DISPLAY
DISP: .BLKB 10
;*TEMPS
TEMP1: .BLKB 2
TEMP2: .BLKB 2
...
LTHLMP =3D42. ;L THUMPER
RTHLMP =3D43. ;R THUMPER
...
;*CHECK PROGRAM STATUS
;*
STATCK: LDAA RTEST ;CHECK RAM TEST
CMPA I,0AA
BNE BADCK ;FAIL
LDAA RTEST+1
CMPA I,55
BNE BADCK ;FAIL
TSX
LDAA X,0
CMPA I,6F ;PC IN RANGE?
I can use either windows or linux to do the work.
vi and command line assembler, linker, etc. can work.
Suggestions?