Pass the Memory Block

Please use this Board for QBasic related requests ( file research, programming, etc.)

Moderators: Administrator, Global Moderator

Post Reply
Jehovah
Jr. Member
Posts: 24
Joined: Tue Oct 29, 2002 10:54 pm
Location: Boise, Idaho

Pass the Memory Block

Post by Jehovah »

I have been writing this new game for a few months now and have run out of memory.  I have crammed and crammed the veriables down, decresed the I/O, decreased Matrix use, and still, I need several more KB to compile my game into an executable (.exe).  I don't want to use a liberary, because it seems to me that if I were to do so it would increase my problem more since it would take up more space.  I am using qb4.5, might this make a difference?
Guest

Re: Pass the Memory Block

Post by Guest »

Try this:

1. Load QB like

QB/AH

2. Put this on the top of yer proggie:

REM $Dynamic
Jehovah
Jr. Member
Posts: 24
Joined: Tue Oct 29, 2002 10:54 pm
Location: Boise, Idaho

Re: Pass the Memory Block

Post by Jehovah »

I tried that when I first encountered the problem and it did not work.  It did make it a little better, but I still don't have enough memory to compile.  
Guest

Re: Pass the Memory Block

Post by Guest »

Try compiling outside the IDE. QB's IDE takes appx. 300 KB of mem.
Jehovah
Jr. Member
Posts: 24
Joined: Tue Oct 29, 2002 10:54 pm
Location: Boise, Idaho

Re: Pass the Memory Block

Post by Jehovah »

I never thought of doing that, and; so I tried it.  It did not work, but if it did I don't think it would solve the problem because then they would need too much base memory.  If they were using windows then they would have no problem, since it emulates XMS and base memory with virtual memory.  But if they were in dos and had an old computer (which they would need to have if they did not have UNIX, LINIX or windows) they could not because computers that old were limited to about 16K base memory were now it is much larger.
Jehovah
Jr. Member
Posts: 24
Joined: Tue Oct 29, 2002 10:54 pm
Location: Boise, Idaho

Re: Pass the Memory Block

Post by Jehovah »

I updated to qb71, it is much better, and solved my problem.  thanks!
Post Reply