Back working on communication

This commit is contained in:
Daniele Verducci su MatissePenguin
2021-01-27 08:58:04 +01:00
parent 467197fd23
commit 5bea35365d
3 changed files with 19 additions and 14 deletions

View File

@@ -75,10 +75,11 @@ cursor_pos_home:
clr POS_ROWP
clr POS_FINE
; Load framebuffer start position to Y
ldi YH, high(FRAMEBUFFER)
ldi YL, low(FRAMEBUFFER)
; ldi YH, high(0x1000)
; ldi YL, low(0x1000)
; ldi YH, high(FRAMEBUFFER)
; ldi YL, low(FRAMEBUFFER)
; TODO: First 3 lines are not visible! Outside of screen!
ldi YH, high(0x780)
ldi YL, low(0x780)
ret
; Updates framebuffer pointer (Y) to point to current text cursor position (POS_COLUMN, POS_ROWP)