what do you mean? CDL doesn't specify words anywhere, does it?Hamtaro126 wrote:the WORDs specified in my CDL turn to BYTEs.
you suggested it but i dont think i made a comment. it's not a big priority but i may add it. is it any different from a regular rom besides the header?EDIT: Sorry if I reminded you, but aren't you still going to add minimal NSF support?
ok, got RTS tables working.. also got labels with +/- in them working properly as welltepples wrote: In LJ65
src/t.s#game_cycle
Code: Select all
@das_skip: LDA $30,x ; $c469: b5 30
ASL ; $c46b: 0a
TAX ; $c46c: aa
LDA state_RTSTable+1,x ; $c46d: bd 77 c4
PHA ; $c470: 48
LDA state_RTSTable,x ; $c471: bd 76 c4
PHA ; $c474: 48
straight_rts:
RTS ; $c475: 60
;-------------------------------------------------------------------------------
state_RTSTable:
.word wait_for_join-1 ; $c476: 8b c4
.word __c4f9-1 ; $c478: f8 c4
.word __c627-1 ; $c47a: 26 c6
.word __c6a3-1 ; $c47c: a2 c6
.word __c7a8-1 ; $c47e: a7 c7
.word __c7a8-1 ; $c480: a7 c7
.word __cbb5-1 ; $c482: b4 cb
.word __ccc7-1 ; $c484: c6 cc
.word __cd0b-1 ; $c486: 0a cd
.word __cd73-1 ; $c488: 72 cd
.word __ca10-1 ; $c48a: 0f ca
;-------------------------------------------------------------------------------
wait_for_join:
LDA $ad ; $c48c: a5 ad
BNE straight_rts ; $c48e: d0 e5
Code: Select all
@das_skip = $c469
straight_rts = $c475
state_RTSTable = $C476
state_RTSTable+1 = $C477
wait_for_join = $C48C