Commit Graph

619 Commits

Author SHA1 Message Date
adelikat bbf282e131 Atari - implement lag counter, refactor implementation of frame counter slightly, add frame and lag counters to savestates 2012-03-23 02:55:46 +00:00
pjgat09 e708527168 TIA: Implemented missile copying. Also added the missile 1 size which was missing before. 2012-03-22 22:01:20 +00:00
zeromus fa25305d67 atari-add player 2 controls? 2012-03-22 06:33:28 +00:00
zeromus dc2107bd3b nes-make fake boards for almost every mapper, unless i missed one. 2012-03-22 06:20:10 +00:00
pjgat09 a56ddcdb15 Atari 2600: Modified how memory read/writes are handled, to better emulate the address bus. Cleaned up some comments. Turned off CPU debugging. Added functions to read console switches and player 2 buttons.
M6532: Mostly re-written, this time based on the datasheet. 
TIA: Removed console debug outputs.
2012-03-21 20:28:26 +00:00
adelikat f4bd799484 Atari - hook up main ram memory domain 2012-03-21 02:57:26 +00:00
pjgat09 5b5932696d M6532: Added a dedicated cycle count variable to fix a timer issue.
TIA: Increment the M6532 cycle count when in wsync.
2012-03-21 01:02:24 +00:00
pjgat09 5e65c7e977 TIA: Removed code for cosmic ark starfield (to be added back later, in a cleaner way). Changed the definition of a frame to start with the first scanline where VSYNC is disabled.
MOS6507: Fixed a copy-paste mistake with SBC instructions where it would remove another cycle. This fixes the screen bounce issue with pitfall.
2012-03-20 22:45:15 +00:00
zeromus 0131b23501 nes-fix a pretty gnarly regression from earlier today 2012-03-18 21:46:56 +00:00
zeromus 1c7fdf7529 nes-pass 10-even_odd_timing and 05-nmi_timing 2012-03-18 18:41:45 +00:00
zeromus a4cf363904 nes-fix bug in mmc5 (fixes mmc5exram test) and add support for ex1 mode (fixes gemfire) 2012-03-18 09:05:40 +00:00
zeromus 471b3ffb98 nes-fix soft reset functionality which had got broken when i upgraded the cpu core 2012-03-18 03:46:06 +00:00
zeromus 5883401ab1 nes-load formerly unloadable tests 2012-03-18 03:18:04 +00:00
pjgat09 63ceeff646 TIA: Fixed a typo breaking ball collisions 2012-03-17 03:28:50 +00:00
pjgat09 b95b3d5a5f TIA: Added missile graphics. Attempted to make hmove show cosmic ark's starfield correctly, with some luck. Still not correct though. Added collisions. 2012-03-17 03:10:49 +00:00
pjgat09 8afd24a305 New TIA: Moved counter increase into playerdata struct to limit repeated code. Implemented stretched player graphics. Implemented ball graphics (with hmove). Moved hmove data into a struct for better organization. 2012-03-16 18:05:16 +00:00
pjgat09 40ca3e1616 Atari 2600: Turned off sound output until the new TIA is further developed.
New TIA: Implemented a portion of the TIA using counters. Pitfall's first screen renders correctly.
2012-03-16 07:24:00 +00:00
zeromus 2b21ca7127 add new, more detailed 6502X cpu core, use it in the nes core as experiment. win almost all the speed back, pass some more tests. 2012-03-15 21:28:37 +00:00
pjgat09 ef28378dcd Atari 2600: added stub for the new TIA 2012-03-15 21:08:53 +00:00
pjgat09 d80abfaba5 Atari 2600: renamed TIA to oldTIA in preparation for a new TIA revision 2012-03-15 21:08:00 +00:00
zeromus 20a242c27e sync mos6502 from my last core generator checkin 2012-03-15 20:40:50 +00:00
pjgat09 2d94018eaa Atari 2600: Sketchy implementation of audio output (mode 0x01 only) 2012-03-15 20:34:14 +00:00
zeromus 516735d3b6 nes-add some catch-all mappers 2012-03-15 19:17:54 +00:00
pjgat09 10365ef970 Atari 2600: Implemented the reset button 2012-03-15 06:09:10 +00:00
pjgat09 a55bdd1a69 TIA: Implemented player copy mode 0x06
M6532: Added an interrupt register
2012-03-14 21:57:10 +00:00
zeromus 3c267db54c add reset button to atari 2600 and add .a26 to multiclient filetypes list 2012-03-14 21:35:07 +00:00
pjgat09 e686660a7c TIA: Added score graphics. Added support for collisions, and added responses for some collisions. Added support for controller button input. Added another copying mode (0x01: 2 copies close). Fixed a color issue with Pacman. 2012-03-14 20:28:10 +00:00
pjgat09 32bc215c2e MOS6507: Hacked in BCD mode (borrowed from HuC6280). Pitfall's time counter now works correctly 2012-03-14 16:03:14 +00:00
adelikat 863f3fc4e5 fix an error in chr rom size for a CNROM game 2012-03-13 02:10:18 +00:00
pjgat09 b9a791ab30 Atari 2600: Added support to read UDLR from controller
M6532: Gives controller data to game program
TIA: Fixed player reflecting error
2012-03-12 21:16:38 +00:00
pjgat09 5e69d7503e TIA: Added blanking when HMOVE occurs.
Implemented playfield copying (fixes some Pacman display issues).
Added a document which discusses the inner workings of the TIA on a circuit level.
M6532: Added stubs for several registers, and changed the returns for some. Pitfall's first screen now renders correctly, and the copyright message scrolls.
2012-03-12 18:44:29 +00:00
peter e310e90d9f Conditionally compile Windows code, make Throttle class portable, and add dummy input/audio implementations for non-Windows
This is (almost, bar some local resource hacks) enough to start the
emulator on Linux/Mono, load a ROM and watch the demo (input and
audio don't work yet).
2012-03-12 04:44:34 +00:00
peter 0776d48b81 Add subwcrev.sh build script for non-Windows platforms 2012-03-12 04:44:10 +00:00
beirich ca47082737 fix some PCE savestate desyncs 2012-03-12 00:14:44 +00:00
adelikat 643c742266 PCE Core - fix SystemBus memory domain size 2012-03-11 19:16:04 +00:00
taotao54321 2f9a5212bc Added BG/OBJ display settings for SMS (not accessible yet) 2012-03-11 16:15:20 +00:00
taotao54321 575c44f470 Now setrenderplanes() works also for SuperGrafx. 2012-03-11 09:51:23 +00:00
pjgat09 c72eef1abc Atari 2600 TIA: added support for delayed graphics
sketchily implemented cloning, enough to get pitfall to render
2012-03-11 08:43:45 +00:00
pjgat09 23cb513188 MOS6507: adjusted for instructions with a variable cycle count 2012-03-11 07:08:48 +00:00
taotao54321 30b0dc6780 PCE: added settings to show/hide BG/OBJ for TurboGrafx (not for SuperGrafx)
Now setrenderplanes() works for TurboGrafx (not for SuperGrafx)
2012-03-11 06:50:46 +00:00
pjgat09 84a11eacdf Switched over to using the 6507 to allow for some modifications to the CPU
MOS6507: now executes instructions on the last cycle. This corrects a syncing issue with the TIA
TIA: added ball data, partially implemented HMOVE, implemented VBLANK
2012-03-11 03:22:44 +00:00
beirich bc2e7995cc clone 6502 into 6507 2012-03-11 03:09:43 +00:00
taotao54321 c6fcda4418 6502 disassembler: print the destination address of branch, not the offset 2012-03-10 19:10:12 +00:00
pjgat09 3e67e78da2 Partially implemented player0 graphics, this time in a more organized fashion 2012-03-10 18:12:12 +00:00
zeromus ab2e19af32 nes-remove console spam 2012-03-10 17:59:02 +00:00
adelikat 67c98f7d37 Implement board AVE-74*161 2012-03-10 13:40:36 +00:00
adelikat efd4c5cbab Make...a certain game...work 2012-03-10 13:30:39 +00:00
pjgat09 8a73d50e0b Basic implementation of player 0 graphics 2012-03-10 08:34:04 +00:00
zeromus 5493904312 new-fix a recently created ppu bug affecting some vertical scrolling 2012-03-10 05:30:53 +00:00
zeromus c3ba1905ca straighten out mappers 232 and 71 2012-03-10 05:02:17 +00:00
pjgat09 0079d6ade5 Modified the TIA to be cycle based. Improved the rendering of pitfall in the process. 2012-03-10 04:53:23 +00:00
pjgat09 781ab15e1e Partially implemented the M6532's timer capabilities
Sketchy implementation of the TIA. But hey, it kind of renders pitfall!
2012-03-10 00:26:54 +00:00
adelikat 5195453229 Update versioning stuff and about box, and set interim flag back (I seem to keep checking that in on accident). This marks the beginning of 1.0.2. 2012-03-09 23:33:56 +00:00
adelikat 3a6ac596bf Add some atari mapper documentation 2012-03-09 19:35:49 +00:00
zeromus 78c13395a2 nes-note that mapper 192 is impossible to emulate at the present due to lack of test cases 2012-03-09 05:06:57 +00:00
zeromus edebf0da14 nes-"support" mapper 191 (no known test cases) 2012-03-09 04:57:46 +00:00
zeromus b65438d819 nes-support mapper 189 2012-03-09 04:44:30 +00:00
zeromus cf5dcb1cd5 nes-support mapper 182 2012-03-09 04:30:46 +00:00
zeromus f592fc3748 nes-support mapper 115 2012-03-09 04:15:56 +00:00
adelikat 7d308da245 Mapper 46 complete. 2012-03-09 03:38:11 +00:00
adelikat f9e43cf3d7 Mapper 46 - fix gamedb entry, put in high bits 2012-03-09 03:24:05 +00:00
adelikat 5655262df6 Start Mapper 46, could not get the gamedb.txt entry to work properly 2012-03-09 02:57:04 +00:00
taotao54321 9ab33cba8b 6502: partially implemented unofficial NOPs for "Puzznic (U)", "Puzznic (J)".
It is quite insufficient, but at least, we have to increment program counter appropriately.
For immediate addressing mode, it will be correct. For other addressing modes, I don't know whether they access memory, so further investigation will be needed.
2012-03-08 16:48:36 +00:00
taotao54321 26ff1a1bc5 cosmetics (indent for BRK opcode) 2012-03-08 15:33:52 +00:00
pjgat09 405af35d72 Started work on Atari 2600 core. Added stubs for the TIA and M6532 to be filled in later. Memory map is hard coded, but will only work for basic 4K carts like pitfall. That'll have to be changed later. 2012-03-08 08:12:44 +00:00
zeromus 137522691c nes-fix an old crusty wart of a scroll timing bug that grew while ppu was getting ported from fceux 2012-03-08 07:50:16 +00:00
zeromus e973533b48 nes-change oam dma cycles to 513 2012-03-08 04:49:19 +00:00
zeromus 1b91aa6bca nes-fix bug in xml parsing which made games with multiple carts (unusual) not detect subsequent carts 2012-03-08 04:48:14 +00:00
zeromus 9a6d6a63bd improve nes rom detection log, and set svn:executable on some files 2012-03-07 19:14:15 +00:00
pjgat09 0f92deb140 Added an atari docs folder 2012-03-07 00:55:09 +00:00
zeromus c0ace9ce83 add a2600 core stub 2012-03-07 00:40:20 +00:00
zeromus 2278cfcccb nes-fix $2007 access while rendering (young indiana jones) 2012-03-06 19:19:56 +00:00
adelikat 9d39b88783 Some testing results of Mapper 16 2012-03-06 13:33:50 +00:00
adelikat 3a48e91496 Mapper 82 is complete as well 2012-03-06 12:14:52 +00:00
zeromus 9d6001691f nes-fix gauntlet 2012-03-06 09:55:57 +00:00
zeromus ed9de010c0 nes-add some crappy mmc3 multicart mappers 2012-03-06 09:42:11 +00:00
zeromus 8e829faa03 nes-restore some more verbose detection logging that had got lost at some point 2012-03-06 08:01:48 +00:00
zeromus 7d263c9a10 nes-support 8KB PRG roms 2012-03-06 07:51:41 +00:00
brandman211 e7e8402af0 -Made the GUID for ImportVBM uniform with the other cases.
--Because there are way more bytes used to represent the other GUIDs than this one, I just appended -0000-0000-0000-000000000000 to this per zeromus' request.
-Got rid of the hex part of the BytesToString function. We apparently have BizHawk.Util.BytesToHexString.
-Converted BytesToString to r.ReadStringFixedAscii, an extension method. I've determined that extension methods are cool and that I should use them more often.
2012-03-06 05:27:50 +00:00
adelikat ff86bc5101 Mapper 82 complete 2012-03-05 20:16:25 +00:00
adelikat 868bcc8502 Forgot to check this in 2012-03-05 18:23:18 +00:00
zeromus 1ac5ce1bfb nes-fix taito_x1_005 2012-03-05 18:21:17 +00:00
adelikat 5a76c282ac Start mapper 82 - PRG mapping working, needs chr mapping 2012-03-05 18:06:30 +00:00
adelikat 204c025af2 Add "escape clears mapping" message on controller config dialog 2012-03-05 14:22:49 +00:00
adelikat f450246098 NESHawk - mapper 80 prg mapping done, still need some chr work 2012-03-04 22:18:24 +00:00
adelikat a25699fb89 NESHawk - progress on mapper 80 2012-03-04 21:20:30 +00:00
beirich a76ea9c520 pce: fix a crash when a HuCard accessing invalid addresses would venture into TurboCD ports (namely, Rastan Saga) 2012-03-04 19:37:00 +00:00
zeromus 1a66be9a06 nes-fix chu chu related things 2012-03-04 03:50:45 +00:00
zeromus bda74d9e3d no need for mapper docs anymore, as theyre all on nesdev wiki 2012-03-04 01:52:02 +00:00
zeromus fce546dc2b nes-straighten out rendering range off by one issues 2012-03-04 01:41:14 +00:00
zeromus 38143cd9ce subwcrev version numbering on bizhawk.emulation.dll 2012-03-03 19:19:25 +00:00
adelikat 6d9eb41105 Oops, didnt check this file in last time 2012-02-25 16:53:02 +00:00
adelikat ee9f493976 NES - start mapper 80 2012-02-25 03:39:31 +00:00
zeromus f801d04a46 now remove traces of psx from the current project, so it doesnt confuse any users 2012-02-24 20:45:27 +00:00
zeromus 8b3246a510 continuing cleanup.. sorry, this is like a month's worth of work 2012-02-24 20:42:11 +00:00
zeromus fd6ac896fc general cleanup.. remove a bunch of warnings.. improve log console system a bit.. add new icons for log console window.. remove old demo psx interop system and add new, simpler one, which isnt really tested yet but is way less annoying. 2012-02-24 20:38:35 +00:00
brandman211 a92865a13d -Removed the redundancy from TI-83 as well. The whole revamping is a net loss of 292 lines of code.
--Note that I don't think that the calculator pad simulator is registering when I click 0, and that this doesn't seem to be related to any changes I made.
2012-02-21 00:40:44 +00:00
brandman211 79d12b9181 -Refactored NES and PCE button orders.
-Realized that FixMnemonic is useless as GetControllersAsMnemonic() + WriteMovie() = Fixed.
-Finished the NES / PCE importers, now without string builders (Thanks zeromus)!
-Converted ImportMMV to this same method.

TODO:
-Decide how's the best way to handle the mnemonic header and implement it. Apparently, anything other than a predefined header and a | is considered as a comment, so I might do something like:

comment Mnemonic format:
[0|UDLRsSBA]
2012-02-19 07:09:24 +00:00
zeromus 5f66de57ec discohawk-add capability for searching for mis-extensioned files (broadens compatibility a bit) and autodetecting audio tracks based on extension where otherwise marked as binary. 2012-01-21 21:23:19 +00:00
andres.delikat e220d62c54 Gameboy - oops, fix SRAM memory domain 2011-12-27 03:03:10 +00:00