Article View: comp.os.os2.programmer
Article #1390AT BIOS Int. 4Ah
From: smackinl01
Date: Fri, 04 Sep 1992 01:33
Date: Fri, 04 Sep 1992 01:33
25 lines
1469 bytes
1469 bytes
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?
Technical Details
Message-ID:
<1992Sep4.103317.1@cc.curtin.edu.au>Path:
arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!uniwa!cujo!cc.curtin.edu.au!smackinl01Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer Path: arc1-ca.pugleaf.net!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