Added Toshiba T1200 emulation. Patch from John Elliott.

This commit is contained in:
SarahW 2018-01-31 21:53:23 +00:00
commit 8f04b6b9a4
9 changed files with 102 additions and 5 deletions

View file

@ -772,6 +772,16 @@ int loadbios()
biosmask = 0x7fff;
fclose(f);
return 1;
case ROM_T1200:
loadfont("t1200/t1000font.rom", 2);
f=romfopen("t1200/t1200_019e.ic15.bin","rb");
if (!f) break;
romfread(rom, 0x8000,1,f);
memcpy(rom + 0x8000, rom, 0x8000);
biosmask = 0x7fff;
fclose(f);
return 1;
}
printf("Failed to load ROM!\n");
if (f) fclose(f);