Page 32 of 43 FirstFirst ... 2228293031323334353642 ... LastLast
Results 311 to 320 of 427

Thread: M68K for DC

                  
   
  1. #311
    DCEmu Coder
    Join Date
    Apr 2004
    Posts
    227
    Rep Power
    78

    Default Re: M68K for DC

    [quote author=fox68k link=board=dcemu;num=1083323639;start=300#308 date=08/03/04 at 17:01:49]Ian, what do you mean by advanced functions? built-in memory handling support?[/quote]

    It needs to be able to trap BIOS calls for the CD emulation to work. It doesn't actually emulate the CD drive itself, but it intercepts the BIOS calls to access the CD, and emulates them using native file operations.

  2. #312
    DCEmu Regular
    Join Date
    Jun 2004
    Location
    Posts
    351
    Rep Power
    78

    Default Re: M68K for DC

    Is that why the cd audio is about 5 seconds delayed?

  3. #313
    DCEmu Coder
    Join Date
    Apr 2004
    Posts
    227
    Rep Power
    78

    Default Re: M68K for DC

    I don't think so. That's probably related to something else entirely.

  4. #314
    Dream Coder
    Join Date
    Apr 2004
    Location
    Miami, FL
    Age
    39
    Posts
    4,675
    Rep Power
    50

    Default Re: M68K for DC

    Audio problems in NeoCD mostly stem from the fact that the CD audio drivers used the Z80 to do some stuff(not processing, but like really basic things) and the z80 is turned off and broken.
    If anyone is looking to buy, sell, trade games and support a developer directly at the same time, consider joining Goozex. Enjoy!

  5. #315
    DCEmu Coder fox68k's Avatar
    Join Date
    Aug 2004
    Location
    Spain
    Posts
    100
    Rep Power
    77

    Default Re: M68K for DC

    [quote author=BlackAura link=board=dcemu;num=1083323639;start=300#310 date=08/03/04 at 19:44:57]

    It needs to be able to trap BIOS calls for the CD emulation to work. It doesn't actually emulate the CD drive itself, but it intercepts the BIOS calls to access the CD, and emulates them using native file operations.[/quote]

    I am going to try to guess what you mean:

    NGCD emu changes interrupt handler routine (BIOS) to point to a new one to avoid CD access. Instead, NGCD emu emulates those accesses doing native file operations like you said, but those accesses are performed out of the m68k core, right? So this way, m68k core remains the same. I saw some code in NGCD emu that changes data directly before emulation process start probably getting things up about CD acceses. Right again?

    Thanks.
    - fox68k -

  6. #316
    DCEmu Coder
    Join Date
    Apr 2004
    Posts
    227
    Rep Power
    78

    Default Re: M68K for DC

    Pretty much, yeah. When an interrupt is called, the emulator calls some native code which does the same thing instead of jumping to the appropriate M68k interrupt handler. The actual file I/O is performed outside the CPU core, of course, but there needs to be some mechanism to supply a callback function that can be used instead of calling an interrupt handler.

  7. #317
    DCEmu Coder fox68k's Avatar
    Join Date
    Aug 2004
    Location
    Spain
    Posts
    100
    Rep Power
    77

    Default Re: M68K for DC

    [quote author=Hola link=board=dcemu;num=1083323639;start=300#309 date=08/03/04 at 17:41:13]Is there a estimated release date plained for this sh4 68000?
    [/quote]

    Not yet. There is work to do and i don't know when i could release it. I will keep you informed about progress.
    - fox68k -

  8. #318
    DCEmu Coder fox68k's Avatar
    Join Date
    Aug 2004
    Location
    Spain
    Posts
    100
    Rep Power
    77

    Default Re: M68K for DC

    Very interesting BlackAura. I'd never thought about that feature :

    How could i implement that in the core in a cool fashion? (i mean function interface or any other kind of management).

    Thanks!
    - fox68k -

  9. #319
    DCEmu Coder
    Join Date
    Apr 2004
    Posts
    227
    Rep Power
    78

    Default Re: M68K for DC

    I've never seen any CPU emulator that implements that cleanly. The ones that implement this kind of feature at all tend to be fairly tightly integrated with the system emulator.

  10. #320
    DCEmu Coder
    Join Date
    Apr 2004
    Location
    FRANCE
    Posts
    80
    Rep Power
    0

    Default Re: M68K for DC

    The way is done in musashi and C68K is just to wrap some undefined opcodes 0xFxxx to internals emulators functions.
    Quite simple to do but it's a hack...

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •