Added Toshiba T1200 emulation. Patch from John Elliott.
This commit is contained in:
parent
0ca43d37d4
commit
8f04b6b9a4
9 changed files with 102 additions and 5 deletions
10
src/mem.c
10
src/mem.c
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue