Commit Graph

55 Commits

Author SHA1 Message Date
adelikat 2b281116ed misc cleanups 2020-04-08 16:03:35 -05:00
adelikat 22f6df3a70 NesHawk - CartInfo - turn into properties 2020-03-19 21:20:53 -05:00
adelikat f8acb61136 NesHawk - make boards and related classes internal, and sealed where possible 2020-03-19 21:06:54 -05:00
adelikat 620c38af73 NesHawk - move some enums out of NesBoardBase, simplifies a lot of usages 2020-03-19 20:29:15 -05:00
adelikat 659831c534 fix missing savestate data in some NESHawk mappers, note this is a breaking savestate change for these boards, but they were broken anyway, these were critical fields to savestate 2020-03-19 19:51:59 -05:00
adelikat 8bcab5af79 NESHawk - break off INesBoard and NesBoardBase into separate files 2020-03-19 19:06:03 -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 46d05de51f nothing to see here 2020-02-28 12:52:48 -06:00
adelikat 606c3bf1c2
use more advanced language features in Emulation.Cores (#1852)
* Use expression bodies in Emulation.Cores, and a few other misc cleanups

* remove unused usings in Emulation.Common

* cleanups in Tables_Direct.cs

* some cleanups in nes boards - redundant code

* remove some redundant array initializers in Emulation.Cores

* cleanup AmstradCPC.Controllers

* use object initializers in a lot of places

* nes mappers - remove disch's notes comments in favor of the nesdev wiki link

* cleanup CdtConverter.cs, mostly use of object initializers

* remove redundant .ToString() calls in Emulation.Cores

* using var in Emulation.Cores

* AmstradCPC/ZXSpectrum - simplify some linq, tabs instead of spaces, a few other misc cleanups

* Use null-propagation in Emulation.Cores
2020-02-17 16:54:51 -06:00
James Groom 4e91f88af3
Use nameof in cores 2019-03-28 14:18:58 +11:00
alyosha-tas c19c7cd5c3 SubNESHawk
also Input register shift fix

# Conflicts:
#	BizHawk.Client.EmuHawk/MainForm.Designer.cs
#	BizHawk.Client.EmuHawk/MainForm.Events.cs
#	BizHawk.Emulation.Cores/Computers/AmstradCPC/AmstradCPC.IEmulator.cs
#	BizHawk.Emulation.Cores/Computers/SinclairSpectrum/ZXSpectrum.IEmulator.cs
#	BizHawk.Emulation.Cores/Consoles/Nintendo/NES/PPU.run.cs
2019-01-10 18:25:59 +03:00
alyosha-tas 5ba647a632 NESHawk: Implement mapper 43 and UNIF_UNL-SMB2J 2017-12-02 12:22:48 -05:00
alyosha-tas 5e481a6083 NESHawk: Fix some unlicensed games 2017-12-02 10:03:27 -05:00
adelikat 284ee1f9a2 Neshawk - UNIF_BMC_FK23C - I think these dipswitch variables are supposed to be MapperProps 2017-05-27 12:12:04 -05:00
adelikat 45ba9254cb NesHawk - properly dispose of bytebuffers 2016-11-09 17:24:44 -06:00
alyosha-tas fca85bce04 Fix UNL-LH10 2016-11-04 22:55:14 -04:00
adelikat a979721415 NesHawk - Attempt UNIF_UNL-LH10, something is messed up though, nametable is off 2016-11-04 13:20:44 -05:00
adelikat 51dadcbfed Mapper 126 and UNL-TF1201 - add irq variables to savestates 2016-11-01 17:10:14 -05:00
adelikat 112423ec9b Sort out Mapper 176 2016-10-30 11:25:20 -05:00
adelikat 5d85f459b8 NesHawk - oops, fix unl-ks7012 2016-10-28 15:46:00 -05:00
adelikat 839eabac2e NesHawk - support board UNIF_UNL-KS7013B 2016-10-28 15:40:30 -05:00
adelikat ea57a4daee NesHawk - support board UNIF_UNL-KS7012 2016-10-28 15:32:16 -05:00
adelikat 7893184435 NesHawk - support board UNIF_UNL-BB 2016-10-28 15:11:34 -05:00
adelikat 5805bb5d43 NesHawk - support board UNIF_UNL-AC08 2016-10-28 13:23:09 -05:00
adelikat 06e1472166 NesHawk - Support board UNIF_UNL-43272 2016-10-28 13:12:15 -05:00
adelikat 96f0fcb7a8 NesHawk - support board UNIF_BMC-NTD-03 2016-10-28 13:05:10 -05:00
adelikat 0a85b24b88 NesHawk - support board UNIF_BMC-810544-C-A1 2016-10-28 12:24:40 -05:00
adelikat 9992780c4d neshawk - support the board UNIF_BMC-12-IN-1 2016-10-28 10:27:39 -05:00
adelikat 44ca7683c4 support unif board BTL-MARIO1-MALEE2, supposedly mapper 55 2016-10-19 08:05:57 -05:00
alyosha-tas 20bc25acd2 Fix UNIF FK23C
Works except for Dipswitches
2016-10-01 16:49:51 -04:00
alyosha-tas 8d6198d337 Fix Super 24 Board 2016-09-23 17:49:46 -04:00
alyosha-tas bb75653cd7 Update UNIF_UNL-SHERO.cs 2016-09-23 11:47:54 -04:00
alyosha-tas 4b51420231 Fix SHERO board 2016-09-23 11:46:28 -04:00
adelikat 2a64a17cf1 NESHawk - a bunch of stubs and incomplete board implementations 2016-09-19 11:16:34 -04:00
alyosha-tas c6bcb82f7b Fix TF1201 2016-09-19 09:15:15 -04:00
adelikat cc3ed634bb attempt to implement UNIF_UNL-SHERO - works except for Sachen title screen chr mapping 2016-09-17 17:20:35 -04:00
adelikat e4caa13b9c Support King of Fighter 97 (UNIF_UNL-KOF97) 2016-09-17 10:15:40 -04:00
adelikat 9734588404 Start unif UNL-TF1201 board, still needs IRQs 2016-09-16 22:23:52 -04:00
alyosha-tas 50aa73272c Get the 63 in 1 version with another property
I'm not sure if this is faithful to the hardware, but by adding another mapper property I am able to get all 4 sets of games working.

One property sets the mode (1x[63 in 1] --or-- 3x[~20 in 1])

The other property picks between the 20 in 1 sets if the first property is in that mode.

This is the only consistent way I could find to get all 4 ROMs working. But they do all work as expected so I am confident enough in the result. It is possible the game expects something else to pick between the 20 in 1 sets, but I have no idea what it could be.
2016-09-14 14:09:15 -04:00
adelikat a9675d4a8f Implement the Ghostbusters63in1 unif board, sort of. Using mapper properties it can play both 22-in-1 carts and the 20-in-1 that are in the rom, but not actually the 63-in-1 2016-09-14 09:08:21 -04:00
adelikat 6a22d1cd5c Implement unif_BMC-ws board 2016-09-03 16:24:29 -04:00
adelikat 3f7293587b NESHawk - Implement board UNIF_BMC-64in1NoRepeat 2016-09-03 12:53:46 -04:00
nattthebear eca28a566e COmments 2016-03-17 17:20:38 -04:00
nattthebear 8d3e10b56e Support UNIF DripGame http://www.qmtpro.com/~nes/drip/. Everything works except the nametable viewer (which does not account for the exattributes) 2016-03-16 19:56:26 -04:00
adelikat 9846b3a050 NESHawk - implement board UNIF_BMC-D1038 2015-08-23 17:05:00 -04:00
adelikat 535a307e27 NESHawk - implement board UNIF_BMC-8157 2015-08-23 16:20:12 -04:00
adelikat af0219655e NESHawk - implement board UNIF_BMC-BS-5, note: this board uses dipswitches. These were implemented via the "Advanced properties" scheme, rather than the FCEUX way of incrementing the value on reset 2015-08-23 15:17:33 -04:00
adelikat 631249f08a NESHawk - add minimal support for board UNIF_UNL-CC-21 2015-08-22 16:58:09 -04:00
adelikat cb7f49d94c NESHawk - Implement board UNIF_UNL-CC-21 2015-08-22 16:34:57 -04:00
adelikat 4b364df044 NESHawk - implement board UNIF_UNL-AX5705 2015-08-22 16:03:12 -04:00