Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.misc > #371

Help with calling Interrupts in MS BASIC PDS 7.1

From Leo <ttdhead@gmail.com>
Newsgroups comp.lang.basic.misc
Subject Help with calling Interrupts in MS BASIC PDS 7.1
Date 2013-03-29 22:10 +1100
Organization A noiseless patient Spider
Message-ID <kj3shs$l5d$1@dont-email.me> (permalink)

Show all headers | View raw


I am trying to call Int 2F/AX=1600h in PDS running under DOSBOX. My 
code is:

REM $INCLUDE: 'qbx.bi'

DIM inregs AS RegTypeX
DIM outregs AS RegTypeX

inregs.ax = &H1000

CALL interruptx(&H2F, inregs, outregs)

SELECT CASE outregs.ax
	CASE 0
		PRINT "Real Mode"

	CASE &H10, &HFF
		PRINT "Windows/386 2.x running"
	CASE IS > 3
		PRINT "Windows 3.x is running"
		PRINT outregs.ax
END SELECT

I am getting 4096 back. Can someone assist me with this please.

-- 
ClassicVB Users Regroup! comp.lang.basic.visual.misc
Free usenet access at http://www.eternal-september.org

Back to comp.lang.basic.misc | Previous | NextNext in thread | Find similar


Thread

Help with calling Interrupts in MS BASIC PDS 7.1 Leo <ttdhead@gmail.com> - 2013-03-29 22:10 +1100
  Re: Help with calling Interrupts in MS BASIC PDS 7.1 "R.Wieser" <address@not.available> - 2013-03-29 15:00 +0100
    Re: Help with calling Interrupts in MS BASIC PDS 7.1 Leo <ttdhead@gmail.com> - 2013-03-30 03:10 +1100
      Re: Help with calling Interrupts in MS BASIC PDS 7.1 Leo <ttdhead@gmail.com> - 2013-03-30 03:14 +1100
        Re: Help with calling Interrupts in MS BASIC PDS 7.1 "R.Wieser" <address@not.available> - 2013-03-30 03:32 +0100
          Re: Help with calling Interrupts in MS BASIC PDS 7.1 Leo <ttdhead@gmail.com> - 2013-03-31 00:28 +1100
            Re: Help with calling Interrupts in MS BASIC PDS 7.1 "R.Wieser" <address@not.available> - 2013-03-30 16:06 +0100
              Re: Help with calling Interrupts in MS BASIC PDS 7.1 Leo <ttdhead@gmail.com> - 2013-04-02 22:07 +1100
                Re: Help with calling Interrupts in MS BASIC PDS 7.1 "R.Wieser" <address@not.available> - 2013-04-02 16:14 +0200
                Re: Help with calling Interrupts in MS BASIC PDS 7.1 Leo <ttdhead@gmail.com> - 2013-04-03 02:37 +1100
                Re: Help with calling Interrupts in MS BASIC PDS 7.1 "R.Wieser" <address@not.available> - 2013-04-02 23:41 +0200
                Re: Help with calling Interrupts in MS BASIC PDS 7.1 Leo <ttdhead@gmail.com> - 2013-04-03 09:39 +1100
                Re: Help with calling Interrupts in MS BASIC PDS 7.1 "R.Wieser" <address@not.available> - 2013-04-03 22:50 +0200
      Re: Help with calling Interrupts in MS BASIC PDS 7.1 Karl E. Peterson <karl@exmvps.org> - 2013-03-29 10:23 -0700
        Re: Help with calling Interrupts in MS BASIC PDS 7.1 Leo <ttdhead@gmail.com> - 2013-04-02 22:05 +1100
          Re: Help with calling Interrupts in MS BASIC PDS 7.1 Karl E. Peterson <karl@exmvps.org> - 2013-04-02 09:39 -0700
            Re: Help with calling Interrupts in MS BASIC PDS 7.1 Leo <ttdhead@gmail.com> - 2013-04-03 09:34 +1100

csiph-web