Commit Graph

23 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 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
adelikat 2964585401 misc code cleanups in Atari 2600 2017-04-24 10:09:31 -05:00
adelikat 7a6d2bce41 Dipose of a bytebuffer in a mapper in Atari 2600 2016-11-09 18:23:54 -06: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 3f3f607e60 Atari 2600 - some ground work for the AR mapper, doesn't yet do anything 2014-04-12 17:52:49 +00:00
adelikat 74cc3aad14 Atari 2600 - implement the Cart Ram memory domain 2014-04-11 01:31:10 +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 27daa82464 Atari 2600 - a round of code cleanup and check in some files I neglected to in the past few commits, remove oldTIA.cs 2014-04-05 14:13:05 +00:00
adelikat 43d58e3441 Atari 2600 - Oops, dispose stuff 2014-04-05 02:42:23 +00:00
adelikat d79067c33c Atari 2600 - implement mapper F8SC. Fix a potential crash in mappers AR and FA 2014-04-04 21:16:43 +00:00
adelikat af0cd39742 Atari 2600 - add in unimplemented mappers and throw not implemented exceptions. Throw these on a 4IN1 and F8SC instead of wrongly using F8. Implement heuristics for Rom detection when rom isn't found in gamedb. Heuristics logic based on Stella findings. 2014-04-04 19:46:41 +00:00