mirror of
https://github.com/cc65/cc65.git
synced 2024-08-28 18:29:20 +00:00
- cputc was drawing at the wrong position, therefore one line had to be removed as a workaround. - chline, cvline were drawing one pixel to large lines. - cclear was drawing an in both directions one pixel to big rect. - the cursor was drawn at wrong times at wrong places in a wrong size. git-svn-id: svn://svn.cc65.org/cc65/trunk@5874 b7a2c559-68d2-44c3-8de9-860c34a00d81
22 lines
404 B
ArmAsm
22 lines
404 B
ArmAsm
;
|
|
; Maciej 'YTM/Elysium' Witkowiak <ytm@elysium.pl>
|
|
; 31.12.2002
|
|
;
|
|
; zeropage locations for exclusive use by the library
|
|
;
|
|
|
|
.exportzp cursor_x, cursor_y
|
|
.exportzp cursor_c, cursor_r
|
|
|
|
.segment "EXTZP" : zeropage
|
|
|
|
cursor_x:
|
|
.res 2 ; Cursor column (0-319/639)
|
|
cursor_y:
|
|
.res 1 ; Cursor row (0-199)
|
|
|
|
cursor_c:
|
|
.res 1 ; Cursor column (0-39/79)
|
|
cursor_r:
|
|
.res 1 ; Cursor row (0-24)
|