Page 1 of 1

Memory problem

Posted: Fri Aug 12, 2005 5:21 am
by Seb McClouth
hi all

When I had the basic setup for qbinux quite ready, I implented some Novix routines (only one to load/show bmp-files and draw a box and a filledbox). For the log-file I used freefile. After the first bmp has been loaded, QB won't load and show the other bmp files. QB crashed sometimes. After the advice of compiling it and run it as an exe-file, gave as a result that after loading the first bmp, DOS crashed.

I've tried building a library containing the novix-commands, QB gave multiple errors and didn't even compile it.

I've tried dividing the program in a bas-file containing the qbinux-code and a bas file containing the novix code. Both with their own bi-files. I first loaded the bas-file with the qbinux-code and merged the novix code. It wouldn't run nor compile.

I'm using QB 4.5 on MS-DOS 6.2. Some stated it might be QB 4.5 and a stacked up memory. During testing I just have the boot-log and load/show bmp files, where the whole thing went wrong.

Any options to make it work somehow?

grtz
Seb

Posted: Fri Aug 12, 2005 6:42 am
by Z!re
You're most likely overwriting memory somewhere..

Also, all Novix routines are still made for QB7.1 only, they wont work under QB4.5, infact, they will most likely cause a crash :P


Also note, that some Novix routines require the Novix.[lib | qlb] files to run
So you need to compile using that


For people to help you need to give the source, so they can actually see whats wrong..

Otherwise all you get is guesses..

Posted: Fri Aug 12, 2005 10:21 am
by SebMcClouth
Yes, but the strangest thing is that I could run the InitializeCore, loading bootup.bmp, and the other bmps, before without a problem.

But I'll try your way.

grtz
Seb

Posted: Fri Aug 12, 2005 10:23 am
by SebMcClouth
I also get this error message: COMMON and DECLARE must procede executable statements. The most funiest thing is that they do...

grtz
Seb

Posted: Fri Aug 12, 2005 10:25 am
by SebMcClouth
Solved the last thing. But is certainly was really weird.

grtz
Seb

Posted: Fri Aug 12, 2005 10:41 am
by SebMcClouth
Did a rewrite... seems to work this time. Even after compile... fase 2...

Thumbs up!!

Grtz
Seb