Commit Graph

4217 Commits

Author SHA1 Message Date
goyuken e8a54aaeed luaimplementation: input.getmouse(): button fields are now bools. position fields are now in emulated screen coordinates. no, it doesn't quite work right for some cases of window sizing... so don't do that! 2012-12-20 21:40:03 +00:00
goyuken 79f5a344e1 nes: axrom: support "ACCLAIM-AOROM" wizards and warriors 3 2012-12-20 01:27:13 +00:00
goyuken 1d7d40f7c9 add simple makefile for previous commit 2012-12-19 23:02:58 +00:00
goyuken 55399917ac libco implemented with win32 threads and semaphores. about a 25% slowdown. very useful for debugging with gdb. .dll not committed, as this is a debugging-only thing, of course 2012-12-19 22:35:30 +00:00
goyuken 70cc20175c NES: Test out some savestates, and get more crashes... the problem is that a number of mappers use some state variable names that are identical to APU variable names. Fixed by enclosing entire mapper in a section every time. This particular discovery though, suggests to me that 1.3.0 release NES savestates are possibly much more broken than originally suspected, if mapper IRQ information is being stomped out by APU IRQ information. 2012-12-19 15:46:37 +00:00
goyuken 3a9fa9abb1 nes: vrc7: support ines without crc. in case someone ever makes a vrc7 homebrew. which they won't. 2012-12-18 23:09:33 +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 ff6539d268 nes: related to the last commit, fix mapper 116, mmc5, vrc6 2012-12-18 03:17:10 +00:00
goyuken d479e5661a The robustness update to the Serializer caused a problem when multiple variables with the same string name are saved\loaded in text form. The old system would just read\write them in order; the new one would silently discard all but the last occurrence. The Serializer now throws an exception in these circumstances. To fix individual cores, duplicate usage of variables needs to be enclosed in separate sections. Fixed an occurrence of this in the NES APU, where the two Pulse channels were being confused; fixes sound bugs on loadstate in some games. 2012-12-18 03:03:11 +00:00
goyuken 26abfe4574 nes: apu: add some pulse channel variables to the savestate that weren't in it before. maybe this fixes something? maybe it doesn't. it certainly doesn't fix my problem in driar... 2012-12-18 02:22:40 +00:00
goyuken 0aa5e2a512 NES: try implementing SEEPROM for BANDAI-FGC boards. Seems to work reading, but I can't get far enough into any of the games for writing. Like the rest of the mapper, only works with crc id because I don't know how to positively identify any of this from ines headers. Affected games:
24C01  http://bootgod.dyndns.org:7777/search.php?keywords=BANDAI-LZ93D50%2B24C01&kwtype=pcb
24C02  http://bootgod.dyndns.org:7777/search.php?keywords=BANDAI-LZ93D50%2B24C02&kwtype=pcb
2012-12-17 19:54:45 +00:00
goyuken 3d14e55297 bomb out if Bizhawk.Emulation and Bizhawk.Util versions don't match Bizhawk.MultiClient version 2012-12-17 15:38:56 +00:00
brandman211 0b7f68fcb7 -Fixed the calculation for the O Flag...not messing with that bit-math anymore.
-Set the pending cycles for setting Sr1 to 14934 - 3791 instead of adding it. This working makes NO sense in my opinion, and I'm sure it will break as the number of interrupts increases, but for now, it matches up.

