Prev: 14D5 Up: Map Next: 1512
14F0: copy string in HL to page header
Used by the routines at downloader_not_present and display_error.
copy_to_header 14F0 CALL clear_header Clear page header to spaces.
14F3 PUSH AF Preserve registers.
14F4 PUSH BC
14F5 PUSH DE
14F6 PUSH HL
14F7 EX DE,HL Set DE to address of page display buffer + 9.
14F8 LD HL,(page_display_buffer_pointer)
14FB LD BC,$0009
14FE ADD HL,BC
14FF EX DE,HL
copy_to_header_0 1500 LD A,(HL) Loop copying bytes from HL to DE until $0D is encountered.
1501 CP $0D
1503 JR Z,copy_to_header_1
1505 LD (DE),A
1506 INC HL
1507 INC DE
1508 JR copy_to_header_0
copy_to_header_1 150A CALL display_header_row Call display_header_row.
150D POP HL Restore registers and return.
150E POP DE
150F POP BC
1510 POP AF
1511 RET
Prev: 14D5 Up: Map Next: 1512