From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7c65ca5609a07b8c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-02-21 22:39:45 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!elnk-nf2-pas!newsfeed.earthlink.net!wn53feed!worldnet.att.net!attbi_s54.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Hardware Interrupts References: X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 67.161.24.134 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s54 1077431985 67.161.24.134 (Sun, 22 Feb 2004 06:39:45 GMT) NNTP-Posting-Date: Sun, 22 Feb 2004 06:39:45 GMT Organization: Comcast Online Date: Sun, 22 Feb 2004 06:39:45 GMT Xref: archiver1.google.com comp.lang.ada:5721 Date: 2004-02-22T06:39:45+00:00 List-Id: > > BTW, what machine has a BIOS INT11h call? > Good question! I'm just going by the information in Kip R. Irvine's book > "Assembly Language For Intel-Based Computers", third edition. > I also found the same information in a book called "DOS 5: A Developer's > Guide" by Al Williams (page 163). This book does say 80286 - 80486. According to Ralf Brown's Interrupt List Int11h means different things to different BIOSes - are you sure yours is one that returns an equipment list? > Gnat 3.15p on a FreeBSD Unix 5.1 > > entering protected mode. > Basically I've made my own bootloader and it will boot programs Does your bootloader load into 32 or into 16 bit mode? Does that Gnat generate the same? The BIOS usually runs as 16, so if you are in 32 you may need to switch. (I recently had to use BIOS level disk IO calls and dug up an ancient 16 bit Ada 83 compiler to do it. That compiler came with a vendor supplied library for doing INT calls.)