2 ; 2003-04-13, Ullrich von Bassewitz
3 ; 2013-07-16, Greg King
11 ; ------------------------------------------------------------------------
16 ; Set the cursor to top left cursor position
22 ; Set ptr2 to the screen position (left upper border)
29 ; Clear full pages. Y is still zero
31 ldx #>(SCREEN_YSIZE * SCREEN_XSIZE)
34 iny ; Bump low byte of address
36 inc ptr2+1 ; Bump high byte of address
40 ; Clear the remaining page
44 cpy #<(SCREEN_YSIZE * SCREEN_XSIZE)