No room

Discussions about the BBC BASIC language, with particular reference to BB4W and BBCSDL
Post Reply
Ric
Posts: 21
Joined: Tue 17 Apr 2018, 21:03

No room

Post by Ric » Wed 13 Nov 2019, 21:45

Help

My 3D project is nearing a natural conclusion, but i have come across a NO ROOM barrier. The program fails at the INSTALL of a window library, when not installed the program runs fine (except the windows can not be created). I have tried removing/lowering some of the DIM statements by as much as 100Mbits but that seems to have no affect. If i remove lines of the program that are blank this seems to work, is there a maximum number of characters that can be used in the entire program, ( i am up to 2016706)? I have raised HIMEM to 512000000.

Regards Ric

Ric
Posts: 21
Joined: Tue 17 Apr 2018, 21:03

Re: No room

Post by Ric » Wed 13 Nov 2019, 21:49

Sorry forgot to add the INSTALL statement comes before all the DIM statements in the program listing.

David Williams
Posts: 107
Joined: Wed 04 Jul 2018, 16:23

Re: No room

Post by David Williams » Thu 14 Nov 2019, 09:21

Have you tried increasing the 'Initial user memory' in the BB4W IDE? Go to Options -> Customize and then set the initial user memory to something higher like 3000000 bytes.

My 3D project is nearing a natural conclusion
Is that the same as saying that the 3D game you're working on is nearly completed? :D


David.
--

DDRM
Administrator
Posts: 150
Joined: Mon 02 Apr 2018, 18:04

Re: No room

Post by DDRM » Thu 14 Nov 2019, 16:15

The manual says that libraries are loaded above HIMEM, so in addition to David's suggestion, raising HIMEM by less may help, if you still have room for your arrays etc to dimension?

Best wishes,

D

Ric
Posts: 21
Joined: Tue 17 Apr 2018, 21:03

Re: No room

Post by Ric » Thu 14 Nov 2019, 18:01

Thanks D&D,
I have done both the suggestions and i am back up and running.

As for the 3D game, it turned into a 3D GUI so i could design the characters for the game, in 5 years i will have completed the game :lol:

Regards Ric

ps about time there was some banter on this site Mr Williams

Post Reply