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
* cr1901_modern reads scrollback
<cr1901_modern> Native SCSI floppy is news to me
<cr1901_modern> cool
andlabs has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gruetzkopf> some CNC machine
andlabs has joined ##yamahasynths
_whitelogger has joined ##yamahasynths
<andlabs> cr1901_modern: oh late but
<andlabs> that analysis of GEMS is flawed for two reasons: 1) GEMS came first 2) they likely just borrowed voices from some Yamaha keyboard
Stilett0 is now known as Stilett0-away
<andlabs> but if you want an authoritative answer the company that made GEMS was called Technopop and they made two Genesis games, Spider-Man (the early one, not by Acclaim) and Zero Tolerance
<cr1901_modern> andlabs: Oh. Oops. Thanks!
andlabs has quit [Ping timeout: 258 seconds]
andlabs has joined ##yamahasynths
_whitelogger has joined ##yamahasynths
<cr1901_modern> protosphere: https://twitter.com/protosphere_/status/1175268399061983242 What's the DIP chip if you know?
<protosphere> cr1901_modern: I think it's the ROM..?
<protosphere> Only because it's a user-replaceable thing and I know you could upgrade the ROM without a ton of fuss
<cr1901_modern> Oh, right that makes a lot of sense... any possibility you could dump it?
<cr1901_modern> out of curiosity
<protosphere> I don't have any hardware for that, but I'll probably want to get something eventually..
<protosphere> I think it's been dumped but Roland are a bit bleh about people distributing their ROMs
<protosphere> (correct me if I'm wrong)
<cr1901_modern> Can't wait till that attitude changes
<cr1901_modern> I have a bunch of random ROMs I dumped. My favorite is prob the 8048 firmware to an MFM hard drive that I stupidly threw out; it didn't work, but now I most certainly can't RE it lmao.
<andlabs> good night
<andlabs> I have the sequential midi thing now btw; will comment tomorrow
<andlabs> also orange ribbon cables in that mk2 o.o
<andlabs> *ribbon cable connectors
<ValleyBell> MAME only has SC-55 mkI ROMs, no mkII: https://git.redump.net/mame/tree/src/mame/drivers/rsc55.cpp#n76
<protosphere> I’ll try and dump my mkII ROMs then
<protosphere> https://twitter.com/protosphere_/status/1175324568082214912?s=21 well I think I found my problem
<protosphere> Thanks leaky electrolytics
<protosphere> That’s probably not going to be a clean repair either ;;
<ZirconiumX> Ouch
_whitelogger has joined ##yamahasynths
<protosphere> I'll at least clean it up and replace the capacitor
mofh has quit [Remote host closed the connection]
<TD-Linux> the front jack works? that's hope inspring at least
<protosphere> And the self check passes for MIDI IN1 on the back
<protosphere> So it actually gets data. I think something related to the MIDI/RS232/RS422 connector has a bad trace
<protosphere> so it doesn’t think MIDI is selected perhaps..?
<protosphere> s/connector/switch
<TD-Linux> ah maybe. are there two separate isolators?
Sarayan has quit [Remote host closed the connection]
<Foone> dec_hl (the dosjs guy!) is doing some OPL3 stuff: https://twitter.com/dec_hl/status/1175414339714637832
Xyz_39808 has quit [Ping timeout: 245 seconds]
bofh__ has joined ##yamahasynths
bofh__ is now known as mofh
Patater_ has joined ##yamahasynths
vup2 has joined ##yamahasynths
epsdelph1 has joined ##yamahasynths
Nicole_Express has joined ##yamahasynths
Nerionaya has quit [*.net *.split]
vup has quit [*.net *.split]
Patater has quit [*.net *.split]
epsdelphi has quit [*.net *.split]
akacastor has quit [*.net *.split]
akacastor has joined ##yamahasynths
Xyz_39808 has joined ##yamahasynths
Sarayan has joined ##yamahasynths
<SceneCAT> evening all. silly Question: does anyone in here know or where to find good step-by-step info, or perhaps a video about: Updating the Yamaha MU128 to v2 ?
Xyz_39808 has quit [Read error: Connection reset by peer]
Xyz_39808 has joined ##yamahasynths
<cr1901_modern> I would be happy to help if I knew what a MU128 is :(
<Sarayan> cr1901: it's a yamaha expander
<Sarayan> we emulate (badly) the mu80 and the mu100 in mame
<cr1901_modern> At least you're honest :P?
<Sarayan> mu80 I haven't started the synth code yet, the main cpu is doing weird things. mu100, I don't understand the envelope management, so it sounds not so good
<SceneCAT> thnx, but i read that link but...hmm...
<SceneCAT> also have a mu80 in front of me...
<SceneCAT> nicely stacked on eachother...hehe
<SceneCAT> i also grabbed data from here: https://og.kervella.org/synth/tbs/OS/MU128V2/
<SceneCAT> and if you got parent dir until /synth on there...there is more
<SceneCAT> perhaps handy for some..
<SceneCAT> *goto
<superctr> you know whose site that is right :P
<cr1901_modern> lol
<cr1901_modern> SceneCAT: Sarayan == Olivier == og
<SceneCAT> lol...nope i don't
<SceneCAT> Olivier? French or Dutch?
<cr1901_modern> Speaks French, at least. But I'm not gonna answer on Sarayan's behalf :P
<SceneCAT> hehe
<andlabs> as I promised a few days ago
<cr1901_modern> nice!
l_oliveira has joined ##yamahasynths
<SceneCAT> wow, C64 MIDI
<SceneCAT> i haz C64's and Amiga's...only got some MIDI stuff for Amiga, Which i've never used
<superctr> i have a feeling most people who want C64 MIDI nowadays would not want to use it as a controller but rather the other way around :P
<cr1901_modern> Using the C64 as a SID device?
<superctr> yeah
<SceneCAT> wasn't C64 Mssiah also with MIDI? https://www.mssiah.com/features.php
<andlabs> I bought a cynthCart
<andlabs> so you can count me in for that
<andlabs> I do own Cubase 7 now, at the very least
<andlabs> but maybe one day I'll try one of the older versions of it
<andlabs> or maybe even get lucky and find C64 Master Tracks
<SceneCAT> an Atari STe with Cubase and a C64 next to it would be nice Midi setup i guess...hehe
<Sarayan> French :-) And yes it's my site
<SceneCAT> aha!
<SceneCAT> i grabbed MU128v2 stuff from your site yesterday. since i found out about it having a v2 update. no clue how to update the MU128 tho. which i recently looted and got since last friday.
<Sarayan> kervella being the maiden name of my wife's mother :-)
<Sarayan> it's a general midi file, you play it at the mu
<Sarayan> bunch of sysexes that are essentially "write 7 bytes at address xxx with a checksum"
<Sarayan> of course I'd love if you dumped your current version first, but I guess you don't have an eprom reader
<SceneCAT> friend of mine has that
<SceneCAT> i'd like to know how i can get the MU128 shwo SySinfo/Version....IF that's even possible.
<Sarayan> probably, there's usually a test mode
<SceneCAT> test mode..hmm...
<SceneCAT> accesible via 'util' ?
epsdelph1 is now known as epsdelphi
<Sarayan> no
<Sarayan> one second, checksing the service manual
<cr1901_modern> "dumped your current version" of what?
<Sarayan> cr1901: of the pre-upgrade firmware
<Sarayan> SceneCAT: switch on while pressing play and mute/solo
<SceneCAT> 'STAND BY/ONbutton while pressing the PLAY and MUTE/SOLObuttons at one time'
<andlabs> and I just bought a TB-03 too, and this will be my last major purchase until after I fully plan out my vacation, which I still need ot do =p
<cr1901_modern> what's a vacation?
<andlabs> the thing I have to do if I don't want to stop earning vacation hours
<SceneCAT> Test Mode v1.06 98 October 2001
<SceneCAT> guess i could use a Guide on How to Dump MU128 ROM huh? which i'll take to a friend who has Eprom Reader stuff
<cr1901_modern> Take the ROM out. Take to friend. Put in EPROM reader. Struggle w/ reader UI. Read ROM. Upload to Internet.
<SceneCAT> oh wauw, if ROM is in a socket.....easy
<superctr> if rom is DIP, desolder rom, solder socket, dump it, put it in socket
<superctr> still easy
<superctr> if it's SMD then it is a different story
<SceneCAT> also replace a fesh Batt. while at it i guess... did that with the MU80 recently. coz that kept showing Low Batt. ...so the MU80 now has a batt Socket and fresh batt...
<SceneCAT> oh nice, according to the Service Manual....the mu128 does have a batt. holder..yaay
<cr1901_modern> Sarayan: Your desire to rewrite your tools notwithstanding, I have a q re: 68k and OPN REing... >>
<cr1901_modern> How do you RE the ROM (microcode, sin LUT) connections without losing your mind? I know in the sin LUT case the actual numbers are known, but it's nice to verify
<cr1901_modern> But it's 256 entries you have to do by hand ._.
<cr1901_modern> And I imagine the 68k microcode ROM is even worse
<superctr> image processing?
<superctr> i think MAME has historically used "typing monkeys" for decapped ROM analysis, but i don't know if that was ever done for those chips
<cr1901_modern> I should've been more specific
<cr1901_modern> Yes those exist too
<cr1901_modern> I meant after the ROM is vectorized, are there any shortcuts to extracting ROM contents other than "mentally apply 0, 1, 2..., 256 to the input and see how the circuit reacts, using the vectorization as a guide"?
<l_oliveira> hi guys
<cr1901_modern> superctr: FWIW, I can't actually do ROM RE well without vectorizing, I know plenty of ppl can but I'm not one of them
<SceneCAT> o/ l_oliveira ....hehe
<cr1901_modern> hello
<l_oliveira> back when this chip analysis stuff was starting I remember one guy I know was working out some image analysis algorithm to extract bit patterns from rom regions, I think he somewhat had consistent results with that. Is that the vectorization part you're talking about?
<cr1901_modern> No by vectorization I mean "open the die in Inkscape or image editor of choice and draw rectangles"
<l_oliveira> the idea was kind of 'OCR' the ROM from high res chip images
<cr1901_modern> I would not trust OCR personally, considering whenever I draw rectangles, I have to blow up the image well beyond the resolution of my monitor to infer details and edges
<ValleyBell> This is a really, REALLY cheap CM-32P module
<l_oliveira> well it was research... So even if it did not work the results would be interesting
<ValleyBell> Is anyone able to buy that and dump the ROM?
<cr1901_modern> I can't buy it right now, but I could probably dump the ROM
<ValleyBell> Short on money?
<cr1901_modern> More so over the past 4 months, yes
<SceneCAT> i could ask a friend to buy it for me, and let hinm dump that ROM for us?
<SceneCAT> not sure if i can actually use that CM-32P myself with my MSX2 tho
<ValleyBell> It only makes sense if you have a CM-32L or MT-32 as well.
<andlabs> I'm going to have to pass on that for two reasons
<andlabs> 1) I already spent way too much this month
<SceneCAT> i haz SC-55/SC-88 and SC-88 PRO
<andlabs> 2) they won't ship to the US
<cr1901_modern> Oh... re: 2) :/
<ValleyBell> Yeah, it's UK only.
<SceneCAT> yeah, i just noticed it too... "
<SceneCAT> May not ship to Netherlands" .....
<Sarayan> .kastkig L##y
<cr1901_modern> kastkig?
<Sarayan> lastlog megatypoed
<Sarayan> the 68k microcode months took... I think several months to vectorize, with the wife wondering what I was clicking so much one
<Sarayan> -e
<Sarayan> si nlut, frankly, is *small(
<Sarayan> *
<cr1901_modern> How long did it take to extract the contents _after_ finishing drawing the rectangles if you remember?
<ValleyBell> SceneCAT: Re MU128v2 - I think the only thing is adds is GM Level 2 support.
<ValleyBell> which nobody uses
<SceneCAT> and some more XG instr and or voices i guess
<SceneCAT> also: http://dbwbp.com/index.php/9-misc/37-synth-eprom-dumps ...but you prolly know that url for long time huh?
<SceneCAT> no cm-32p listed...
<SceneCAT> *huhmpf*
<ValleyBell> Yes, because we don't have a CM-32P ROM yet.
<ValleyBell> cr1901_modern: Would it make sense to ask around in #mamedev maybe?
<cr1901_modern> Probably, but just FYI I'm not involved w/ MAME :P
<cr1901_modern> What's the particular reason you can't purchase this yourself?
<ValleyBell> I have no idea how to dump a ROM
<ValleyBell> and I'm in Germany, so shipping here may not work either
<cr1901_modern> Buy an aftermarket TL866
<cr1901_modern> it's probably the most extensive ROM dumper for the cost
<cr1901_modern> Anyways I would ask #mamedev and see if anyone's willing to help
<ValleyBell> tl;dr I'd like someone who already dumped things in the past do it - in order to reduce the chance of breaking something.
<ValleyBell> This and mamedev are the only channels I'm in that are dealing with reverse-engineering and ROMs on such a low leve.
<ValleyBell> *level
<cr1901_modern> mmm :/
<ValleyBell> SceneCAT: I would recommend to try dumping the original MU128 ROM first before doing the upgrade.
<ValleyBell> nice trivia: The "upgrade" data file (V200Q.ydl) is just a usual .MID file with the first 4 bytes being "NZem".
<ValleyBell> The actual upgrade is done by sending tons of SysEx data.
<ValleyBell> Considering that the file is about 2 MB, it probably contains most of the ROM data encoded in some form.
<Sarayan> ValleyBell: sadly, not all of it
<Sarayan> not enough to boot it up
<ValleyBell> Oh, did you decode it already?
<Sarayan> yup
<ValleyBell> neat!
<SceneCAT> ValleyBell: correct, my thtought exactly...dump rom before even updating
<SceneCAT> didn't locate the ROM in the Service Manual yet tho
<Sarayan> og.kervella.org/mu128
<SceneCAT> wow! ' 2019-09-21 '
<Sarayan> -rw-r--r-- 1 galibert users 2953 Dec 18 2018 v200d.cc
<Sarayan> scp reset the date
<Sarayan> hmm, SOP roms, not that good
<ValleyBell> thanks - maybe I can extract the demo MIDI of that dump
<Sarayan> in the shematics just under the cpu, right of the sram
<ValleyBell> Okay, so I dumped a total of 6 MIDIs from the MU128 upgrade ROM.
<ValleyBell> From the MU80 and MU100 I know that commands for each port get their own MIDI data section.
<ValleyBell> but uh ... 4 ports and 6 files
<Sarayan> VB: checked the .cc file?
<ValleyBell> I used the .bin
<ValleyBell> but yeah, I had a quick look and it's indeed a pretty easy encoding
<Sarayan> the .bin is the upgraded rom as if the original was all ff
<ValleyBell> For reference, the demo songs are stored at offset 0x0A8500 to 0x0D8FF1
<ValleyBell> there's no FF padding on that section (except for a single byte)
<Sarayan> fun
<ValleyBell> file #4 does the text display for the demo
<Sarayan> there are multiple demo songs?
<ValleyBell> file #6 is .. credits
<Sarayan> RB tried running the "rom", but he told me it goes to lalaland
<ValleyBell> yeah, I see a large block of FFs in the area that had the pointer list for MU100 demo song in the MU100 ROM
<ValleyBell> I unfortunately can't use the 128's 4 ports.
<ValleyBell> It only has "MIDI IN A" and "B"
<ValleyBell> and I'd see to use the "ToHost" mode + a special driver in order to use all 4 ports
<ValleyBell> *I'd have to use
<ValleyBell> With the correct offsets, my TG100 tool can convert all the demo tracks.
<ValleyBell> The format didn't change between the TG100 and the MU128
<ValleyBell> also: use "scp -p" in order to keep the date
<ValleyBell> (I do this a lot.)
fseidel has quit [Quit: Lost terminal]
Xyz_39808 has quit [Read error: Connection reset by peer]
Xyz_39808 has joined ##yamahasynths
Xyz_39808 has quit [Ping timeout: 245 seconds]
<andlabs> "Recomposer is a MIDI sequencer that was very popular in Japan, especially on the PC-9801 and X68000. Some games (like Granada on the X68000) even used raw RCP files in their games."
<andlabs> oh good, that means this is what motoi sakuraba used
<andlabs> so that's another thing to add to a yja saved search list I'm too lazy to create
<andlabs> I wrote this tool to convert music from late MegaDrive Wolfteam games. (The ones with PCM support.) But it can also convert songs from X68000 Wolfteam games.
<andlabs> I thought they all just used Cube but apparently that was just Granada
<andlabs> also why did CRV change everything from Cube/Noriyuki Iwadare to Cube/random name here
<andlabs> "Currently, only ZMD v1 files are supported. The games I used for testing were Cyber Block Metal Orange EX and Magical Block Carat on the X68000. ZMD v2 (Asuka 120% Burning Fest.) doesn't work correctly yet due to unknown commands. ZMD v3 is quite different from v1/v2, so that might be done by a separate tool." 1) Reverie detected 2) that ISN'T hitoshi sakimoto's sound driver?
<ValleyBell> Asuka 120% is working in my local repo
<ValleyBell> I just haven't pushed the changes yet
<ValleyBell> also, Recomposer is what almost everyone used, apparently
<ValleyBell> There are at least 3 custom sound formats that have traces of RCP somewhere
<ValleyBell> like using the same note format or using the same command byte for MIDI controllers and pitch bends
Xyz_39808 has joined ##yamahasynths
ej5 has joined ##yamahasynths
<ValleyBell> MsDRV: RCP command bytes at 0xDD to 0xEE and same note format
<ValleyBell> Wolfteam formats: sequence data is stored in "measures" that end with RCP-style 0xFD byte, also same note format
<ValleyBell> (I thought there was another one, but I might misremember.)
<Lord_Nightmare> andlabs: if you need to borrow an mt-32 i had several of them, one of which i sacrificed for the la32 decap, and the others aren't being used right now
<Lord_Nightmare> I'm in the us
<ej5> are MT-32s still fairly common?
<cr1901_modern> There's a CM-32P module on Ebay w/ an undumped ROM. But only sells to UK
<cr1901_modern> looking for someone to buy and dump it (w/ reimbursment AIUI)