Apply "improved" cursor-off handling for native GEOS API too.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5876 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
; unsigned char cgetc (void);
|
||||
|
||||
.export _cgetc
|
||||
.import cursor
|
||||
.import cursor, _PromptOff
|
||||
.importzp cursor_x, cursor_y
|
||||
|
||||
.include "jumptab.inc"
|
||||
@@ -33,15 +33,7 @@ L0: jsr GetNextChar
|
||||
tax
|
||||
beq L0
|
||||
pha
|
||||
|
||||
; from 'The Hitchhiker's Guide To GEOS'
|
||||
php
|
||||
sei
|
||||
jsr PromptOff
|
||||
lda #0
|
||||
sta alphaFlag
|
||||
plp
|
||||
|
||||
jsr _PromptOff
|
||||
pla
|
||||
ldx #0
|
||||
rts
|
||||
|
||||
Reference in New Issue
Block a user