Changeset 7258c6a in buchla-68k for iolib/waitcr.c
- Timestamp:
- 07/09/2017 04:45:34 PM (7 years ago)
- Branches:
- master
- Children:
- 8618599
- Parents:
- 0292fbb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
iolib/waitcr.c
r0292fbb r7258c6a 21 21 */ 22 22 23 int waitcr(void)23 int16_t waitcr(void) 24 24 { 25 int c;25 int16_t c; 26 26 27 27 BIOS(B_PUTC, CON_DEV, '\007'); /* wake up the operator */ … … 29 29 /* await a CR, in which case we just exit */ 30 30 31 while ('\r' NE (c = (0x007F & (int )BIOS(B_GETC, CON_DEV))))31 while ('\r' NE (c = (0x007F & (int16_t)BIOS(B_GETC, CON_DEV)))) 32 32 if (c EQ '\007') /* ... or a control-G */ 33 33 xtrap15(); /* ... in which case we trap first */
Note:
See TracChangeset
for help on using the changeset viewer.