From: Weiqi Gao Newsgroups: comp.os.msdos.programmer,comp.os.msdos.djgpp Subject: Re: Interrupts reserved for BASIC Date: Tue, 28 Sep 1999 19:20:23 -0500 Organization: CRL Network Services Lines: 23 Message-ID: <37F15B47.E24CC748@a.crl.com> References: <7slrv7$4nv$1 AT solomon DOT cs DOT rose-hulman DOT edu> <7spk5o$3nv$5 AT ctb-nnrp2 DOT saix DOT net> NNTP-Posting-Host: a116024.stl1.as.crl.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5-15 i586) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Stefan Viljoen wrote: > > Damian Yerrick wrote in message > news:7slrv7$4nv$1 AT solomon DOT cs DOT rose-hulman DOT edu... > > I was reading a PC interrupt list one night and saw that nearly half > > of the interrupts are listed as "reserved for Basic." If my program > > is in C/C++, is made with DJGPP, and runs under DOS 6 or later > > or Windows 9x, then where does Basic enter into the equation? > > Wild guess - this is some kind weird prehistoric leftover from the > days the original IBM PC had a ROM BASIC version installed that came > up if you did not insert a boot disk into clackety-whackety drive A?! From Peter Norton's "PC Programmer's Bible": _Basic Interrupts_ (available only on IBM systems that have Basic in ROM) are assigned by Basic itself and are always available when Basic is in use. The reserved interrupt numbers are 80H through F0H (decimal 128 through 240). -- Weiqi Gao weiqigao AT a DOT crl DOT com