1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-16 02:28:57 +00:00
cc65/libsrc/geos-common/system/extzp.s
ol.sc 46f1085e2d Fixed several aspects of the GEOS CONIO implementation:
- 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
2012-10-23 19:42:57 +00:00

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)