log genesis.c @ 2286:5d3411f52d00

age author description
Fri, 13 Jan 2023 23:42:46 -0800 Michael Pavone Fix ui.reload for locked-on ROMs
Sun, 08 Jan 2023 23:30:28 -0800 Michael Pavone Implement BRAM cart support
Sun, 08 Jan 2023 14:42:24 -0800 Michael Pavone Implement savestate support for Sega CD
Mon, 02 Jan 2023 13:08:49 -0800 Michael Pavone Implement turbo/slo mo for Sega CD
Mon, 02 Jan 2023 12:24:22 -0800 Michael Pavone Implement gain control for Ricoh PCM and CDDA with defaults based on Model 2 Sega CD
Thu, 29 Dec 2022 15:47:54 -0800 Michael Pavone Add address logging support to sub CPU
Thu, 29 Dec 2022 15:47:19 -0800 Michael Pavone Fix stamp address mask and add WIP CD graphics debug view
Sat, 24 Dec 2022 20:23:05 -0800 Michael Pavone Use byte in security code for region identification for Sega/Mega CD discs
Mon, 12 Dec 2022 22:26:56 -0800 Michael Pavone Proper calculation of sample rate for YM2612/PSG oscilloscope view
Mon, 12 Dec 2022 21:49:51 -0800 Michael Pavone Prevent VGM logging from getting messed up if slow/turbo is active at log start time
Thu, 24 Nov 2022 01:22:21 -0800 Michael Pavone Fix improper free of memory map array from rom_info
Tue, 22 Nov 2022 17:57:02 -0800 Michael Pavone Initial implementation of oscilloscope debug view
Mon, 05 Sep 2022 23:37:49 -0700 Michael Pavone Some minor refresh emulation improvements
Mon, 05 Sep 2022 22:18:25 -0700 Michael Pavone Implement VDP read latency and invalid write delays revealed by Ti_'s instruction timing ROM
Sun, 21 Aug 2022 22:29:47 -0700 Michael Pavone Very rudimentary support for Game Gear VDP emulation
Sat, 13 Aug 2022 23:15:00 -0700 Michael Pavone Implement argumentless variant of z80 debugger command
Sat, 13 Aug 2022 19:37:17 -0700 Michael Pavone Implement frame advance debugger command
Tue, 12 Jul 2022 09:22:57 -0700 Michael Pavone Don't leak all Sega CD resources when freeing a Genesis instance
Wed, 30 Mar 2022 23:15:45 -0700 Michael Pavone Add ROM DB entry to fix SRAM on Triple Play: Gold Edition and make some code changes so that 3MB dumps will work too
Fri, 18 Mar 2022 20:49:07 -0700 Michael Pavone Implement word RAM interleaving in 1M mode, now passes mcd-verificator word RAM tests
Sun, 06 Feb 2022 22:21:02 -0800 Michael Pavone Fix typo that messed up Mode 1 for carts with mappers
Sun, 06 Feb 2022 13:51:09 -0800 Michael Pavone Enable Sega CD emulation for carts if a CD image is "locked-on" even if the cart does not specify that it uses the CD peripheral in the header
Thu, 03 Feb 2022 23:41:53 -0800 Michael Pavone Persist BRAM to file. Load BIOS relative to blastem directory
Wed, 02 Feb 2022 01:10:07 -0800 Michael Pavone Implement CD audio
Tue, 18 Jan 2022 00:03:50 -0800 Michael Pavone Implement enough of Sega CD gate array and Sub CPU to pass Sik's Mode 1 test ROM segacd
Sat, 15 Jan 2022 13:15:21 -0800 Michael Pavone Merge from default segacd
Sat, 01 Jan 2022 18:54:46 -0800 Michael Pavone Support Sega mapper without 'SEGA SSF' in header or ROM DB entry and implement a subset of the extended Sega mapper implemented in the Mega Everdrive when 'SEGA SSF' is present
Thu, 05 Aug 2021 23:48:41 -0700 Michael Pavone Add cycle checks to deal with 68K core differences to the new refresh emulation blocks merged from default mame_interp
Thu, 05 Aug 2021 09:29:33 -0700 Michael Pavone Merge from default mame_interp
Sun, 07 Mar 2021 23:13:19 -0800 Michael Pavone Add TMSS state to save states
Sun, 07 Mar 2021 22:44:33 -0800 Michael Pavone Implement TMSS VDP lock
Sun, 21 Feb 2021 14:35:16 -0800 Michael Pavone Implement TMSS ROM and cart mapping register
Sat, 20 Feb 2021 14:52:55 -0800 Michael Pavone Make ui.enter_debuger respect which debuger is active
Wed, 10 Feb 2021 20:12:16 -0800 Michael Pavone Implement serial IO, a generic serial device type and external interrupts
Tue, 24 Nov 2020 20:23:38 -0800 Michael Pavone Backed out changeset 96971b673f51
Sun, 01 Nov 2020 12:35:58 -0800 Mike Pavone Small improvement to refresh cycle approximation
Sun, 28 Jun 2020 22:53:52 -0700 Mike Pavone Enter debugger when a VDP data port read would cause a CPU lockup
Mon, 01 Jun 2020 23:59:59 -0700 Mike Pavone Fix handling of unmapped reads/writes to the cart/expansion port region
Sun, 10 May 2020 00:16:00 -0700 Michael Pavone Fix merge error mame_interp
Sat, 09 May 2020 23:39:44 -0700 Michael Pavone Merge from default mame_interp
Sat, 09 May 2020 23:25:51 -0700 Michael Pavone Less hacky run on audio thread mode
Fri, 08 May 2020 11:40:30 -0700 Michael Pavone Add an event log soft flush and call it twice per frame in between hard flushes to netplay latency when there are insufficient hardware updates to flush packets in the middle of a frame
Fri, 01 May 2020 00:54:15 -0700 Michael Pavone Properly initialize Genesis reset cycle on startup. Fixes crash in GDB remote debugger when stepping past the first two instructions
Wed, 29 Apr 2020 01:00:57 -0700 Michael Pavone WIP netplay support
Sun, 19 Apr 2020 00:59:09 -0700 Michael Pavone Merge from default mame_interp
Sat, 18 Apr 2020 22:36:13 -0700 Michael Pavone WIP new sync mode that runs emulation on audio thread
Sat, 18 Apr 2020 11:42:53 -0700 Michael Pavone Merge from default mame_interp
Thu, 16 Apr 2020 22:37:01 -0700 Mike Pavone Update libretro target to use render_audio shared audio code
Thu, 02 Apr 2020 20:32:09 -0700 Michael Pavone Don't lockup on writes to !TIME or !FDC regions regardless of whether anything is mapped there
Thu, 02 Apr 2020 20:17:08 -0700 Michael Pavone Reading from Z80 bus when Z80 is not bus requested should return open bus. Fixes regression in Metal Sonic Rebooted
Fri, 27 Mar 2020 00:03:58 -0700 Michael Pavone Initial stab at VGM logging support
Wed, 25 Mar 2020 22:59:59 -0700 Michael Pavone Some partial work on TMSS registers, more accurate open bus locations and implement machine freezes for unmapped areas in the IO region
Thu, 27 Feb 2020 18:38:15 -0800 Michael Pavone Make VDP VSRAM capacity respect model selection
Wed, 26 Feb 2020 22:40:37 -0800 Michael Pavone Implement selectable YM2612/YM3834 invalid status port behavior
Mon, 24 Feb 2020 20:06:29 -0800 Michael Pavone Fix YM2612 busy flag timing
Sun, 16 Feb 2020 10:46:35 -0800 Michael Pavone Set version reg and TAS behavior based on model config
Sat, 21 Sep 2019 20:26:12 -0700 Michael Pavone Report more accurate frame and sample rates to frontend in libretro target
Mon, 19 Aug 2019 19:15:52 -0700 Michael Pavone Only do full sync on VDP data port reads instead of all VDP port reads, provides a perf bump for games that busy wait on the status or HV registers
Mon, 24 Jun 2019 23:47:16 -0700 Michael Pavone Fix accuracy bugs used by Novedicus to detect BlastEm/Exodus
Tue, 23 Apr 2019 23:31:34 -0700 Michael Pavone Don't print out a message when saving a state to the serialization pseudo-slot
Tue, 23 Apr 2019 18:37:08 -0700 Michael Pavone 16-bit wide save RAM is stored in memory byteswapped for performance reasons, but saving it to disc that way isn't great. Swap before save/after load to fix
Sun, 14 Apr 2019 23:38:02 -0700 Michael Pavone Merge from default mame_interp
Sun, 24 Mar 2019 19:59:41 -0700 Michael Pavone Optionally emulate the offset around zero in the imperfect DAC of a discrete YM2612
Sat, 23 Mar 2019 17:18:10 -0700 Michael Pavone Configurable gain for overall output and individual components
Wed, 13 Mar 2019 20:34:24 -0700 Michael Pavone Make get_open_bus_value work right with Musashi mame_interp
Wed, 13 Mar 2019 18:57:11 -0700 Michael Pavone Make refresh delay emulation play nice with Musashi mame_interp
Tue, 12 Mar 2019 21:59:52 -0700 Michael Pavone Remove MAME Z80 core in favor of my new Z80 core mame_interp
Fri, 01 Mar 2019 14:17:29 -0800 Michael Pavone Merge from default mame_interp
Wed, 20 Feb 2019 09:42:12 -0800 Michael Pavone Fix Z80 interrupts in Gen/MD mode when using new core. Disable CPU debug log in new Z80 core
Tue, 19 Feb 2019 07:03:57 +0000 Michael Pavone Fix build mame_interp
Tue, 12 Feb 2019 09:58:04 -0800 Michael Pavone Integration of new Z80 core is sort of working now
Sun, 10 Feb 2019 11:58:23 -0800 Michael Pavone Initial attempt at interrupts in new Z80 core and integrating it into main executable
Thu, 24 Jan 2019 19:15:59 -0800 Michael Pavone Merge from default mame_interp
Sat, 05 Jan 2019 00:58:08 -0800 Michael Pavone Merge from default segacd
Sun, 20 Jan 2019 22:19:58 -0800 Mike Pavone Implement serialization/deserialization in libretro build
Sun, 20 Jan 2019 16:24:22 -0800 Mike Pavone Fixed the most glaring issues in libretro build
Tue, 25 Dec 2018 11:12:26 -0800 Michael Pavone Merge from default mame_interp
Mon, 19 Nov 2018 19:26:57 -0800 Michael Pavone Removed old VDP debug functionality
Fri, 16 Nov 2018 19:56:24 -0800 Michael Pavone Small cleanup of vdp_context struct layout and removal of separately allocated buffers
Sun, 11 Nov 2018 11:33:38 -0800 Mike Pavone Make sure M68K sync and target cycles are updated after loading a savestate. Fixes an issue in which loading a savestate would result in things being unresponsive until emulation cycle caught up to whatever the pre-state load sync cycle was
Sun, 04 Nov 2018 22:51:50 -0800 Michael Pavone WIP new VDP plane debug view and support for detached VDP debug views generally
Tue, 14 Aug 2018 00:07:21 -0700 Michael Pavone Added J-Cart support
Fri, 06 Jul 2018 17:39:59 -0700 Michael Pavone Update controller config when changed in UI without restart
Thu, 28 Jun 2018 09:27:05 -0700 Michael Pavone Fix a number of other memory errors (mostly leaks again) identified by valgrind
Fri, 22 Jun 2018 23:10:27 -0700 Michael Pavone Fix some memory errors (mostly leaks) identified by valgrind
Sat, 05 May 2018 23:30:40 -0700 Michael Pavone Refactor to split device bindings from IO emulation code
Tue, 01 May 2018 09:44:44 -0700 Michael Pavone Release capture of mouse and keyboard when entering UI
Sat, 14 Apr 2018 23:08:08 -0700 Michael Pavone Audio DRC now sounds good in both NTSC and PAL, just need to adjust constants to minimize latency without leading to dropouts
Mon, 02 Apr 2018 00:11:43 -0700 Michael Pavone Fix Z80 bank access for $800000-$A00000 region for 10M flat mapped ROMs
Fri, 30 Mar 2018 22:01:05 -0700 Michael Pavone Randomize soft reset timing and fix silly bug that was accidentally clearing IO state on soft reset
Fri, 30 Mar 2018 00:37:08 -0700 Michael Pavone More audio refactoring in preparation for allowing proper sync to video with dynamic audio rate control
Wed, 28 Mar 2018 23:36:08 -0700 Michael Pavone Small cleanup to audio interface between emulation code and renderer backend
Sat, 24 Mar 2018 22:18:23 -0700 Michael Pavone Merge nuklear_ui
Wed, 31 Jan 2018 22:05:10 -0800 Michael Pavone Made the NOR flash emulation a bit more flexible, but not yet flexible enough to properly support the flash chip in the MegaWiFi cart
Sat, 30 Dec 2017 18:27:06 -0800 Michael Pavone Added MAME Z80 core, re-enabled 68K tracing in Musashi core, disabled a bunch of code gen stuff when using interpreters from MAME mame_interp
Wed, 27 Dec 2017 13:46:52 -0800 Michael Pavone Super hacky integration of the version of Musashi from MAME mame_interp
Wed, 13 Dec 2017 09:44:41 -0800 Michael Pavone Added code for initializing a combined Genesis + Sega CD system when a Sega CD ISO is loaded segacd
Fri, 24 Nov 2017 20:52:40 -0800 Michael Pavone Fix genesis save state loading via Nuklear UI, sms probably still needs work nuklear_ui
Fri, 24 Nov 2017 12:04:02 -0800 Michael Pavone Refactored save slot related logic to reduce duplication and allow reuse in new UI. Get state loading/saving mostly working in new UI nuklear_ui
Thu, 19 Oct 2017 03:21:24 -0700 Michael Pavone Implemented Z80 IM 2 and attempted correct intack cycle delay
Tue, 29 Aug 2017 19:43:38 -0700 Michael Pavone Make initial bank register state stored in bank_regs match what is put in to mem_pointers for the sega/SSF2 mapper. Invalidate RAM code ranges on RAM deserialization
Tue, 29 Aug 2017 00:36:25 -0700 Michael Pavone Fix savestate path calculation in genesis load_state
Mon, 28 Aug 2017 22:40:33 -0700 Michael Pavone Save and restore Z80 bank register in native save states
Sun, 27 Aug 2017 18:15:00 -0700 Michael Pavone Save/restore mapper state in native save states
Thu, 24 Aug 2017 19:28:56 -0700 Michael Pavone Allow actually saving a save state in more Z80 states. Save busreq/reset state in bus arbiter section for "native" save states
Wed, 16 Aug 2017 20:06:28 -0700 Michael Pavone Added save states to SMS emulation
Wed, 09 Aug 2017 23:26:51 -0700 Michael Pavone New savestates are working. New config file option for selecting format states will be saved in. Mostly complete, needs a little more work before release
Sun, 06 Aug 2017 00:06:36 -0700 Michael Pavone WIP - New savestate format
Mon, 26 Jun 2017 21:13:17 -0700 Michael Pavone Fix DMA from byte-wide SRAM
Sat, 24 Jun 2017 13:55:54 -0700 Michael Pavone Support a couple of bootleg X-in-1 carts
Fri, 23 Jun 2017 21:48:38 -0700 Michael Pavone Move I2C EEPROM and NOR Flash functions out of romdb.c into new files
Thu, 15 Jun 2017 09:45:21 -0700 Michael Pavone Properly release and reacquire framebuffer pointer when switching contexts. Hopefully fixes the LOCKRECT issue some people are seeing with the SDL 2 fallback renderer
Wed, 07 Jun 2017 23:06:14 -0700 Michael Pavone Initial work to support parallel NOR flash and the Magistr 16
Sun, 28 May 2017 21:03:55 -0700 Michael Pavone Implemented SMS pause button
Tue, 23 May 2017 23:47:40 -0700 Michael Pavone Go back to resetting the refresh counter after a DMA. Probably not quite 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)
Tue, 23 May 2017 23:17:24 -0700 Michael Pavone Fixed regression from VDP sync changes. Direct color DMA demos are now achieving stable sync again
Tue, 23 May 2017 23:00:32 -0700 Michael Pavone Attempt at improving refresh emulation
Tue, 23 May 2017 21:09:38 -0700 Michael Pavone Remove HINT_FUDGE and make a small adjustment to how VDP syncs with rest of system instead. Worse results on CRAM dot issue, but much less of a hack
Fri, 19 May 2017 20:54:04 -0700 Michael Pavone Added some code to try and prevent Z80 accesses and refresh cycles from screwing up interrupt latency more than on hardware
Mon, 08 May 2017 22:31:28 -0700 Michael Pavone Implemented slow rise time of IO pins set as inputs, but not driven by device. Fixes input in Decap Attack and possibly other games with buggy controller code