Commit Graph

2581 Commits

Author SHA1 Message Date
adelikat 59ba7efdaf NES - start mapper 18 2012-07-29 22:40:57 +00:00
adelikat 31843f3e3a NES - mappers 74, 192, 194 - set VRAM sizes when mapper object is created, this removes the need to set vram in the gamedb. 2012-07-29 18:43:21 +00:00
adelikat d4ac95bd30 NES - implement mappers 74 and 194. Added gamedb entries for the games I could find that correspond to these mappers 2012-07-29 18:35:24 +00:00
adelikat 71865576a7 NES - finish mapper 192 2012-07-29 18:12:37 +00:00
adelikat 7cbee7bde4 NES - mapper 74 - implemented chr-ram behavior, however, it does not work (chinese characters still missing in dialogs, but this checkin causes no regressions) 2012-07-29 17:55:45 +00:00
adelikat 0e3cb19e0b NES - gamedb - Ying Lie Qun Xia Zhuan (Ch) is mapper 192 not 245 2012-07-29 15:45:24 +00:00
adelikat 047ed975d1 NES - implement mapper 234 2012-07-29 03:42:05 +00:00
brandman211 b1db1b7a69 -Reversed the double byte data bytes. It now works properly.
-Set the D flag to clear one instruction after it's set; SDBD is a prefix instruction.
2012-07-29 00:02:06 +00:00
adelikat c555e1df40 NES - mapper 52 complete 2012-07-28 18:53:26 +00:00
adelikat 9e96eb9ddc NES - start mapper 52 2012-07-28 18:14:04 +00:00
brandman211 53c0dd5ee0 -Enabled the ops that merely set / clear flags...there's no way I could have messed those up.
-Tested and implemented the MVO op.
-Implemented the other direct ops.

