Files
open-roms/c64/kernal/screen/screen_advance_to_next_line.s
T

24 lines
376 B
ArmAsm

#if ROM_LAYOUT_STD || (ROM_LAYOUT_M65 && SEGMENT_KERNAL_0)
screen_advance_to_next_line:
// Check if we are at the bottom of the screen
ldy TBLX
cpy #24
bne !+
// We need to scroll the screen up
jsr screen_scroll_up
!:
inc TBLX
// Set PNTR to 0 (for continued line will be fixed later)
lda #$00
sta PNTR
jmp chrout_screen_calc_lptr_done
#endif // ROM layout