![]() |
Routines |
| Prev: 52624 | Up: Map | Next: 52675 |
|
Used by the routines at TwoTone_Attributes_Buffer and Draw_Score.
|
||||
| Draw_Number | 52654 | 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" (37 - see Draw_Score);
|
|
| 52655 | LD H,0 | |||
| 52657 | LD L,A | |||
| 52658 | ADD HL,HL | |||
| 52659 | ADD HL,HL | |||
| 52660 | ADD HL,HL | |||
| 52661 | ADD HL,HL | |||
| 52662 | LD DE,49152 | |||
| 52665 | ADD HL,DE | |||
| 52666 | EX DE,HL | |||
| 52667 | POP HL | |||
| 52668 | LD BC,4097 | |||
| 52671 | CALL Copy_Routine | |||
| 52674 | RET | Return. | ||
| Prev: 52624 | Up: Map | Next: 52675 |