Commit Graph

1316 Commits

Author SHA1 Message Date
saxxonpike 30c0564bda c64- rewrote video code, more accurate scanline behavior 2012-11-07 03:23:40 +00:00
saxxonpike 6be1c071f9 c64- restructured VIC interrupt and vblank handling (will break a couple graphics modes for now) 2012-11-06 21:11:30 +00:00
saxxonpike 75ef0cc20d c64- MCM and ECM text modes now show proper colors 2012-11-06 18:42:56 +00:00
saxxonpike 4c371d9cbe c64- implement extra color text mode 2012-11-06 18:36:37 +00:00
saxxonpike 7d68c5b518 commodore64- fix VIC character memory addressing 2012-11-06 18:13:48 +00:00
goyuken ad3e1bff21 gb gpu view: beautify and add scanline callback control 2012-11-06 17:54:04 +00:00
saxxonpike 4fa7112fab commodore64- only load mapper 0 cartridges (for now) 2012-11-06 15:46:15 +00:00
saxxonpike 13b6498ca9 commodore64- fixed VIC interrupts not being cleared 2012-11-06 15:32:14 +00:00
saxxonpike 47a556b326 commodore64 - second timer chip triggers NMI instead of IRQ on 6510 2012-11-06 15:15:37 +00:00
goyuken c217768871 nes: mapper 028: fix 32k modes (they don't behave like MMC1). of course, there are still no mapper028 games or carts at all 2012-11-06 14:46:36 +00:00
saxxonpike c9c6cc4e9c c64- better VIC screen mode documentation 2012-11-06 06:42:22 +00:00
zeromus 877b95e3d5 c64-hook up firmwares configuration. expected to be by default in C64/Firmwares output directory, named basic,chargen,kernal 2012-11-06 06:19:27 +00:00
saxxonpike 899efca9d3 c64- implement multicolor text mode rendering 2012-11-06 06:01:45 +00:00
saxxonpike 4af6b10971 VIC- character generator implemented 2012-11-06 05:49:42 +00:00
goyuken ec82f11884 nes: reset board state with hard reset 2012-11-06 03:05:43 +00:00
goyuken 089379711a nes: fix missing sound after hard reset 2012-11-06 02:13:16 +00:00
goyuken e06a9218b8 nes hard reset no longer crashes. instead, certain sound channels stop playing (?) 2012-11-06 01:41:22 +00:00
saxxonpike 7110cf928b commodore64: fix badline calculation 2012-11-06 00:43:53 +00:00
adelikat 5764b222ab NES Core - implement Hard Reset, currently crashes though 2012-11-06 00:40:51 +00:00
saxxonpike f1b4861d87 c64- VIC per-cycle behavior 2012-11-05 20:47:20 +00:00
goyuken ac1f9a90a1 libgambatte: switch the system bus read to use a much safer (100%?) deterministic peek. also implement core side stuff for scanline-based callback 2012-11-05 20:15:53 +00:00
saxxonpike 788591ba77 c64- VIC functions and interrupt triggers 2012-11-05 19:05:25 +00:00
saxxonpike 4f2cd1263c c64- CIA register class, data port class 2012-11-05 16:56:58 +00:00
goyuken ef4bb14d59 gb gpu view: oam 2012-11-05 15:58:51 +00:00
saxxonpike 821553cda8 c64- VIC register class 2012-11-05 14:24:01 +00:00
zeromus 69d2a99a2c nes-fix memory map bug, affecting robocop 3 scroll glitches 2012-11-05 06:26:52 +00:00
goyuken 32a3d9db80 gbhawk gpu viewer: work correctly with palettes and CGB extended BG data 2012-11-05 04:09:04 +00:00
goyuken 271d4102e8 GB: add "GPU Viewer", similar to other gpu debugging tools. doesn't do much yet. 2012-11-05 01:34:11 +00:00
zeromus 9ff8b450f4 add the crudest possible psx disc detector. now other people can watch somewhat garbled psx game intros 2012-11-05 00:11:41 +00:00
zeromus b4b2657965 some libmednahawk work. it can't possibly be used by anyone else yet, but i gotta do a checkin. 2012-11-04 23:29:06 +00:00
goyuken 807b86f8b3 nes mapper28: correct power on behavior. it seems to work well enough 2012-11-04 00:28:46 +00:00
goyuken a7b2be48e2 nes: implement mapper028, a hypothetical multicart. untested 2012-11-03 23:56:35 +00:00
goyuken 50f65452b5 nes: add identifier for TENGEN-800030. fixes bootgod identified dumps of various tengen (U) games 2012-11-03 21:45:48 +00:00
goyuken 3575eb849b z80gb: add new disassembler 2012-11-03 18:17:55 +00:00
saxxonpike 97bdd9be9c c64- clean tabs, document some regs, VIC screen memory fetch added 2012-11-03 17:57:14 +00:00
goyuken 747c3db7cb nes: vrc2: fix Contra (J), Ganbare Goemon 2 (J) 2012-11-03 17:03:38 +00:00
saxxonpike 8182da2fcd c64- VIC bank switching via CIA2 2012-11-03 16:15:16 +00:00
saxxonpike 5955976216 c64- VIC memory read function 2012-11-03 15:57:32 +00:00
saxxonpike 1e2ee5f0b5 c64- rename MemoryBus to Memory since it is emulating the whole controller now 2012-11-03 14:26:43 +00:00
saxxonpike bb2fafec63 c64- connect CIA2 port A and B to MemBus 2012-11-03 14:23:44 +00:00
adelikat d783e439bb C64 - rename controller definition 2012-11-03 13:55:22 +00:00
saxxonpike 59bb49ae20 c64 - more CIA timer regs, VIC border and background rendering 2012-11-03 10:15:44 +00:00
saxxonpike 81f33754e0 Commodore64- CIA instantiation in Core 2012-11-03 07:07:29 +00:00
saxxonpike dbba216ec7 Commodore64 CIA - registers implemented 2012-11-03 07:05:07 +00:00
saxxonpike 2c25ae5701 correction in VIC sprite X reg write 2012-11-03 06:10:20 +00:00
saxxonpike 73f625dee4 2012-11-03 06:03:58 +00:00
goyuken d89e9e5da5 nes: pxrom, fxrom: implement peekppu; fixes nametable debugger view in some games 2012-11-03 01:26:13 +00:00
goyuken f8f4fa6967 Mapper165: implement peekppu. fixes some visual glitching when using nametable viewer. Fire Emblem (Ch) 2012-11-02 23:51:38 +00:00
goyuken 48bb76820e nes: fds: implement peekcart (sorta) 2012-11-02 23:32:32 +00:00
goyuken 944c8e412f gbhawk: tracelogger shows disassembly now 2012-11-02 23:19:16 +00:00
goyuken 6ffd71973a 6502: improve tracelog to only disassemble actual opcodes, and also enable it on 2600 2012-11-02 22:27:22 +00:00
goyuken 323caaaff7 nes: sxrom: decrease speed by 1%, also fix overflow possibility 2012-11-02 19:52:02 +00:00
goyuken 3eda4a90a6 gbhawk: tracelogger 2012-11-02 19:44:31 +00:00
zeromus 24d3bb76e2 fix 2600 Peek support, as best I can tell how. 2012-11-02 19:35:13 +00:00
zeromus aa161d8910 proper Peek support in NES and 6502X 2012-11-02 19:28:00 +00:00
goyuken 5bf33b54a6 SxROM: 1% speedup 2012-11-02 17:51:07 +00:00
adelikat c0c3c36e87 C64 - Pass in extension to the core 2012-11-01 17:56:48 +00:00
adelikat 3858ff9b95 start a skeleton C64 project, mapped .prg, .d64, .g64, .crt to C64, rom loading should work (gets the bytes to the core), haven't tested 2012-11-01 16:48:32 +00:00
adelikat 6e214a6059 Atari 2600 - fix mapper E7 2012-11-01 03:26:24 +00:00
adelikat ae7bb1b590 Atari - progress on DPC mapper, still doesn't work 2012-11-01 01:54:33 +00:00
pjgat09 2d2e0c7e31 A2600: Resetting players before hsyncCnt 76 has apparently has strange results. I borrowed these changes from EMU7800. This seems to fix glitches with Frostbite. 2012-10-31 23:42:18 +00:00
goyuken 967a60dcf7 ack! 2012-10-31 21:16:50 +00:00
goyuken 5cbd11c850 NES: add some vs system stuff. not done yet 2012-10-31 21:15:44 +00:00
pjgat09 a5d4cd155d A2600: Fixed problem with missile-to-player reset. Reset should only occur on the first drawing of the player. 2012-10-31 20:09:14 +00:00
goyuken 5cff02b74d nes: vrc4, vrc6, vrc7: change to use CPU cycle counting 2012-10-31 19:40:18 +00:00
goyuken e487e39c9e nes: clean up region detect code a bits 2012-10-31 18:48:06 +00:00
goyuken bc22049a19 NES Multiregion: sound frequencies supported 2012-10-31 18:35:34 +00:00
goyuken 7dc5808771 NES: preliminary support for PAL, Dendy, and RGB (part 1). at the moment, it's all determined from gamedb, and not at all saved to movies or savestates 2012-10-31 18:25:46 +00:00
goyuken 8af6cac4ec NES: BANDAI-FCG-1: cleanup and fix some stuff (broke savestates). FIXES: Dragon Ball - Dai Maou Jukkatsu, Rokudenashi Blues, Dragon Ball Z - Kyoushuu! Saiya Jin, SD Gundam Gaiden, Magical Taruruuto Kun 1, 2 2012-10-31 16:29:26 +00:00
goyuken 56e4a84f14 make the MOS6502XDouble debug core fully savestate compatible with the other two. if it's desired for debugging, they could be swapped out on the fly now... 2012-10-31 15:08:30 +00:00
goyuken 0d515dafdf nes: add ClockCPU() to INESBoard, for boards that count M2 cycles, and changed some mappers to use it. Mappers that need more inspection: Mapper027, SxROM, VRC2_4, VRC6, VRC7 2012-10-31 14:36:43 +00:00
zeromus 59664959f1 speed up c# 6502 and enable it instead of cpp one 2012-10-31 01:55:26 +00:00
adelikat 4ed68e0c9a oops 2012-10-30 23:42:42 +00:00
adelikat 1d4a8fd3ba Atari 2600 - add a Playfield toggle 2012-10-30 23:38:53 +00:00
goyuken 137ffd8081 bleh 2012-10-30 23:23:56 +00:00
goyuken 4272e0ffed MOS6502XDouble: fix loading savestates 2012-10-30 23:20:22 +00:00
adelikat a4a53342d1 Atari - Checkin DPC Mapper file 2012-10-30 23:13:49 +00:00
pjgat09 c1c85dba56 A2600: Implemented atari graphics toggles except for playfield 2012-10-30 23:12:09 +00:00
goyuken cd2ff4ed63 Add unmanaged version of 6502X core. The core it self is nearly exactly a copy+paste job from the C# one; most things map over exactly. A strange and abusive p/invoke setup is required to realize a performance gain; see code for details. Seems to be worth a bit more than 20% overall speed for me. Core is savestate compatible with managed 6502X. slight modifications to existing API has been made to support the new cpu. also included is a test module that runs both cores together, savestating every cycle to check for sameness. Core should fit in Atari, although that hasn't been done yet. For the moment, tracelog and disassemble are broken, but they'll be back soon. 2012-10-30 23:01:54 +00:00
goyuken 27bcfcff55 oops 2012-10-30 22:41:56 +00:00
goyuken acc9806d55 2600: add fake mDPC.cs to fix compile. 2012-10-30 22:14:31 +00:00
goyuken 8313c103f6 Namco163 Audio 2012-10-30 12:07:33 +00:00
adelikat ca86a8dff3 Atari - start DPC mapper (Pitfall 2) - only does the basic bankswitching right now, still needs the 2k display bank and DPC sound chip 2012-10-30 01:33:56 +00:00
adelikat f9c027ddad Add front end and corecomm values for Atari graphics object display toggling 2012-10-30 00:18:56 +00:00
goyuken aa292b678e shorten some of the FDS mechanical timings based on nesdev feedback. bizhawk now seems to be about 6 seconds slower than fceux in initial loading of FDS titles. This makes sense, as fceux isn't timing at all the BIOS's first pass over the disk, worth about 6 seconds. 2012-10-29 19:26:52 +00:00
goyuken 8a67af227e NES: MMC5: add "ExRAM" as memory domain, for debugging purposes 2012-10-29 17:11:19 +00:00
zeromus 223de0609c finish the attic, move some old junk up there. i think i threw out my back. 2012-10-29 07:56:30 +00:00
goyuken f09f8008ca nes: mapper036: "Strike Wolf (MGC-014)" 2012-10-29 00:09:27 +00:00
goyuken 164a6cb42d nes: gxrom: fix possible crash on 64K prg carts???? maybe? 2012-10-28 23:53:29 +00:00
goyuken 29c0733150 sneshawk: log core firmware requests to console 2012-10-28 23:42:04 +00:00
goyuken 4fa571d6e9 nes: mapper 171: "Tui Do Woo Ma Jeung". mmc1 with no mirror control 2012-10-28 17:50:48 +00:00
goyuken 8ce3857305 nes: mapper 250: "Time Diver Avenger (Unl)". mmc3 clone 2012-10-28 17:34:47 +00:00
adelikat 58bee3b594 PCE - fix typo in memory domain - "Arcade Card RAM" not "Aracde" 2012-10-28 16:29:47 +00:00
goyuken af86a270d5 FDS: fix savestate ejected disks 2012-10-28 15:23:10 +00:00
goyuken a2c0d1b57b FDS: cleanup and savestates 2012-10-28 15:13:56 +00:00
goyuken b1039a6bf9 nes: sunsoft4: partial support for "UNIF_NES-NTBROM". "Nantettatte!! Baseball" UNIF dumps now boot. 2012-10-27 15:11:07 +00:00
goyuken fce1ffcce2 FDS: make the sound channel softer overall. there are still some bugs with it, though... 2012-10-27 14:24:00 +00:00
goyuken afaa256e37 FDS: SaveRam support. The "saveram" actually stored is a simple collection of (originalside ^ side), more or less. Like any wip beta, don't get too attached to your saves yet. Also misc cleanup. 2012-10-27 14:01:55 +00:00
goyuken 452e1f0db4 FDS: implement CRC writing, reading, and checking 2012-10-27 01:04:54 +00:00
goyuken 06d131b777 NES: add FDS "currently loaded disk side" as a memorydomain. very rudimentary; for deblugging purposes only.
FDS: add disk writing.  nothing's saved anywhere at end of session, so not at all permanent.  seems to work though.
2012-10-26 21:25:20 +00:00
goyuken e6058e6bd8 break some stuff. FDS can eject and insert disk sides now 2012-10-26 18:51:08 +00:00
goyuken 7ee00fbcb8 ines mapper 103: smb2 pirate fds conversion 2012-10-26 15:43:05 +00:00
pjgat09 dfb45aa99c A2600: Fixed graphics on games including Enduro and Activision Boxing 2012-10-26 03:44:13 +00:00
pjgat09 bff6ac53d7 A2600: Fixed issue with vsync which caused flashing in Pleaides and Enduro 2012-10-26 01:50:08 +00:00
goyuken 57349cdbcb NES: fix crash when loading UNIF with incomplete gamedb entry 2012-10-24 23:30:46 +00:00
goyuken ff08e1f83e nes: mapper "TENGEN-800008". support Tetris (Tengen) 2012-10-24 22:03:59 +00:00
pjgat09 ce930374de A2600: Added very basic paddle support. Changing a hard coded value while debugging the emulator allows you to move the paddle. 2012-10-24 03:30:02 +00:00
adelikat 5309bea951 Add some docs for atari 2600 & 7800 mappers, slight fix to 7800 core 2012-10-24 01:47:04 +00:00
adelikat 11db3f1912 Atari 7800 - cleanup the BIOS paths and usage of those variables 2012-10-23 20:21:55 +00:00
adelikat 9c047b34b4 oops 2012-10-23 03:47:00 +00:00
adelikat 427a80548c Start an atari 7800 core based on emu7800, if you have bios files in very specific locations and filenames, you can open 2k ntsc games, and watch with no sound or controls! 2012-10-23 03:33:57 +00:00
goyuken 3378ea8001 fds audio: clip. intro to Metroid now sounds passable 2012-10-22 17:04:37 +00:00
goyuken 966495cbae fds audio channel. completely untested 2012-10-22 16:10:19 +00:00
goyuken fbb46e7054 fds - fix up some junk. smb2j runs now 2012-10-22 02:50:43 +00:00
goyuken e84f1d2761 fds: hmm 2012-10-22 01:11:39 +00:00
goyuken 44a8f442ee fds boots something 2012-10-22 00:57:28 +00:00
goyuken cda9a49d5f FDS : get a little farther before erroring out. still work to do 2012-10-21 19:22:22 +00:00
goyuken 7568ff9437 add FDS skeleton. set up your fds bios with pathconfig, then try to load any file with extension ".fds" 2012-10-21 15:58:24 +00:00
zeromus a34337691a run all version numbers through one place so that gui version numbers and assembly/dll version resources can be the same 2012-10-21 05:21:59 +00:00
adelikat 9a1cbbb34c Atari - attempt the 3E mapper, seems broken 2012-10-20 01:51:38 +00:00
adelikat 4f045eb20d Atari - a stab at implementing mapper m4A50, don't work, oh well, the mapper is garbage and overly complicated, and can't really exist 2012-10-20 00:14:28 +00:00
adelikat 90a288afeb Implement X07 mapper 2012-10-19 23:31:42 +00:00
adelikat 162932797b Atari - make 4Pak use the F6 mapper (header wants 4IN1 which I couldn't find any info on). F6 makes it playable it seems. 2012-10-19 21:33:23 +00:00
adelikat 563065d054 AtariHawk - fixes to the E7 mapper, still broken, don't know why, tired of looking at it 2012-10-19 00:13:39 +00:00
adelikat 00934939b0 AtariHawk - implement mapper 3F (including support of 512kb for homebrew) 2012-10-18 22:22:09 +00:00
goyuken 485d7c05c7 make av dumping with avi a bit more graceful error handling. NES: avoid crash when the frontend behaves in a naughty manner 2012-10-18 20:57:53 +00:00
adelikat 826419a0a3 AtariHawk - don't flag a frame as lag if the control switches are being read 2012-10-18 19:45:44 +00:00
goyuken d3a6b04a40 nes mapper 108: Meikyuu Jiin Dababa (FDS Conversion) 2012-10-17 19:06:03 +00:00
zeromus 9e50d25c16 snes-support user override backdrop color 2012-10-17 18:39:44 +00:00
goyuken b2db264eed nes: unif mapper "BMC-NovelDiamond9999999in1". possibly also INES mapper 54, but i've only seen this game in unif form. One game: "Multi-Game Pirate Carts.7z|Novel Diamond 999999-in-1 [U][p1][!].unf" 2012-10-17 16:48:28 +00:00
goyuken 41d401c60a nes mapper 177:
Shang Gu Shen Jian
Xing Zhan Qing Yuan
Wang Zi Fu Chou Ji
Xing He Zhan Shi
Mei Guo Fu Hao
2012-10-17 15:52:01 +00:00
goyuken 77b53f1400 nes mapper 143 : magic math, dancing blocks. dancing blocks refuses to run due to core problem? see comments... 2012-10-17 15:01:49 +00:00
goyuken ea02d40c66 add a number of UNIF board mappings. every one of these is tested playable on at least one game, but that doesn't mean it's "right" overall. as always, the only true solution is a hash identify. 2012-10-17 02:08:19 +00:00
goyuken 2c881a0785 AxROM: forgot that stupid ines doesn't really specify vram size at all. force vram = 8 for MAPPER007, because that's all that makes sense 2012-10-17 01:56:28 +00:00
goyuken a77e103d2b nes AxROM: turn crash from bad iNESes into an assert failure. 2012-10-17 01:52:54 +00:00
goyuken 58dacf9bcc NES: add line to rom status log for SHA1 hash when loading UNIF 2012-10-17 00:59:22 +00:00
goyuken 00c6259689 Unif: populate ci.wram_battery based on BATR chunk. 2012-10-17 00:44:34 +00:00
zeromus 4e079389da nes-re-sort board list continually with the most recently used one at the top of the list 2012-10-17 00:38:28 +00:00
zeromus 28687957cc nes-try prioritizing board search order 2012-10-17 00:25:46 +00:00
goyuken 201c7a9dc2 VRC7: create the fm chip in Configure(), instead of before constructor. this shaves .001ns off board scanning times 2012-10-17 00:25:02 +00:00
goyuken 9e2a207d4f nes mapper 41: caltron 6 in 1 2012-10-16 22:41:00 +00:00
zeromus 31c7edf8dd nes-unif support. we will need to explicitly add every UNIF board we support to their respective mappers, because
[1] each unif board name carries with it its own unique assumptions about which chips are present. 
[2] the unif board names may not be matching bootgod's, which we accept as canonical; 
also fix a small memory leak due to nes boards not being disposed during scan process.
2012-10-16 22:27:48 +00:00
goyuken cffc9293c1 nes mapper 164: fix final fantasy v graphics 2012-10-16 21:59:30 +00:00
goyuken 0e87a399ef Dummy commit to test problems with our bot
Hello, World!
2012-10-16 21:45:11 +00:00
goyuken 2207dc32ef mapper42: fix whitespace
natt is so godlike
2012-10-16 21:39:34 +00:00
goyuken 80737e8097 nes Mapper 42: dumb FDS conversion pirate stuff
Ai Senshi Nicol [p1].nes
Bio Miracle Bokutte Upa (J) (Mario Baby - FDS Conversion).nes
2012-10-16 21:37:25 +00:00
goyuken 9f31d09473 nes mapper 165: fix triggered ppu bankswap; Fire Emblem (Ch) looks good now 2012-10-16 20:21:36 +00:00
goyuken e45a80f6d5 NES: better error message for certain gamedb gaffe 2012-10-15 23:53:14 +00:00
goyuken fbcc7375de nes: add "NES-TR1ROM" to TVROM, should emulate identically (except for differences in MMC3 variant, which are handled). like "NES-TVROM", bootgod id only, as iNES is too crappy for this. should fix some version of Gauntlet (U), but can't test as I don't have the rom. 2012-10-15 21:34:39 +00:00
goyuken dfe0e6fa96 nes mapper116: fix exception 2012-10-15 20:50:46 +00:00