refactored device_t and all declarations

This commit is contained in:
Jess Lovelace
2022-01-13 21:06:11 -05:00
parent 8bb18ef598
commit f18615ae87
219 changed files with 707 additions and 10 deletions

View File

@@ -1165,6 +1165,7 @@ static const device_config_t vid_config[] = {
static const device_t vid_device = {
"Tandy 1000",
"tandy1000_video",
0, 0,
NULL, vid_close, NULL,
{ NULL },
@@ -1175,6 +1176,7 @@ static const device_t vid_device = {
static const device_t vid_device_hx = {
"Tandy 1000 HX",
"tandy1000_hx_video",
0, 0,
NULL, vid_close, NULL,
{ NULL },
@@ -1185,6 +1187,7 @@ static const device_t vid_device_hx = {
static const device_t vid_device_sl = {
"Tandy 1000SL2",
"tandy1000_sl_video",
0, 1,
NULL, vid_close, NULL,
{ NULL },
@@ -1344,6 +1347,7 @@ eep_close(void *priv)
static const device_t eep_1000hx_device = {
"Tandy 1000HX EEPROM",
"eep_1000hx",
0, TYPE_TANDY1000HX,
eep_init, eep_close, NULL,
{ NULL }, NULL, NULL,
@@ -1353,6 +1357,7 @@ static const device_t eep_1000hx_device = {
static const device_t eep_1000sl2_device = {
"Tandy 1000SL2 EEPROM",
"eep_1000sl2",
0, TYPE_TANDY1000SL2,
eep_init, eep_close, NULL,
{ NULL }, NULL, NULL,