mirror of
https://github.com/rcornwell/sims.git
synced 2026-04-03 12:22:52 +00:00
SIM_CARD: Updated comments. Fixed bug with reading DOS files.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Card read/punch routines for 7000 simulators.
|
||||
/* Generic Card read/punch routines for simulators.
|
||||
|
||||
Copyright (c) 2005, Richard Cornwell
|
||||
|
||||
@@ -680,10 +680,10 @@ sim_read_card(UNIT * uptr)
|
||||
while (data->cbuff[i] != '\n' && data->cbuff[i] != '\r' && i < data->len) {
|
||||
i++;
|
||||
}
|
||||
if (data->cbuff[i] == '\n')
|
||||
i++;
|
||||
if (data->cbuff[i] == '\r')
|
||||
i++;
|
||||
if (data->cbuff[i] == '\n')
|
||||
i++;
|
||||
sim_debug(DEBUG_CARD, dptr, "]\n");
|
||||
break;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Card read/punch routines for 7000 simulators.
|
||||
/* Generic Card read/punch routines for simulators.
|
||||
|
||||
Copyright (c) 2005, Richard Cornwell
|
||||
|
||||
@@ -58,8 +58,6 @@
|
||||
Auto output format is ASCII if card has only printable characters
|
||||
or card format binary.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#ifndef SIM_CARD_H_
|
||||
#define SIM_CARD_H_ 0
|
||||
|
||||
Reference in New Issue
Block a user