www.dedoshop.com
Risultati da 1 a 4 di 4
Like Tree3Likes
  • 2 Post By jonblu
  • 1 Post By zeruel85

Discussione: nulldc360

  1. #1
    Open Member L'avatar di jonblu
    Data Registrazione
    Jul 2011
    Località
    ms
    Messaggi
    530

    nulldc360

    gligli riprende il lavoro sul suo sorprendente emulatore dreamcast per xbox360
    Still alive

    Hey, as you might have noticed, I resumed my work on nulldc-360 and libxenon not long ago.

    I'm currently working on 3 things: compatibility/sound/speed.

    6 months ago I was badly stuck on 2 bugs, one texture endianess problem, and one random crash/infinite loop in the dynarec.
    First thing I did was to look at that texture bug, in a few days I found the exact case where it happened and fixed it for good.
    Then I fixed the dynarec one, it was quite an awful one: I forgot to save/restore the SH4 condition flag on dreamcast interruptions, so it was randomly corrupted as the emulated console handled its IRQs!
    I fixed a few more bugs until it was clear I needed proper sound emulation for more games to boot.

    Adding sound was relatively straightforward, of course there were the usual endianess related bugs, but I guess I'm getting used to it ^^
    The Dreamcast sound chip (AICA) is a complex design, it has an ARM processor core, a 64 channel sound generator, and a DSP.
    I don't emulate the DSP for now, many games don't really need it.
    Main problem with sound is the induced emulator slowness, though thanks to the 360 multicore cpu, I was able to make it almost free.

    Updating peripherals in the dynarec works that way: each code block knows how many SH4 cpu cycles it emulates, and each time a fixed number of cycles (448) is reached, it calls a procedure that updates those peripherals.
    To multithread sound, and by the way, other peripherals, I run parts of that update on a separate core.
    It runs concurently with the dynarec, and, basically, every 448 SH4 cycles both get sychronized. so as long as peripherals emulation takes less time than SH4 emulation, the dynarec doesn't have to wait for them!
    So that makes them almost free to emulate, almost because they still stress the 360 L2 cache and memory controller a little.

    Anyway, compatibility seems pretty good now, sound works, speed is more or less the same it was before sound emulation, a proper binary release *might* not be that far
    ecco un bel video :[url=http://www.youtube.com/watch?v=dYWGTBvzd38&feature=player_embedded#][WIP] NullDC-360 By GliGli - YouTube[/url]!
    fonte:[url=http://gligli360.blogspot.fr/]My XBOX 360 stuff[/url] e [url]https://github.com/gligli[/url]
    Ultima modifica di jonblu; 01-09-12 alle 12: 52
    zeruel85 and davide360 like this.

  2. #2
    Open Staff L'avatar di X-ray
    Data Registrazione
    Aug 2011
    Località
    Calabria/Cosenza
    Messaggi
    2,628
    ah bello finalmente l'audio!!

  3. #3
    God L'avatar di zeruel85
    Data Registrazione
    Jan 2012
    Messaggi
    15,946
    Spostato in news, grazie.
    jonblu likes this.

  4. #4
    Open Member L'avatar di davide360
    Data Registrazione
    Jul 2012
    Località
    dietro di te.. XD
    Messaggi
    546
    Grazie della NEWS, ottimo davvero piano piano si risolvono i bug..

Segnalibri

Permessi di Scrittura

  • Tu non puoi inviare nuove discussioni
  • Tu non puoi inviare risposte
  • Tu non puoi inviare allegati
  • Tu non puoi modificare i tuoi messaggi
  •  

realizzazione siti internet ed e-commerce mugello