Thursday, 30 April 2015 06:36

Exodus 2.0 released, project now open source!

Written by

Exodus 2.0 has now been released! You can download the new version now on the current releases page. I'm dedicating this release to my beautiful wife Judi, and my two boisterous little boys Justin and Aiden.

As promised, Exodus is now also open source. Check out the Source Code section for instructions on how to obtain and compile the source, and information on how you can contribute code changes to the project.

Note that you won't see a massive improvement in Mega Drive game compatibility with this version, as the focus has been on other areas, like performance, user interface, and the plugin API. There are still a number of games I know of that will greet you with a black screen for example when you try and load. This is due to the fact that although Exodus aims for cycle-level accuracy, it's not actually there yet, and there's a number of games that use a kind of wait loop against flags on the VDP that technically requires at the very least sub-opcode level timing emulation to pass. No other emulators have sub-opcode level timing emulation for their CPU cores, but they use incorrect timing on the VDP as well in order to make the tests pass.

The biggest thing that needs to be done for Exodus at this stage in order to improve Mega Drive compatibility is write Z80 and M68000 cores that emulate individual bus cycles, rather than emulating at an "opcode" level. For the M68000 at least, nobody seems to have ever done this, and a lot of information needs to be gathered on the hardware in order to determine the correct timing and order for each bus access within instructions. Emulating it properly will also require a major change to the bus system, which I currently have in the works. I was originally planning to have this bus change in Exodus 2.0, but I didn't want to delay the release any further. The bus system redesign, along with cycle-exact M68000 and Z80 cores, will now be my primary focus of development for the next major release. After this is complete, Exodus will have CPU emulation which is truly cycle-exact.

Despite the lack of perfection with the CPU cores at this stage though, Exodus is already much more accurate than other emulators at Mega Drive support for graphics and sound. Exodus has the most advanced YM2612 core ever written, as it was written entirely from scratch during my detailed reverse engineering of the YM2612 back in 2008.

In terms of the VDP, Exodus is the only Mega Drive emulator that has a cycle-exact VDP core, which allows it to emulate many quirks and tricks of the real hardware that other emulators can't, like Direct Color DMA. Aside from rendering accuracy, the VDP core is also fundamentally more accurate in handling basic communication from the CPU. Try this test ROM for example, which tests VDP port access:


http://nemesis.exodusemulator.com/MegaDrive/Tests/VDPFIFOTesting/VDPFIFOTesting.zip
(Detailed discussion: http://gendev.spritesmind.net/forum/viewtopic.php?p=20975#20975)

This test ROM isn't perfect, a couple of the tests fail intermittently on the real hardware, but it's pretty stable, and it's very thorough and brutal. Even Exodus doesn't get a perfect score here yet, it gets 121 out of 122. Most other Mega Drive emulators will only score around 20 or so. I'm hoping with Exodus now open source, other Mega Drive emulators which are still being maintained can use Exodus as a reference, and improve their accuracy on these kind of tests too.

Anyway, I hope some other people can make use of this. It's been a very long road to get to this point. Exodus was around 200,000 lines of code at the last count, and most areas of the code have gone through numerous revisions to get to where they are now. I daren't even estimate the number of hours that have gone into this project. I hope you find it interesting and useful.

EDIT: I forgot to say, if you want to check out the debugging features, you'll be best off using one of the pre-made workspaces. Select "File -> Load Workspace" from the main menu and select "Mega Drive Debugger.xml". That'll give you a pretty good debug environment ready to go.

28 comments

  • Comment Link Cheap auto insurance Wednesday, 28 February 2024 13:58 posted by Cheap auto insurance

    Car insurance can easily help safeguard your
    assets in the event that of a case. See to it you possess good enough obligation coverage.

  • Comment Link slot gacor Tuesday, 27 February 2024 17:44 posted by slot gacor

    This design is incredible! You most certainly know how to
    keep a reader entertained. Between your wit
    and your videos, I was almost moved to start my own blog (well,
    almost...HaHa!) Wonderful job. I really loved what you had to say, and more than that, how you presented it.
    Too cool!

  • Comment Link Auto insurance cicero Tuesday, 27 February 2024 04:40 posted by Auto insurance cicero

    For people with handicaps, it is vital to guarantee that car insurance coverage in Cicero, Illinois deals with any sort of exclusive modifications produced to your motor vehicle.
    These adjustments, important for ease of access and also simplicity of making use of, need to be guarded under
    your policy. Discuss these specific demands with your
    insurance company when appearing for auto insurance policy in Cicero, Illinois to guarantee detailed insurance coverage.

  • Comment Link Car insurance Dalton Saturday, 24 February 2024 18:46 posted by Car insurance Dalton

    Auto insurance policy is a vital part of owning a car. See to
    it you understand your plan.

  • Comment Link http://www.ru.savefrom.net/9-how-to-download-facebook-Video.html Thursday, 22 February 2024 19:40 posted by http://www.ru.savefrom.net/9-how-to-download-facebook-Video.html

    Для этого подходит компьютер
    и любые мобильные гаджеты вне зависимости
    от операционной системы.

  • Comment Link https://es.savefrom.net Saturday, 17 February 2024 06:43 posted by https://es.savefrom.net

    Existe una aplicación en Google Play Store llamada Download Twitter Videos o TweetSave en App Store, que permiten descargar videos de la red social ahora propiedad de Elon Musk.

  • Comment Link https://pt1.Savefrom.net/25-instagram-reels-download.html/ Friday, 16 February 2024 13:00 posted by https://pt1.Savefrom.net/25-instagram-reels-download.html/

    As limitações definidas nos passos acima valem apenas para o download dos
    vídeos, pois as publicações ainda podem ser remixadas
    no Instagram.

  • Comment Link tr.savefrom.net Friday, 16 February 2024 10:40 posted by tr.savefrom.net

    Bir makale isteğiniz olsa bile, bizimle iletişime geçebilirsiniz.

  • Comment Link Tiffiny Friday, 16 February 2024 03:52 posted by Tiffiny

    I think this is one of the most significant information for me.

    And i'm glad reading your article. But should remark on few
    general things, The web site style is ideal, the articles is really excellent
    : D. Good job, cheers

  • Comment Link https://fr.savefrom.net/26-instagram-viewer.html Thursday, 15 February 2024 18:49 posted by https://fr.savefrom.net/26-instagram-viewer.html

    Désormais, aucune de vos stories ne sera plus
    enregistrée par défaut par Instagram.

Leave a comment

Make sure you enter all the required information, indicated by an asterisk (*). HTML code is not allowed.

If you wish to make a donation to show your appreciation for this project, you can do so here. Your donation may go towards the hosting costs of the website, or equipment or reference hardware to assist in the development of Exodus. It may also go towards a bunch of flowers for my beautiful wife, to say thanks for your support and patience all those nights I stayed up late working on this project.