mirror of
https://github.com/cc65/cc65.git
synced 2025-08-08 06:25:17 +00:00
call setcursor
git-svn-id: svn://svn.cc65.org/cc65/trunk@1748 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
;
|
;
|
||||||
|
|
||||||
.export _chlinexy, _chline
|
.export _chlinexy, _chline
|
||||||
.import popa, _gotoxy, cputdirect
|
.import popa, _gotoxy, cputdirect, setcursor
|
||||||
.importzp tmp1
|
.importzp tmp1
|
||||||
|
|
||||||
_chlinexy:
|
_chlinexy:
|
||||||
@@ -23,7 +23,7 @@ L1: lda #$12+64 ; Horizontal line, screen code
|
|||||||
jsr cputdirect ; Direct output
|
jsr cputdirect ; Direct output
|
||||||
dec tmp1
|
dec tmp1
|
||||||
bne L1
|
bne L1
|
||||||
L9: rts
|
L9: jmp setcursor
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
.include "atari.inc"
|
.include "atari.inc"
|
||||||
|
|
||||||
.export _cvlinexy, _cvline
|
.export _cvlinexy, _cvline
|
||||||
.import popa, _gotoxy, putchar
|
.import popa, _gotoxy, putchar, setcursor
|
||||||
.importzp tmp1
|
.importzp tmp1
|
||||||
|
|
||||||
_cvlinexy:
|
_cvlinexy:
|
||||||
@@ -29,7 +29,7 @@ L1: lda COLCRS
|
|||||||
inc ROWCRS
|
inc ROWCRS
|
||||||
dec tmp1
|
dec tmp1
|
||||||
bne L1
|
bne L1
|
||||||
L9: rts
|
L9: jmp setcursor
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user