home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / programm / 4727 < prev    next >
Encoding:
Text File  |  1992-09-03  |  1.4 KB  |  37 lines

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