Author Topic: Prizm IO Hardware - What is known?  (Read 6840 times)

0 Members and 1 Guest are viewing this topic.

Offline AHelper

  • LV3 Member (Next: 100)
  • ***
  • Posts: 99
  • Rating: +18/-0
    • View Profile
    • GlaßOS razzl
Prizm IO Hardware - What is known?
« 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 :-)
SDCC tastes like air bags - big output, but fast and safe to run.

Offline ralphdspam

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 841
  • Rating: +38/-1
  • My name is actually Matt.
    • View Profile
Re: Prizm IO Hardware - What is known?
« Reply #1 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?
ld a, 0
ld a, a

Offline AHelper

  • LV3 Member (Next: 100)
  • ***
  • Posts: 99
  • Rating: +18/-0
    • View Profile
    • GlaßOS razzl
Re: Prizm IO Hardware - What is known?
« Reply #2 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 :-)
SDCC tastes like air bags - big output, but fast and safe to run.

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Prizm IO Hardware - What is known?
« Reply #3 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.

Offline SimonLothar

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 129
  • Rating: +35/-1
    • View Profile
Re: Prizm IO Hardware - What is known?
« Reply #4 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.
 
I'll be back.

Offline MPoupe

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 168
  • Rating: +30/-1
  • The coder of yesterday
    • View Profile
    • My web site about Casio calculator
Re: Prizm IO Hardware - What is known?
« Reply #5 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?

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Prizm IO Hardware - What is known?
« Reply #6 on: February 09, 2012, 04:28:39 pm »
WB Simon! Are you going to port insight to prizm?



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline helder7

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 185
  • Rating: +33/-1
    • View Profile
Re: Prizm IO Hardware - What is known?
« Reply #7 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)

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Prizm IO Hardware - What is known?
« Reply #8 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)



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline SimonLothar

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 129
  • Rating: +35/-1
    • View Profile
Re: Prizm IO Hardware - What is known?
« Reply #9 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.
« Last Edit: February 10, 2012, 11:37:41 am by SimonLothar »
I'll be back.