Author Topic: The Inside of a Casio Prizm  (Read 22930 times)

0 Members and 1 Guest are viewing this topic.

Offline m1ac4

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 106
  • Rating: +8/-0
    • View Profile
Re: The Inside of a Casio Prizm
« Reply #45 on: March 02, 2011, 04:31:49 pm »
Hmm... I wonder why the OS even addresses a low backup battery issue then.
The message can be found at 0x801094E0 for all those who are interested.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: The Inside of a Casio Prizm
« Reply #46 on: March 02, 2011, 04:43:10 pm »
I noticed newer calcs won't include one, even the TI-Nspire clickpad. It sucks when you change batteries and lose all your stuff in RAM...

Offline m1ac4

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 106
  • Rating: +8/-0
    • View Profile
Re: The Inside of a Casio Prizm
« Reply #47 on: March 02, 2011, 04:53:44 pm »
That's what capacitors are for right?
After I learned to make sure that my calc was shut off before taking out batteries I never cleared my ram that way ever again.  (Unless for some reason the Nspire clickpad doesn't work that way... I have never actually seen a Nspire :()

Offline SimonLothar

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 129
  • Rating: +35/-1
    • View Profile
Re: The Inside of a Casio Prizm
« Reply #48 on: March 03, 2011, 02:25:32 am »
Hmm... I wonder why the OS even addresses a low backup battery issue then.
The message can be found at 0x801094E0 for all those who are interested.
Very probably they reused a lot of source-code of the legacy systems, contaminated by some code pieces, which are not used by the Prizm OS.

BTW: the battery is still monitored using the MPU's AD-Converter channel A.
But the address of ADC_ADDRA is 0xA4610080, hence it is neither a 7705- nor a 7200-register.
The functionality seems to be similar, if not identical compared to the ADC of the 7705/7200.
In legacy systems with backup battery , the ADC-channel C has been used, to monitor the backup-battery.
The Prizm's GetBatteryVoltage syscall shows no signs of accessing channel C.
« Last Edit: March 03, 2011, 07:02:45 am by SimonLothar »
I'll be back.

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: The Inside of a Casio Prizm
« Reply #49 on: March 03, 2011, 02:27:19 am »
Simon, how do you figure out all of this stuff? Do you use Insight?
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: The Inside of a Casio Prizm
« Reply #50 on: March 03, 2011, 02:27:37 am »
@Simon Lothar I have a question. Where do you get this program http://ourl.ca/8207/177640 ???

List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music

Offline SimonLothar

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 129
  • Rating: +35/-1
    • View Profile
Re: The Inside of a Casio Prizm
« Reply #52 on: March 03, 2011, 03:38:47 am »
@Simon Lothar I have a question. Where do you get this program http://ourl.ca/8207/177640 ???

Are you kidding?  ???
I wrote it! ;D

To be serious. This version of insight is a toy, written from scratch in assembler. I hope I will soon release the C++ version incl. source and some maybe interesting additional tools (f. i. a syscall library).
I'll be back.

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: The Inside of a Casio Prizm
« Reply #53 on: March 03, 2011, 03:40:21 am »
Can you upload a version of the "toy" here, please?
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline SimonLothar

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 129
  • Rating: +35/-1
    • View Profile
Re: The Inside of a Casio Prizm
« Reply #54 on: March 03, 2011, 03:44:40 am »
Simon, how do you figure out all of this stuff? Do you use Insight?
As it is good cybernautical practice (GCP), I made a backup of the OS to my PC and then I started reading it. Sometimes I use insight to verify certain assumptions on-calc.
I'll be back.

Offline SimonLothar

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 129
  • Rating: +35/-1
    • View Profile
Re: The Inside of a Casio Prizm
« Reply #55 on: March 03, 2011, 03:50:17 am »
Can you upload a version of the "toy" here, please?
Sure. As far as the restrictons of this site allow. Sure. A bit of quality assurance is still to do. I hope this weekend. BTW: you should have the BIN-directory of the old fx-9860 SDK at hand!
« Last Edit: March 03, 2011, 04:00:44 am by SimonLothar »
I'll be back.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: The Inside of a Casio Prizm
« Reply #56 on: March 03, 2011, 04:00:14 am »
You can actually upload files below your post fine. I think the limit is 4 MB, though. Click "reply" or "quote" and below the text form there is an upload field. You can upload multiple files at once, too.

For the downloads section at http://www.omnimaga.org/index.php?action=downloads it currently requires admin approval and 100 posts, although the post limit is most likely gonna be reduced soon.


Offline fxdev

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 177
  • Rating: +34/-6
    • View Profile
Re: The Inside of a Casio Prizm
« Reply #57 on: March 03, 2011, 10:56:41 am »
@Simon
It would be nice to have a topic to discuss the Insight add-in.
One thing that's missing is some kind of byte or text pattern search.

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: The Inside of a Casio Prizm
« Reply #58 on: March 03, 2011, 03:19:53 pm »
Could you also add to the C development tutorial Kristaba started earlier. There isn't enough detail to show how to set up your Prizm coding environment.

List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)

Offline SimonLothar

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 129
  • Rating: +35/-1
    • View Profile
Re: The Inside of a Casio Prizm
« Reply #59 on: March 03, 2011, 11:47:42 pm »
Could you also add to the C development tutorial Kristaba started earlier. There isn't enough detail to show how to set up your Prizm coding environment.
Yes. Good idea. The thread is worth to be continued. I will post my results concerning the G3A-building there.
BTW: I like the mentioning of Andreas B. in this thread. Three years ago, he turned me into the right direction, concerning fx-9860G analysis. One of the most disciplined programmers I ever met. Alas, he's occupied with other things now.

@cfxm
We could include the insight-discussion in the same thread. I will use insight as example code for the SDK-considerations.
« Last Edit: March 03, 2011, 11:59:07 pm by SimonLothar »
I'll be back.