From 3e1600ae9e10652e117a133c7c77397fb11121c9 Mon Sep 17 00:00:00 2001 From: TomW Date: Sat, 27 Jun 2015 14:37:10 +0100 Subject: [PATCH] XTIDE support added for PS/1. --- readme.txt | 12 ++++++++++++ src/mem.c | 14 ++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/readme.txt b/readme.txt index 06d9104..92d4be8 100644 --- a/readme.txt +++ b/readme.txt @@ -205,6 +205,14 @@ ROM files needed: amic206.bin +IBM PS/1 Model 2011 (1990) +This is a 286 with integrated VGA and a basic GUI and DOS 4.01 in ROM. + +ROM files needed: + +f80000.bin + + Acermate 386SX/25N (1992?) An integrated 386SX clone, with onboard Oak SVGA and IO. @@ -535,6 +543,10 @@ http://code.google.com/p/xtideuniversalbios/ v2.0.0 beta 1 is the only version that has been tested. +For the PS/1, you will need v1.1.5. The PS/1 is a bit fussy with XTIDE, and I've found that it works best +when the XTIDE configuration has 'Full Operating Mode' disabled. This version must be called +ide_at_1_1_5.bin and should also be placed in the ROMS directory. + Notes : diff --git a/src/mem.c b/src/mem.c index 77e692a..5ddec44 100644 --- a/src/mem.c +++ b/src/mem.c @@ -83,6 +83,19 @@ static void mem_load_atide_bios() } } +static void mem_load_atide115_bios() +{ + FILE *f; + f=romfopen("roms/ide_at_1_1_5.bin","rb"); + +// is486=0; + if (f) + { + fread(romext,16384,1,f); + fclose(f); + } +} + int loadbios() { FILE *f=NULL,*ff=NULL; @@ -476,6 +489,7 @@ int loadbios() fclose(f); //#endif biosmask = 0x1ffff; + mem_load_atide115_bios(); return 1; } printf("Failed to load ROM!\n");