Post Reply 
41: Clear main memory without wiping extended memory?
02-22-2021, 03:26 PM
Post: #1
41: Clear main memory without wiping extended memory?
I just ran into a situation where about 60 registers were "missing" on my 41CX, likely due to some kind of corrupt buffers or memory pointers. The only way to fix this was, of course, the nuclear option of On-Backspace, which also wipes extended memory. Is there any way to wipe main memory without touching extended memory? Or maybe just fix the memory pointers?
Visit this user's website Find all posts by this user
Quote this message in a reply
02-22-2021, 05:00 PM (This post was last modified: 02-22-2021 05:02 PM by PeterP.)
Post: #2
RE: 41: Clear main memory without wiping extended memory?
Not close to a 41 to try this, but it depends if you have access to a CLONIX or other modul. A CLRBUFs, CLRKEYS, CLPS, and CLRGS should mostly do the trick (it deletes all buffers, key assignments, programs and registers).

If you dont have access to CLRBUF and CLRKEY (ie some of Angel's moduls or the CCD or HEPAX have these commands), but know your way around synthetic programming you can set the curtain in a way to have all main memory be registers and do a CLRGS or all main memory be program and do a CLPS (from the CX).

Cheers,

PeterP
Find all posts by this user
Quote this message in a reply
02-22-2021, 05:44 PM
Post: #3
RE: 41: Clear main memory without wiping extended memory?
Possibly setting SIZE to 0 and then back to the old value given by SIZE?.

Try CC41!
Find all posts by this user
Quote this message in a reply
02-22-2021, 06:35 PM
Post: #4
RE: 41: Clear main memory without wiping extended memory?
(02-22-2021 05:44 PM)Craig Bladow Wrote:  Possibly setting SIZE to 0 and then back to the old value given by SIZE?.

Didn't help, I'm afraid. That was how I confirmed the missing registers, though. Smile

I figure this would be a simple fix with ZenROM or any of the other exotic development modules, but I just have Advantage and a couple HP application modules for my 41CX. Maybe some synthetic tricks could do it. I'm trying to figure out how to get a byte grabber assigned to a key other than LN, since I use programs with A-E local labels quite a bit.

Anyway, this is more for future reference if I get myself into another jam. I have a card reader on the way, so it'll simplify reloading important programs after a reset, at least.
Visit this user's website Find all posts by this user
Quote this message in a reply
02-22-2021, 06:42 PM
Post: #5
RE: 41: Clear main memory without wiping extended memory?
(02-22-2021 03:26 PM)Dave Britten Wrote:  I just ran into a situation where about 60 registers were "missing" on my 41CX, likely due to some kind of corrupt buffers or memory pointers.
The only way to fix this was, of course, the nuclear option of On-Backspace, which also wipes extended memory.
CLKEYS clear all key assignment.
ALMCAT then R/S to pause catalog then [GOLD] [C] on each alarm to clear them.
Removing all modules with a power cycle should removed all buffers related to these modules.

(02-22-2021 05:44 PM)Craig Bladow Wrote:  Possibly setting SIZE to 0 and then back to the old value given by SIZE?.
If you have no programs, no buffers, SIZE 000, you should get 319 registers in program mode.

(02-22-2021 03:26 PM)Dave Britten Wrote:  Or maybe just fix the memory pointers?
That can be done but you have to seriously know your way around.

(02-22-2021 03:26 PM)Dave Britten Wrote:  Is there any way to wipe main memory without touching extended memory?
Nop! without doing the above pointers manipulation.
Find all posts by this user
Quote this message in a reply
02-22-2021, 08:01 PM
Post: #6
RE: 41: Clear main memory without wiping extended memory?
(02-22-2021 06:42 PM)Sylvain Cote Wrote:  
(02-22-2021 03:26 PM)Dave Britten Wrote:  I just ran into a situation where about 60 registers were "missing" on my 41CX, likely due to some kind of corrupt buffers or memory pointers.
The only way to fix this was, of course, the nuclear option of On-Backspace, which also wipes extended memory.
CLKEYS clear all key assignment.
ALMCAT then R/S to pause catalog then [GOLD] [C] on each alarm to clear them.
Removing all modules with a power cycle should removed all buffers related to these modules.

Good tips, thanks. I'll try those steps if I get myself in trouble again.


(02-22-2021 06:42 PM)Sylvain Cote Wrote:  
(02-22-2021 03:26 PM)Dave Britten Wrote:  Or maybe just fix the memory pointers?
That can be done but you have to seriously know your way around.

I definitely don't. Smile
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)