04-20-2004, 05:54 AM
Heres the ASM code I'm trying to run:
I load it into a string (converting to chr$()) and call absolute it.
After around ~5000 calls QB crashes, and I really mean crashes, it crashes in the middle of writing a string to a file for example, writing only half the string and such.
Why?, What did I do wrong?
EDIT:
No, I don't want to use a lib. I want to use call absolute unless this is a known bug with it. And if it is, is there a workaround?
Code:
5589E5B8054FBB00008B5606CD105DCA0200
55
89 E5
B8 05 4F
BB 00 00
8B 56 06
CD 10
5D
CA 02 00
push bp
mov bp, sp
mov ax, 4f05h
mov bx, 0
mov dx, [bp+6]
int 10h
pop bp
retf 0002
I load it into a string (converting to chr$()) and call absolute it.
After around ~5000 calls QB crashes, and I really mean crashes, it crashes in the middle of writing a string to a file for example, writing only half the string and such.
Why?, What did I do wrong?
EDIT:
No, I don't want to use a lib. I want to use call absolute unless this is a known bug with it. And if it is, is there a workaround?