YM2413 + MD2 = Total Jawusumness

Discussion in 'Modding and Hacking - Consoles and Electronics' started by TmEE, Sep 23, 2009.

  1. TmEE

    TmEE Peppy Member

    Joined:
    Aug 13, 2008
    Messages:
    362
    Likes Received:
    1
    How things look :
    [​IMG]

    How things sound :
    http://www.fileden.com/files/2008/4/21/1876835/MD2YM2413.OGG

    Some older pics of WiPness :
    http://www.fileden.com/files/2008/4/21/1876835/BoardOverview.jpg
    http://www.fileden.com/files/2008/4/21/1876835/YM2413audioProgress.jpg
    http://www.fileden.com/files/2008/4/21/1876835/YM2413audioProgress0.jpg
    http://www.fileden.com/files/2008/4/21/1876835/YM2413mod.jpg
    http://www.fileden.com/files/2008/4/21/1876835/MD2YM2413WiP.jpg

    Now I get full FM sound in SMS games, and I think I can use it while in MD mode also, I need to experiment a little.

    I will NOT be doing this, unless you pay me a ton of money, it is rather pain in the ass to do :p
     
  2. alphagamer

    alphagamer What is this? *BRRZZ*.. Ouch!

    Joined:
    Jun 25, 2008
    Messages:
    3,256
    Likes Received:
    13
    That's art...
     
  3. Calpis

    Calpis Champion of the Forum

    Joined:
    Mar 13, 2004
    Messages:
    5,906
    Likes Received:
    21
    How are you decoding it?
     
  4. TmEE

    TmEE Peppy Member

    Joined:
    Aug 13, 2008
    Messages:
    362
    Likes Received:
    1
    with those 4 logic chips you can see... things are directly wired to Z80, and react on the same I/O addresses as the original would in JP SMS.

    I'm preparing a schematic soon, which is based on one by Eviltim / Viletim (but adapted to MD2 with CCAM) which in turn is probably based on original FM module.
     
  5. Jamtex

    Jamtex Adult Orientated Mahjong Connoisseur

    Joined:
    Feb 21, 2007
    Messages:
    5,472
    Likes Received:
    16
    Are veroboards very expensive in estonia?
     
  6. ElBarto

    ElBarto Robust Member

    Joined:
    Dec 17, 2005
    Messages:
    239
    Likes Received:
    1
    Lol
    I think that's TmEE style to solder like this :)
     
  7. TmEE

    TmEE Peppy Member

    Joined:
    Aug 13, 2008
    Messages:
    362
    Likes Received:
    1
    veroboard will result in a big and clunky design that is difficult to mount, make it more immune to noises and have top cover still fit on the unit :p
     
  8. Calpis

    Calpis Champion of the Forum

    Joined:
    Mar 13, 2004
    Messages:
    5,906
    Likes Received:
    21
    ..I meant "what equations did you use"? Do you have the enable flag and detection bits? I assume you're using a 74139/244 for decoding and detection bits but I can't see what the other chips are.

    Looking at Enri's SG-1000 and FM-70 schematics it's:
    /kbsel = A6 & A7 & !/IORQ
    "/ymsel" = !/kbsel & !A2 & /RD & !/WR & !A1

    Removing R/W strobes (/WR should strobe the chip anyway), a 74138/238 can decode both the YM and flag. Adding a 74173 should fit the flag, detection bits AND analog switch using a couple passives for tricks.

    Edit: Everything can also fit in any unregistered (for the tri-state control) PAL using a latch instead of register flag.
     
    Last edited: Sep 23, 2009
  9. TmEE

    TmEE Peppy Member

    Joined:
    Aug 13, 2008
    Messages:
    362
    Likes Received:
    1
    [​IMG]

    I could have used a 74xx125 instead of 74xx244 but I just did not have anything available... I desoldered that 244 from a 486 mobo...

    That line going from 244 to 2x resistors and then to opamp part silences the awful amount of hiss the YM2413 generates when chip is not used. Only negative effect is that you hear a pop when chip is enabled/disabled, only game I tried that enables/disables the chip is Alex Kidd the Lost Stars, it happens when there's speech being played so you get a crack in the beginning and end of a sample.
     
    Last edited: Sep 24, 2009

Share This Page