[patch] Systems from the first Olivetti PCS series

Discussion of development and patch submission.
User avatar
ruben_balea
Posts: 46
Joined: Mon 08 May, 2017 11:24 pm
Location: Spain

[patch] Systems from the first Olivetti PCS series

Postby ruben_balea » Thu 12 Oct, 2017 6:36 pm

Hi there,
The title of the post is self explanatory, there's also a file named "oli_pcs_readme.txt" with more information, both on diff file and RAR archive.
15/10/2017 EDIT: I changed the post title from "Partial emulation of the Systems from the first Olivetti PCS series" to "Systems from the first Olivetti PCS series" because I noticed that other machines are also not 100% completed.

This is the status of the four systems:

PCS 86: Not working. Only valid to remember the POST screen. Needs NEC V30, FARADAY FE2011ES-LR chipset, and many many other things...

PCS 286: Works with a few issues during boot and CMOS setup. Tested with: DOS, Windows 3.1 and some games. During boot it will complain about VGA and Protected Mode, just press F1 to skip. Needs HEADLAND GC101, GC102, GC103 chipset and a few things.

PCS 286 S: Works with a few issues during boot and CMOS setup. Tested with: DOS, Windows 3.1 and some games. During boot it will complain about CPU Protected Mode (and VGA but changed it to GO481) just press F1 to skip. Needs TEXAS INSTRUMENTS TACT82301BPB, TACT82302BPB, TACT82303BPB chipset and a few things.

PCS 386 SX: Works with a few issues during boot and CMOS setup. Tested with: DOS, Windows 3.11 and some games. During boot it will complain about 4 errors, just press F1 to skip. Needs HEADLAND HT101SX, HT102, HT113 chipset and a few things.

Basically will work everything except the EMS memory available via chipset on 286's, with PCS 386 SX you can use EMM386 driver provided with MS-DOS or similar to get EMS emulated via CPU.

This is all what I can do, I've no idea about how to write code to emulate chipsets, controllers and so on, sorry

If you're interested you can get a pre configured copy here: https://drive.google.com/file/d/0B7SFZfI4V-WPUDFkeVNTRzE2eWM/view?usp=sharing but please note:

- Source only, you have to compile it.
- The four systems use the same hard disc image, use only one at a time.
- The hard disc image contains only a free MS-DOS compatible operating system isntalled.
- I can't provide EMS drivers, manuals or other things because I don't have them.
- All BIOS dumps are truncated to 0 bytes size, to let you know the file names to be used and their locations.
- Full dumps are here: https://drive.google.com/file/d/0B7SFZfI4V-WPNzkwSVJmbV9Kam8/view?usp=sharing RAR archive is password protected, if you can't dump the roms from your own PCS please contact me.
- I do not have functional units of those systems available for testing, it has already been very difficult (and quite expensive!) to get to this point.
- don't blame me for bad code, failures or any incorrect things, instead make it better and upload your modifications. ;)



oli_pcs.diff.rar
(7.64 KiB) Downloaded 26 times
Last edited by ruben_balea on Mon 16 Oct, 2017 5:55 pm, edited 3 times in total.
User avatar
ruben_balea
Posts: 46
Joined: Mon 08 May, 2017 11:24 pm
Location: Spain

Re: [patch] Partial emulation of the systems from the first Olivetti PCS series

Postby ruben_balea » Thu 12 Oct, 2017 9:04 pm

PCS 386 SX - MSD.png
PCS 386 SX - MSD.png (12.35 KiB) Viewed 857 times


PCS 286 S - MSD.png
PCS 286 S - MSD.png (12.43 KiB) Viewed 857 times


PCS 286 - MSD.png
PCS 286 - MSD.png (12.32 KiB) Viewed 857 times
User avatar
ruben_balea
Posts: 46
Joined: Mon 08 May, 2017 11:24 pm
Location: Spain

Re: [patch] Partial emulation of the systems from the first Olivetti PCS series

Postby ruben_balea » Thu 12 Oct, 2017 9:06 pm

Windows 3.0 Enhanced Mode won't run Windows 3.0 Real Mode windowed.png
Windows 3.0 Enhanced Mode won't run Windows 3.0 Real Mode windowed.png (17.03 KiB) Viewed 857 times


PCS 386 SX - Windows 3.1 386 Enhanced Mode with 32 Bit disk access.png
PCS 386 SX - Windows 3.1 386 Enhanced Mode with 32 Bit disk access.png (15.45 KiB) Viewed 857 times


PCS 286 Windows 3.1 Standard Mode.png
PCS 286 Windows 3.1 Standard Mode.png (16.45 KiB) Viewed 857 times
User avatar
ruben_balea
Posts: 46
Joined: Mon 08 May, 2017 11:24 pm
Location: Spain

