![]() |
Routines |
| Prev: B208 | Up: Map | Next: B2A4 |
|
||||||||||||
| PlayareaCopier | B293 | PUSH BC | Stash BC and DE on the stack. | |||||||||
| B294 | PUSH DE | |||||||||||
| B295 | LD B,$00 | B=00. | ||||||||||
| B297 | LDIR | Copy HL to DE the number of times held by BC. | ||||||||||
| B299 | EX DE,HL | Exchange the DE register with the shadow HL register. | ||||||||||
| B29A | POP HL | Restore HL from the stack. | ||||||||||
| B29B | LD BC,$0040 | HL+=0040. | ||||||||||
| B29E | ADD HL,BC | |||||||||||
| B29F | EX DE,HL | Switch the DE and HL registers back. | ||||||||||
| B2A0 | POP BC | Restore BC from the stack. | ||||||||||
| B2A1 | DJNZ PlayareaCopier | Decrease counter by one and loop back to PlayareaCopier until counter is zero. | ||||||||||
| B2A3 | RET | Return. | ||||||||||
| Prev: B208 | Up: Map | Next: B2A4 |