Commit a8fcf3ad authored by Ricardo Quesada's avatar Ricardo Quesada
Browse files

more comments

parent 087dc147
;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-;
* = $E000
.BINARY "main-charset.bin"
* = $E800
.BINARY "l3-charset.bin"
* = $F000
.BYTE $05,$00,$15,$00,$05,$00,$15,$00
.BYTE $39,$00
; copy from e000-efff to d000-dfff
COPY_FROM_E000_TO_D000 ;$F00A
LDA $DC0E ;CIA1: CIA Control Register A
AND #$FE ;#%11111110
STA $DC0E ;CIA1: CIA Control Register A
LDA $DC0E ;CIA1: CIA Control Register A
AND #$FE ;#%11111110
STA $DC0E ;CIA1: CIA Control Register A
LDA $01
AND #$FB ;#%11111011
AND #$FB ;#%11111011
STA $01
LDX #$00 ;#%00000000
LDX #$00 ;#%00000000
_L00
LDA $E000,X
STA $D000,X
......@@ -55,14 +55,16 @@ _L00
BNE _L00
LDA $01
ORA #$04 ;#%00000100
ORA #$04 ;#%00000100
STA $01
LDA $DC0E ;CIA1: CIA Control Register A
ORA #$01 ;#%00000001
STA $DC0E ;CIA1: CIA Control Register A
LDA $DC0E ;CIA1: CIA Control Register A
ORA #$01 ;#%00000001
STA $DC0E ;CIA1: CIA Control Register A
RTS
; Unused most probably
;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-;
; FIXME: Remove me, since it is unused most probably
.BYTE $DC,$29,$FE
......
;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-;
* = $E000
; FIXME: can be removed, since it contains garbage
; FIXME: can be removed, since it contains garbage.
.BINARY "main-map.bin"
; The 24 bytes from 1000-1024 to make to make it MD5 hash compatible
; FIXME: can be removed.
; The 24 bytes from 1000-1024 to make to make it MD5 hash compatible.
.BINARY "main-padding.bin"
; Sprites
......
;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-;
GAME_MAIN = $080D
;
; **** PREDEFINED LABELS ****
......@@ -18,6 +19,7 @@ a032C
.ADDR $F4A5
.ADDR $F5ED
;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-;
AUTOBOOT
; Restore "CLALL" to original vector
LDA #<$F32F
......@@ -90,6 +92,7 @@ f0356 .TEXT $93, $0D, $0D, $0D, $0D, $0D, $0D, $0D
NOP
NOP
;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-;
j03D0 LDA #$01
TAY
LDX #$08
......@@ -104,6 +107,7 @@ j03D0 LDA #$01
.BYTE $00,$00,$00,$00,$00,$00,$00,$00
.BYTE $00
;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-;
s03F0 LDA #$00
JSR ROM_LOAD ;$FFD5 - load after call SETLFS,SETNAM
INC a03FF
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment