Omnimaga

Calculator Community => Casio Calculators => Topic started by: AHelper on January 29, 2012, 03:06:52 pm

Title: Prizm IO Hardware - What is known?
Post by: AHelper on January 29, 2012, 03:06:52 pm
So far, I have been able to produce tones over the IO port by toggling bit 4/5 of port B (7720 specs).  Does anyone know how the Prizm's OS does it?  I have tried the DAC hardware, but it isn't present, as well as the SIOF hardware, but wasn't responding.  I can replicate what the prizm OS puts out from using Send(, but it doesn't seem right.  I have been analyzing the output waves, but again, it looks like the OS has a tad more control.  For example, writing to that port only outputs adds/subtracts voltage from the port.  I don't know how best to explain, other than:
Code: [Select]
H - reset, add
L - set, subtract
... - wait, equal time
() - level from -1.0 ... 1.0

(0) ... (0) ... H ... (1.0) ... (0.9) ... (0.75) ... L ... (-.25) ... (-.22) ... (-.20) ... H ... (.8) ... (.65) ... (.55) ... L ... (.45)

I could get in an image of my recording of it, but the above shows that it discharges inversely to 0 and writing to the ports doesn't set it, it just offsets it.  When looking at the OS's IO output, it seems like it has analog control over it.  It can keep the signal low or at an exact position, for ex..  If I am not making sense, :-S  Fill me in on terminology :-)
Title: Re: Prizm IO Hardware - What is known?
Post by: ralphdspam on January 29, 2012, 05:11:00 pm
So far, I have been able to produce tones over the IO port by toggling bit 4/5 of port B (7720 specs).  Does anyone know how the Prizm's OS does it?  I have tried the DAC hardware, but it isn't present, as well as the SIOF hardware, but wasn't responding.  I can replicate what the prizm OS puts out from using Send(, but it doesn't seem right.  I have been analyzing the output waves, but again, it looks like the OS has a tad more control.  For example, writing to that port only outputs adds/subtracts voltage from the port.  I don't know how best to explain, other than:
Code: [Select]
H - reset, add
L - set, subtract
... - wait, equal time
() - level from -1.0 ... 1.0

(0) ... (0) ... H ... (1.0) ... (0.9) ... (0.75) ... L ... (-.25) ... (-.22) ... (-.20) ... H ... (.8) ... (.65) ... (.55) ... L ... (.45)

I could get in an image of my recording of it, but the above shows that it discharges inversely to 0 and writing to the ports doesn't set it, it just offsets it.  When looking at the OS's IO output, it seems like it has analog control over it.  It can keep the signal low or at an exact position, for ex..  If I am not making sense, :-S  Fill me in on terminology :-)
Analog control?  That would be awesome for sound projects! 
Which of the pins does this control?  Can we control other pins in the same manner?
Title: Re: Prizm IO Hardware - What is known?
Post by: AHelper on January 29, 2012, 05:16:05 pm
So far, everything that I recorded included both channels, that includes what I have done and what the OS has done.  The last posts that I read about IO stuffs were from the middle of last year.  Also, if there's a topic on disassembling the Prizm OS, then let me know as that could greatly help me as I can see what the OS does :-)
Title: Re: Prizm IO Hardware - What is known?
Post by: jnesselr on January 30, 2012, 03:59:04 am
So far, everything that I recorded included both channels, that includes what I have done and what the OS has done.  The last posts that I read about IO stuffs were from the middle of last year.  Also, if there's a topic on disassembling the Prizm OS, then let me know as that could greatly help me as I can see what the OS does :-)
As for disassembling the OS, that's what I started on, but I need to update my prizm, and analyze the USB of it which takes time that I currently don't have.
Title: Re: Prizm IO Hardware - What is known?
Post by: SimonLothar on February 09, 2012, 11:48:32 am
See fx_calculators_SuperH_based_10.chm
(http://ourl.ca/8207/238670).

Try topic: fx-CG20...Registers, MPU...Accessing the 3pin serial lines directly

That's what I found.
 
Title: Re: Prizm IO Hardware - What is known?
Post by: MPoupe on February 09, 2012, 12:28:35 pm
See fx_calculators_SuperH_based_10.chm
(http://ourl.ca/8207/238670).

Try topic: fx-CG20...Registers, MPU...Accessing the 3pin serial lines directly

That's what I found.
Hello Simon,
good to see you here :-)
Do you plan any update of your documents / SDK?
Title: Re: Prizm IO Hardware - What is known?
Post by: flyingfisch on February 09, 2012, 04:28:39 pm
WB Simon! Are you going to port insight to prizm?
Title: Re: Prizm IO Hardware - What is known?
Post by: helder7 on February 09, 2012, 04:46:24 pm
WB Simon! Are you going to port insight to prizm?
Insight has been ported to the Prizm by Simon, (is included in the FxCg_Mini sdk)
Title: Re: Prizm IO Hardware - What is known?
Post by: flyingfisch on February 09, 2012, 11:25:04 pm
WB Simon! Are you going to port insight to prizm?
Insight has been ported to the Prizm by Simon, (is included in the FxCg_Mini sdk)

Oh cool 8)
Title: Re: Prizm IO Hardware - What is known?
Post by: SimonLothar on February 10, 2012, 11:36:48 am
Quote
...Do you plan any update of your documents / SDK?
Have been occupied with the GII-2. Prizm-Hardware (except the display, of course) and GII-OS. Kinda missing link. Most interesting. Had to update pfxRecover. THX to cfxm, who never seems to loose patience while testing. I have to tidy up the news. Than I will add it to the documentation.