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
andlabs has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cr1901_modern1> ej5: I'm pretty sure the _earliest_ PCI chipset (forget the part name- datasheet is online tho) didn't support IOAPIC, so you were limited to the AT IRQs only. But good question, should look it up when I have time
<ej5> had a question about the snake baker, somebody wanted a PCI/PCIe version
<whitequark> PCIe.
<whitequark> or do you mean one of those flipping cards
<cr1901_modern1> ej5: This article answers your question for the earliest PCI chipset (supports level/edge ints, maps INTA to an ISA bus IRQ): http://web.archive.org/web/20180316140005/http://www.os2museum.com/wp/intel-420tx-chipset/
<cr1901_modern1> Dunno when LPC was introduced, this so far is the only PCI chipset I find interesting :P
<whitequark> LPC is pretty late
<whitequark> also, 420 lol
<cr1901_modern1> Inb4 "Intel was high when designing the chipset"
<futarisIRCcloud> Do something like: https://www.youtube.com/watch?v=rgIF8uG-2G0 - PCIe to PCI card.
<cr1901_modern1> Thunderbolt ISA card
<whitequark> i men
<whitequark> *i mean
<whitequark> i might do that
<whitequark> i mean i COULD do that RIGHT NOW if i hated myself enough
<whitequark> to cannibalize one or more existing TBT cards and figure out the ballout
<whitequark> but it's a lot of hate
<futarisIRCcloud> And put a CH375 on the ISA bus...
<cr1901_modern1> Yea that's the traditional way to get USB onto the ISA bus
<cr1901_modern1> I think I'd rather go the FPGA soft-core route or something
<whitequark> ch375 can only do storage, no?
<whitequark> from the datasheet, if i'm not misreading
<cr1901_modern1> Looks like 375 supports generic USB devices
<futarisIRCcloud> You can do HID, etc.
<whitequark> so a very similar question just came up on ##openfpga
<whitequark> so i suggested sl811hst-axc
<whitequark> seems like ch375 but actually documented
<cr1901_modern1> Huh... the datasheet even explicitly mentions ISA
<whitequark> yep
<whitequark> it's one of the nice cypress chips
<whitequark> oh that's cool
<whitequark> cr1901_modern1: have you thought about the glasgow isa adapter btw?
<cr1901_modern1> No, not for a lack of interest, but b/c I've been unwell and all over the place. The "boneless LPC" approach will be fine
<cr1901_modern1> it's clk, frame, d0-d3... frame goes high when d0-d3 represents a token, low otherwise to represent the token payload
<cr1901_modern1> IIRC
<whitequark> yep
<whitequark> i'm entirely willing to get an ISA motherboard and play with this
<whitequark> the laptop doesn't seem to have ISA anywhere
<whitequark> only PCMCIA which is a pain in the ass to hook up
<cr1901_modern1> it's not exposed :P, but yes
<cr1901_modern1> futarisIRCcloud: That is sold out sadly
<cr1901_modern1> But I LOVED the product and I wish I purchased one... ahhh well
* cr1901_modern1 was gifted an actual 5150 board for experiments
<whitequark> futarisIRCcloud: see the thing is i dont actually like old computers at all
<whitequark> i just happen to constantly stumble into them
<cr1901_modern1> clk is 6 times the ISA bus freq for boneless LPC... is that going to be enough (8 data pins + 20 addr pins on the ISA bus)
<cr1901_modern1> well 10* if you're only using port-mapped I/O
<whitequark> no, i want memory-mapped
<whitequark> and it's more than enough
<whitequark> since on ISA you have SIX cycles to respond
<whitequark> i mean, it's really overkill
<whitequark> you need to transmit 8 nibbles
<whitequark> and then receive 2
<whitequark> so, you have 12 nibbles (including two bus turnarounds) and 6 ISA cycles
<whitequark> you could easily multiply it by 4 instead of 6, honestly
<cr1901_modern1> Oh, the six times comes from addr nibble plus 5 nibble payload
<cr1901_modern1> which should be the maximum packet len
<whitequark> yes
<whitequark> it just makes it slightly more elegant
<cr1901_modern1> and if you multiplied by 4 instead of six, you'd need more pins on glasgow IIUC
<cr1901_modern1> 20/3 pins
<whitequark> no
<whitequark> same amount of pins
<whitequark> you'd just respond slower
<whitequark> but since ISA bus cycle times are fixed anyway and there's no way to see if the card responded earlier...
<whitequark> like, no matter what you do, any ISA bus cycle is 6 ISA clocks
<whitequark> it's pretty stupid honestly
<cr1901_modern1> >you'd just respond slower
<cr1901_modern1> It _does_ work nicer if you do 6 times, because you only have to store the current clock cycle's pins that are ready (e.g. at 4 times, you're still sending out the addr when the next clk cycle rolls around)
<whitequark> yes
<whitequark> but it's not super important
<whitequark> cr1901_modern1: you know what's silly?
<cr1901_modern1> Lots of things
<whitequark> i can't find any discrete pll that can multiply 10 MHz by 6
<whitequark> these are all devices twice older than me...
<whitequark> well either that or you get like rf shit
<cr1901_modern1> the phase detector used on the IBM PC's original floppy controller can probably do 4.77 MHz... create your own manual loop filter and then feed it into a manual VCO that's 4.77*6
<cr1901_modern1> and then divide by six w/ a counter TTL chip
<cr1901_modern1> Well, that's how the floppy controller does it anyway...
<whitequark> *tons* of parts that can do PCIe clock
<cr1901_modern1> yea, not much use for low freq PLLs anymore.
<whitequark> this one works
<whitequark> but it uses an OTP ROM
<cr1901_modern1> hmmm... guessing phase detector chips aren't really a thing anymore either
<cr1901_modern1> (not that it's difficult to make one on an FPGA)
<whitequark> you can still get ancient ones
<cr1901_modern1> right
<cr1901_modern1> whitequark: What I would do personally is phase detector on FPGA, sigma-delta out, rely on a discrete loop filter cutoff being far below fundamental freq, then use a discrete VCO. Feed that signal back into a "count up to 6" counter, which becomes one phase detector input. And your 4.77MHz clock becomes the other phase detector input.
<cr1901_modern1> Well I would _test_ that anyway and see how good/bad it works in practice
<whitequark> I guss
<whitequark> *guess
<Wohali> phase detection on square waves is trivial
<whitequark> oh btw
<Wohali> analogue solutions work well for other waveforms
<whitequark> can someone here explain me how to make a working digital domain PLL for the FDC?
<whitequark> i tried to make one but it doesn't really work
<whitequark> and i'm not sure why
<cr1901_modern1> I got a working PLL, but I couldn't explain why it worked
<cr1901_modern1> so I moved onto something else
<cr1901_modern1> err, a synchronous counter approach instead*
<cr1901_modern1> Wohali: Right, these are square waves thankfully. The loop filter is what causes me pain b/c finite wordlength effects bullshit.
<Wohali> simple xor can work
<cr1901_modern1> And of course a digital NCO is going to have inherent jitter compared to an analog VCO (even if the NCO _does_ correctly track frequency and phase)
<Wohali> or you can do the D flip flop style if you want the higher accuracy (and know ahead of time the phases won't be too badly out of phase)
<cr1901_modern1> Not familiar w/ that approach
<Wohali> neither needs an FPGA
<Wohali> that's what the old rca/motorola chips did
<cr1901_modern1> My problem w/ xor gate is that it can't actually distinguish which signal is trailing or lagging... just that they are out of phase. If you use a small FSM, you can track which signal is trailing/lagging up to 180 degrees out of phase (at which point you have bigger problems)
<Wohali> well, the assumption is you can adjust the phase of either of the signals to compensate
<cr1901_modern1> Wohali: Yes, the D flip flop style is the approach I was thinking of, my apologies for not making that clear
<Wohali> if you put a little delay in the phase detector reset path (on the output of that NAND gate, but before it feeds into the reset terminals) you'll have a forced minimum pulse length and you can avoid the dead zone
<cr1901_modern1> I couldn't remember the name of it
<Wohali> these are also frequency sensitive unlike the analogue versions, which may be for or against your intended application
<cr1901_modern1> I don't remember the details about freq sensitivity
andlabs has joined ##yamahasynths
cr1901_modern1 has quit [Quit: Leaving.]
cr1901_modern has joined ##yamahasynths
<cr1901_modern> futarisIRCcloud: The website for that PCB appears to be down and not in internet archive
<cr1901_modern> furthermore someone would have to write a USB stack for IBM PC (or if they're doing their own custom ISA system, port an existing embedded one)
<cr1901_modern> So it attaches as a GPIO device and the user is expected to "bytebang" to talk to the USB device?
<futarisIRCcloud> Looks like it.
_whitelogger has joined ##yamahasynths
andlabs has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andlabs has joined ##yamahasynths
<cr1901_modern> ej5: https://twitter.com/TubeTimeUS/status/1124499714383024129 The Langoliers, except it's all starfish
andlabs has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ej5> true story: i was super into photography like 10 years ago.
<cr1901_modern> I was a railfan/foamer 10 years ago lmao
<cr1901_modern> https://twitter.com/UP_Steam/status/1124130607137787909 Guess I still am- RT'd this today- but I know better than to make it part of my brand
<ej5> the photography skills i picked up have served me well ;)
<cr1901_modern> haha indeed
<cr1901_modern> as well as your video skills
<ej5> also i take a train to work. it's diesel but i think it still counts.
<cr1901_modern> Sure... diesel is cool too. I would happily take PATCO into work if I worked in Philly
<cr1901_modern> Though I hear BART kinda sucks
<cr1901_modern> (through no fault of their own- lack of funding etc)
<ej5> too many crazy people
andlabs has joined ##yamahasynths
<ej5> yeah it's just caltrain. they run a few japanese cars though which is interesting
<cr1901_modern> I suppose I shouldn't complain about BART... the Atlantic City Line, which I sometimes take to the shore, shut down September 4, 2018... it is only going back into service May 12
<cr1901_modern> MONTHS behind schedule
<cr1901_modern> guess I should be thankful the repairs worked at all
<ej5> looks like the engines are mostly https://en.wikipedia.org/wiki/EMD_F40PH
<cr1901_modern> I'm not good at distinguishing engines, tbh :(... EMD and GE are basically the only two engine manufacturers left IIRC
<ej5> in the US anyway
<ej5> we're basically a living rail museum at this point :(
<ej5> a good chunk of our rail cars were built in 1985
<cr1901_modern> :(
<cr1901_modern> I heard the BART rails are around that old too- maybe even older
<cr1901_modern> GP40PHs
<cr1901_modern> damned if I know the difference
<cr1901_modern> they are well beyond the expected life span
<ej5> true story, my grandfather worked on their original ticketing system. i have a few prototype tickets laying around.
<ej5> lol
<cr1901_modern> sweet, that'll make a good thread for the latent foamers who follow you :P
SceneCAT has quit [Read error: Connection reset by peer]
SceneCAT has joined ##yamahasynths
SceneCAT^APUG has joined ##yamahasynths
SceneCAT has quit [Ping timeout: 258 seconds]
<Wohali> foamer?
<ej5> synonym for a barista
<Wohali> sh
<Wohali> ah*
<Wohali> baritas like ticketing systems?
Xyz_39808 has joined ##yamahasynths
Xyz39808 has quit [Ping timeout: 276 seconds]
glowcoil has quit []
glowcoil has joined ##yamahasynths
_whitelogger has quit [Remote host closed the connection]
_whitelogger_ has joined ##yamahasynths
l_oliveira has joined ##yamahasynths
SceneCAT^APUG has quit [Quit: *Mreow*]
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
SceneCAT has joined ##yamahasynths
_whitelogger has joined ##yamahasynths
<whitequark> i got some YMF262-Ms without the "OPL" calligraphy logo
<whitequark> i can't figure out how is it faked if it is
<whitequark> the mold looks pretty much identical, mold flash, pin1 mark, dimensions, texture
<whitequark> fake?
<whitequark> so it is not sanded down
<Sarayan> decap it :-)
<Sarayan> hi you
<whitequark> welll sure
<whitequark> also
<whitequark> wtf is this
<whitequark> and does anyone want it
<cr1901_modern> Looks like the control unit for a > 7in hard drive
<cr1901_modern> err > 5in.
<Sarayan> the second one is a cat
<cr1901_modern> Your cat appears to be working properly
<Sarayan> 8086-based notebook
<l_oliveira> I have some OPL3s without logos, on plastic carrier
<l_oliveira> I think after 1993 or 1994 they dropped the logo
<whitequark> ahh
<l_oliveira> the ones I have are 1995
<whitequark> these are 94
<l_oliveira> like 20+
<l_oliveira> lemme find them
<l_oliveira> my memory might be wrong
<l_oliveira> oooooookay
<l_oliveira> it's the opposite
<l_oliveira> older chips have no logo
<whitequark> interesting
<l_oliveira> oldest chip I have is 9250 EAHC
<whitequark> any 94 ones with logo?
<l_oliveira> newest one without logo is 9402 EAMC
<whitequark> these are 9403
<whitequark> GAGE
<whitequark> *GAGC
<l_oliveira> with logo?
<whitequark> no logo
<l_oliveira> the oldest one with logo is 9449 FAQC
<l_oliveira> is that useful info?
<whitequark> yes, very much
<whitequark> they must be genuine then
<l_oliveira> I actually overestimed my stock
<l_oliveira> I have 10 NOS chips
<l_oliveira> 9525 FAJC
<l_oliveira> the others I took from ISA cards that were being trashed
<l_oliveira> stuff like Aztech cards for example (surprisingly enough most of these had real OPL3 chips in them)
<l_oliveira> the 92 one came from my own Soudblaster PRO2 card (I still own the card, might eventually put it back there
<whitequark> yes i have an OPL with logo from an aztech card
<whitequark> seems real
<whitequark> so i was poking at floppies, making histograms of domain sizes https://twitter.com/whitequark/status/1124746830305271808
<whitequark> it looks like the frequency varies very very little between tracks
<whitequark> so what i'm trying to figure out, what
<whitequark> is a good way to make a PFD that works at a wide frequency range and doesn't exhibit false locks?
<whitequark> i've prototyped a rotational frequency detector and it's super fragile and prone to locking to something that doesn't exist
<Foone_> https://www.ebay.com/itm/133041421373?ul_noapp=true interesting: a CT-1320C that's being sold as
<Foone_> "not working"
<Foone_> not "unknown condition" but tested & broken
futarisIRCcloud has joined ##yamahasynths