VOGONS


First post, by goostaw

User metadata
Rank Newbie
Rank
Newbie

hi

I need help.

The case concerns a 1990 laptop - Commax Excell lt-386sx.
Built-in vga graphics card is Cirrus Logic 510/520.
Laptop seems to be fully functional now, but....

I can not switch between the built-in screen and the external monitor.
In bios settings there is no such option. I did not find any combination of keys that would work.
I searched the internet and found an article ( August '91 "PC Magazine" ) from which it appears that the manufacturer added an application that changed the working modes - also switching internal/external monitor.
The utility is probably called 'switcher.com'
I tried the 'eagle.com' application, but it requires a video bios in minimal version 3 (here is 2.22)and program does not start.

Maybe someone has such or similar computer model and this program ( probably switcher.com )
I will be grateful for any information.

Reply 1 of 1, by goostaw

User metadata
Rank Newbie
Rank
Newbie

I did not find the program, so I wrote it myself.
Maybe someone will use it. 😊

#include <dos.h>
#include <stdio.h>

main( )
{
union REGS inregs, outregs;
int a;
printf( "i - internal LCD\ne - external monitor\nq - quit\n" );
do a = getch();
while ( a != 'i' && a != 'e' && a != 'q' );
if ( a != 'q' )
{
if ( a == 'i' ) inregs.h.al = 0x00;
else inregs.h.al = 0x01;

inregs.h.ah = 0x12;
inregs.h.bl = 0x92;
int86(0x10, &inregs, &outregs);
}
return 0;
}

Regards

Attachments

  • Filename
    commax_sw.zip
    File size
    7.62 KiB
    Downloads
    34 downloads
    File license
    Fair use/fair dealing exception