refactored device_t and all declarations
This commit is contained in:
@@ -743,6 +743,7 @@ device_config_t vid_1512_config[] =
|
||||
|
||||
static const device_t vid_1512_device = {
|
||||
"Amstrad PC1512 (video)",
|
||||
"vid_1512",
|
||||
0, 0,
|
||||
NULL, vid_close_1512, NULL,
|
||||
{ NULL },
|
||||
@@ -939,6 +940,7 @@ device_config_t vid_1640_config[] =
|
||||
|
||||
static const device_t vid_1640_device = {
|
||||
"Amstrad PC1640 (video)",
|
||||
"vid_1640",
|
||||
0, 0,
|
||||
NULL, vid_close_1640, NULL,
|
||||
{ NULL },
|
||||
@@ -1848,6 +1850,7 @@ device_config_t vid_200_config[] =
|
||||
|
||||
static const device_t vid_200_device = {
|
||||
"Amstrad PC200 (video)",
|
||||
"vid_200",
|
||||
0, 0,
|
||||
NULL, vid_close_200, NULL,
|
||||
{ NULL },
|
||||
@@ -1975,6 +1978,7 @@ device_config_t vid_ppc512_config[] =
|
||||
|
||||
static const device_t vid_ppc512_device = {
|
||||
"Amstrad PPC512 (video)",
|
||||
"vid_ppc512",
|
||||
0, 0,
|
||||
NULL, vid_close_200, NULL,
|
||||
{ NULL },
|
||||
@@ -2014,6 +2018,7 @@ device_config_t vid_pc2086_config[] =
|
||||
|
||||
static const device_t vid_pc2086_device = {
|
||||
"Amstrad PC2086",
|
||||
"vid_pc2086",
|
||||
0, 0,
|
||||
NULL, NULL, NULL,
|
||||
{ NULL },
|
||||
@@ -2053,6 +2058,7 @@ device_config_t vid_pc3086_config[] =
|
||||
|
||||
static const device_t vid_pc3086_device = {
|
||||
"Amstrad PC3086",
|
||||
"vid_pc3086",
|
||||
0, 0,
|
||||
NULL, NULL, NULL,
|
||||
{ NULL },
|
||||
|
||||
@@ -732,6 +732,7 @@ const device_config_t compaq_plasma_config[] =
|
||||
static const device_t compaq_plasma_device =
|
||||
{
|
||||
"Compaq Plasma",
|
||||
"compaq_plasma",
|
||||
0, 0,
|
||||
compaq_plasma_init,
|
||||
compaq_plasma_close,
|
||||
|
||||
@@ -760,6 +760,7 @@ void t3100e_speed_changed(void *p)
|
||||
const device_t t3100e_device =
|
||||
{
|
||||
"Toshiba T3100e",
|
||||
"t3100e",
|
||||
0,
|
||||
0,
|
||||
t3100e_init,
|
||||
|
||||
@@ -690,6 +690,7 @@ static const device_config_t europc_config[] = {
|
||||
|
||||
const device_t europc_device = {
|
||||
"EuroPC System Board",
|
||||
"europc",
|
||||
0, 0,
|
||||
europc_boot, europc_close, NULL,
|
||||
{ NULL }, NULL, NULL,
|
||||
|
||||
@@ -793,6 +793,7 @@ static const device_config_t pcjr_config[] = {
|
||||
|
||||
static const device_t pcjr_device = {
|
||||
"IBM PCjr",
|
||||
"pcjr",
|
||||
0, 0,
|
||||
NULL, NULL, NULL,
|
||||
{ NULL },
|
||||
|
||||
@@ -1352,6 +1352,7 @@ ps1_hdc_close(void *priv)
|
||||
|
||||
const device_t ps1_hdc_device = {
|
||||
"PS/1 2011 Fixed Disk Controller",
|
||||
"ps1_hdc",
|
||||
DEVICE_ISA | DEVICE_PS2,
|
||||
0,
|
||||
ps1_hdc_init, ps1_hdc_close, NULL,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -589,6 +589,7 @@ m19_vid_init(m19_vid_t *vid)
|
||||
|
||||
const device_t m24_kbd_device = {
|
||||
"Olivetti M24 keyboard and mouse",
|
||||
"m24_kbd",
|
||||
0,
|
||||
0,
|
||||
NULL,
|
||||
@@ -630,6 +631,7 @@ const device_config_t m19_vid_config[] =
|
||||
|
||||
const device_t m19_vid_device = {
|
||||
"Olivetti M19 graphics card",
|
||||
"m19_vid",
|
||||
0, 0,
|
||||
NULL, m19_vid_close, NULL,
|
||||
{ NULL },
|
||||
|
||||
@@ -135,6 +135,7 @@ philips_init(const device_t *info)
|
||||
|
||||
const device_t philips_device = {
|
||||
"Philips XT Mainboard",
|
||||
"philips",
|
||||
0,
|
||||
0,
|
||||
philips_init, philips_close, NULL,
|
||||
|
||||
@@ -773,6 +773,7 @@ static const device_config_t t1000_config[] =
|
||||
|
||||
const device_t t1000_video_device = {
|
||||
"Toshiba T1000 Video",
|
||||
"t1000_video",
|
||||
0, 0,
|
||||
t1000_init, t1000_close, NULL,
|
||||
{ NULL },
|
||||
@@ -784,6 +785,7 @@ const device_t t1000_video_device = {
|
||||
|
||||
const device_t t1200_video_device = {
|
||||
"Toshiba T1200 Video",
|
||||
"t1200_video",
|
||||
0, 0,
|
||||
t1000_init, t1000_close, NULL,
|
||||
{ NULL },
|
||||
|
||||
@@ -173,6 +173,7 @@ static const device_config_t xi8088_config[] =
|
||||
const device_t xi8088_device =
|
||||
{
|
||||
"Xi8088",
|
||||
"xi8088",
|
||||
0,
|
||||
0,
|
||||
xi8088_init,
|
||||
|
||||
@@ -101,6 +101,7 @@ zenith_scratchpad_close(void *p)
|
||||
|
||||
static const device_t zenith_scratchpad_device = {
|
||||
"Zenith scratchpad RAM",
|
||||
"zenith_scratchpad",
|
||||
0, 0,
|
||||
zenith_scratchpad_init, zenith_scratchpad_close, NULL,
|
||||
{ NULL },
|
||||
|
||||
Reference in New Issue
Block a user