home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: sparky!uunet!munnari.oz.au!uniwa!cujo!cc.curtin.edu.au!smackinl01
- From: smackinl01@cc.curtin.edu.au
- Subject: AT BIOS Int. 4Ah
- Message-ID: <1992Sep4.103317.1@cc.curtin.edu.au>
- Lines: 26
- Sender: news@cujo.curtin.edu.au (News Manager)
- Organization: Curtin University of Technology
- Date: Fri, 4 Sep 1992 01:33:17 GMT
-
- Another "Is it just me, or what?" department.
- While writing a simplistic program in Turbo Pascal v6.0 for MS-DOS that
- basically just echos characters from the console to the comms port and
- vice-versa, it became necessary to use the "alarm" interrupt - int 4Ah - found
- in the IBM AT's BIOS.
-
- After many hours of hair-tearing and fruitless debugging, I decided to test the
- program under plain-vanilla DOS. "Aha!" says I. "The program _does_ work".
-
- So, my question:
- Does the OS/2 _virtulise_ the AT BIOS alarm interrupt? Can someone please check
- that in fact interrupt 4Ah is triggered as advertised? - Under both a VDM and a
- DOS5 boot from drive A the program failed to work as the interrupt never
- triggered.
-
- The interrupt btw is _supposed_ to be triggered when the AT real-time clock
- reaches a certain alarm-time value. The alarm-time value - in BCD H:M:S format
- - is set by another BIOS interrupt whos number escapes me at the moment.
-
- Is there a problem with OS/2's interpretation of certain BIOS functions? Can
- someone clear this up?
-
- --
- Simon.
- Have you got a form 27/b?
-
-