ChanServ changed the topic of ##yamahasynths to: Channel dedicated to questions and discussion of Yamaha FM Synthesizer internals and corresponding REing. Discussion of synthesis methods similar to the Yamaha line of chips, Sound Blasters + clones, PCM chips like RF5C68, and CD theory of operation are also on-topic. Channel logs: https://freenode.irclog.whitequark.org/~h~yamahasynths
doppler has quit [Quit: doppler]
doppler has joined ##yamahasynths
<ugla> https://www.youtube.com/watch?v=cv2FWWNywsA nice graphics and tune
<cr1901_modern> Oh that looks like a nice ga- 2021?!?!
cr1901_modern has quit [Quit: Leaving.]
cr1901_modern has joined ##yamahasynths
_whitelogger has joined ##yamahasynths
_whitelogger has joined ##yamahasynths
_whitelogger has joined ##yamahasynths
sorear has quit [Ping timeout: 264 seconds]
sorear has joined ##yamahasynths
mz` has quit [Ping timeout: 256 seconds]
mz` has joined ##yamahasynths
_whitelogger has joined ##yamahasynths
<ugla> only the freshest gamez!
<ValleyBell> It's an Arduino Leonardo, which acts as USB-MIDI device with 4 ports. Data is converted to RS232 and goes into the MU128's "To-Host" input.
emeb has joined ##yamahasynths
<Lord_Nightmare> ej5: where can i order a pixel pooper? I'd ask what system is it for, but given the name i'm not sure that matters.
andlabs has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andlabs has joined ##yamahasynths
andlabs has quit [Ping timeout: 260 seconds]
andlabs has joined ##yamahasynths
<ej5> Lord_Nightmare, if you really want one i could probably send one to you after i get it up and running
<ej5> in general i just release the designs and it is up to other people to go build/fabricate them
HXLNT has joined ##yamahasynths
<cr1901_modern> Yaaay, glad you could make it HXLNT :)
<HXLNT> hi hi~
<cr1901_modern> Lemme introduce you to some ppl you may know
<cr1901_modern> ej5 == TubeTimeUS
<cr1901_modern> Lord_Nightmare, balrog, Sarayan, Stilett0 == MAME devs
<cr1901_modern> Foone == Foone
<cr1901_modern> ValleyBell, superctr_, KitsuWhooa == VGM rippers
<KitsuWhooa> probably not the best idea to mass highlight people, but hi :p
<KitsuWhooa> Also, I'm not really a vgm ripper :p
<HXLNT> Recognize some other familiar names from twitter, too.
<HXLNT> It was suggested I pop by to see if anyone has an ideas about an unknown game console sound chip I've been rabbit-holing on.
<cr1901_modern> ^Fair enough re: mass highlight, but this is the reason I did it. I don't want to waste ppl's time :P
<cr1901_modern> It's part of FM towns and CASIO Loopy?
<ej5> reminds me of the time i pasted %007 into an general chat IRC channel, back in the 90s
<HXLNT> Hoping to get some ideas for cracking audio on the Casio Loopy. Looking at the motherboard, I think I've ID'd the audio chip as a Ricoh RH5C350.
<HXLNT> It doesn't say Ricoh on it, but the Rx5Cxxx naming tipped me off. Plus, I'd say the sound is similar to the FM Towns.
<HXLNT> However, no datasheet, different pinout, and no Loopy emulator. So thinking on the best way to make progress.
<cr1901_modern> I literally get 0 results from Google... nice :o!
<HXLNT> Haha, yeah, I already hit datasheets.com, ebay, etc.
<KitsuWhooa> the Ricoh chip is RF5C...
<KitsuWhooa> so hmmm
<HXLNT> Yeah, I think this is an undocumented chip that Ricoh made custom for Casio.
<cr1901_modern> My guess is that the chip is similar to RF5C68/the Sega CD chip
<KitsuWhooa> Wild guess, but check if there's PSRAM around it
<cr1901_modern> HM62256 is PSRAM I think
<cr1901_modern> oh it's static RAM
<KitsuWhooa> Doesn't look like there are any manuals for the loopy
<KitsuWhooa> service manuals, that is
<KitsuWhooa> RF5C164 can take both PSRAM and SRAM, so I guess it doesn't help much
<KitsuWhooa> Maybe you can try comparing the pinouts
<HXLNT> Yeah, I haven't found a pinout diagram, and unfortunately the pin packages don't match the other Ricohs.
<cr1901_modern> How many pins does RF5C164 (Oops I called it 134) have?
<HXLNT> I might be able to disassemble one of my Loopys to look at the traces...
<cr1901_modern> the 68 is an 80-pin DIP
<KitsuWhooa> cr1901_modern: it's not
<HXLNT> Yup
<HXLNT> 80-pin
<HXLNT> This Loopy one is 62-pin
<KitsuWhooa> well, it's not DIP
<KitsuWhooa> is what I meant :p
<cr1901_modern> 80pin QFP, sorry
<cr1901_modern> Yes, an 80-pin DIP would be horrifying
<HXLNT> The Loopy chip has the same package as this https://www.ebay.com.hk/itm/264293285186?ul_noapp=true
<cr1901_modern> HXLNT: From that mobo photo I count more than 62-pins. Closer to 200
<cr1901_modern> ooooh I'm looking at the wrong damn chip
<KitsuWhooa> It's a bit odd that it doesn't have dedicated ram
<KitsuWhooa> unless it's on the other side
<HXLNT> Yeah, it's that other CASIO branded one
<HXLNT> Oh, QFP64? Huh.
<HXLNT> I guess they count the cut ones, that makes sense.
<HXLNT> For those who don't know me, I mostly do older HW, pre-surface mount, haha. So I'm wading into a bit of new territory.
<cr1901_modern> I've never heard of the RF5C60... but neat it's available for somewhat cheap
<cr1901_modern> I want to know the 5C350 pinout as well. I want to know which pins, if any, control talking to a memory to extract the samples
<cr1901_modern> b/c if this is like the other PCM chips, they expect to talk to an external memory to get the current sample
<HXLNT> Yeah, I think I'm going to see if I can disassemble one of my consoles and at least look to see what I can figure out on the pinout.
<HXLNT> At least some of it
<cr1901_modern> I wonder what happens if you play one of the cartridges as a raw WAV file
<cr1901_modern> (To find the samples :P)
<HXLNT> Oh shit, you reminded me of this article from Shiru
<HXLNT> About opening ROMs in Audacity
<HXLNT> Yyyyyyeahhhh, that would be interesting to do. I'll dig that up.
<KitsuWhooa> make sure the volume is turned down ;p
<cr1901_modern> Hahaha nice :D. I once did some Sonic CD RE'ing and "rediscovered" the samples used for each level
<cr1901_modern> (the files used for playing samples also include the 68k code for the PCM driver)
<HXLNT> Side effect: I get to research FM Towns music, so lots of bops to listen to.
<cr1901_modern> FM Towns is cool... I think it uses the same FM chip as the Genesis
<HXLNT> I did my first demoparty last year, and the winning retro submission was FM Towns homebrew.
<HXLNT> I was thrilled with second place, honestly. :p
<cr1901_modern> You do lots of excellent stuff period
<cr1901_modern> HXLNT: So, the Casio Loopy core in MAME is unfinished? Address map doesn't seem to have anything for music
<HXLNT> It's deeply unfinished, yeah, no audio support.
<HXLNT> Like, it basically just dumps the ROM to the screen
<HXLNT> Sometimes you see some flitterings of uncompressed graphics, but it's mostly confetti.
<andlabs> [13:19:48] <cr1901_modern>FM Towns is cool... I think it uses the same FM chip as the Genesis
<andlabs> yes it does
<andlabs> and the same PCM chip as the sega cd
<andlabs> one day I will get my hands on a FM Towns but for now my X68000 will suffice =P
<cr1901_modern> HXLNT: FM Towns has a "RH5C350"?
<cr1901_modern> In addition to "RF5C164"?
<cr1901_modern> or just the former?
<HXLNT> No, RH5C350 is only in Loopy
<HXLNT> As far as I can tell
<cr1901_modern> Ooooh okay I misunderstood what you meant by "FM Towns sounds like Loopy"
<andlabs> uhh
<andlabs> which chip on the motehrboard are you looking at?
<cr1901_modern> Top right
<cr1901_modern> (of the Loopy)
<HXLNT> Labeled CASIO RH-7501 5C350
<andlabs> ok
<HXLNT> I've been calling it RH5C350 just because... that seems to fit with the other Ricoh naming schemes.
<cr1901_modern> The one labelled "SANYO", right?
<HXLNT> I mean, for all I know, this isn't the sound chip at all, but my hunch is that it's a custom thing Ricoh made for Casio.
<andlabs> the LK7883?
<andlabs> no
<HXLNT> I seem to recall that the Sega one is the same way.
<cr1901_modern> :C89515
<KitsuWhooa> HXLNT: it's the bottom left SEGA one
<cr1901_modern> at the bottom center-right
<andlabs> which board is this
<KitsuWhooa> 315-5476
<KitsuWhooa> and the LH5P832N are the RAM for it
<cr1901_modern> pinouts don't match Loopy
<cr1901_modern> there goes that theory
<andlabs> CD controller
<andlabs> what board did you just link?
<andlabs> oh sega cd
<KitsuWhooa> it's the Sony SCD 2 model
cCCCCcccccCCc has left ##yamahasynths ["Leaving"]
<KitsuWhooa> the one you can't find schematics for :p
<cr1901_modern> I thought maybe I could match pinouts
<andlabs> that picture is very low res
<KitsuWhooa> that's why I linked the datasheet earlier
<andlabs> I'm wondering if IC112 is the RF5C68
<KitsuWhooa> <KitsuWhooa> 315-5476
<andlabs> but its markings are faded
<andlabs> ok
<cr1901_modern> HXLNT: Silly q... where does the sound come of of the Loopy?
<andlabs> so uhh
<andlabs> what format is loopy software stored in?
<HXLNT> 32-bit cartridge
<andlabs> then there would not be a CD controller on there to begin with
<HXLNT> What do you mean by "where does the sound come out of?"
<andlabs> also dumb question time
<cr1901_modern> which pin on the motherboard header carries audio
<HXLNT> Oh, no. There are multiple CPUs and BIOSes though because of the built-in thermal sticker printer.
<andlabs> could the sound chip be shared with a Casio keyboard?
<HXLNT> I did a bunch of research on that, and I don't think so.
<andlabs> well in that case I guess it's oscilloscope time
<andlabs> trace the audio pins to see where the audio comes out of
<HXLNT> Hehe, yeeeah
<andlabs> I still wouldn't be surprised if it's a custom IC because this is Casio
<cr1901_modern> 15218 are op amps... 6379 is a DAC
<cr1901_modern> (uh-oh... looks like a serial DAC)
<HXLNT> andlabs... Would you agree that this is a Ricoh chip, though?
<HXLNT> Based on the numbering and the fact that there's another Ricoh chip with the same package.
<andlabs> if the packages match then it's likely
<andlabs> you can use packages to identify fabs
<cr1901_modern> Okay, contrary to what I thought, the RF5C68 also uses a serial DAC
<andlabs> bottom left of the loopy board
<andlabs> uhh
<andlabs> what t he hell is going on with the hot glue on the wires lol
<andlabs> hot glue spaghetti
<andlabs> wait no hot glue sandwich
<cr1901_modern> or... it _can_ use a serial DAC
<andlabs> and then the giant blob of Stuff above the C105 marking
<HXLNT> Yeah, it matches this:
<HXLNT> 1a646551770a6e5b007562eff97a76a%7Ciid%3A1
<HXLNT> Mystery Ricoh chip being sold on eBay. I messaged the seller to see if there's a datasheet. Really similar product number, too.
<andlabs> is that solder? hot glue? a mixture?
<HXLNT> 64 pin with those two middle pins cut
<KitsuWhooa> interesting
<KitsuWhooa> it may as well be that one tbh :p
<cr1901_modern> Find the pinout, including voltage rails, solder one of the RF5C60s to a breakout board, apply voltage. If no smoke, continue :)
<KitsuWhooa> then maybe not
<cr1901_modern> ahhh, hrm
<KitsuWhooa> your best bet is to follow the chip that outputs the audio, yeah
<KitsuWhooa> it might be intergrated in the other asic
<KitsuWhooa> as that's the one that has the memory
<cr1901_modern> So RF5C60 is a port expander
<cr1901_modern> Based on proximity to the 6379 serial DAC, I think the Ricoh RH5C350 is outputting the audio
<cr1901_modern> But of course trace conns w/ multimeter :D
<KitsuWhooa> cr1901_modern: which one is the DAC?
<cr1901_modern> IC251 silkscreen
<cr1901_modern> top right corner
<KitsuWhooa> Ah I see
<KitsuWhooa> completely missed that one
<cr1901_modern> HXLNT: Depending on how much effort you want to go through to start with, you could get some results by capturing the DAC input directly :D
HXLNT has quit [Ping timeout: 246 seconds]
HXLNT has joined ##yamahasynths
<HXLNT> whoops back
<HXLNT> I think I might have missed a bit
<cr1901_modern> HXLNT: Oh, to summarize, RF5C60 is a port expander
<cr1901_modern> not a sound chip
<HXLNT> Yeah, I think right around the time I got kicked, I was lamenting that the Ricoh chip on the Loopy might just be handling the controller and/or printer.
<HXLNT> Despite the totally reassuring "this might be the sound chip
<HXLNT> " message in the Loopy .cpp file in the MAME repo
<HXLNT> lol
<cr1901_modern> I think it is the sound chip, but I want continuity tests done w/ multimeter
<cr1901_modern> the chip to the right of the suspected sound chip is a DAC
<HXLNT> Yup, that's my next step :p
<HXLNT> Yeahhhh
<cr1901_modern> if that (serial!) DAC is connected to that suspected chip, then I think we can safely say it's the sound chip
<HXLNT> I really appreciate all the tips and ideas. Excited for baby girl's first reverse engineering project on something that isn't from the 1980s!
<HXLNT> What's the significance of it being a serial DAC?
<cr1901_modern> I2S is popular sound format, which is also a serial protocol
<cr1901_modern> so if you're converting a serial stream to analog, that's a hint to me that you're dealing w/ a sound stream
<HXLNT> Ohhh, this is great to know! I wasn't aware of I2S.
<HXLNT> Pulling up docs now :)
<HXLNT> I'm learning so much today <3
<cr1901_modern> Btw, ty for taking me up on the offer to try the channel out :D. I know IRC is getting long in the tooth.
<HXLNT> It's taking me back, tbh.
<cr1901_modern> The good parts, I hope
<HXLNT> Teen days of sharing MP3s over Direct Connect in a #warez channel
<cr1901_modern> I was big into anime fansubs in the late 2000s- 2008-2009-ish.
<HXLNT> Oh, same, but maybe 10 years earlier, so a way teeny-tiny "scene" :D
<HXLNT> Outing myself as Ancient Millennial
<cr1901_modern> I got started w/ IRC and stuff rather late. Though I do have a fansub of Tanjou Debut from the 90s. Hardsub 320x240
<HXLNT> It was all VHS
<HXLNT> God, I remember leaving downloads running all night to get anime INTRO SEQUENCES at that resolution
<HXLNT> RIP RealPlayer
<cr1901_modern> Bahahaha... RIP 56k modem
<HXLNT> More like 36.6
<HXLNT> In the time of 56K
<HXLNT> I also had to be supervised when I was on the computer
<cr1901_modern> I'm waiting for a domesday86-like project to tap into a VCR's raw output and capture VHS from those signals
<cr1901_modern> I had the password to the computer changed a number of times b/c I kept breaking the rules
<HXLNT> Tsk tsk
* cr1901_modern ... isn't all that sorry?
<cr1901_modern> HXLNT: Right, when she's around... you may want to talk to whitequark and see if her Glasgow project is right for you. She's already used it to play YM chips and stream the results in realtime. You could probably apply it to your RE-capades.
<HXLNT> Cool... just found the repo for it; will check it out.
<HXLNT> I'mma go idle for a bit and eat some lunch. Nice chatting w/ y'all!
<cr1901_modern> Have fun :D!
HXLNT has quit [Read error: Connection reset by peer]
HXLNT has joined ##yamahasynths
<cr1901_modern> ej5: What is %007... beep sound?
<ej5> yeah
<cr1901_modern> Also, is the NTSC done inside the FPGA?
<cr1901_modern> for the video card?
cr1901_modern has quit [Quit: Leaving.]
cr1901_modern has joined ##yamahasynths
<Stilett0> HXLNT: stay in channel please, I suspect Lord_Nightmare may have some hypotheses for you after the weekend is over here :)
<Stilett0> and feel free to send MAME any documentation or emulation fixes via Github pull request :)
emeb has quit [Quit: Leaving.]