Moved the 'conio' files from 'geos-cbm' to 'geos-common' which are believed to work as-is on Apple GEOS too.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5486 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
ol.sc
2012-02-07 13:53:14 +00:00
parent 829609133c
commit b944a6acdf
17 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,40 @@
;
; Maciej 'YTM/Elysium' Witkowiak
;
; 27.10.2001
; 06.03.2002
; unsigned char cgetc (void);
.export _cgetc
.import update_cursor
.importzp cursor_x, cursor_y, cursor_flag
.include "jumptab.inc"
.include "geossym.inc"
_cgetc:
; show cursor if needed
lda cursor_flag
beq L0
jsr update_cursor
lda cursor_x
ldx cursor_x+1
sta stringX
stx stringX+1
lda cursor_y
sec
sbc curHeight
sta stringY
jsr PromptOn
L0: jsr GetNextChar
tax
beq L0
pha
jsr PromptOff
pla
ldx #0
rts