Commit Graph

2661 Commits

Author SHA1 Message Date
brandman211 fd6201c703 Implemented what to do on an interrupt. This seems to be logical as it tries to execute a GSWD instruction, but it takes the interrupt too early because I haven't figured out when to turn INTRM on / off. 2012-08-13 03:47:08 +00:00
adelikat 7d9cee2905 Remove new controller config idea 2012-08-13 03:23:25 +00:00
adelikat d8a21d18ff Revert use of new input config dialog 2012-08-13 03:17:47 +00:00
adelikat aa2475806a CHecking in a possible better solution for a controller config dialog 2012-08-13 01:22:02 +00:00
adelikat a5e369b872 NES - PPU Viewer - more small speed optimizations 2012-08-12 19:42:00 +00:00
rolanmen1 e2469328ae LuaWriter. Color numbers, need to make it color hexadecimals aswell. 2012-08-12 07:06:38 +00:00
adelikat 6dfcd10575 NES - PPU Viewer - draw immediately on load, PPU Viewer / Nametable Viewer - draw immediately on Restart() 2012-08-12 02:21:53 +00:00
adelikat 57987c0a21 NES - Nametable viewer - big speed boost by not repainting the unseen background 2012-08-12 02:13:06 +00:00
adelikat fb3d1a1bd3 NES - PPU Viewer - nice speed boosts by tweaking palette and pattern viewers to not redraw backgrounds 2012-08-12 02:05:37 +00:00
adelikat f84a3709c9 Misc code cleanup 2012-08-12 01:09:30 +00:00
adelikat af1dbf5305 NES - PPU Viewer - other small optimizations 2012-08-12 00:00:57 +00:00
adelikat 9fff16c0f4 NES - PPU Viewer - oops fix last commit, and also slightly better optimized as a bonus 2012-08-11 22:50:14 +00:00
adelikat 379e724d34 Render Panel - some tiny speedups 2012-08-11 22:38:40 +00:00
adelikat 1fcc6a24a5 NES - Nametable viewer - small optimizations ~1fps speed up 2012-08-11 22:32:52 +00:00
rolanmen1 c5577b7850 LuaWriter. I finally finished coloring Strings and Comments correctly. 2012-08-11 05:15:56 +00:00
adelikat 9cb825418f Lua Writer - take over paint event and only paint once per ProcessText(). Still todo: better management of when and what to draw 2012-08-11 01:50:27 +00:00
brandman211 c6cf18061f Scratchpad RAM, Graphics ROM, and Graphics RAM are apparently all 8-bit. 2012-08-10 20:40:34 +00:00
beirich f42b96ba7d ym2612: fix EG Rate calculation. Fix Attack Rate exponential formulation. 2012-08-10 04:46:29 +00:00
rolanmen1 945c12eb13 LuaWriter. AutoCompleteView will change through selected items by pressing Up/Down while keeping focus of the textbox. This will work once a highlight issue get solved. 2012-08-09 21:53:49 +00:00
rolanmen1 4771ba0f15 LuaWriter. Pressing Enter when there's no if, while, for, etc.. will add the tabs that the previous line had. 2012-08-09 20:18:43 +00:00
brandman211 5239b4f55b -Separated the STIC and PSG memory map logic into new objects.
-Foreground / Background | Color Stack Mode
--Actually made a boolean for it (FGBG).
--Reading from a write-only STIC alias of $21 does change the STIC into Color Stack mode, but it doesn't actually read.
--Color stack mode is enabled when $21 or its alias is read and it is disabled (FGBG) when written its written, both having to occur during VBlank Period 1.
---This is what I gathered from the wiki, but I'm confused as to why it says that "The STIC stays in this mode until the program accesses location $21 again." I'm assuming this doesn't mean the mode changes on every access because then I don't understand why a read would change to a different mode than a write.
--FGBG is disabled by default. I don't think it matters.
2012-08-08 23:05:55 +00:00
jxq2000 2fc36dca9b Revert previous commit related to updating colors/format of only one line at a time since that won't catch multi-line strings or comments. 2012-08-08 21:33:24 +00:00
beirich 9979c9f0d5 Add Gun.Smoke (KR) SMS to db 2012-08-08 02:28:54 +00:00
adelikat 1121479a5d gamedb - fix duplicate entry 2012-08-08 01:10:45 +00:00
beirich ce6de177a6 add CJ Elephant Fugitive dump to GameGear DB [CodeMasters mapper] 2012-08-08 01:02:26 +00:00
beirich b07008c7e7 Genesis vdp: small loadstate fix 2012-08-08 00:44:08 +00:00
beirich 32bc79be06 ym2612 mothaaaaafukkkkaaaaaaa 2012-08-07 05:48:30 +00:00
jxq2000 5770931669 Some work in ProcessText to try and alleviate the "OMG WE ARE ALWAYS SCROLLING" problem when typing.
Still needs some work (so no functional change yet), but the initial idea is to allow for checking/updating of only the current row when called from timer_Tick.
2012-08-06 23:19:05 +00:00
jxq2000 759bd52f6d Some progress made on positioning of the autocomplete box. 2012-08-06 22:52:55 +00:00
brandman211 0d20c133a5 -Moved the reset address to the CP1610 and made RegisterSP/PC private.
-Created helper functions for indirect ops; Indirect_Set will be needed for interrupts.
2012-08-06 15:51:35 +00:00
rolanmen1 05b107ed49 LuaWriter. Made ColorComments, ColorStrings and ColorLongStrings (wich is now called AddComments, AddStrings and AddLongStrings respectively) will no longer search symbols in the textbox, instead on a copy of it that is saved in a string variable. 2012-08-06 08:18:50 +00:00
rolanmen1 38723f8786 LuaWriter. This is half of a lot of changes im making.
1)Made a list of int arrays, these will have a start position, length, color and a number that will tell if said text is gonna be bold or not. This was made to color the text only once per edit. I also made it so these values are added in order of the starting position. This will select the text from top to bottom and not randomly like it used to be.

