After much digging and much reading online...getting the compaq 386 to output anything from the RGBi port ...I drew nothing but blanks.
Either folk dont share this information or simply dont know ?
Anyhoo...I finally achieved my goal getting the compaq to output RGBi (CGA) after reading this
>>>>
Video output
The video hardware is a superset of CGA, with a doubled vertical resolution (640x400 rather than 640x200), outputting on an amber plasma display.
There is no font ROM. The font (8x8 or 8x16) is held in another bank of video RAM, and loaded by the BIOS at boot time.
Some I/O ports used by the video hardware are:
13C6h [r/w]
Bits 0-2: Master mode. 0=CGA 1=EGA 3=MDA Other values unknown
Bit 3: Active monitor. Set for internal, reset for external.
When an external monitor is in use, the font is assumed
to be 8x8; otherwise, it is 8x16.
Bit 6: If, when read, this is 0, then the Compaq extended video
functions (INT 10h / AX = 0BFh) are available.
17C6h [read]
Video hardware capabilities. As described in the Interrupt List:
Bit 0: 0 if CGA supported, else 1.
Bits 1-2: Reserved (1)
Bit 3: 0 if MDA supported, else 1.
Bit 4: 0 if BitBlt engine supported, else 1.
Bit 5: 0 if 132-column mode is available, else 1.
Bit 6: 0 if 640x480x256 mode is available, else 1.
Bit 7: 0 if 8-bit DAC is available, else 1.
>>>>
realising the output to an external monitor...or in my case to a scart input of a TV via a 9pin dsub to Scart converter designed by Retro Erik...and sold through Serda Shop. ...was interupt driven by setting certain bits.
This is activated by the key combination CRTL ALT < (lessthan)
BUT timing is critical it seems..
So far I have only managed this by pressing these keys simultaneously immediately after "starting MS DOS" appears on the plasma screen ..
Too early gives a keyboard error and reboot...
Too late ie once win3.1 has started the key combination no longer works.
I grabbed a couple of photos to share..
One of the windows screen .....which then appears in mono on my TV.(MDA mode ?)
I could then exit to DOS remaining in CGA mode ...and booting Paku Paku from a floppy..
I have not found a way to switch back whilst the compaq is running.
..but a power down and reboot solves this.
Apparently CTRL ALT > (greater than) is supposed to achieve this but not for me.
Maybe it is because I'm not using a genuine CGA monitor ?
Maybe Compaq cga monitors make use of the reserved pin ...pin 7 of the 9pin dsub to make the portable 386 aware a monitor is attached.
If anyone discovers more about this please let me know.
Activating an external CGA monitor does of course turn off the plasma screen....the compaq portable does not support dual display mode.
regards
VS