[Patch] Toshiba T1200

Post Reply
User avatar
JohnElliott
Posts: 113
Joined: Sun 31 Jan, 2016 7:29 pm

[Patch] Toshiba T1200

Post by JohnElliott »

This implements T1200 support, and also fixes the crash when you enable XTIDE on the T1000.
Attachments
t1200.patch
(26.78 KiB) Downloaded 418 times
Fenix77
Posts: 80
Joined: Fri 01 Sep, 2017 11:59 am

Re: [Patch] Toshiba T1200

Post by Fenix77 »

Hello.

I found inside the pacth the CPU is defined as 8088.
As is written here, the CPU is 8086. https://usermanual.com/document/6969/to ... ation.html
The memory amounts are correct.
User avatar
SarahWalker
Site Admin
Posts: 2054
Joined: Thu 24 Apr, 2014 4:18 pm

Re: [Patch] Toshiba T1200

Post by SarahWalker »

Committed at rev 1016.
darksabre76
Posts: 69
Joined: Tue 12 Sep, 2017 4:33 am
Location: Seattle, WA, USA
Contact:

Re: [Patch] Toshiba T1200

Post by darksabre76 »

When trying to compile the latest commit:

Code: Select all

pcem-mem.o: In function `loadbios':
C:\Users\darksabre76\Downloads\EmuBuild\home\user\pcem\src/mem.c:780: undefined reference to `romfread'
User avatar
SarahWalker
Site Admin
Posts: 2054
Joined: Thu 24 Apr, 2014 4:18 pm

Re: [Patch] Toshiba T1200

Post by SarahWalker »

Fixed in rev 1017 - some of John's changes didn't get committed last night.
Fenix77
Posts: 80
Joined: Fri 01 Sep, 2017 11:59 am

Re: [Patch] Toshiba T1200

Post by Fenix77 »

Hello.

I found a bug in the T1200 emulation. The machine does not boot and says "1-HDD & 1-FDD type".
I don't know if I'm asking too much, I know a floppy version of T1200 existed with two 3.5 720kb floppy drives, and maybe it uses a different BIOS
I think it can be used instead as workaround to avoid this issue with the undocumented JVC hard disk controller.
Again I don't how many changes to the code have to be done.

Thank you for the hard work!
User avatar
JohnElliott
Posts: 113
Joined: Sun 31 Jan, 2016 7:29 pm

Re: [Patch] Toshiba T1200

Post by JohnElliott »

I got that on initial boot, and I think just pressing RETURN is enough to get you past it. It's part of a message in the ROM saying that the CMOS is corrupt, and asking you whether the defaults should be set for HDD+FDD or FDD+FDD.
Fenix77
Posts: 80
Joined: Fri 01 Sep, 2017 11:59 am

Re: [Patch] Toshiba T1200

Post by Fenix77 »

Thanks you!

The machine works!. Tested and working with the Xebec MFM controller and a 20 MB hard disk.

I found two minor glitches.

1. With 1Mb configuration PCEM, not only the machine, crash during boot time. With 2Mb, starts normally, but only 640 of EMS is detected with no Hard-Ram installed.
(640kb conventional, at memory check, and 640kb when EMM.SYS is loaded,so it detects 1280 kb of total RAM)
2. The screen background is black, and it has to be changed to blue with right control+home at each reset.
User avatar
JohnElliott
Posts: 113
Joined: Sun 31 Jan, 2016 7:29 pm

Re: [Patch] Toshiba T1200

Post by JohnElliott »

This patch seems to fix the glitches for me.

The first was a straightforward hardcoded RAM size (this should also stop the T1000 crashing if it's manually configured with a non-standard RAM size).
The second was a BIOS feature to disable the built-in video chipset, so that an alternative video card (if present) would be used. The T3100e has the same feature.
Attachments
t1200_fix.patch
(2.46 KiB) Downloaded 406 times
Fenix77
Posts: 80
Joined: Fri 01 Sep, 2017 11:59 am

Re: [Patch] Toshiba T1200

Post by Fenix77 »

I found only one small issue after applying the patch.
The TEST1 utility fails (abort) when checking the memory, however the memory amount in 1MB/2MB config is correctly detected.
But in the other hand CheckIt does not find any issue.
The blue screen works ok.

Windows 2.03 detects the EMS memory correctly with SmartDrive cache loaded.
Attachments
Windows 2.03 with EMS and Smartdive loaded.
Windows 2.03 with EMS and Smartdive loaded.
Screenshot from 2018-02-10 21-38-45.png (190.15 KiB) Viewed 12559 times
Check it detects all memory correctly
Check it detects all memory correctly
Screenshot from 2018-02-10 21-33-30.png (22.71 KiB) Viewed 12559 times
TEST1
TEST1
Screenshot from 2018-02-10 21-25-41.png (3.36 KiB) Viewed 12559 times
Fenix77
Posts: 80
Joined: Fri 01 Sep, 2017 11:59 am

Re: [Patch] Toshiba T1200

Post by Fenix77 »

Hello

Sorry for writting again!

I found another small issue related to Hard-Ram. The Hard-Ram drive can be only accessed if There is no hard-disk installed because it uses the C drive letter.
If a third party hard-disk is installed, it uses the C drive letter, and the Hard-Ram is not assigned a D or any other drive letter.
May be the BIOS only detects as hard-disk the JVC controller. I don't know if it can be modified to check other disk controllers.

PD: However, I don't use Hard-Ram frequently because when I use another machine in PCEM and then I use T1000/T1200 machine again it says the data is lost.
Anyway, it is not much needed if a hard drive is present.

Thanks again!
User avatar
SarahWalker
Site Admin
Posts: 2054
Joined: Thu 24 Apr, 2014 4:18 pm

Re: [Patch] Toshiba T1200

Post by SarahWalker »

JohnElliott wrote: Fri 02 Feb, 2018 9:20 pm This patch seems to fix the glitches for me.

The first was a straightforward hardcoded RAM size (this should also stop the T1000 crashing if it's manually configured with a non-standard RAM size).
The second was a BIOS feature to disable the built-in video chipset, so that an alternative video card (if present) would be used. The T3100e has the same feature.
Committed this patch at rev 1069.
Post Reply