Commit Graph

161 Commits

Author SHA1 Message Date
adelikat dd3df013fb cleaning up some Bizhawk.Emulation namespaces 2013-11-13 03:32:25 +00:00
adelikat cd7435d11f Lua - event.onmemoryexec() - add support for the A2600 core 2013-11-12 16:11:29 +00:00
goyuken 50527c006e 7800: bizhawk side of r5328. untested as i can't compile at the moment. 2013-11-11 17:57:53 +00:00
adelikat 8204ee552d Lua - emu.getregister(s) - support A7800, but due to emu7800 usage, flags aren't supported 2013-11-11 16:55:08 +00:00
adelikat 3945ea0e87 Lua - emu.getregister(s) - suppport SMS/GG/SG-1000, Colecovision, and TI-83 2013-11-11 16:45:45 +00:00
adelikat acf5c19a58 Lua emu.getregister(s) - add NES support for PC register, add support for A2600 and C64 2013-11-11 03:44:37 +00:00
adelikat fb78215590 Lua - Implement emu.getregister() and emu.getregisters(). Only implemented in NESHawk right now 2013-11-11 03:20:33 +00:00
adelikat e7a481e6c4 Lua - OnMemoryRead() and OnMemoryWrite() - support multiple events, hook to the registered functions system, add ability to name function, return a GUID. 2013-11-10 21:20:55 +00:00
adelikat ea24f236fb Lua - event.OnInputPoll() - allow multiple functions to be registered 2013-11-10 18:15:32 +00:00
adelikat 1061add64f Refactor MemoryDomains in IEmulator, make a MemoryDomainsList object rather than IList<MemoryDomain>, remove MainMemory from IEmulator and make it a property of this new collection object, also add indexing by name. Refactor cores and tools as needed 2013-11-06 02:15:29 +00:00
adelikat be547db4a1 Move MemoryDomain to its own file, and move the Endian enum into it, also clean up the class a bit, and refactor things as necessary 2013-11-04 02:11:40 +00:00
adelikat 9751fd5a1a Move interfaces and base implemenations from emulation to emulation.common 2013-11-04 01:39:19 +00:00
adelikat 348171bdc5 start Emulation.Common project and move the Emulation/Database folder files to it 2013-11-04 01:06:36 +00:00
adelikat 7b03fc0bc0 Move Buffer.cs and Util.cs from BizHawk.Emulation to BizHawk.Common, and add 1234832983 usings 2013-11-04 00:36:15 +00:00
adelikat bbc12256b2 Rename IEmulator.ResetFrameCounter() to ResetCounts() as that is a more precise term since it resets frame and lag counter variables (and theoretically any other similar counters that could get implemented) 2013-11-03 16:29:51 +00:00
goyuken 0803adc32a add a "BoardName" to IEmulator that an emulation core can use to return useful information about how the rom is being emulated. meant to be mostly for informative purposes; shouldn't rely on it for too much. implemented in GB and NES cores 2013-08-24 16:54:22 +00:00
sappharad 96405ad7de - Fixed Atari 7800 so it works again. The game will not launch without the required BIOS, but you're not forced to have a BIOS for regions other than the game you're running.
- Fixed BIOS detection for Coleco and Atari 7800. When no BIOS is defined, the application now properly informs the user again instead of throwing an exception.
2013-08-24 02:49:46 +00:00
goyuken 4e12f54897 tabs and braces must exist in an orderly manner! 2013-07-31 00:33:02 +00:00
goyuken 3169968858 analog input support. this is bad code and should all be reverted as soon as possible.
binds (along with sensitivity, deadzone, flip customization) are not supported yet.  to test out, try using the first two axes of dinput joystick #5 on N64 player #1
2013-07-18 16:18:17 +00:00
goyuken 7b7b95e95d add a new field to IEmulator: bool BinarySaveStatesPreferred { get; }. a core should set it to true to indicate that it would prefer to save and load binary savestates (but both types must be supported). set to true on 7800, gb, dgb, gba, n64, snes, saturn cores, as they all create text savestates that are simply dumps of the binary savestate. for the moment, frontend does nothing with this new information. 2013-05-06 20:51:28 +00:00
adelikat c577eb4854 Atari 2600 - DPC Mapper - add in clock cycle counting and some fixes, but still doesn't work, don't know why at this point 2013-04-20 22:09:19 +00:00
adelikat 462e861072 last round of pointless code cleanup 2013-04-16 00:42:57 +00:00
adelikat be2937fdec Code refactoring of Tools files - no functional changes other than some very tiny speedups and null checks 2013-04-14 23:56:45 +00:00
adelikat cff1ff2940 Removing unused directives from a bunch of files because I was playing around with resharper, but that got boring so not every file 2013-04-14 20:39:19 +00:00
adelikat 3e639d65ab Atari 2600 - implement TIA, PIA, and System Bus domains (note that there is no poke ability on the system bus domain at this time) 2013-03-11 01:46:12 +00:00
adelikat 84bc032656 Some warning cleanup 2013-02-24 20:17:12 +00:00
adelikat 9c945a175e Atari 7800 - don't require all 3 bios files to run. But do nag them that they are missing them. 2012-12-27 22:24:42 +00:00
goyuken 03f5b3ae96 serializer: add another duplicate check (this time on section names within a single section), and fix 2600 savestates 2012-12-18 20:37:31 +00:00
goyuken 45660d0f23 7800: rearrange\cleanup Atari7800.cs, and delete TODO comments that are done. 2012-12-16 18:16:50 +00:00
goyuken 17d8e21c2d 7800: memory domains 2012-12-16 18:02:39 +00:00
goyuken 17f0f66ed7 7800: remove BufferElement because it annoys me. (Also gains a small speed increase, ~4%?). Remove "Copyright © Microsoft 2012" from the default AssemblyInfo.cs 2012-12-16 16:57:16 +00:00
goyuken f8c9bd98f9 7800: implemented hard reset to simulate pushing the power button on the console. HSC ram is preserved, ROM is preserved, just about everything else is flushed. added "Power" button to connect to this. changed recording mnemonics 2012-12-16 15:15:54 +00:00
goyuken c9c3821632 7800: add lag flag. breaks savestates. this marks our first change to EMU7800.Core 2012-12-16 01:34:02 +00:00
goyuken 042855acac atari 7800: for the two 7800 controller definitions (proline and lightgun), remove the two difficulty switches, and change the name of the "BW" switch to "Pause", to reflect what's actually on the console. other controller definitions not changed because they're used for emu7800 in 2600 mode, which DOES have those buttons 2012-12-15 18:11:54 +00:00
goyuken 3cfc57f8a1 7800: ignore 128 byte header, if present 2012-12-15 16:06:35 +00:00
goyuken 2983c23920 atari7800: control hooked up, more or less 2012-12-15 02:36:38 +00:00
goyuken 1895103a9c atari 7800: did controller stuff until i got annoyed 2012-12-15 00:58:55 +00:00
adelikat d34368e98d Atari 7800 - hook up input on client side, implement joystick button 2 in controller definition 2012-12-14 02:17:47 +00:00
goyuken 77b1d2e207 delete old 7800 stuff 2012-12-12 19:40:42 +00:00
goyuken 1e40bc9082 move 7800 into separate cootie-solution 2012-12-12 19:39:17 +00:00
goyuken ecfc3da19a baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2012-12-12 18:37:40 +00:00
goyuken d205d68b95 move our 7800 code into Bizhawk.Emulation namespace (oops) 2012-12-12 18:17:30 +00:00
goyuken faceb7e18d 7800: clean up some sound-related stuff 2012-12-12 16:24:14 +00:00
goyuken 0636bda89d 7800: savestates 2012-12-12 15:36:17 +00:00
goyuken 7bb1baf2ab the hsc in a 7800 is supposed to be a saverammy thing, so hook it up as such. dunno if it actually works 2012-12-12 03:47:05 +00:00
goyuken f32fc83d96 7800: integrate the existing emu7800 gamedb as a core-private gamedb (not unlike bootgod), and use that to drive decision making. emu7800 should now be able to correctly load 7800PAL and 2600 games. 2012-12-12 03:40:18 +00:00
adelikat fb7873a6a7 Atari 7800 - better use of the Cart object, not a very useful commit though since it is still hardcoding the mapper 2012-12-12 01:59:10 +00:00
goyuken a43ecbf6aa 7800: speed up framebuffer blits, and add audio output 2012-12-12 01:32:58 +00:00
goyuken c22ad34844 7800: you can see stuff that doesn't look retarded now 2012-12-12 00:30:36 +00:00
goyuken da0a8822c9 7800: you can see stuff now 2012-12-12 00:23:01 +00:00