diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-25 03:08:11 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-25 03:08:11 -0400 |
| commit | b74d292847b22cf282ff8ae7d1b51df34176ce4d (patch) | |
| tree | 4717814a5390d1672840c2c417ebb4d9606480d8 /src/cgetc.s | |
| parent | 8f19c016edd9f258c1b39eb44647c685b245f2fc (diff) | |
| download | fujinet-chat-b74d292847b22cf282ff8ae7d1b51df34176ce4d.tar.gz | |
Banish cgetc(), and all its annoyances. Much more flexible and precise keyboard control, see keytab.[ch] and kgetc.[ch]
Diffstat (limited to 'src/cgetc.s')
| -rw-r--r-- | src/cgetc.s | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/cgetc.s b/src/cgetc.s deleted file mode 100644 index dd9fe26..0000000 --- a/src/cgetc.s +++ /dev/null @@ -1,24 +0,0 @@ -; -; Christian Groessler, November-2002 -; -; get a char from the keyboard -; char cgetc(void) -; - -; Modified version for FujiNetChat. - .include "atari.inc" - .export _cgetc - -_cgetc: -;;; jsr setcursor ; this is unneeded and causes a hole in screen 7 - lda #12 - sta ICAX1Z ; fix problems with direct call to KEYBDV - jsr @1 - ldx #0 - rts - -@1: lda KEYBDV+5 - pha - lda KEYBDV+4 - pha - rts |
