]> git.sur5r.net Git - cc65/commit
Implemented a one-character buffer for kbhit() and cgetc().
authorStephan Mühlstrasser <stephan.muehlstrasser@web.de>
Sat, 21 Feb 2015 19:24:58 +0000 (20:24 +0100)
committerStephan Mühlstrasser <stephan.muehlstrasser@web.de>
Sat, 21 Feb 2015 19:24:58 +0000 (20:24 +0100)
commit222668c016897eea23df781ec619bc288be83502
tree29278fc7f0352f9d7d8b4c35b9dbc6cbfc9784e3
parentb1969ac16a656d9cd18e755b9e0e6b07085befe4
Implemented a one-character buffer for kbhit() and cgetc().

If kbhit() detects that a key is pressed, it fetches and
buffers the character. If cgetc() detects a buffered character,
this one is returned instead of fetching one with the PROM
routine.
cfg/osic1p.cfg
libsrc/osic1p/cgetc.s
libsrc/osic1p/extzp.inc
libsrc/osic1p/extzp.s
libsrc/osic1p/kbhit.s