Mercurial > hg > Members > kono > nitros9-code
annotate lib/alib/getc.as @ 3278:ea1afb494127
defs: Add Bt.Sec for atari and corsham
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sat, 07 Mar 2020 23:52:40 +0100 |
parents | 03f26e88b809 |
children |
rev | line source |
---|---|
2474 | 1 *************************************** |
2 | |
3 * Subroutine to input one character from std in. | |
4 | |
5 * OTHER MODULES NEEDED: FGETC | |
6 | |
7 * ENTRY: none | |
8 | |
9 | |
10 * EXIT: A character | |
11 * CC carry set if error (from I$Read) | |
12 * B error code if any | |
13 | |
14 nam Input Single Character | |
15 ttl Assembler Library Module | |
16 | |
17 | |
2782
aaba193af04f
Updated code to use lwasm/lwlink
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2474
diff
changeset
|
18 section .text |
2474 | 19 |
20 GETC: | |
21 clra std in | |
22 lbra FGETC | |
23 | |
24 endsect | |
25 |