"Let's make GD ROM emulation happen" Facebook group.

Discussion in 'Sega Dreamcast Development and Research' started by sonicdude10, Jun 18, 2012.

Tags: Add Tags
  1. Cyantist

    Cyantist Site Supporter 2012,2013,2014,2015

    Joined:
    Oct 28, 2008
    Messages:
    4,158
    Likes Received:
    20
    Because reverse engineering ancient software/hardware that in some cases documents cant be released for is absolutely the same as reverse engineering an active project that if you weren't entitled by recognition might actually be released without you having to go through the process off pissing off somebody AND having to do a bunch of work are one and the same right?

    PPS: You might learn a lot by looking at the FOSS movement and seeing how projects can benefit hugely from merging/using source code etcetera from other projects.

    insane resi 1.5 fanboys gonna insane tho
     
  2. Mario

    Mario Active Member

    Joined:
    Feb 8, 2014
    Messages:
    34
    Likes Received:
    1
    It doesn't matter anyway - it's nearly impossible to extract firmware off a microcontroller in any useful fashion. And sniffing the data lines is useless as well if it does properly emulate a GD drive; there will be no difference between the two. :p
     
  3. lovewiibrew

    lovewiibrew Site Supporter 2012

    Joined:
    May 23, 2011
    Messages:
    148
    Likes Received:
    16
    You may want to research how to prevent writing run-on sentences.
     
  4. darcagn

    darcagn Site Supporter 2013, Site Supporter 2014

    Joined:
    May 12, 2007
    Messages:
    529
    Likes Received:
    247

    A run-on sentence is one that contains two independent clauses without the proper punctuation.
    A run-on sentence is not a sentence that is too complex or long for its audience to read.

    Cyantist's post only contained one of the two options above; I'll let you figure out which one it is.
     
  5. sonicdude10

    sonicdude10 So long AG and thanks for all the fish!

    Joined:
    Jan 17, 2012
    Messages:
    2,573
    Likes Received:
    29
    LOL. Good one.
     
  6. Cyantist

    Cyantist Site Supporter 2012,2013,2014,2015

    Joined:
    Oct 28, 2008
    Messages:
    4,158
    Likes Received:
    20
    "He's got me there! I know, I'll point out a slight error with his grammar, not knowing if English is not his first language or if he struggles with it"

    You got me there bro
     
  7. -=FamilyGuy=-

    -=FamilyGuy=- Site Supporter 2049

    Joined:
    Mar 3, 2007
    Messages:
    3,034
    Likes Received:
    893
  8. cybdyn

    cybdyn Embedded developer (MCU & FPGA)

    Joined:
    Jan 12, 2012
    Messages:
    551
    Likes Received:
    4
    i have got all parts,
    i found few bugs, it took 1..2 days to found each.
    now i'm working on fpga code, and code for ARM.
    maybe soon i'll attach dcio to DC, and make vid. maybe ask OzONe.
     
  9. madsheep

    madsheep Peppy Member

    Joined:
    Jul 19, 2013
    Messages:
    313
    Likes Received:
    78
    CD Audio support?
     
  10. cybdyn

    cybdyn Embedded developer (MCU & FPGA)

    Joined:
    Jan 12, 2012
    Messages:
    551
    Likes Received:
    4
    in future
     
    Last edited: Mar 6, 2014
  11. voultar

    voultar Rapidly Rising Member

    Joined:
    Sep 4, 2013
    Messages:
    76
    Likes Received:
    60

    Just take my money, already!
     
  12. cybdyn

    cybdyn Embedded developer (MCU & FPGA)

    Joined:
    Jan 12, 2012
    Messages:
    551
    Likes Received:
    4
    PM me.

    i mean, in future, because we run a games first, then run them from usb-hdd, then reach to cdda support. step-by-step
     
  13. Teketron357

    Teketron357 Newly Registered

    Joined:
    Mar 7, 2014
    Messages:
    1
    Likes Received:
    0
    It seems that great progress has come about for DCIO.
    All the efforts that the community programmers are putting into DCIO.

    When boards are ready for the DC community, give the green flag so we can buy!

    Thanks,
    -Steve.
     
  14. Mario

    Mario Active Member

    Joined:
    Feb 8, 2014
    Messages:
    34
    Likes Received:
    1
    Preliminary schematic:
    http://i.imgur.com/VlhZgX2.png
    I just realized I forgot to label the SD breakout header, but that's all right. It'll all get cleaned up a bit later.

    Right now I'm working on the PCB layout, then I'll double-check everything, then get boards made and I'll solder together a few prototypes.

    Then comes the long and grueling process of programming it all! Hoh boy.
     
  15. sonicdude10

    sonicdude10 So long AG and thanks for all the fish!

    Joined:
    Jan 17, 2012
    Messages:
    2,573
    Likes Received:
    29
    Do you mind if we add your progress to the DCIO Facebook group? They are getting antsy for news of SOMETHING. Be good to get your version out and known too if serious about getting it to work.
     
  16. Mario

    Mario Active Member

    Joined:
    Feb 8, 2014
    Messages:
    34
    Likes Received:
    1
    Sure! But please say that mine almost certainly won't be done before OzOnE and cyndyn's. It's more of a personal project. It may not even work at all; a microcontroller could be too slow.

    However, I do plan on eventually selling them at low-to-no profit, and will be open-sourcing everything once it's all done.
     
  17. cybdyn

    cybdyn Embedded developer (MCU & FPGA)

    Joined:
    Jan 12, 2012
    Messages:
    551
    Likes Received:
    4
    you can chk http://www.dc-swat.ru/forum/thread-1888-page-17.html , there is gd_board.pdf - scheme of another gd-emu on STM and XILINX.

    actually, group from the FaceBook is about gd-emu, not only dcio. so everyone can show what he does to make it happens.

    i'm interesting did you think how your device will handle asynchronous signals /WR, /RD, CS[1..0] ?
    I didnt test such way, maybe you plan use interrupt for such event. another question about DMA it's quite fast. - but you have a chance.

    i wish good luck. track for updates
     
  18. cybdyn

    cybdyn Embedded developer (MCU & FPGA)

    Joined:
    Jan 12, 2012
    Messages:
    551
    Likes Received:
    4
    don't forget freq 33.8688 on MCK line.
     
  19. Mario

    Mario Active Member

    Joined:
    Feb 8, 2014
    Messages:
    34
    Likes Received:
    1
    Thanks, cybdyn. I don't think I've seen that particular project yet.

    It looks like they're using the slightly higher-spec version of the chip I'm using. Actually, that's the most advanced chip STM even offers. That's just for the prototype though, right? I really doubt they'd need a microcontroller that fast if they have an FPGA handling the low-end signaling.

    For capturing the CS, DA, and WR/RD signals, the current plan is to have the microcontroller just run in a constant loop while waiting for a falling edge on WR or RD (I think interrupts will be too slow). CS0/1 and DA2/1/0 are the control lines, set up to be read as an address straight from the GPIO port. So, if the Dreamcast requests the status, it would set the CS and DA lines, then RD would fall. The MCU would read the control line port, use that as an address offset, and copy the value from that spot in RAM to the data lines which the Dreamcast would then read.
    Sorry if that's a bit more confusing; it makes sense in my head. The difficult part is definitely making sure I'm fast enough - it looks like the /RD strobe only lasts ~90-100ns, so about 15 instructions. Hopefully I succeed.

    As for the 33.8688MHz signal: The plan is to eventually support CCDA, so I chose a chip with built-in serial audio capability. The 33.8688MHz signal needs to be synchronized with the audio, so I selected a 16.9344MHz (1/2 of MCK) crystal for the MCU and will be outputting the MCK signal on the serial audio MCK pin. This way, the MCU provides the master clock and is synchronized with the serial data as well. Plus, I don't need an extra external oscillator for the signal.
     
  20. cybdyn

    cybdyn Embedded developer (MCU & FPGA)

    Joined:
    Jan 12, 2012
    Messages:
    551
    Likes Received:
    4
    i understand what you mean.

    data from PIO side updates w/ delay, so maybe couple clocks will be lost on synchronization.
    also you need capture data from ADR[2..0] and CS[1..0]. it's possible get all this info as PIO port can be 32 bit wide. so better define data , addr, cs line on same port.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page