Added Thomson TO16 PC. Patch from dns2kv2.

This commit is contained in:
SarahW 2018-02-12 13:24:00 +00:00
commit 788402b879
3 changed files with 9 additions and 0 deletions

View file

@ -449,6 +449,7 @@ enum
ROM_T1200,
ROM_PB_L300SX,
ROM_NCR_PC4I,
ROM_TO16_PC,
ROM_MAX
};

View file

@ -806,6 +806,13 @@ int loadbios()
fclose(f);
biosmask = 0x3fff;
return 1;
case ROM_TO16_PC:
f=romfopen("to16_pc/TO16_103.bin","rb");
if (!f) break;
romfread(rom+0x8000,32768,1,f);
fclose(f);
return 1;
}
printf("Failed to load ROM!\n");
if (f) fclose(f);

View file

@ -113,6 +113,7 @@ MODEL models[] =
{"[8088] Schneider EuroPC", ROM_EUROPC, "europc", { {"", cpus_europc}, {"", NULL}, {"", NULL}}, 0, 0, 512, 640, 128, europc_init, NULL},
{"[8088] Tandy 1000", ROM_TANDY, "tandy", { {"", cpus_8088}, {"", NULL}, {"", NULL}}, 1, 0, 128, 640, 128, tandy1k_init, &tandy1000_device},
{"[8088] Tandy 1000 HX", ROM_TANDY1000HX, "tandy1000hx", { {"", cpus_8088}, {"", NULL}, {"", NULL}}, 1, 0, 256, 640, 128, tandy1k_init, &tandy1000hx_device},
{"[8088] Thomson TO16 PC", ROM_TO16_PC, "to16_pc", { {"", cpus_8088}, {"", NULL}, {"", NULL}}, 0, 0, 512, 640, 128, xt_init, NULL},
{"[8088] Toshiba 1000", ROM_T1000, "t1000", { {"", cpus_8088}, {"", NULL}, {"", NULL}}, 1, 0, 512,1280, 768, xt_t1000_init, &t1000_device},
{"[8088] VTech Laser Turbo XT", ROM_LTXT, "ltxt", { {"", cpus_8088}, {"", NULL}, {"", NULL}}, 0, 0, 64,1152, 64, xt_laserxt_init, NULL},