Search found 58 matches

by pyroholic
Fri Jan 10, 2020 2:23 pm
Forum: Hardware / Modding
Topic: DVD Drive Emulator Question
Replies: 338
Views: 488016

Re: DVD Drive Emulator Question

Nice work meneerbeer, fun to see a complete product available for the masses. I'm considering making my own contraption API compatible with yours, I'm too lazy to add Swiss support myself ;) I have some hardware problems on my board as well as too many projects and too little time to put on somethin...
by pyroholic
Tue Oct 24, 2017 9:25 pm
Forum: Hardware / Modding
Topic: DVD Drive Emulator Question
Replies: 338
Views: 488016

Re: DVD Drive Emulator Question

I will take a look at the requested read sizes between working and failing games. Meanwhile, I ordered a PCB so I can work on this thing a bit more easily. I really do not like having a lot of wires running all over the place. What debug capabilities do you have? Can you log the drive commands/resp...
by pyroholic
Mon Apr 04, 2016 11:43 am
Forum: Hardware / Modding
Topic: DVD Drive IO voltage
Replies: 90
Views: 69784

Re: DVD Drive IO voltage

Thanks! I updated the sync generation so that it is configurable from software, so each time the video mode changes it generates an interrupt. The software driver then determines which video mode that is active and configures the sync generator so that sync pulses are generated with correct placemen...
by pyroholic
Wed Mar 30, 2016 3:55 pm
Forum: Hardware / Modding
Topic: The Definitive DI / DVD Interface Thread
Replies: 19
Views: 20108

Re: The Definitive DI / DVD Interface Thread

You could maybe get away with the writes from the drive to the cube using a bit-bang approach but most likely slow. Reading the commands transferred by the cube would most likely be very difficult. It should be possible to make a solution with a cpld or fpga to handle communication but you would sti...
by pyroholic
Wed Mar 30, 2016 6:54 am
Forum: Hardware / Modding
Topic: The Definitive DI / DVD Interface Thread
Replies: 19
Views: 20108

Re: The Definitive DI / DVD Interface Thread

Ok, I guess that might be why I've never seen it toggle. Perhaps it is asserted before a dre happens. My guess is that the cube asserts the break signal for a short period and then releases it, the dvd responds by holding the break signal on the asserted level until the break is complete. It should ...
by pyroholic
Tue Mar 29, 2016 7:13 pm
Forum: Hardware / Modding
Topic: The Definitive DI / DVD Interface Thread
Replies: 19
Views: 20108

Re: The Definitive DI / DVD Interface Thread

Currently i use a system clock of 125 MHz divided by six to generate the strobe signal, so it toggles every third clock resulting in 20.83 MHz and so far no issues.

I measure zero ohms resistance between moni / monout pins and grund on the drive board so i guess they are really ground pins.
by pyroholic
Mon Mar 28, 2016 5:34 pm
Forum: Hardware / Modding
Topic: DVD Drive IO voltage
Replies: 90
Views: 69784

Re: DVD Drive IO voltage

I have had some other stuff going on the last couple of weeks but I have not been slacking entirely. I drew up and ordered a PCB for a HDMI expansion card for my development board, that took a couple of weeks to get here from china but it looked fine and works with no issues. So I started by porting...
by pyroholic
Wed Mar 23, 2016 6:26 pm
Forum: Hardware / Modding
Topic: The Definitive DI / DVD Interface Thread
Replies: 19
Views: 20108

Re: The Definitive DI / DVD Interface Thread

AISLR should be driven by the drive in either case. Actually... AISLR may be Cube controlled too. Check this VHDL for the CrazyNation version? Indeed, I misremembered that - when an I2S receiver is the master device, the only signal driven by the sender is the data line. Yes that is correct, the cu...
by pyroholic
Thu Feb 18, 2016 4:59 pm
Forum: Hardware / Modding
Topic: DVD Drive IO voltage
Replies: 90
Views: 69784

Re: DVD Drive IO voltage

That's what i think as well, but it is that incorrect one in the msb that get me wondering. I forgot to write it in the previous post but if I move the sample point and get the card status bits are correct with 0x40 an 0x1 (ready and unlocked) but the first bot is then also set so the response looks...
by pyroholic
Wed Feb 17, 2016 9:53 pm
Forum: Hardware / Modding
Topic: DVD Drive IO voltage
Replies: 90
Views: 69784

Re: DVD Drive IO voltage

Yes, it is quite loaded with interfaces, ethernet, can, spi, i2c, usb, sd, etc. It would definitely be pretty cool to implement a BBA on it, don't know how much work it would be but my guess is that it won't be worth the effort. I have gotten both burst writes and reads working properly and fixed a ...
by pyroholic
Mon Feb 15, 2016 10:29 pm
Forum: Hardware / Modding
Topic: DVD Drive IO voltage
Replies: 90
Views: 69784

Re: DVD Drive IO voltage

I'll try out Ultimate Spide-man and Rogue Squadron some day to see how it works. There is some overhead for the linux kernel to set up DMA buffers and calculate which blocks to transfer from the USB stick before my driver can setup the DMA engine and start streaming to the dvd interface, maybe that ...
by pyroholic
Tue Feb 09, 2016 5:07 pm
Forum: Hardware / Modding
Topic: DVD Drive IO voltage
Replies: 90
Views: 69784

Re: DVD Drive IO voltage

Thanks a lot for the info tueidj! I have to agree with emu_kidid, very good explanation and very thorough. I think I have all the information that I need for a prototype implementation. My general thoughts to implement the controller is to allocate a RAM region that can fit the entire memory card da...
by pyroholic
Sat Feb 06, 2016 9:27 pm
Forum: Hardware / Modding
Topic: DVD Drive IO voltage
Replies: 90
Views: 69784

