Commit Graph

902 Commits

Author SHA1 Message Date
adelikat 906c0316a6 namespace changes to BizHawk.Emulation Cpus 2013-11-14 15:01:32 +00:00
adelikat c076931d0c clean up NES namespace 2013-11-14 13:15:41 +00:00
adelikat 9266cafd2a Another round of BizHawk.Emulation namespace changes 2013-11-13 23:36:21 +00:00
goyuken da16e8874b GBA: support input callback 2013-11-13 18:30:57 +00:00
goyuken 758a84027e gb: memory callbacks no longer fire on writes to the system bus. (they were already not firing for all other memory domain action). add a new memory callback, exec. occurs right before the cpu reads a byte, if that byte will be the first byte of a new opcode. read callback no longer occurs in this situation. 2013-11-13 17:08:52 +00:00
adelikat dd3df013fb cleaning up some Bizhawk.Emulation namespaces 2013-11-13 03:32:25 +00:00
zeromus e6f4213564 fix some snes breakpoint bugs 2013-11-12 20:35:59 +00:00
adelikat 14e8709ae0 Lua - emu.getregster(s) - add support for dual gameboy 2013-11-12 16:30:35 +00:00
adelikat 97bedb7190 Implement get registers for SNES 2013-11-12 15:47:31 +00:00
zeromus 6c0e91c37f hookup snes to memory hooks.. i think 2013-11-12 02:34:56 +00:00
adelikat 0aac1de628 fixed natt's boo boo 2013-11-12 02:12:29 +00:00
zeromus 9fed70a49c add some ExecFetch stuff to NES/6502 cores for memorycallbacks and whatnot 2013-11-12 01:06:33 +00:00
goyuken 323df9b92e gba: support register reading. shows current mode's r0..r15, cpsr, spsr. at the moment, none of the other out of context banked regs are shown, which may or may not be a good idea. 2013-11-12 00:40:28 +00:00
goyuken e5c569f818 support register reading on GB core. untested as i can't compile at the moment. flags are exported as part of register "F", as is usual for z80. 2013-11-11 18:05:29 +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
zeromus 7a260abb54 update libsnes building for new output directory, and add support for exec/read/write/nmi/irq hooks 2013-11-03 22:44:49 +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
adelikat 73b6791f63 NESHawk - put sealed on some classes I missed sometime back when I did that 2013-11-02 23:14:58 +00:00
zeromus 0acbb11e97 move HawkFile to BizHawk.Common along with a small web of dependencies and then add "using BizHawk.Common" to 100 files 2013-10-27 22:07:40 +00:00
adelikat 3f410a771c small code cleanups and deal with some warnings 2013-10-27 17:07:37 +00:00
adelikat e265e00ca1 ack! whoops! 2013-10-27 16:23:48 +00:00
adelikat 9218e298dd more mainform code cleanup 2013-10-27 13:53:28 +00:00
zeromus 78603f1237 continuing... 2013-10-25 01:00:31 +00:00
zeromus 249ddea268 revert to pre-refactor state. its a WIP, dont judge 2013-10-25 00:34:01 +00:00
goyuken 5afcb1b168 gameboy - use blip_buf for audio resampling, like NES. this is also something that dual GB does, but i never got around to porting it back to single GB before. the speexresampler is very good for some things, like snes, but isn't appropriate for multi-megahertz audio downsampling.
big speedup.
2013-10-21 17:19:37 +00:00
zeromus 954935466d add note about time lord 2013-10-18 06:11:36 +00:00
goyuken e33396a548 GBA -add new "Combined WRAM" memory domain, which is the 256KB EWRAM immediately followed by the 32KB IWRAM 2013-09-29 15:43:49 +00:00
adelikat 7a08cb1075 Fix some annoying warnings and some misc code cleanup 2013-09-14 19:34:14 +00:00
adelikat b18d50791e Mapper stuff 2013-09-02 23:54:32 +00:00
zeromus 513ceba3d2 fix up SGB memorydomains 2013-08-26 07:17:47 +00:00
adelikat 61236bf763 NES - make mappers and whatnot sealed classes, since it may theoretically be a tiny speedup, and if nothing else, it is more conceptually correct 2013-08-25 01:08:17 +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
zeromus 226622e339 renovate the firmware system. cores now have the ability to get firmware themselves, without needing to have files loaded or pass paths from the multiclient. users can select whatever firmware they want from the firmwares config dialog. 2013-08-10 01:17:06 +00:00
pjgat09 b5dd64ad3b N64: Pass the Glide64mk2 settings to the core 2013-08-09 02:32:49 +00:00
zeromus 5030f6e328 n64-dont churn through buffers while loadstating 2013-08-07 23:09:10 +00:00
pjgat09 77b249f68e N64: Allow you to enable the Glide64mk2 plugin 2013-08-06 02:27:20 +00:00
adelikat 21552eaeec Use fast version of reading/writing hex on snes savestates too, they could use the speed 2013-08-05 12:57:08 +00:00
goyuken bfcc1a6684 NES: support HVC-SJROM for Zombie Hunter(J), which is a bad game, like most NES games 2013-07-31 20:15:02 +00:00
zeromus c0453ae2e8 snes-fix SGB 2013-07-30 02:51:40 +00:00
goyuken f3eb9e7fc7 N64: a quick hack greatly reduces memory thrashing (on my machine, varied usage of 300-800MB with default rewind settings replaced with a rather steady 300-350MB 2013-07-30 00:12:24 +00:00
goyuken 3b7f2a65a6 N64: reuse a particular buffer instead of recreating it on every rewind state capture. this change by itself does not seem to be sufficient to avoid outofmemory exceptions 2013-07-30 00:01:32 +00:00
adelikat 7ac1da8c96 Set the right order of buttons, and good defaults for controllers and joypads for all consoles 2013-07-29 02:11:00 +00:00