Thursday, 30 August 2012

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 ;)

51 comments:

  1. And I already thought this blog was dead, keep the good work up and post more often :)

    ReplyDelete
    Replies
    1. ★★★★★★★★
      SWEET! I just got a free Xbox live codes at http://xbox360codes.info/
      ★★★★★★★★

      Delete
  2. Thank you soo much for picking this up again, and a binary release may be on the horizon too? COOL.

    Thank you..

    ReplyDelete
  3. Thanks you sooo much for the update

    Gligli the best.

    ReplyDelete
  4. My DC died a few months ago & never got around to getting a replacement. Cant wait to play Power Stone again!!! Your a legend!!!!

    ReplyDelete
  5. Do a Github then people can help you :) !

    ReplyDelete
  6. I always had one: http://github.com/gligli :)

    ReplyDelete
  7. Hey I know this isn't exactly on topic but do you plan on picking up where you left off with mupen64 as well? It works great for some games (have played hours worth of Mario Kart) but some others are untouchable still (Goldeneye) and yours is the only N64 emulator I can find for the 360.

    ReplyDelete
  8. Keep up the good work! =D We're all waiting patiently.
    BTW: About Mupen64: excelent work. After nulldc360, if you have the time or interest, can you check why Evangelion doesn't work OK? Thanks.(thumbs up)

    ReplyDelete
  9. thanks for your work from mexico otherwise I will install the RGH I can be a tester seriously xD I love your contributions bye

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete
  11. Hey i do know this is not specifically on topic however does one arrange on finding out wherever you left off with mupen64 as well? It works nice for a few games (have contend hours price of Mario Kart) however some others square measure untouchable still (Goldeneye) and yours is that the solely N64 person I will notice for the 360.

    Microsoft Promo Code

    ReplyDelete
  12. WOW!!! I just got a free Xbox live codes at http://mscodes.info/

    ReplyDelete
  13. I'm starting to get excited now that the release of Mupen64-360 is getting close, but I noticed DK64 has that annoying character clipping? bug that happens on PJ64 too. Is it graphic plugin related?

    Either way thanks alot for working on DC/N64 Emulation for the 360.
    Slowly but surely the my old Xbox is being used less and less and the 360 more and more. :)

    Thanks..

    ReplyDelete
  14. ★★★★★★★★
    SWEET! I just got a free Xbox live codes at http://xbox360codes.info/
    ★★★★★★★★

    ReplyDelete
  15. ★★★★★★★★
    SWEET! I just got a free Xbox live codes at http://xbox360codes.info/
    ★★★★★★★★

    ReplyDelete
  16. Thanks a lot dude for everything u have done with the scene! Sorry about my english, i'm Brazilian...

    GliGli, the legend!

    ReplyDelete
  17. ★★★★★★★★
    SWEET! I just got a free Xbox live codes at http://xbox360codes.info/
    ★★★★★★★★

    ReplyDelete
  18. ★★★★★★★★
    SWEET! I just got a free Xbox live codes at http://xbox360codes.info/
    ★★★★★★★★

    ReplyDelete
  19. Hey i just found a great place to get free xbox live gold codes! Go to http://xboxlivemicrosoftgoldcodes.com !

    ReplyDelete
  20. Gligli you are the Best! Thanks for all!

    ReplyDelete
  21. any news about official release of nulldc-360?

    ReplyDelete
  22. I have a slim model with RGH/NAND mod and N64 and Saturn is not working,any suggEstions?

    ReplyDelete
  23. Hi! It's possible to fix the UV problems and then we can able to extract the models to convert on XNALara?
    Thank you for your hardly work. :)

    ReplyDelete
  24. NICE! I just Microsoft points for free from this site! :D freemspointsforever com

    ReplyDelete
  25. Hello! I found a cool, awesome site where you can find plenty of real generators and keygens and I get that for free and also they are group of experienced programmers. and because of that i legitly get xbox live code and used it for free.

    So Check out their Site before the generated codes of their programs will Use by others!

    http://www.truekeygens.blogspot.com

    ReplyDelete
  26. this made my day this site just gave me a free Xbox Live code and it worked! If you want one go to freexboxliveforever♣ com
    - See more at: http://freexboxliveforever.com/#sthash.lTubWvqA.dpuf

    ReplyDelete
  27. Why hasn't there been an update on this? Its been a very long time, this NullDC-360 should have been out by now (Going on a year since this blog article was posted)

    ReplyDelete
  28. i'm eagerly awaiting for xbox one to launch in India.. good console..

    ReplyDelete
  29. Hey love your blog! Thought you might like this funny gaming comic on the latest Xbox One release!

    Gaming Web Comic - Xbox One Comic

    ReplyDelete
  30. WOW!!! I just got a free Xbox live codes at http://mscodes.info/

    ReplyDelete
  31. Maakali Packers & Movers is a Cargo Packers and Movers in Lucknow, providing packers movers services, professional warehousing services, goods moving services, corporate relocation services, loading unloading services.
    packers movers and transportation in bangalore

    Packers movers and Transportation

    ReplyDelete
  32. Just give Call mission is to provide our customers with reliable information and play a pivot role in the value chain of Demand and Supply.In Its initial phase Just Give Call is starting as a service provider within the city of Lucknow.

    Just Give Call

    ReplyDelete
  33. keep spirit to blogging!!!
    share awesome articles :-)

    ReplyDelete
  34. We at Bianconeri Soccer Tips provide daily tips to you, with extra tips available usually at weekends of days with lots of matches.


    Best Soccer Tips
    Soccer tips

    ReplyDelete
  35. MUSIC Quran obtain in every different languages for ones personal computers along with all style of phones additionally good quality Quran Reciters accessible in several different languages.

    mp3 quran

    ReplyDelete
  36. Xbox One Modded Controllers is Europe's Leading Retailer in Custom Modded Controllers for Xbox 360 and PlayStation 3. We stock an extensive range of exclusive high quality designs as well as a comprehensive selection of customization and mod chip upgrades, giving you full control over how your controller looks and performs. Over the past 5 years our Technicians have been working closely with the gaming community to develop Mod chips designed to improve everyone's gaming experience.

    ReplyDelete
  37. They are the last free codes for Xbox, Hurry up! ------> http://giveaways.netii.net/

    ReplyDelete
  38. you need nullDC360 ?

    here: http://www.logic-sunrise.com/forums/topic/62047-xell-nulldc-360/

    ReplyDelete
  39. I bet you guys wont believe this but I just got a Xbox Live gold code and surprisingly it worked! You get it completely free from http://xblg.cardcodes.net

    ReplyDelete
  40. Dead blogs always turn me sad.

    ReplyDelete
  41. PLease return to the work for finish other better version of de Nulldc360!!!

    ReplyDelete
  42. PLease return to the work for finish other better version of de Nulldc360!!!

    ReplyDelete
  43. Very informative, keep posting such good articles, it really helps to know about things.

    ReplyDelete
  44. Thanks for the information and links you shared this is so should be a useful and quite informative!
    onlinehry

    ReplyDelete