Sitenotice: 11/29/2018: The wiki is back. It turns out, some anti-virus product on my web server had an issue with the latest version of PHP. My server techs have resolved this issue, and things should be working again. During the investigation, I did restore to a backup from September. There is a chance that any changes done since then were lost, but I do not recall any edits. --OS-9 Al

8/30/2016: Massive re-work is being done on the InfoBox Templates. Read that page to keep up with the plan for that, and adding better keyword tags (categories) to all the pages. --OS-9 Al (talk) 15:28, 31 August 2016 (CDT)

More Memory for Basic

From CoCopedia - The Tandy/Radio Shack Color Computer Wiki
Jump to: navigation, search

Rainbow V01N02 Pag. 4

Normally ECB reserves 4 pages for graphics, for a total of 22824 Basic memory, If your program does not need graphics, you should be able to use PCLEAR 0, but this command fails due to an error in the ECB, to solve this we use POKE 25,6: NEW

With PCLEAR 1 the total is 27432 and With POKE 25,6:NEW (PCLEAR 0) the total memory is 31016

PRINT MEM<RETURN> ==> 22824
PCLEAR 1:PRINT MEM<RETURN> ==> 27432
POKE 25,6:NEW ' (PCLEAR 0)
PRINT MEM<RETURN> ==> 31016

You have to plan in advance. The Poke doesn't work if you leave off the :NEW, and, if you have a program resident in memory, the NEW will wipe.
One way to avoid this problem if you did not plan ahead would be to CSAVE the program, reset the memory and then CLOAD the Program back in.

As Bob Hope said...