From: pb@excelsior.xs4all.nl.REMOVE-THIS (Marc van den Dikkenberg)
Subject: Re: PB REG / inline ASM problems
On Mon, 26 Jan 1998 07:39:29 -0500, "Barry Erick" wrote:
>Is your ECBS block SHARED, or PUBLIC? How is the Sub getting that? Trace
>through in the IDE or Debugger, and use ALT 7 to bring up the CPU registers
>and also watch the ECBS variable to make sure it is appearing in the SUB.
> --- Barry
DIM ECBS AS SHARED ECBStructure
The variables I feed into it contain the data alright, or it wouldn't work
anywhere - that's what puzzling me.
I knew that REG has odd behaviour while running Win95, but I understood
that inline ASM shouldn't be a problem. Works fine with Win95, but locks up
in DOS.
Hm... just checking: what datatype are VARSEG and VARPTR supposed to
contain? I assumed WORD. Same question for the various CPU registers...
Maybe I'm running out of certain boundaries here... I can imagine that the
memory locations where stuff is stored would be different when running
Win95 then running plain DOS...
--
Marc van den Dikkenberg
-----------------------
The PowerBasic Archives
http://www.xs4all.nl/~excel/pb.html
*** QwkNews (tm) v2.1
* [TN11.1] Internet Newsgroup: alt.lang.powerbasic
--- GEcho 1.20/Pro
---------------
* Origin: Toast House Remote (1:100/561)
|