Reworked network and SCSI thread initialization and termination;

Hard disk controller name and other related strings are now char * instead of fixed-size arrays.
This commit is contained in:
OBattler
2017-10-19 23:55:51 +02:00
parent 1d60a99ea3
commit b755b27304
18 changed files with 262 additions and 113 deletions

View File

@@ -28,7 +28,7 @@
#include "hdc.h"
char hdc_name[16]; /* configured HDC name */
char *hdc_name; /* configured HDC name */
int hdc_current;
@@ -73,8 +73,8 @@ static device_t inthdc_device = {
static struct {
char name[50];
char internal_name[16];
char *name;
char *internal_name;
device_t *device;
int is_mfm;
} controllers[] = {

View File

@@ -27,7 +27,7 @@
* least 7 devices, with each device being
* able to support 8 units, but hey... */
extern char hdc_name[16];
extern char *hdc_name;
extern int hdc_current;