Commit Graph

63 Commits

Author SHA1 Message Date
adelikat efb34f74e1 a2600 refactor - make mapper classes internal and sealed 2020-03-18 21:46:51 -05:00
adelikat f10b51558b Atari 2600 - make MapperBase abstract and make HardReset() abstract since we need implementations to properly reset variables (we can't get rid of hard reset so easily, since HardReset is the mechanism that multi-cart roms use 2020-03-18 15:58:53 -05:00
adelikat db6bbe22bb A2600 - expose CartRam memory domain for mCM and mFA 2020-03-18 15:48:32 -05:00
adelikat 8f860adf51 cleanup Atari2600 mapper code 2020-03-18 15:46:17 -05:00
adelikat 8c10ca3e14 Atari2600 cleanup - pass Atari2600 core into constructor instead of setting after, use switch expression for mapper instantiation logic 2020-03-18 10:37:53 -05:00
adelikat c52bc603d7 Atari 2600 Mappers - remove useless HasCartRam virtual method, and simply check if CartRam.Length > 0 2020-03-18 09:23:43 -05:00
adelikat d953318160
Remove cbuffer (#1883)
* delete unused ShortBuffer

* convert IntBuffer to int[] in the Atari2600 core

* remove IntBuffer from NES mappers, and delete class

* convert ByteBuffer to byte[] in atari 2600 mappers

* remove ByteBuffer usages in NESHawk, remove ByteBuffer class

* remove Buffer.cs

* remove IDisposable from NES.NESBoardBase

* remove Dispose from Atari2600 MapperBase, note, it wasn't event being called
2020-03-18 08:55:02 -05:00
adelikat 48c9ada3e7 some misc cleanups in atari 2600 mappers 2020-02-18 07:23:21 -06:00
YoshiRulz 19b1578df9
Enable SA1200 and fix noncompliance
"Using directives should be placed correctly"
i.e. before and outside namespaces as per .stylecop.json
2020-01-25 19:36:49 +10:00
YoshiRulz ff2efca658
Cleanup Util 2020-01-23 14:54:34 +10:00
alyosha-tas 6948b999f1 A2600: Fix ram buffer 2019-08-01 08:51:32 -04:00
adelikat b4de14657a get rid of a warning 2017-04-24 12:54:43 -05:00
adelikat 2964585401 misc code cleanups in Atari 2600 2017-04-24 10:09:31 -05:00
J.D. Purcell b53502eed8 Spaces -> tabs. 2017-04-15 16:37:30 -04:00
adelikat 7a6d2bce41 Dipose of a bytebuffer in a mapper in Atari 2600 2016-11-09 18:23:54 -06:00
alyosha-tas f60dde19f5 Fixes compumate mapper
Still WIP
needs keyboard to test
2016-05-31 09:24:09 -04:00
alyosha-tas 0e34e5f728 Fixes compumate mapper
Still WIP
Needs keyboard peripheral for further testing, but boots for now
2016-05-31 09:15:59 -04:00
alyosha-tas 24b0ebb924 Merge pull request #2 from TASVideos/master
sync up
2016-05-27 08:56:25 -04:00
alyosha-tas cbad691741 Protect bank state from peeks
Also properly check bank swapping
2016-05-25 12:39:41 -04:00
adelikat 3194e2cdd7 document what is going on with mF8_sega 2016-05-22 15:33:49 -04:00
alyosha-tas 1565a0adf8 add sega mapper mod
mod to F8 that starts in bank 1
2016-05-20 09:05:57 -04:00
adelikat 6cba3568ef More extension reorg 2014-07-03 17:23:03 +00:00
adelikat 898c57f5d9 Atari 2600 - AR (Super Charger) - implement Cart Ram memory domain, and a Fast SC Bios sync setting 2014-05-26 01:01:47 +00:00
adelikat d1743a2ce3 Atari 2600 - AR - cleanup, implement hard reset, savestates, and dispose 2014-05-26 00:55:12 +00:00
adelikat 8069653888 Atari 2600 - Fix AR mapper 2014-05-26 00:30:43 +00:00
adelikat 424f312afa Atari 2600 - from now on, practice safe poking. Also poking is now possible on the system bus. 2014-05-23 00:29:31 +00:00
adelikat a61ff53d9c Change IEmulator.GetCpuFlagsAndRegisters() to a Dictionary, fix a warning, throw NotImplemented exceptions in cores that don't implement this method rather than returning an empty list. Start Debugger UI User Controls 2014-04-19 22:23:13 +00:00
adelikat dba0d25a5c Atari 2600 - some progress on the AR mapper (Super charger), but still doesn't work 2014-04-19 16:28:03 +00:00
adelikat d1e7ed9d91 Atari 2600 - start Supercharger emulation (and mapper AR) 2014-04-16 01:18:38 +00:00
adelikat 2cbb914b9e silly formatting fix from last commit 2014-04-13 18:30:41 +00:00
adelikat 7a6994eb80 Atari 2600 - some progress on mapper 4A50, but it still doesn't work 2014-04-13 18:09:29 +00:00
adelikat 3f3f607e60 Atari 2600 - some ground work for the AR mapper, doesn't yet do anything 2014-04-12 17:52:49 +00:00
adelikat ccae8ce914 Atari - failed attempt to implement mapper CM (Compumate) 2014-04-12 16:36:30 +00:00
adelikat 4f65d78335 Atari 2600 - some ground work for DPC+, but still not implemented 2014-04-12 04:11:52 +00:00
adelikat a1cb4b151e Atari 2600 - implement mapper FE 2014-04-12 03:48:18 +00:00
adelikat 50c8e05d65 Atari 2600 - Boulder Dash Intro Tune demo apparently doesn't run on 3E, it runs on 4K so change the gamedb entry, a fix to 3E. Given that no game actually works that is written for this mapper, I'm calling this one. 2014-04-12 02:54:17 +00:00
adelikat a329ef846d Atari 2600 - fix mapper E7 for games that used ram (Burger Time, He-Man) 2014-04-11 22:00:16 +00:00
adelikat c4b6d8656f Atari 2600 - cart ram for mapper E7 2014-04-11 14:14:46 +00:00
adelikat 74cc3aad14 Atari 2600 - implement the Cart Ram memory domain 2014-04-11 01:31:10 +00:00
adelikat 2200b05dc2 Atari 2600 - DPC memory domain (added when using the DPC mapper) 2014-04-11 01:05:50 +00:00
adelikat c16e469e22 Atari 2600 - DPC - do savestates, reset, disposing, and some small todos 2014-04-10 12:46:45 +00:00
adelikat 2834e80dfa Atari 2600 - implement SB mapper (Super banking) 2014-04-09 02:17:45 +00:00
adelikat 37139822ac Atari 2600 - slight fix to m3F, attempt to fix 3E, the mapper is still broken, I guess, the only Roms that use it are a Boulder Dash wip that is broken, and a Boulder Dash Intro Tune that seems to fail. 2014-04-09 01:57:45 +00:00
adelikat 296ce8fcfc oops 2014-04-08 00:57:56 +00:00
adelikat 5407d752b1 Atari 2600 - DPC mapper - clean up elapsed cycle monitoring, results now match up with stella at least 2014-04-08 00:24:28 +00:00
adelikat ac27f4451c Atari 2600 - major progress on the DPC mapper, Pitfall II is now playable, but the mapper sound channel is still quite bad, also lacks things like savestate support 2014-04-07 01:33:45 +00:00
adelikat 0a22275b59 Oops 2014-04-06 23:30:45 +00:00
adelikat 391be49081 Atari 2600 - support multi-cart mappers, toggling games is done via Hard Reset 2014-04-06 23:25:59 +00:00
adelikat 8a239b53bc Atari 2600 - implement hard reset, also fix a few missing Dispose calls in some mappers that utilize ram 2014-04-06 22:40:10 +00:00
adelikat 696affa5be Atari 2600 - a bit mroe reorg 2014-04-05 15:04:03 +00:00