What can I type in an asm program (oncalc) that will clear the RAM, and what Hex code will clear Everything (RAM & ARHIVE, NOT DESTROY)
Why would you want to do this? This isn't typically something we will help with since it can be used maliciously.
arc clear:
i agree comicidiot
ram clear:asm or hex code???(you are asking for both!)
hex code: just input something...
asm:i dont know
comicIDIOT wrote:
Why would you want to do this? This isn't typically something we will help with since it can be used maliciously.
i agree comicidiot
ram clear:asm or hex code???(you are asking for both!)
hex code: just input something...
asm:i dont know
Clearing RAM:
(non-84+CSE):
AsmPrgm
C7
(84+CSE):
Asm84CPrgm
C7
Clearing the entire archive is more complicated. There are two options, install a temporary GetCSC hook that presses the keys to get to the Memory menu and confirm you want to erase everything, or unlock flash and erase every sector from 08h to 15h/29h/69h/0E3h (depending on model -- 83+, 84+, 83+SE/84+SE, 84+CSE, respectively).
Both require more code than you can just type in, so it would be best to write a program and assemble it, then open it up in a hex editor and rip the opcodes out of it for typing in by hand.
It's up to you to do the reading and find out how to actually code it.
(non-84+CSE):
AsmPrgm
C7
(84+CSE):
Asm84CPrgm
C7
Clearing the entire archive is more complicated. There are two options, install a temporary GetCSC hook that presses the keys to get to the Memory menu and confirm you want to erase everything, or unlock flash and erase every sector from 08h to 15h/29h/69h/0E3h (depending on model -- 83+, 84+, 83+SE/84+SE, 84+CSE, respectively).
Both require more code than you can just type in, so it would be best to write a program and assemble it, then open it up in a hex editor and rip the opcodes out of it for typing in by hand.
It's up to you to do the reading and find out how to actually code it.
instead of unlocking flash couldn't you just iterate through all archived variables and use DelVarArc?
and C7 == rst 00h, right?
and C7 == rst 00h, right?
- willwac
- Advanced Member (Posts: 292)
- 02 May 2013 05:13:24 pm
- Last edited by willwac on 10 May 2013 01:29:18 pm; edited 1 time in total
Im a BASIc programmer, so I don't know what a GetCSC hook is.
Thanks for the C7, I'm going to try that.
How would I do the GetCSC hook for 2ND,+,7,<-,1,2
On the calc itself?
Thanks for the C7, I'm going to try that.
How would I do the GetCSC hook for 2ND,+,7,<-,1,2
On the calc itself?
- willwac
- Advanced Member (Posts: 292)
- Delete this post
- 03 May 2013 08:40:12 am
- Last edited by willwac on 10 May 2013 01:30:17 pm; edited 1 time in total
For some reason, I can't delete this post
willwac wrote:
How would I do the GetCSC hook for 2ND,+,7,<-,1,2
On the calc itself?
On the calc itself?
Like Brandon already said, that's pretty much impossible by hand. Writing hooks isn't that difficult if you have a good grasp of Z80 asm and the inner workings of the TIOS, but trying to install a hook by writing a program manually in hex codes is wasted effort.
So you'll have to read up on hooks and asm. Start here: http://www.ticalc.org/archives/files/fileinfo/268/26877.html
Ok, like I've said before, I program in BASIC, and my very first Asm program was the C7 one that I made last night. (I did that like ten times for fun! )
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
» Go to Registration page
» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Advertisement