Deunan wrote on 2021-10-14, 11:12:
Take another look. I think you missed an FGPA
I was replying to weird insinuations about crossing 3.3-5V barrier somehow being an insurmountable challenge
Deunan wrote on 2021-10-14, 11:12: - with all the logic in it.
As already stated this can be bitbanged. Afaik no programmable logic in LPC18xx https://shop.tattiebogle.net/images/idesim_normal.png
Deunan wrote on 2021-10-14, 11:12:
Also, what can this do, exactly? Somehow I doubt it properly emulates ATA commands to switch the PIO modes
afaik it doesnt work like that. you dont switch device speeds, you read device capabilities returned by Identify command "Word 51: PIO Data Transfer Cycle Timing Mode." and set your controlled to an appropriate PIO mode
Deunan wrote on 2021-10-14, 11:12: rather it has one or two baked-in timings and hopes the host will not attempt anything faster
see above, host has to query speed and set itself to comply
Deunan wrote on 2021-10-14, 11:12:
so where is the problem then? 😀 why are you arguing so vehemently about something being impossible/uber difficult when it was already done twice
Deunan wrote on 2021-10-14, 11:12:
rasz_pl wrote on 2021-10-14, 10:34:
Isnt that exactly what xstation is doing? injecting data at the point of laser output, similar to how modchips injected data (ATIP wobble) directly into tracking output pins?
Frankly I do not know exactly how these work
wait, didnt you make like 3 of those emulators already ? 😀 That makes it even more impressive!
Deunan wrote on 2021-10-14, 11:12:
, but chances are it's a layer above the direct laser stream. I mean, the console itself would need a fast ADC and logic to process such data to tell if it's legit or not
???
There is no ADC, data on the disk is already digital. CD ASICs work in a similar manner to floppy controllers - there is some kind of RF amp, then PLL and comparator - all of this is used to recover original clock and clean up the data flow. Then you have EFM decoder, descrambling, reformatting, CRC error checks etc.
Deunan wrote on 2021-10-14, 11:12:
why do that if you can have an ASIC return it in already digitized and somewhat processed way, like what Saturn does.
Saturn. Saturn is a great example of design by a committee (or a few). Its a hodge podge of everything, so many chips, busses, processors. I think I tried counting all of the separate busses at some point and ended up at 144bits or something crazy like that 😮. No DFM, no integration. In Saturn it looks like HD49232 handles this preliminary decoding +4 other chips to arrive at actual data. Looking at schematics you inject data into YGR019A 124-131 pins, + obviously monitor laser head position.
In early PSX you have small RF amplifier + big Sony ASIC consuming RFAC and doing everything from clock recovery, thru decoding cdrom data to sound DSP.
Deunan wrote on 2021-10-14, 11:12: But even if that was a laser stream - it's for a console, and not even every mobo is supported.
You are the best person to answer why. Isnt it just a matter of pinouts and connectors (20/21) in your case?
Deunan wrote on 2021-10-14, 11:12: You can take some shorcuts if you know the system well, the emulation doesn't need to be perfect, or even correct as such. It only needs to fool the mobo, by whatever means it takes, to accept the "CD-ROM" as valid. Maybe they found a simple glitch that somehow works.
There is no glitch required. You need to scramble and EFM encode CD data before injecting to emulate stream from the laser diode, same procedure as in CD Writing.
https://en.wikipedia.org/wiki/Eight-to-fourteen_modulation
https://www.ecma-international.org/wp-content … n_june_1996.pdf
https://github.com/simoninns/EFM-Decoder
https://debugmo.de/2007/07/read-your-dvds-the-raw-way/
"Dissecting the CD Player: How to Turn Shiny Plastic into Music" by Technology Connections https://www.youtube.com/watch?v=3yJqlD9RxD4 https://www.youtube.com/watch?v=7olNiMCz9to
Deunan wrote on 2021-10-14, 11:12:
You clearly know better but I have to ask, if it's so simple why isn't there a ton of ODEs for PC based on ESP32 or RPi already on the market?
cheeky, probably same reason ordering gdemu is a smooth and easy experience 😀