[Patch] Compaq Portable Plus
[Patch] Compaq Portable Plus
tested against latest pcem commit 9de4df7
playable display adapter:
-ati 18800
-ati 28800
-tseng et4000/w32p
-tseng et4000ax
-ega
-oak oti-067
-paradise pvga1a
-trident tvga8900d
-trident tgui9440
-vga
-wyse 700
playable harddisk controller:
-[mfm] dtc 5150x
-[mfm] fixed disk adapter (xebec)
playable floppy disk image size:
-360kb
issue:
-post error "101"
-post error "401"
-when opening graphical games or apps, the keyboard arrow buttons become numbers.
you must use numpad arrows to move around, if you don't have numpad, oh well errhhh...
playable display adapter:
-ati 18800
-ati 28800
-tseng et4000/w32p
-tseng et4000ax
-ega
-oak oti-067
-paradise pvga1a
-trident tvga8900d
-trident tgui9440
-vga
-wyse 700
playable harddisk controller:
-[mfm] dtc 5150x
-[mfm] fixed disk adapter (xebec)
playable floppy disk image size:
-360kb
issue:
-post error "101"
-post error "401"
-when opening graphical games or apps, the keyboard arrow buttons become numbers.
you must use numpad arrows to move around, if you don't have numpad, oh well errhhh...
- Attachments
-
- PCem-Compaq-Portable-Plus.patch
- (4.63 KiB) Downloaded 454 times
- JohnElliott
- Posts: 113
- Joined: Sun 31 Jan, 2016 7:29 pm
Re: [Patch] Compaq Portable Plus
It may work with a CGA chipset if you select CGA video timings using the 'external monitor' hotkey (CTRL + ALT + < ). Otherwise it'll be trying to drive the Compaq dual-scan monitor.
Re: [Patch] Compaq Portable Plus
if you can help implement it, please do so.JohnElliott wrote:It may work with a CGA chipset if you select CGA video timings using the 'external monitor' hotkey (CTRL + ALT + < ). Otherwise it'll be trying to drive the Compaq dual-scan monitor.
if you can also help fix other issue in the patch, please do so.
- JohnElliott
- Posts: 113
- Joined: Sun 31 Jan, 2016 7:29 pm
Re: [Patch] Compaq Portable Plus
I haven't looked into implementing the Compaq dual-scan CGA yet, but I was right that pressing CTRL + ALT + < will make it display correctly on the existing CGA:
It would also work if you set the DIP switches to boot in 24x40 mode rather than 24x80, but PCEM doesn't support this.
It would also work if you set the DIP switches to boot in 24x40 mode rather than 24x80, but PCEM doesn't support this.
Re: [Patch] Compaq Portable Plus
I've found at some site CPQVID BIOS ROM (8K). Maybe it is for Compaq CGA card.JohnElliott wrote:I haven't looked into implementing the Compaq dual-scan CGA yet, but I was right that pressing CTRL + ALT + < will make it display correctly on the existing CGA:
It would also work if you set the DIP switches to boot in 24x40 mode rather than 24x80, but PCEM doesn't support this.
Re: [Patch] Compaq Portable Plus
yep, you're right. it worked out of the box just like you said.JohnElliott wrote:I haven't looked into implementing the Compaq dual-scan CGA yet, but I was right that pressing CTRL + ALT + < will make it display correctly on the existing CGA:
It would also work if you set the DIP switches to boot in 24x40 mode rather than 24x80, but PCEM doesn't support this.
- JohnElliott
- Posts: 113
- Joined: Sun 31 Jan, 2016 7:29 pm
Re: [Patch] Compaq Portable Plus
OK, here's an implementation of the Compaq CGA (at least, the version used in the Portable).
Later versions of the adaptor (as found in the Portable II and the original Deskpro) also allow the high-resolution display to be switched between CGA and MDA attributes, using bit 7 of the CGA control register. My patch doesn't implement this, though it probably wouldn't be too hard to do.
Later versions of the adaptor (as found in the Portable II and the original Deskpro) also allow the high-resolution display to be switched between CGA and MDA attributes, using bit 7 of the CGA control register. My patch doesn't implement this, though it probably wouldn't be too hard to do.
- Attachments
-
- compaq_cga.patch
- (22.43 KiB) Downloaded 435 times
- JohnElliott
- Posts: 113
- Joined: Sun 31 Jan, 2016 7:29 pm
Re: [Patch] Compaq Portable Plus
And this version of the patch emulates the later version of the adaptor that can do MDA or CGA attributes. If you want to test switching from one to the other on the Portable, which doesn't have a hotkey to do this, you can create a COM file using DEBUG:
TOGGLE.COM will then toggle the attributes between MDA-style and CGA-style each time it's run:
Code: Select all
A>DEBUG
-a100
103B:0100 mov ax,40
103B:0103 mov es,ax
103B:0105 mov bx,65
103B:0108 es:
103B:0109 xor byte ptr [bx],80
103B:010C es:
103B:010D mov al,[bx]
103B:101F mov dx,03d8
103B:0112 out dx,al
103B:0113 int 20
103B:0115
-rcx
CX 0000
:15
-ntoggle.com
-w
Writing 0015 bytes
-q
- Attachments
-
- compaq_cga_2.patch
- (23.59 KiB) Downloaded 449 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: [Patch] Compaq Portable Plus
Compaq CGA committed at rev 1066.
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: [Patch] Compaq Portable Plus
And the Compaq Portable Plus added at rev 1067. I fixed the 401 error - LPT1 was at the wrong address. The 101 error is a PIT bug that I'm still looking at.