Thanks for sharing that one qbguy...

by (no login)

Unfortunately there are two issues stopping that one from working yet:
1. The regtype passed to "inreg" and "outreg" (though you don't actually pass "regs" in the above example) is currently created in non-virtual-conventional-memory due to the fact that QB64 doesn't yet resolve this issue with a re-pass after finding that "inreg" and "outreg" needed to be created in 16-bit memory. This could currently be worked around by referencing "regs" in the main area of the code with a VARSEG/VARPTR/etc. or by making it SHARED. Of course, you could just wait for Demo #9 and use the code as is. I've known about this problem since I implemented SUBs & FUNCTIONs, it's just been a low priority until now.
2. You cannot use VARPTR/VARSEG/etc. on user defined types yet. I will implement this by the time Demo #8 is released.

I'm in a bind atm because I'm working on too many parts of QB64 to make noticable headway into any one area. Here's some of the areas in development:
1. Improving performance on low-end systems by lowering memory and optimizing aspects such as video refreshing.
2. User defined types
3. STATIC keyword
4. CONST keyword and implementation
5. PLAY "..."
6. DRAW "..."
7. Mouse Support (via new QB64 commands)
8. CALL ABSOLUTE
9. CALL INTERRUPT

Thanks again,
Galleon

PS. Thank you for all your recent incompatibility reports. I have read them all but haven't replied to them all. They all raise valid issues that need to be addressed. I've found many incompatibilities whilst developing Demo #8 too which I have (for the most part) fixed along the way.

Posted on May 16, 2008, 3:56 AM
from IP address 122.104.40.79

Respond to this message   

Return to Index