The newest issue is reading PSG registers which have not been set. Cool, expecting this to work without doing anything would be silly, so I've gotten somewhere!
2012-12-17 07:17:18 +00:00
brandman211 7ad002d5ce IntelliHawk:
-Cleanup.
-Added "Total Executed Cycles" to the log.
-By observing the aforementioned data, I realized that the docs probably meant to say 14934 instead of 14394.
--By adjusting this...TITLE SCREEN!
--Still, there are definitely discrepancies with the log that imply that I'm far from done.
-Enabled ANDR and XOR because they were executed during the title sequence, though it's hard to tell if it should at this point.
2012-12-17 04:23:59 +00:00
goyuken 461e6c6cea yeah nah, forget that 2012-12-17 01:11:46 +00:00
goyuken 4db8ca7422 abusing public SVN as my own local store 2012-12-17 01:00:52 +00:00
goyuken fe6f029f39 7800: more control hookup for console buttons 2012-12-16 20:04:39 +00:00
adelikat d57b850c7e A78 - Virtual Pads 2012-12-16 19:07:45 +00:00
goyuken e5a6a28940 7800: path config connected for saveram 2012-12-16 18:39:05 +00:00
adelikat 867c6ef4b9 Add Atari 7800 info to about box 2012-12-16 18:31:49 +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 6f43bafa83 7800 mnemonic stuff 2012-12-15 20:58:13 +00:00
goyuken 6e3dbde76c add 7800 to the "warn before starting a movie" list 2012-12-15 20:35:37 +00:00
adelikat d4ef18c422 ATari 7800 - add pause to mnemonics, however, something is very wrong, can't get a movie to sync, will have to investigate 2012-12-15 20:29:37 +00:00
adelikat 59ea6d86ff Atari 7800 - add Pause button to controller config, set defaults for console buttons, also set some defaults for 2600 console buttons 2012-12-15 19:58:21 +00:00
pasky1382 3b37b809ad Added Congo's Caper collision box viewer 2012-12-15 19:28:21 +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 0fb5be2420 NES: FDS: audit and clean up audio module. in the process, fix a few bugs; opening to Metroid sounds correct now 2012-12-15 16:51:04 +00:00
goyuken 3cfc57f8a1 7800: ignore 128 byte header, if present 2012-12-15 16:06:35 +00:00
goyuken 0e0359613d mmc5 audio: oops 2012-12-15 15:17:23 +00:00
adelikat 6dbb8f5f9f Atari 7800 - controller config tag highlighting logic, add bios_info.txt to MakeRelease batch file 2012-12-15 14:10:52 +00:00
adelikat 054f0df3e4 Atari 7800 - basic mnemonics set up (input display and movie rerecording), however these mnemonics will change 2012-12-15 04:28:29 +00:00
adelikat e7c8053617 Controller Config - add Atari 7800 joystick image 2012-12-15 03:17:00 +00:00
goyuken 2983c23920 atari7800: control hooked up, more or less 2012-12-15 02:36:38 +00:00
adelikat 158e6a5dd6 Atari 7800 - add bios info txt file and appropriate folders 2012-12-15 02:23:42 +00:00
goyuken 1895103a9c atari 7800: did controller stuff until i got annoyed 2012-12-15 00:58:55 +00:00
goyuken a9bf3cf58a nes: apu: implement "better" mixing scheme (as recommended by nesdev) in the hope of passing some apu_mixer tests. no change in any of the tests, so change backed out (committed as comments only). from what i understand, it's just as likely that the tests are failing to small channel timing problems as mixer problems. 2012-12-14 22:29:27 +00:00
goyuken bab873fa13 mmc5: fix bug in pcm audio that i didn't even know about because nothing ever uses it at all. sunsoft 5b: implement audio. affects Gimmick(J). note that the audio emulation is rather incomplete. 2012-12-14 21:06:58 +00:00
goyuken c90d2dcd56 nes: MMC5: change prg ram behavior to mask out of range banks. seems to fix Shin 4 Nin Uchi Mahjong: Yakuman Tengoku (新4人打ちマージャン 役満天国). i have no idea what's actually going on 2012-12-14 19:46:01 +00:00
goyuken a4f3c2a7de NES: ExROM: Support "HVC-EKROM". Fixes good dumps of:
Just Breed (ジャストブリード)
Royal Blood (ロイヤルブラッド)
Shin 4 Nin Uchi Mahjong: Yakuman Tengoku (新4人打ちマージャン 役満天国)
2012-12-14 19:35:43 +00:00
goyuken 6ca1886933 MMC5: audio. PCM is untested because i don't know of anything at all that actually uses it. 2012-12-14 18:41:16 +00:00
goyuken 37e2dfbc9a nes: namco 163: make audio somewhat louder, based on listening to a few cart recordings. still softer than fceux 2012-12-14 18:38:13 +00:00
goyuken 5986d779e7 SMS: increase size of buffer for public byte[] SaveStateBinary() by 1 byte. also throw an exception if the savestate is smaller than expected. 2012-12-14 16:59:23 +00:00
goyuken 4e0796814d VRC6 audio: restructure to send deltas directly to the NES apu, simplifying some things. This would be pointless masturbation by itself, but this method will also lead to easier emulation of MMC5 audio. 2012-12-14 15:17:14 +00:00
goyuken 3bcb00f9b9 vrc6 audio: fix off-by-one in frequency counts 2012-12-14 14:38:39 +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