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.

321 comments

  • Comment Link webpage Saturday, 05 July 2025 06:20 posted by webpage

    What a data of un-ambiguity and preserveness of precious familiarity concerning unexpected emotions.
    https://vovan-champion.buzz/ https://vovan-champion.buzz/

  • Comment Link long distance movers Wednesday, 02 July 2025 08:07 posted by long distance movers

    Exceptional post however I was wondering if you could write a litte more on this topic?
    I'd be very thankful if you could elaborate a little bit further.
    Kudos!

  • Comment Link vovan casino сайт Thursday, 26 June 2025 17:26 posted by vovan casino сайт

    Nice blog here! Also your web site loads up fast!

    What host are you using? Can I get your affiliate link to
    your host? I wish my site loaded up as fast as yours lol https://vovan-gameecho.website/

  • Comment Link jetton казино Tuesday, 24 June 2025 00:19 posted by jetton казино

    Jetton Casino – это место, где удача встречается с азартом.
    В нашем казино вас ждёт широкий выбор игр, щедрые акции и незабываемые впечатления.
    Регистрируйтесь и получайте
    бонусы для успешного старта.



    Почему выбирают Джеттон сайт? Мы
    предлагаем честную игру, моментальные
    выплаты и круглосуточную поддержку.

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







    Коллекция лучших азартных
    развлечений от мировых провайдеров.



    Щедрые бонусы, фриспины и программа лояльности
    для постоянных игроков.


    Быстрые выплаты и безопасные транзакции без задержек.



    Соревнования для самых азартных игроков с ценными призами.






    Откройте для себя лучшие игровые
    возможности вместе с Jetton Casino. https://jetton-casinoempire.makeup/

  • Comment Link r7 казино Monday, 23 June 2025 03:08 posted by r7 казино

    Hello, I believe your website could be having web browser compatibility issues.

    When I take a look at your website in Safari, it looks
    fine however, if opening in IE, it has some overlapping
    issues. I simply wanted to give you a quick heads up!
    Aside from that, excellent website! https://r7-casinostellar.site/

  • Comment Link casino gizbo Sunday, 22 June 2025 06:14 posted by casino gizbo

    You really make it seem really easy along with your presentation however I in finding this matter to be really one thing which I feel I'd never understand.
    It kind of feels too complex and extremely vast for me.
    I am having a look ahead on your next put up, I'll try to get the grasp of it! https://gizbogamez.buzz/

  • Comment Link казино вулкан платинум Sunday, 22 June 2025 02:10 posted by казино вулкан платинум

    Vulkan Platinum — это место, где игра
    становится настоящим искусством.
    Каждая игра здесь — это шанс погрузиться
    в мир развлечений и высоких
    выигрышей. Мы обеспечиваем удобную и безопасную игру с мгновенными выводами средств и гарантиями честности.




    Что отличает слоты с бесплатными вращениями от
    других казино? Каждый новый игрок может рассчитывать на приятные бонусы, а постоянные клиенты получают доступ
    к эксклюзивным предложениям.

    В Vulkan Platinum ваши данные всегда защищены, а
    игровой процесс прост и понятен.




    Как начать играть в Vulkan Platinum?
    Регистрация займет всего несколько минут,
    а вы сможете сразу же получить доступ ко всем бонусам
    и акциям. Вот что вас ждет в
    Vulkan Platinum:





    Мгновенные выплаты и надежность.



    Вам доступны не только приветственные бонусы, но и специальные предложения
    для наших постоянных клиентов.



    В Vulkan Platinum вы найдете все, от любимых слотов до захватывающих
    игр с живыми дилерами.




    Vulkan Platinum — это место, где каждый момент может стать выигрышным. https://vulkan-casinorush.icu/

  • Comment Link telegram aml bot Friday, 16 May 2025 22:59 posted by telegram aml bot

    I am regular visitor, how are you everybody? This post posted at this website is
    truly nice.

  • Comment Link Школа человеческих отношений. Friday, 25 April 2025 23:48 posted by Школа человеческих отношений.

    Школа человеческих отношений.
    Школа человеческих отношений.
    Свободные отношения.

  • Comment Link https://honey4.testedhoneypot.com/find-flooring-installer-index-1344.html Sunday, 06 April 2025 16:49 posted by https://honey4.testedhoneypot.com/find-flooring-installer-index-1344.html

    Fantastic post but I was wanting to know if you could write a litte more on this subject?
    I'd be very grateful if you could elaborate a little bit further.
    Thanks!

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.