Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

support for 2 mice? 3 mice etc. CPNMOUSE for Windows (Announce)

posted by Arjay, 10.08.2010, 20:57

> For DOS, there's one screen and one keyboard. That's it.

Firstly as above don't forget MDA which as mentioned earlier. e.g. Turbo Debugger supported 2 monitors at the same time.

> Anything beyond
> that (you see, even a single mouse) must be managed by additional drivers.

Secondly this statement is false (or it depends how you look at things), e.g. when writing BBS software/doors people often used to think in this manner:

Int 10h, Int 16h = input/output method 1
Int 21h = input/output method 2

e.g. code snippet from my megapage BBS door which used ANSI (for color only but didn't actually need it) and didn't require any other drivers at all:


Procedure DoubleWrite(Text2Write:String);

Begin
  If USEANSI then
    Begin
      If SYSOP_is_Chatting then
        Begin
          If Last_Colour=SYSOP_Textcolour then
            Begin
            End
          else
            Begin
              ANSI_Textcolour(SYSOP_Textcolour);
              Textcolor(SYSOP_Textcolour);
            End;
          Last_Colour:=SYSOP_Textcolour;
        End
      else
        Begin
          If Last_Colour=USER_Textcolour then
            Begin
            End
          else
            Begin
              ANSI_Textcolour(USER_Textcolour);
              Textcolor(USER_Textcolour);
            End;
          Last_Colour:=USER_Textcolour;
        End;
    End;
  DisplayString(Text2Write);
  Write(Text2Write);
End;

 

Complete thread:

Back to the forum
Board view  Mix view
22779 Postings in 2122 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum