v+1
@ -9,6 +9,8 @@ sprEMPTY = 0 ; three tile possibilities
|
|||||||
sprDOT = 1
|
sprDOT = 1
|
||||||
sprENERGY = 2
|
sprENERGY = 2
|
||||||
|
|
||||||
|
nbDOTS = 248 ; 244 normal dots & 4 energizer dots
|
||||||
|
|
||||||
L0300 = $0300 ; buffer area to save scores
|
L0300 = $0300 ; buffer area to save scores
|
||||||
|
|
||||||
L0800 = $0800 ; $0800..$0BFF
|
L0800 = $0800 ; $0800..$0BFF
|
||||||
@ -26,8 +28,14 @@ HGR2 = $4000
|
|||||||
CH = $24 ; firmware X-pos
|
CH = $24 ; firmware X-pos
|
||||||
CV = $25 ; firmware Y-pos
|
CV = $25 ; firmware Y-pos
|
||||||
|
|
||||||
|
zpHISCORE = $00 ; (3 bytes) high score
|
||||||
zpXBIT = $03 ; X from X-coord to X-bit offset
|
zpXBIT = $03 ; X from X-coord to X-bit offset
|
||||||
zpXCOL = $04 ; Y from X-coord to X-col in screen
|
zpXCOL = $04 ; Y from X-coord to X-col in screen
|
||||||
|
zpDECSCORE = $05 ; (3 bytes) the decimal score
|
||||||
|
zpTEMP1 = $08
|
||||||
|
zpTEMP2 = $09
|
||||||
|
zpTEMP3 = $0a
|
||||||
|
zpTEMP4 = $0b
|
||||||
zpX1 = $0c ; (word) start X
|
zpX1 = $0c ; (word) start X
|
||||||
zpX2 = $0e ; (word) end X
|
zpX2 = $0e ; (word) end X
|
||||||
zpY1 = $10 ; (byte) start Y
|
zpY1 = $10 ; (byte) start Y
|
||||||
@ -39,13 +47,19 @@ zpSPRHEIGHT = $18 ; (byte) sprite height in lines
|
|||||||
zpSPRWIDTH = $1a ; (byte) sprite width in bytes
|
zpSPRWIDTH = $1a ; (byte) sprite width in bytes
|
||||||
zpPTR3 = $1b ; (word)
|
zpPTR3 = $1b ; (word)
|
||||||
zpMONITOR = $1d ; 0: b&w, 1: color
|
zpMONITOR = $1d ; 0: b&w, 1: color
|
||||||
|
zp1E = $1e
|
||||||
|
zp1F = $1f
|
||||||
|
* $20 to $4F are not used
|
||||||
zpCURPLAYER = $50 ; current player index
|
zpCURPLAYER = $50 ; current player index
|
||||||
zpNBPLAYERS = $51 ; number of players (1..5)
|
zpNBPLAYERS = $51 ; number of players (1..5)
|
||||||
ZPSCORE = $52 ; (3 bytes) score
|
zpCURSCORE = $52 ; (3 bytes) score
|
||||||
zpRANK = $55 ; rank number (ie. the level)
|
zpRANK = $55 ; rank number (ie. the level)
|
||||||
|
zpNBDOTS = $56 ; number of dots on the board (248 by default)
|
||||||
zpNBLIVES = $58 ; number of lives (bit 7 is set)
|
zpNBLIVES = $58 ; number of lives (bit 7 is set)
|
||||||
|
zpPTRFRUIT = $5c ; (word) pointer to the fruit sprite
|
||||||
zpDOTTEMPO = $5e ; tempo for energizer dot blinking
|
zpDOTTEMPO = $5e ; tempo for energizer dot blinking
|
||||||
zpDOTFLAG = $5f ; 0: show dots, 1: hide dots
|
zpDOTFLAG = $5f ; 0: show dots, 1: hide dots
|
||||||
|
zpE0 = $e0 ; 1: Inky, 2: Pinky, 3: Blinky, 4: Clyde
|
||||||
zpDEMO = $e8 ; 0: game, 1: demo
|
zpDEMO = $e8 ; 0: game, 1: demo
|
||||||
zpFGMUSIC = $f4 ; 0: music never played, 1: intro music played
|
zpFGMUSIC = $f4 ; 0: music never played, 1: intro music played
|
||||||
zpDEVICE = $f5 ; 0: joypad, 1: joystick
|
zpDEVICE = $f5 ; 0: joypad, 1: joystick
|
||||||
|
1762
pacman/PACMAN.S
22143
pacman/PACMAN_Output.txt
BIN
pacman/images/ghost1.jpg
Normal file
After Width: | Height: | Size: 73 KiB |
BIN
pacman/images/ghost2.jpg
Normal file
After Width: | Height: | Size: 70 KiB |
BIN
pacman/images/ghost3.jpg
Normal file
After Width: | Height: | Size: 73 KiB |
BIN
pacman/images/ghost4.jpg
Normal file
After Width: | Height: | Size: 75 KiB |
BIN
pacman/images/ghost5.jpg
Normal file
After Width: | Height: | Size: 65 KiB |
BIN
pacman/images/ghost6.jpg
Normal file
After Width: | Height: | Size: 68 KiB |
BIN
pacman/images/ghost7.jpg
Normal file
After Width: | Height: | Size: 66 KiB |
BIN
pacman/images/ghost8.jpg
Normal file
After Width: | Height: | Size: 68 KiB |
BIN
pacman/images/ghost9.jpg
Normal file
After Width: | Height: | Size: 70 KiB |