Hi. I just succeded to disassemble the 2.55MP OS, and i've been looking through it for about 5 hours now, and i have gathered a few noob questions.
What i do not understand and what is absolutely crucial is the page system. I know that the calculator has RAM and Flash ROM.
RAM will loose its state after loosing power, but Flash won't, so i can think about it as a harddrive.
Now I also know that the processor can only adress up to 64kb, which isn't enough to adress all available memory.
So they divided it into chunks of 16kb called pages. And here is what i don't understand- how is this all organized?
For a long time i thought that the calculator only had 16 kb of memory, and half of it was RAM and the other was ROM. Rom began at
0, and RAM began at $4000. I thought that both the OS with the bcalls and everythign were stored in thos 16kb, but now it came out that there are about 19 of dedicated to OS.
Since the best way for me to understand this would be to write what i think now and let someone correct me if im wrong, im going to do so.
So the memory called RAM is 64 kb, and its divided into 4 pages that i don't know the numbers of. The only page that i've been using when writing small and simple ASM programs was page that is located at $8000. There is a small part of it reserved for the OS(i thought this was the whole OS
), then there si the stack at the end of it and so on, this is pretty simple. The other 3 pages i don't know anything about, how to acces them, nor what they hold.
There is also another type of memory called ROM that is 512kb( at least on 83), that is also divided into 16kb pages. In the first 19(or so) there is the OS, then there is some space for APPS, and certificates. I don't know if they can be accesed by anything but OS.
What i do not understand and what is absolutely crucial is the page system. I know that the calculator has RAM and Flash ROM.
RAM will loose its state after loosing power, but Flash won't, so i can think about it as a harddrive.
Now I also know that the processor can only adress up to 64kb, which isn't enough to adress all available memory.
So they divided it into chunks of 16kb called pages. And here is what i don't understand- how is this all organized?
For a long time i thought that the calculator only had 16 kb of memory, and half of it was RAM and the other was ROM. Rom began at
0, and RAM began at $4000. I thought that both the OS with the bcalls and everythign were stored in thos 16kb, but now it came out that there are about 19 of dedicated to OS.
Since the best way for me to understand this would be to write what i think now and let someone correct me if im wrong, im going to do so.
So the memory called RAM is 64 kb, and its divided into 4 pages that i don't know the numbers of. The only page that i've been using when writing small and simple ASM programs was page that is located at $8000. There is a small part of it reserved for the OS(i thought this was the whole OS

There is also another type of memory called ROM that is 512kb( at least on 83), that is also divided into 16kb pages. In the first 19(or so) there is the OS, then there is some space for APPS, and certificates. I don't know if they can be accesed by anything but OS.