Mercurial > hg > Members > kono > nitros9-code
annotate lib/alib/getc.a @ 2765:0bd16cca86b7
Updated rules.mak for all the os9 format's to format the entire disk. People were having some issues with the disk images not being formatted to their full capacity and preventing some functions from working.
author | drencor-xeen |
---|---|
date | Thu, 17 Jan 2013 11:03:26 -0600 |
parents | 7d70b7e1cb21 |
children | aaba193af04f |
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 | |
18 psect GETC,0,0,0,0,0 | |
19 | |
20 GETC: | |
21 clra std in | |
22 lbra FGETC | |
23 | |
24 endsect | |
25 |