No room

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

No room

Post by Ric »

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
Kind Regards Ric.

6502 back in the day, BB4W 2017 onwards, BBCSDL from 2023
Ric
Posts: 200
Joined: Tue 17 Apr 2018, 21:03

Re: No room

Post by Ric »

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

6502 back in the day, BB4W 2017 onwards, BBCSDL from 2023
David Williams

Re: No room

Post by David Williams »

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

Re: No room

Post by DDRM »

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: 200
Joined: Tue 17 Apr 2018, 21:03

Re: No room

Post by Ric »

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
Kind Regards Ric.

6502 back in the day, BB4W 2017 onwards, BBCSDL from 2023