Routines |
Prev: CD90 | Up: Map | Next: CDC3 |
Used by the routines at TwoTone_Attributes_Buffer and Draw_Score.
|
||||
Draw_Number | CDAE | PUSH DE | Using $C000 as a base address, this works out the character set memory address from a given index passed in A. To give an example using "2" (25 - see Draw_Score);
|
|
CDAF | LD H,$00 | |||
CDB1 | LD L,A | |||
CDB2 | ADD HL,HL | |||
CDB3 | ADD HL,HL | |||
CDB4 | ADD HL,HL | |||
CDB5 | ADD HL,HL | |||
CDB6 | LD DE,$C000 | |||
CDB9 | ADD HL,DE | |||
CDBA | EX DE,HL | |||
CDBB | POP HL | |||
CDBC | LD BC,$1001 | |||
CDBF | CALL Copy_Routine | |||
CDC2 | RET | Return. |
Prev: CD90 | Up: Map | Next: CDC3 |