I think my double byte data handling isn't working. Will diagnose.
2012-07-28 17:50:32 +00:00
brandman211 748efbcd20 -Fixed the overflow calculation for ADDR, SUBR, and CMPR.
-Implemented the remaining XXX@ ops.
2012-07-28 17:20:16 +00:00
brandman211 188e5662ca It seems that indirect writes decrement the stack pointer BEFORE reading memory. 2012-07-28 17:06:06 +00:00
adelikat 1fb7d9a8a6 NES - Mapper 45 - oops, add lock_regs flag to savestates 2012-07-28 15:42:57 +00:00
adelikat 678e60815e NES - Mapper 50 - hook up IRQ logic? 2012-07-28 13:19:12 +00:00
adelikat 8d45516811 NES - mapper 50 - fix mirroring 2012-07-28 12:35:51 +00:00
brandman211 0d10eee747 -Implemented branching and tested BNEQ. BEXT not implemented.
-Made it so that the indirect ops other than MVO@ decrement R6 when it's the mem address. Indirect write means writing to a register apparently, so maybe the documentation don't contradict itself.
2012-07-28 04:18:13 +00:00
adelikat 5d521a5132 NES - mapper 50 - some fixes, almost complete 2012-07-28 03:37:06 +00:00
adelikat 7805c460d0 NES - start mapper 50, but it doesn't work 2012-07-28 03:11:39 +00:00
adelikat 10c71da526 NES - implement mapper 45 2012-07-28 01:29:06 +00:00
adelikat 524bc29b43 NES - remove some console logging spam on mapper 49 2012-07-28 01:02:16 +00:00
adelikat ad0c7d863c LuaWriter. Added a Zoom label, it is updated when you zoom in/out using Ctrl + MouseWheel 2012-07-27 23:33:05 +00:00
brandman211 4864aaa291 -Enabled and tested DECR.
-Fixed my disassembly of branch; I wasn't thinking in hexadecimal. >_<
-Subtracted 1 from the negated offset when branching in reverse. The next op is "BNEQ $FFFC".
2012-07-27 04:46:44 +00:00
brandman211 4d1f0114c4 R4-R7 now auto-increment for all of the indirect opcodes. My documentation is inconsistent on whether R6 increments or decrements on right, but in any case, my output now matches my source until the DECR, which hasn't been implemented yet. 2012-07-27 04:07:06 +00:00
brandman211 3a56f65c3f Implemented the XXXR opcodes. As of now, I have Jump, MVO@, MVI@, and XORR enabled and tested. There might be an off by one error with MVO@. 2012-07-27 03:33:24 +00:00
adelikat 9ee133866d NES - complete mapper 205, slight fix to mapper 91 (still not working) 2012-07-27 02:14:18 +00:00
adelikat 7363b06264 Remove some console logging when the context menu is opened. 2012-07-27 00:52:10 +00:00
adelikat db464a3bbd NES - Nametable viewer - draw nametable immediately when loading the dialog 2012-07-27 00:36:31 +00:00
adelikat bbbc51ecf8 Lua Writer - save font and font size to config (todo: font style), hook up exit button 2012-07-27 00:15:02 +00:00
andres.delikat 4d910ce93c TAStudio - remove some assumptions that opening TAStudio = movie loaded. This should never happen! TAStudio has virtualpads, an item useful without movies. It should not be assumed nor required that a movie is loaded! 2012-07-26 22:10:18 +00:00
adelikat fc5c669353 Lua Writer - fix default new lua to have the cursor position on a tabbed new line above emu.frameadvance() 2012-07-26 02:51:25 +00:00
adelikat dcc841fe3b Lua Writer - reset zoom factor, and resize dialog to something more reasonable 2012-07-26 02:22:56 +00:00
adelikat 2881187605 Lua Writer - set default font to a fixed width font, set tabs to 4 spaces 2012-07-26 01:22:12 +00:00
jxq2000 caa606af71 Lua writer color config is now functional, with default button; small fix to default library color; reverted introduction of redundant "Emulua..." value. 2012-07-26 00:48:19 +00:00
adelikat c0015a5b4c Lua Console - set a proper tooltip on the New Script toolstrip menu item 2012-07-26 00:01:21 +00:00
adelikat f93be79a47 LuaConsole: Hides and Disables the new script button on debug mode.
LuaWriter: Automatically adds "end" after pressing enter when if the line has "if", "for", "while", or "function". Even though, it creates a new line before the statement
2012-07-25 22:53:11 +00:00
andres.delikat a5ed71269d text: LuaConsole. Added a New Script menu item and toolstrip button. It calls the LuaWriter with a null path.
LuaWriter. If it is loaded with a null value, it will start the Text with while true do emu.frameadvance() end.
2012-07-25 17:36:26 +00:00
andres.delikat 8214a649c3 Lua console - fix to autoload lua session, if there is no recent session, it will open nothing, rather than cause an exception 2012-07-25 13:55:25 +00:00
brandman211 1bedd81666 That optimization for movie length calculation in the PlayMovie dialog now accounts for files with new line characters of all sizes. 2012-07-25 08:01:02 +00:00
adelikat bb05876f84 Fix lag counter display where lag frame drawing did not use the anchoring property 2012-07-25 00:51:59 +00:00
adelikat 863a7c3690 Fix bug when Run in Background is Disabled, emulator will now remember if the emulator was paused before losing focus, if it was, it will not unpause when activated. 2012-07-25 00:45:05 +00:00
andres.delikat f72905f602 NES - start mapper 96 (prg mapping working) 2012-07-24 14:32:09 +00:00
brandman211 b96e014327 -Reverted disassembly printout as it'll now match up with my comparison.
-Fixed the branching disassembly; the direction just negates the offset and the second parameter only belongs to BEXT. All of my sources contradict each other, but this seems sensible.
2012-07-24 05:29:24 +00:00
adelikat 817b202192 On Behalf of Rolanmen - LuaWriter. Now Colors Lua Library Words. 2012-07-24 03:35:28 +00:00
brandman211 d469a4e568 -Put the disassembly in parenthesis and put the opcode to the left of it in the logs. This is uglier, but it's initially easier for comparison this way.
-RegisterSP now increments in MVO@ instead of decrements. I'm not sure how this allows the stack to function properly, but it seems to work.
2012-07-24 03:05:57 +00:00
adelikat 08e79f26a2 Lua Writer - color config - re-hook up the load event that got clobbered at some point 2012-07-24 01:39:19 +00:00
jxq2000 6c5c33ea7a Beginning of Lua Writer Color config form - not yet functioning.
Renamed a global variable for consistency with others.
2012-07-24 01:11:36 +00:00
adelikat d774e49cd8 NES - Mapper 245 - do chr-ram logic. The 3 games I found correctly labeled as 245 (Yin He Shi Dai, DQ7, Hyrule Fantasy) all fail to run properly in this implementation, and FCEUX. 2012-07-24 00:12:40 +00:00
andres.delikat b08c2861a4 NES - start mapper 245 prg mapping working (possibly) 2012-07-23 22:15:22 +00:00
andres.delikat ae291162e1 Add Xing Ji Wu Shi (Ch) to gamedb as Mapper 176 (The ROM floating around is incorrectly labeled as 177) 2012-07-23 21:19:45 +00:00