From: jmejuto@pobox.com (Jose Mejuto)
Subject: Re: PB REG / inline ASM problems
pb@excelsior.xs4all.nl.REMOVE-THIS (Marc van den Dikkenberg) wrote:
MvdD> The weird thing, is that this sub is completed completely: the text
MvdD> "I'm done" appears on the screen. However, the program locks up
MvdD> completely. The very next line after calling the SendPacket SUB is
MvdD> "BEEP", and some print statements. None of these happen... Trying to
MvdD> use WORDS instead of integers (plop??) has exactly the same result.
MvdD> Works under Win95, locks up under DOS. As you understand, this is
MvdD> getting quite frustrating... any ideas, anyone?
Wow!! :-? I don't known, but there is something different between the QB
code and PB codes. QB uses 2 different structures for InRegs and OutRegs,
but PB uses always the same structure. Try to set REG %AX,0, REG %CX,0 and
the other non used regs to 0.
--
Jose Mejuto
- - - - - http://www.pobox.com/~jmejuto
- - - - - FidoNet 2:348/102.0
*** QwkNews (tm) v2.1
* [TN11.1] Internet Newsgroup: alt.lang.powerbasic
--- GEcho 1.20/Pro
---------------
* Origin: Toast House Remote (1:100/561)
|