![]() |
Routines |
| A | Points to add/10 |
| 29621 | PUSH DE | |
| 29622 | LD E,A | DE=points to add |
| 29623 | LD D,0 | |
| 29625 | PUSH HL | |
| 29626 | LD HL,(32741) | Add points to the score (stored at 32741) |
| 29629 | ADD HL,DE | |
| 29630 | LD (32741),HL | |
| 29633 | EX DE,HL | |
| 29634 | LD HL,20900 | HL=display file address for printing the score |
| 29637 | CALL 29613 | Print the new score/lines total |
| 29640 | POP HL | |
| 29641 | POP DE | |
| 29642 | RET |