On Tue, Sep 28, 1999 at 10:22:00AM +0100, Alistair Riddoch wrote:
> Thomas Stewart writes:
> > Or is there a better way to use the two cards together? DOS does not do this 
> > very well (appart from a few utills that switch the screen, and a few apps 
> > that support it (tcc).)
> There is no current support for this in the ELKS code, but it does appeal
> to me. Any idea how it can be done at a low level anyone? If there is
> source code available for the DOS software, then it could be ported.

There is no need for any trick - as far as I can recall, the only thing
one has to is to address the vga's buffer at 0xb8000 and the herc's at
0xb0000. It can be done from any program.

mov ax, 0b000h
push ax
pop es
mov es:[0], 030h
mov ax, 0b800h
push ax
pop es
mov es:[0], 031h

writes a '0' to the herc and a '1' to the vga.

Sorry if this was obivious to everyone.

Kovacs Kristof 
Systems Programmer

Reply via email to