Re: [patch] Partial emulation of the systems from the first Olivetti PCS series

Postby ruben_balea » Thu 12 Oct, 2017 9:16 pm

PCS 386 SX.png
PCS 386 SX.png (13.09 KiB) Viewed 855 times


PCS 286 S.png
PCS 286 S.png (12.09 KiB) Viewed 855 times


PCS 286.png
PCS 286.png (12.38 KiB) Viewed 855 times
User avatar
ruben_balea
Posts: 46
Joined: Mon 08 May, 2017 11:24 pm
Location: Spain

Re: [patch] Partial emulation of the systems from the first Olivetti PCS series

Postby ruben_balea » Thu 12 Oct, 2017 9:26 pm

NOTE: PCS 286 original speed is 12MHz but I changed it to speed up Windows 3.0 setup and then I forget to revert it...

Finally the non working PCS 86, CPU should be (NEC V30) but BIOS is able to display also (i8086) and original speed is 10MHz

PCS 86.png
PCS 86.png (11.88 KiB) Viewed 850 times
szadycbr
Posts: 181
Joined: Mon 21 Nov, 2016 6:23 pm

Re: [patch] Partial emulation of the systems from the first Olivetti PCS series

Postby szadycbr » Thu 12 Oct, 2017 9:41 pm

Ruben, welcome, regarding your first post, no one will blame you for anything, we are happy that You did this. Maybe some one else will complete the other parts, and it is very nice that You doing this for PCem. PCem has gone through long bumpy road and it will go through many more obstacles, Your input is Great and b cos people like You who willing to spent their time on it , PCem growing better and bigger. Take care and thank You for all Your work.
User avatar
ruben_balea
Posts: 46
Joined: Mon 08 May, 2017 11:24 pm
Location: Spain

Re: [patch] Systems from the first Olivetti PCS series

Postby ruben_balea » Sun 15 Oct, 2017 12:31 am

If I get some time next afternoon I want to test Windows 95 with PCS 386 SX, in my real computer it works, I don't know if having a 387 installed makes any difference for W95, on the worst case it will be even slower... :roll:
User avatar
ruben_balea
Posts: 46
Joined: Mon 08 May, 2017 11:24 pm
Location: Spain

Re: [patch] Systems from the first Olivetti PCS series

Postby ruben_balea » Mon 16 Oct, 2017 1:21 am

Windows 95 without FPU seems to be a lot slower at least to compress the drive with DriveSpace 3 with the UltaPack option included with Microsoft Plus! (not recommended even for 486)
A lot of time to make room for IE5.5 to discover that it won't run with only 8MB of RAM... fortunately there are still sites optimized for IE3 :lol:
To use Windows 95 on a 368SX@16MHz you'll need a SVGA, a FPU and at least 16MB of RAM, otherwise it's useless.

PCS386SX_WIN95.png
PCS386SX_WIN95.png (21.22 KiB) Viewed 575 times


And OS/2 2.0 isn't much faster than Windows 95... I do think it's even a lot slower, I remembered 1993 when I uninstalled it from my PCS 386 SX just after installing it :shock:

PCS386SX_OS2-2.0.png
PCS386SX_OS2-2.0.png (18.37 KiB) Viewed 575 times
User avatar
ruben_balea
Posts: 46
Joined: Mon 08 May, 2017 11:24 pm
Location: Spain

Re: [patch] Systems from the first Olivetti PCS series

Postby ruben_balea » Thu 19 Oct, 2017 1:15 am

This picture shows the problem with BIOS SETUP, TIME and DATE are corrupt for some reason and this hangs the setup.
[The same corruption with date (? instead of numbers) happens sometimes on Amstrad MegaPC too, but on this one the SETUP still works]
There was a small shareware program to configure CMOS on most 286s and 386s, but after many years without using it I had to investigate a little to find it again...
Download Generic SETUP 3.1 here: http://ftp.labs.hp.com/ftp/pub/micro/pc/simtelnet/msdos/sysutl/gsetup31.zip

BIOS_SETUP.png
BIOS_SETUP.png (11 KiB) Viewed 503 times


Settings to use with Generic SETUP 3.1:

[0] Time should be already correct
[1] Date same as above but if it shows year 19xx you can enter any date from year 2000 and the year will be updated to the correct one by PCem.
[2] Floppy Disk A: enter the same type as PCem config.
[3] Floppy Disk B: enter the same type as PCem config.
[4] Hard Disk 1 (C: ) see the green text below.
[5] Hard Disk 2 (D: ) see the green text below.
[6] Base Memory already correct, it's autodetected during boot.
[7] Expansion Memory already correct, it's autodetected during boot.
[8] Math Coprocessor for now it's only available in PCem for 486 and higher
[9] Primary Display on PCS 286 S set to "EGA/VGA/Other" and on PCS 286 and PCS 386 SX set to "Color/80 Column"

