www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/13/21:17:08

Message-ID: <3855A128.A2628CA6@interlog.com>
From: Alan Illeman <illeman AT interlog DOT com>
X-Mailer: Mozilla 4.04 [en] (Win95; U)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Text interfacing
References: <s56sv8ok53178 AT corp DOT supernews DOT com>
Lines: 12
Date: Mon, 13 Dec 1999 20:45:12 -0500
NNTP-Posting-Host: 154.5.72.39
X-Trace: cac1.rdr.news.psi.ca 945135471 154.5.72.39 (Mon, 13 Dec 1999 20:37:51 EST)
NNTP-Posting-Date: Mon, 13 Dec 1999 20:37:51 EST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Al Morgan wrote:
> 
> Ok, I have a game, ADoM, that runs in text mode, and I want to write a
> program that can detect the ADoM screen, and push characters onto the
> keyboard.  How would I do this?
> 
>     Thanks,
>         Al Morgan [ muaddib AT proaxis DOT com ]

I have no idea what an ADoM screen is. To place data in the PC
keyboard buffer, use int 16h AH=5, CH=scancode, CL=ascii-char.
It returns AL=0 (no error) or AL=1 (keyboard buffer full)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019