Re: DVD Drive IO voltage

I have started looking at the memory card emulation, what I have so far is a simple spi-decoder that receives commands and puts the command data in registers. I have looked a bit at the transfers using the logic analyzer and it seems pretty straight forward. There seems to be some kind of starting s...
by pyroholic
Mon Feb 01, 2016 8:44 pm
Forum: Hardware / Modding
Topic: DVD Drive IO voltage
Replies: 90
Views: 69784

Re: DVD Drive IO voltage

Yeah, it has been going pretty smoothly. I got the noise issue sorted out. I did manage to get the audio driver to lock up, but then by some chance it worked after I reversed the changes and changed the order that it sends the stop signal to the audio processing thread and disabled the decoder. So f...
by pyroholic
Tue Jan 26, 2016 7:04 pm
Forum: Hardware / Modding
Topic: DVD Drive IO voltage
Replies: 90
Views: 69784

Re: DVD Drive IO voltage

Cancel should stop the stream immediately. The only thing you should wait for before completing a cancel request is for any in-progress reads of the raw ADPCM data from the disk/iso to finish. That seems to have done the trick, i took the simple approach by flushing all DMA transfers and the ADPCM ...
by pyroholic
Mon Jan 25, 2016 9:36 pm
Forum: Hardware / Modding
Topic: DVD Drive IO voltage
Replies: 90
Views: 69784

Re: DVD Drive IO voltage

You've been teasing us long enough, time for a video :) I'll see what I can do about that :) Anyway I think i have figured out why the streaming audio stops working in waverace. It seems that my audio thread sleeps while waiting for transfer complete interrupt from the DMA controller after the stre...
by pyroholic
Sun Jan 24, 2016 11:32 pm
Forum: Hardware / Modding
Topic: DVD Drive IO voltage
Replies: 90
Views: 69784

Re: DVD Drive IO voltage

Hope you get it sorted out, nothing beats the satisfaction when you get your stuff working after hors of frustration :) I have gotten the audio streaming mostly working I think. Eternal Darkness boots and the poem sounds nice, and background music seems correct as well. I tested wave race as well an...
by pyroholic
Sun Jan 24, 2016 7:15 pm
Forum: Hardware / Modding
Topic: DVD Drive IO voltage
Replies: 90
Views: 69784

Re: DVD Drive IO voltage

It's been a while since posting in this thread, I have had a lot of other stuff going on preventing me from doing any work in this. Anyway, I have been working with audio streaming the last couple of days and have a working decoder with a separate DMA engine feeding it samples. I spent some time ver...
by pyroholic
Wed Jan 13, 2016 11:14 am
Forum: Hardware / Modding
Topic: DVD Drive Emulator Question
Replies: 338
Views: 488016

Re: DVD Drive Emulator Question

I had missed the snickerdoodle board actually, I looked for a chrap board last year but could not find one. This one is basic alla the procent of the parts if you order one of each so a good puckade in my opinion. I'll see if I can have one ordered to work and try it out.
by pyroholic
Tue Jan 12, 2016 9:58 pm
Forum: Hardware / Modding
Topic: DVD Drive Emulator Question
Replies: 338
Views: 488016

Re: DVD Drive Emulator Question

I can't really say how much the frequency matters on the drive. After some more investigation into my problem with high speed transfers it seemed that it was not due to the transfer itself but actually some cache issues due to some mistake I made. I'm not sure why it worked with smaller buffers sinc...
by pyroholic
Tue Jan 12, 2016 9:17 pm
Forum: Hardware / Modding
Topic: Cloning the GameCube component cable
Replies: 723
Views: 773842

Re: Cloning the GameCube component cable

It should be possible without a full frame buffer. unless the number of blanking lines differ greatly there should be no need to buffer much data. Most LCD-displays I have worked with have a configurable number of blanking lines and number of pixels/line, if you find a clock frequency so that frame ...
by pyroholic
Tue Jan 12, 2016 7:21 pm
Forum: Hardware / Modding
Topic: DVD Drive Emulator Question
Replies: 338
Views: 488016

Re: DVD Drive Emulator Question

Nice that the regular mblite worked better, 100mhz is not too shabby. Even if you have fat32 support from swiss, you are still going to need some basic functions from the filesystem implemented in software to fetch block addresses for the clusters, otherwise you would need to make a table with the m...
by pyroholic
Tue Jan 12, 2016 2:54 pm
Forum: Hardware / Modding
Topic: DVD Drive Emulator Question
Replies: 338
Views: 488016

Re: DVD Drive Emulator Question

You should just be able to map the peripheral registers as memory so that's no problem. For audio streaming I would implement the decoding in the fabric and feed it using the cpu and a buffer.
by pyroholic
Tue Jan 12, 2016 2:13 pm
Forum: Hardware / Modding
Topic: DVD Drive Emulator Question
Replies: 338
Views: 488016

Re: DVD Drive Emulator Question

Ok, then it should definitely be able to run a soft core at 50mhz. I took a quick peak at zpu, seems to run 4 cycles/instruction, which might be a bit slow. There are a couple of nice 32-bit soft cores, leon3 and openrisc that are synthesizable at pretty high frequencies, or if you want a small 8-bi...
by pyroholic
Tue Jan 12, 2016 12:59 pm
Forum: Hardware / Modding
Topic: DVD Drive Emulator Question
Replies: 338
Views: 488016

Re: DVD Drive Emulator Question

Which fpga chip are you running? I don't think 50mhz should be a problem for a light weight processor. You could also go for a simpler architecture if you find one which has a decent compile for it. Unless you are going to run an os on it an 8-bit cpu should have no problems. I wrote a nes emulator ...