Please note that PCS BIOSes have (for some strange reason) hard disk parameter tables with some valid entries (listed below) and then some more invalid, incomplete or empty entries.
The computer won't boot when an invalid type was selected. Even real computers won't boot and the BIOS SETUP will display ???-???MB for disk type if an invalid entry was selected.
BIOS SETUP won't let you to configure more than one drive because you can't install more tan one HD on the real computer, there's no room nor power connector for a secondary HDD.
But if you manage to add another drive with an external case and an additional IDE controller without it's own BIOS you can configure the same drive types for the second HD,
BIOS SETUP won't display anything about that secondary HD, but won't delete it from CMOS and both drives will work fine.
In PCem it's easy to add a second drive if you need extra space, just use the CHS values of one of the supported drives from the next list:


Code: Select all

THERE ARE 2 DRIVE TYPES AVAILABLE ON PCS 286:
+-----------+-----------+-----------+------------+-----------+---------------+
| DPT ENTRY | BIOS SIZE | BIOS TYPE |  BIOS CHS  | CHS BYTES |  OEM DRIVES   |
+-----------+-----------+-----------+------------+-----------+---------------+
|     1     |   20MB    |  1-020MB  |  615 4 17  |  21411840 | CONNER CP3022 |
+-----------+-----------+-----------+------------+-----------+---------------+
|     2     |   40MB    |  2-040MB  |  980 5 17  |  42649600 | CONNER CP346  |
+-----------+-----------+-----------+------------+-----------+---------------+

THERE ARE 2 DRIVE TYPES AVAILABLE ON PCS 286 S:
+-----------+-----------+-----------+------------+-----------+---------------+
| DPT ENTRY | BIOS SIZE | BIOS TYPE |  BIOS CHS  | CHS BYTES |  OEM DRIVES   |
+-----------+-----------+-----------+------------+-----------+---------------+
|     1     |   20MB    |  1-020MB  |  615 4 17  |  21411840 | CONNER CP3022 |
+-----------+-----------+-----------+------------+-----------+---------------+
|     2     |   40MB    |  2-040MB  |  980 5 17  |  42649600 | CONNER CP346  |
+-----------+-----------+-----------+------------+-----------+---------------+

THERE ARE 5 DRIVE TYPES AVAILABLE ON PCS 386 SX:
+-----------+-----------+-----------+------------+-----------+---------------------------+
| DPT ENTRY | BIOS SIZE | BIOS TYPE |  BIOS CHS  | CHS BYTES | OEM DRIVES                |
+-----------+-----------+-----------+------------+-----------+---------------------------+
|     1     |   20MB    |  1-020MB  |  615 4 17  |  21411840 | CONNER CP3024             |
+-----------+-----------+-----------+------------+-----------+---------------------------+
|     2     |   40MB    |  2-040MB  |  980 5 17  |  42649600 | CONNER CP3044 (CP3046*)   |
+-----------+-----------+-----------+------------+-----------+---------------------------+
|     3     |   80MB    |  3-080MB  |  529 8 39  |  84504576 | CONNER CP30084            |
+-----------+-----------+-----------+------------+-----------+---------------------------+
|     4     |  100MB    |  4-100MB  |  776 8 33  | 104890368 | CONNER CP30104 (CP30106*) |
+-----------+-----------+-----------+------------+-----------+---------------------------+
|     5     |  120MB    |  5-120MB  |  762 8 39  | 121724928 | CONNER CP30126 (CP30104*) |
+-----------+-----------+-----------+------------+-----------+---------------------------+
|*On stock ruptures and configured/formatted with size/translation of the original units |
+----------------------------------------------------------------------------------------+


gsetup31.png
gsetup31.png (17.21 KiB) Viewed 503 times
User avatar
ruben_balea
Posts: 46
Joined: Mon 08 May, 2017 11:24 pm
Location: Spain

Re: [patch] Systems from the first Olivetti PCS series

Postby ruben_balea » Tue 07 Nov, 2017 9:59 pm

Just a curiosity that I've forgot to mention before: PCS 386 SX BIOS has some kind of built in debugger.

Maybe accessed by a key combination but I don't know it. I've used debug command g=f000:a3be

TA-Monitor.png
TA-Monitor.png (15.05 KiB) Viewed 354 times

Return to “Development”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests