TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: ALL
from: BARRY ERICK
date: 1998-01-26 19:53:00
subject: Re: PB REG / inline ASM p

From: "Barry Erick" 
Subject: Re: PB REG / inline ASM problems
 
Marc,
 What I do when I have a similar problem is stick a $STACK meta in the
program. Also, enable all Error Checking to see if that tells you anything.
              ---Barry
 
Marc van den Dikkenberg wrote in message
...
|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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.