Fwd: Re: LYNX-DEV How to get DJGPP to make sounds

From: Lloyd G. Rasmussen (lras@loc.gov)
Date: Mon Nov 17 1997 - 05:45:58 PST


Talk about portable software! Another piece of hardware running Lynx
in an unusual way.

----- Forwarded message begins here -----
From: Jeff Groves <groves@goodnet.com>
To: lynx-dev@sig.net
Date: Fri, 14 Nov 1997 19:19:32
Subject: Re: LYNX-DEV How to get DJGPP to make sounds
>You are using INT 7Ch. I have never heard of this interrupt service. It
>certainly isn't provided by the standard ROM BIOS or MS-DOS. Is there some

I realized that I was using a strange interrupt after I sent the message.
I got INT 7Ch from the documentation for the device I am porting LYNX to (an
RF barcode scanner gun that runs DOS).

I changed the calls to use the sound() function and now everything works
fine.

BTW, I need this capability to notify the user of input errors. I've
modified LYNX to accept a <BEEP> tag that will cause the sound to be
generated. I've also added an "FKEY=" attribute that you can use to
assign function keys to <a> links and to the SUBMIT and CANCEL buttons.
With this capability, I can assign function keys for each page "on-the-fly."
For example, <INPUT TYPE=SUBMIT FKEY=F1> will cause the F1 key to trigger
a submit (just like clicking the mouse on SUBMIT).

This is part of commercial project that will use LYNX on a hand-held barcode
scanner gun (wireless) to track the movement of items in a warehouse. The
guns have a small screen (20 x 16 chars) to display prompts and accept
input.

Normally, bar code guns must be reprogrammed when user input screen
changes are necessary. This is tedious and time-consuming. Since
we're controlling all the screens by HTML, any screen changes are done on the
server. It is not necessary to reprogram the guns if new input screens
are needed.

I don't know if these modifications are of general interest. If they
are, I'll be glad to make them available.

Jeff Groves
;
; To UNSUBSCRIBE: Send a mail message to majordomo@sig.net
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;

------ Forwarded message ends here ------

-- Lloyd Rasmussen
Senior Staff Engineer, Engineering Section
National Library Service for the Blind and Physically Handicapped
Library of Congress 202-707-0535
(work) lras@loc.gov www.loc.gov/nls/
(home) lras@sprynet.com



This archive was generated by hypermail 2b29 : Sun Dec 02 2012 - 01:30:04 PST