Changeset e102943 in buchla-68k for iolib/rawio.c
- Timestamp:
- 07/15/2017 11:33:07 AM (7 years ago)
- Branches:
- master
- Children:
- d18a473
- Parents:
- dade7a0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
iolib/rawio.c
rdade7a0 re102943 75 75 for (i = 0; i < nb; i++) { /* main read loop */ 76 76 77 c = BIOS(B_GETC, unit) & 0xFF; /* get a byte from the unit */77 c = (int8_t)(BIOS(B_GETC, unit) & 0xFF); /* get a byte from the unit */ 78 78 79 79 *bp++ = c; /* add it to the buffer */ … … 104 104 while (bc LT nb) { 105 105 106 c = BIOS(B_GETC, unit) & 0xFF;106 c = (int8_t)(BIOS(B_GETC, unit) & 0xFF); 107 107 108 108 switch (c) { … … 163 163 while (bc LT nb) { 164 164 165 c = BIOS(B_GETC, unit) & 0xFF;165 c = (int8_t)(BIOS(B_GETC, unit) & 0xFF); 166 166 167 167 switch (c) { … … 198 198 bp = buf; /* setup buffer pointer */ 199 199 200 while ( c = *bp++) /* send the string, a byte at a time */200 while ((c = *bp++)) /* send the string, a byte at a time */ 201 201 BIOS(B_PUTC, unit, c); 202 202 }
Note:
See TracChangeset
for help on using the changeset viewer.