summaryrefslogtreecommitdiff
path: root/genesis.c
AgeCommit message (Collapse)Author
2018-03-28Small cleanup to audio interface between emulation code and renderer backendMichael Pavone
2018-03-24MergeMichael Pavone
--HG-- branch : nuklear_ui
2018-01-31Made the NOR flash emulation a bit more flexible, but not yet flexible ↵Michael Pavone
enough to properly support the flash chip in the MegaWiFi cart
2017-11-24Fix genesis save state loading via Nuklear UI, sms probably still needs workMichael Pavone
--HG-- branch : nuklear_ui
2017-11-24Refactored save slot related logic to reduce duplication and allow reuse in ↵Michael Pavone
new UI. Get state loading/saving mostly working in new UI --HG-- branch : nuklear_ui
2017-10-19Implemented Z80 IM 2 and attempted correct intack cycle delayMichael Pavone
2017-08-29Make initial bank register state stored in bank_regs match what is put in to ↵Michael Pavone
mem_pointers for the sega/SSF2 mapper. Invalidate RAM code ranges on RAM deserialization
2017-08-29Fix savestate path calculation in genesis load_stateMichael Pavone
2017-08-28Save and restore Z80 bank register in native save statesMichael Pavone
2017-08-27Save/restore mapper state in native save statesMichael Pavone
2017-08-24Allow actually saving a save state in more Z80 states. Save busreq/reset ↵Michael Pavone
state in bus arbiter section for "native" save states
2017-08-16Added save states to SMS emulationMichael Pavone
2017-08-09New savestates are working. New config file option for selecting format ↵Michael Pavone
states will be saved in. Mostly complete, needs a little more work before release
2017-08-06WIP - New savestate formatMichael Pavone
2017-06-26Fix DMA from byte-wide SRAMMichael Pavone
2017-06-24Support a couple of bootleg X-in-1 cartsMichael Pavone
2017-06-23Move I2C EEPROM and NOR Flash functions out of romdb.c into new filesMichael Pavone
2017-06-15Properly release and reacquire framebuffer pointer when switching contexts. ↵Michael Pavone
Hopefully fixes the LOCKRECT issue some people are seeing with the SDL 2 fallback renderer
2017-06-07Initial work to support parallel NOR flash and the Magistr 16Michael Pavone
2017-05-28Implemented SMS pause buttonMichael Pavone
2017-05-23Go back to resetting the refresh counter after a DMA. Probably not quite ↵Michael Pavone
correct as it is probably reset on VDP triggered refresh, but this is close enough for now given the general limitations with my refresh code. VDP FIFO Testing seems to be passing 100% reliably again (was occassionally failing still with the last commit)
2017-05-23Fixed regression from VDP sync changes. Direct color DMA demos are now ↵Michael Pavone
achieving stable sync again
2017-05-23Attempt at improving refresh emulationMichael Pavone
2017-05-23Remove HINT_FUDGE and make a small adjustment to how VDP syncs with rest of ↵Michael Pavone
system instead. Worse results on CRAM dot issue, but much less of a hack
2017-05-19Added some code to try and prevent Z80 accesses and refresh cycles from ↵Michael Pavone
screwing up interrupt latency more than on hardware
2017-05-08Implemented slow rise time of IO pins set as inputs, but not driven by ↵Michael Pavone
device. Fixes input in Decap Attack and possibly other games with buggy controller code
2017-04-26Small tweak to how SAT cache updates are done. Mostly fixes the rotating ↵Michael Pavone
cube scene in Overdrive 2
2017-04-21Fix a deficiency in the way types were handled in my ternary tree. Fixes in ↵Michael Pavone
which some paths that were constructed from a template with variables would sometimes get an extra garbage character thrown in
2017-04-16Initial work on handling the 128KB VRAM mode bit and some basic prep work ↵Michael Pavone
for VDP test register support
2017-04-15Fix copy pasta error in handling of Z80 VDP port reads. HV counter reads are ↵Michael Pavone
not illegal writes =P. Fixes immediate exit in Overdrive II, though other problems remain
2017-03-30YM2612 should also be reset on system soft resetMichael Pavone
2017-03-30Reset YM2612 whenver the Z80 is reset. Fixes issue with stuck notes in ↵Michael Pavone
Fantastic Dizzy and Kid Chameleon
2017-03-28Fix exit trace mode edge case. Call do_sync if trace mode bit is changed in ↵Michael Pavone
eori sr
2017-03-28Implemented M68K trace mode. Some edge cases/SR update paths still need workMichael Pavone
2017-03-19Adjust Z80 interrupt pulse duration to match hardware measurementsMichael Pavone
2017-03-19Minor fix to hacky refresh emulation code to more closely match my intentMichael Pavone
2017-03-18Basic refresh emulation that doesn't break direct color DMA demos. Fixes ↵Michael Pavone
sound after entering pause menu in Pacman 2: The New Adventures
2017-03-18Remove hacky post-DMA delay add proper pre-DMA delay based on logic analyzer ↵Michael Pavone
capture. 512 color screen is a bit messed up but mostly works. Needs investigation
2017-02-14Add mising include in genesis.c so the Windows build works againMichael Pavone
2017-02-01Basic implementation of serial IO registers, but without actual serial IO ↵Michael Pavone
support. Needed to run a certain software check cartridge that is floating around.
2017-01-27Implement soft reset in Genesis modeMichael Pavone
2017-01-26Added config file option to specify that RAM should be randomly initialized. ↵Michael Pavone
Moved default_region inside a new "system" parent node in config
2017-01-22Fix missing include that prevented building Windows versionMichael Pavone
2017-01-18Overscan is now configurableMichael Pavone
2017-01-15Don't adjust cycles every frame. Only when we start getting close to ↵Michael Pavone
UINT_MAX. Don't adjust all the way down to zero when we do adjust. Shouldn't fix anything, but may make debugging current issues easier.
2017-01-10Fix crash regression for games with some kind of mapper functionalityMichael Pavone
2016-12-28Remove memory map assumptions from Z80 core and move a little bit of logic ↵Michael Pavone
to the generic backend.c so it can be shared between CPU cores
2016-12-22Initial support for Genesis/Megadrive PBC mode. VDP still needs Mode 4 to be ↵Michael Pavone
useful.
2016-12-22More cleanup in preparation for SMS/Mark III supportMichael Pavone
2016-12-19Restore 68K address logging functionalityMichael Pavone