![]() |
Routines |
| Prev: 26298 | Up: Map | Next: 26311 |
|
Used by the routines at DescribeLocation and WaitForKey.
Selects RAM bank A at 49152 and forces the 48K ROM, which is the ROM this game's calls expect. A is the bank in the low three bits. Callers pass 0, 3 or 6. Bank 7, which the loader paged with OUT 32765,23, is never requested again.
|
||||
| PageBank | 26301 | PUSH BC | Save what the caller passed in, since BC is needed for the memory paging port 32765. | |
| 26302 | LD BC,32765 | |||
| 26305 | OR 16 | Force the 48K ROM and write the bank in the low three bits. | ||
| 26307 | OUT (C),A | |||
| 26309 | POP BC | Restore BC from the stack. | ||
| 26310 | RET | Return. | ||
| Prev: 26298 | Up: Map | Next: 26311 |