For me, quite often I need more of two things, and I am keen to know if there is a way to increase these values in the settings file, without causing any negative impact on the operation of the PC Basic application.
One of them, is the quantity of files I have open with the open statement. Currently, the limit is three. I understand, that with GWBASIC, they had more than three, but held a few in reserve for their own use. Is it possible under PC-Basic to increase this quantity, without impacting on the PC-basic use of the likes of load and save etc?
The other is, an increase in memory. I am on a Windows10 PC, with quite a lot more than 64k bytes of memory at my disposal. I may as well see if I can take advantage of all this extra memory.
Is there a trick, or tips you can provide me with in respect either of the two above?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Note that every additional file will reduce the available memory a bit - it's a trade-off. You can get a little bit more available memory (about 3K) by setting reserved-memory=0 (see http://pc-basic.org/doc/#--reserved-memory). Due to the ancient design (16-bit memory addresses) GW-BASIC and PC-BASIC can't address more than 64K memory.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "[CLOSED] General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
For me, quite often I need more of two things, and I am keen to know if there is a way to increase these values in the settings file, without causing any negative impact on the operation of the PC Basic application.
One of them, is the quantity of files I have open with the open statement. Currently, the limit is three. I understand, that with GWBASIC, they had more than three, but held a few in reserve for their own use. Is it possible under PC-Basic to increase this quantity, without impacting on the PC-basic use of the likes of load and save etc?
The other is, an increase in memory. I am on a Windows10 PC, with quite a lot more than 64k bytes of memory at my disposal. I may as well see if I can take advantage of all this extra memory.
Is there a trick, or tips you can provide me with in respect either of the two above?
You're looking for the
max-files
option. Have a look here: http://pc-basic.org/doc/#--max-filesNote that every additional file will reduce the available memory a bit - it's a trade-off. You can get a little bit more available memory (about 3K) by setting
reserved-memory=0
(see http://pc-basic.org/doc/#--reserved-memory). Due to the ancient design (16-bit memory addresses) GW-BASIC and PC-BASIC can't address more than 64K memory.View and moderate all "[CLOSED] General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Ok, it had taken a bit of experimenting and searching. I now have the settings working.
I clearly need to remove the hash # character at the start of the line for it to work.