Added Toshiba T1000 emulation. Patch from John Elliott.

This commit is contained in:
SarahW 2018-01-10 20:44:31 +00:00
commit c40a421700
25 changed files with 1746 additions and 32 deletions

View file

@ -762,6 +762,16 @@ int loadbios()
fread(rom,65536,1,f);
fclose(f);
return 1;
case ROM_T1000:
loadfont("t1000/t1000font.rom", 2);
f=romfopen("t1000/t1000.rom","rb");
if (!f) break;
fread(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);