OEL TTX2000 Issue 2.3 | Routines |
Prev: 1243 | Up: Map | Next: 1277 |
Used by the routines at display_menu and wait_and_decode_page.
|
||||
copy_page_data | 1257 | PUSH AF | preserve AF register. | |
1258 | LD A,(inhibit_display) | If inhibit_display is not equal to zero skip to copy_page_data_0. | ||
125B | OR A | |||
125C | JR NZ,copy_page_data_0 | |||
125E | PUSH BC | Else preserve registers. | ||
125F | PUSH DE | |||
1260 | PUSH HL | |||
1261 | LD HL,(page_display_buffer_pointer) | Copy 944 bytes from page receive buffer + 8 to page display buffer + 8. | ||
1264 | LD BC,$0008 | |||
1267 | ADD HL,BC | |||
1268 | EX DE,HL | |||
1269 | LD HL,(page_receive_buffer_pointer) | |||
126C | ADD HL,BC | |||
126D | LD BC,$03B8 | |||
1270 | LDIR | |||
1272 | POP HL | Restore registers. | ||
1273 | POP DE | |||
1274 | POP BC | |||
copy_page_data_0 | 1275 | POP AF | Restore AF and return. | |
1276 | RET |
Prev: 1243 | Up: Map | Next: 1277 |