Qbasicnews.com

Full Version: FBC.EXE crash
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to compile the qfak source, but I've hit a brick wall. It looks like when the source file hits 516k it just stops, because I took out some code and it compiled a little further.

http://www.qbxl.net/freeBASIC.rar

there's my source file and the asm file the compiler created. If you need anything else, just ask.

(Sorry for being a pain in the ass with all these bugs)
bitmask() doesn't exist w/o SHARED but FB is trying to pass an address for its array descriptor anyhow, that's why the crash occurs (interresting, it didn't crash for me in XP, XP loves to hide exceptions..). Another check to add..

Btw, there are some clashes like getkey$ (getkey is a keyword now), left and right used as var names, a bunch of OUT's, a STICK, none of that will work.. Are you sure you want to port it? heh.. Also, i detected a "STATIC SUB".. only accepted by VBDOS, iir, you gotta declare it as SUB ... STATIC as in QB.
It's not as bad as it looks. Luckily, the majority of the scary stuff is killable(actually, most of it is already commented out) because I'm not planning on keeping the ModeX renderer or direct hardware input in there. Smile

It's one of the most advanced engines in QB, it's freaking huge, and I don't feel like rewriting it from scratch if I can help it. Smile
I managed to get the code ported, sans keyboard and video.