www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/10/26/09:07:26

Date: Thu, 26 Oct 1995 13:48:36 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: That rings a bell!!

On Thu, 26 Oct 1995, A.Appleyard wrote:

> > ... Int21h/AH=2 works in [Gnu] Emacs also [as a way of making a beep], but
> > if I try Int 21h/AH=40h, either by calling write() or directly with int86()
> > or _go32_dpmi_sinulate_int(), I [get extra characters on the screen].
> 
> Because AH=40h int21h "to file/device with handle BX, write CX bytes from
> [DS:DX] etseq. AX:=nbytes actually written" likely writes via a DOS buffer.

Indeed.  However, that shouldn't be a Bad Thing, because the beep is 
indeed produced.  The problem is, it somehow disrupts the operation of 
Int 16 BIOS functions, which screws up Emacs keyboard queue.

- Raw text -


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