2)Made ColorSymbols (wich is now called AddSymbols) will no longer search symbols in the textbox, instead on a copy of it that is saved in a string variable. This was made because the RichTextBox.Find method selects text in the textbox, making the whole process slower. This will be done to the ColorComments and ColorStrings aswell.
2012-08-06 07:12:25 +00:00
adelikat 1bce6a724d oops, add Mapper197.cs 2012-08-05 22:28:03 +00:00
adelikat 975d449722 AxROM (Mapper 7) - make all AOROM games not emulate bus conflicts, fixes various Wheel of Fortune games, Double Dare, and Jeopardy 2012-08-05 22:02:58 +00:00
adelikat ea8d47bcc0 Start Mapper 197 (based on MMC3) and sort out the use of this vs Mapper 91. 2012-08-05 21:34:00 +00:00
zeromus 6a63f2f197 nes-work on mapper091 a bit, but its still not right 2012-08-05 20:19:07 +00:00
adelikat 77da639dc6 NES - Fix Mapper 50 2012-08-05 19:20:54 +00:00
brandman211 a19b76e6cc Added Interruptible and assigned it for every op. 2012-08-05 07:04:03 +00:00
brandman211 e9a8980f0c -Throw exceptions for TCI, SIN, and BEXT.
-Added and logged INTRM, BUSRQ, BUSAK, and MSYNC.
2012-08-05 06:47:00 +00:00
brandman211 b83bb1901d -When neither the cartridge nor hardware responds to a read, it now returns 0xFFFF instead of throwing an exception.
-I will now assume that 0x7000 is not mapped for the sake of continuing on. I will need to implement a mapper system shortly though.
--Did the same thing for 0x4800.
-AND@, MOVR, CMP enabled.
-Made the logging separator generate before an instruction instead of after the register states. This is quite petty, but I don't like the separator at the end of the file.

I hit an infinite loop, and I'm very very certain it's happening because I don't have an interrupt system yet. Time to stop avoiding that!
2012-08-05 05:59:55 +00:00
adelikat e8e64bca62 NES - VRC6 sound! 2012-08-05 00:11:32 +00:00
adelikat 4a28a1aa96 Archive Chooser - sort entries by region, add hotkeys 1-9 that select items 1-9 respectively 2012-08-04 22:45:58 +00:00
adelikat 02fc8eeaaf Archive Chooser - automatically highlight the first entry on load 2012-08-04 21:57:49 +00:00
adelikat 33954ddef7 NES - map MAPPER219 to NROM (fixes a version of 3D Block) 2012-08-04 19:22:49 +00:00
adelikat c0706ed0ac NES - add Mapper 120 (not documented by Disch docs), used by Tobidase Daisakusen (FDS Conversion). Mapper implementation based on FCEUX but game freezes before gameplay starts (plays fine in FCEUX) 2012-08-04 19:02:51 +00:00
rolanmen1 087947273c LuaWriterColorConfig. Added a panel to color Normal Text, also to put it bold.
LuaWriter. Added menu item that colors the background of the textbox. Added all the variables into Config.cs
2012-08-04 03:35:17 +00:00
adelikat a7b847dbe2 NES - some small easy optimizations to the APU (very small) 2012-08-04 02:41:15 +00:00
adelikat b10769ab4a NES - dsiable NESWatch checks in ReadMemory since this feature is not yet used for anything 2012-08-04 01:54:19 +00:00
adelikat fba6e64c58 NES - some small speed optimizations 2012-08-04 01:47:54 +00:00
adelikat 3eff778b98 Increment build number, this marks the beginning of the 1.0.6 release 2012-08-04 01:20:05 +00:00