🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #1079

Re: HELP: Keyboard Interrupt 09H

#1079
From: Jerzy Tarasiuk
Date: Fri, 16 Oct 1992 12:25
13 lines
1091 bytes
>>>>> On Tue, 13 Oct 1992 12:39:12 GMT, tkulju@cs.joensuu.fi (Timo Kelju) said:
Timo> Hi!
...
Timo> First we need two pointers one pointing to keyboard buffers next value and 
Timo> the second which points at next free slot in buffer. Both pointers point at 
Timo> byte.
Timo> 	        X:=Ptr($40,$1A);
Timo> 		Y:=Ptr($40,$1C);
Timo> 		X^:=Y^;

In Turbo Pascal it can be done in more efficient way:
VAR X:Word ABSOLUTE $40:$1A; Y:Word ABSOLUTE $40:$1C;
and can simply X:=Y; instead X^:=Y^; Addresses are OK.
Technical Details
Message-ID: <JT.92Oct16132535@fizyk1.fuw.edu.pl>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!fuw.edu.pl!cocos!jt
References: <1992Oct9.154103.18137@sol.ctr.columbia.edu> <1992Oct13.123912.27125@cs.joensuu.fi>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.ibm.pc.programmer,alt.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!fuw.edu.pl!cocos!jt
From: jt@fuw.edu.pl (Jerzy Tarasiuk)
Subject: Re: HELP: Keyboard Interrupt 09H
In-Reply-To: tkulju@cs.joensuu.fi's message of Tue, 13 Oct 1992 12:39:12 GMT
Message-ID: <JT.92Oct16132535@fizyk1.fuw.edu.pl>
Sender: news@fuw.edu.pl
Nntp-Posting-Host: fizyk1
Organization: Warsaw University Physics Dept.
References: <1992Oct9.154103.18137@sol.ctr.columbia.edu>
 <1992Oct13.123912.27125@cs.joensuu.fi>
Date: Fri, 16 Oct 1992 12:25:35 GMT
Lines: 13