Commit Graph

271 Commits

Author SHA1 Message Date
ansstuff 87ae74a398 * Tracer: do not clear window log when stopping the logging
* Tracer: a change in window layout
* PPU Viewer: minor change in window layout
2013-09-22 20:31:22 +00:00
ansstuff e2ffb40fd5 updated docs
[[Split portion of a mixed commit.]]
2013-09-22 18:54:01 +00:00
ansstuff 8b8a9d5191 * Tracer: the dialog window can be resized
* Tracer: disassembly text field width is now 45 symbols instead of 35
2013-09-22 14:18:57 +00:00
CaH4e3 b72648aced mapper 28 even better fix 2013-09-20 21:41:24 +00:00
ansstuff 9af83bb79c * Debugger: newly created Bookmarks inherit existing symbolic name by default
* Debugger, Tracer: right-clicking on an address or a symbolic name works even when there's selection
2013-09-20 20:30:08 +00:00
ansstuff 8f9e2be234 * Debugger: clicking on Symbolic names works as well as clicking on addresses
* Tracer: clicking on Symbolic names works as well as clicking on addresses
* Debugger: "Symbolic Debug" is enabled by default. "Symbolic trace", on the other hand, is not enabled by default, because it slows down tracing performance 2x (even when there's no NL files!)
2013-09-20 18:12:16 +00:00
ansstuff 0e2422f90a Optimized Symbolic Debug for speed (so Trace Logger has less overhead when Symbolic Trace is on) 2013-09-19 20:51:41 +00:00
CaH4e3 e59e6d35d6 various fixes 2013-09-19 18:37:53 +00:00
zeromus 74cfde363f fix mmc5 savestate bugs 2013-09-18 23:03:59 +00:00
zeromus de76214f67 make single instance gui option do something useful 2013-09-17 05:43:11 +00:00
ansstuff 1ab0323d64 * PPU Viewer: added "Mask unused graphics" and "Invert the mask" checkboxes
* PPU Viewer: fixed window layout when using big fonts
2013-09-16 16:04:11 +00:00
feos-tas 1399397477 * Lua: added memory.readword(int address1 [, int address2]).
* Lua: added memory.readwordsigned(int address1 [, int address2]).
Both handle little endian words only.
Second address allows to construct word of 2 scatter addresses.
* Lua: emu.tobit() is now tobitstring().
2013-09-15 18:37:11 +00:00
feos-tas efb262cae6 * Lua: added emu.tobit() function
Converts byte to binary string.
2013-09-15 11:35:14 +00:00
CaH4e3 0220dabeb4 mapper 002 - workaround for "Top Gun" issue #621, need test if this isn't broke something other
mapper 012 - added hardware dip for language select
UNIF PEC-586 - fixed render finally, added 512K cartridges suppport, TODO: PEC keyboard
2013-09-15 10:41:42 +00:00
ansstuff a6c62b4b5f * Debugger: "Symbolic Debug" state is now saved in global fceux.cfg instead of different .deb files
* Debugger: debuggerFontSize can be specified in fceux.cfg
* Hexeditor: hexeditorFontSize can be specified in fceux.cfg
2013-09-13 13:30:31 +00:00
ansstuff df5132609e * Tracer: fixed mouse wheel scrolling 2013-09-12 12:02:17 +00:00
ansstuff 1bdd98b78e * Tracer: added Symbolic Debug naming by right-clicking any address
* Tracer: clicking any address select the address
* Tracer: double-clicking any address brings Debugger at the address
* Tracer: added mouse wheel support
2013-09-11 21:30:34 +00:00
feos-tas 5072684a8f * Hex Editor: Symbolic Debug naming by right-clicking address 2013-09-10 18:11:37 +00:00
ansstuff f9b51f4e7e * Debugger: added Symbolic Debug naming by right-clicking any address 2013-09-09 21:06:54 +00:00
punkrockguy318 2fc781b581 gtk: remove useless portion of code 2013-09-07 20:25:43 +00:00
ansstuff e4a17b1b0f updated Taseditor docs (basically, only hotchanges-colors.png)
[[Split portion of a mixed commit.]]
2013-09-05 15:38:18 +00:00
ansstuff 6cf3f4dd23 updated docs
[[Split portion of a mixed commit.]]
2013-09-05 15:15:17 +00:00
ansstuff 4f0c7474df * Debugger: fixed Cycles counter reset when loading an earlier savestate
* Taseditor: small cleanup because of a failed experiment with different "Follow cursor" behavior
2013-09-05 14:53:07 +00:00
punkrockguy318 405c20d871 SDL: Added unity launcher support/features to .desktop file (sf #620; thanks jack david baucum) 2013-08-28 22:34:11 +00:00
punkrockguy318 72b49eae46 SDL - install icon and .desktop file on 'install' target (sf#619); thanks Jack David Baucum 2013-08-28 16:25:02 +00:00
CaH4e3 89c26562b9 bandai mapper fix 2013-08-14 20:16:08 +00:00
ansstuff 24edc16a2e * Hexeditor: changed "Highlight Activity" workings, added "Highlighting" submenu
* Taseditor: an experiment with somewhat different colors for HotChanges
2013-08-09 18:10:33 +00:00
ansstuff 7008dfd8d1 Hexeditor: added View->Highlight Activity feature 2013-08-04 17:59:05 +00:00
ansstuff ef132c44e4 Auto-disable "Game Genie ROM" feature when no "gg.rom" file is found. 2013-08-04 13:05:48 +00:00
ansstuff 2f43547607 Debugger: highlight PC pointer line when a breakpoint is hit 2013-07-16 13:53:55 +00:00
punkrockguy318 5342a761a6 gtk: check if a "last opened" directory exists before setting directory to defaut in lua open dialog 2013-07-08 23:06:26 +00:00
punkrockguy318 ae7c5ffc78 sdl: use system lua patch (part 2; missed file in previous commit) 2013-07-08 23:05:36 +00:00
punkrockguy318 97295e18c4 sdl: applied patch to use system lua on non-win platforms (thanks Joe Nahmias!) 2013-07-08 23:00:57 +00:00
punkrockguy318 3c27962337 sdl: set default directory for palette and lua script file choosers (accepted patch from joe nahmias; thx!) 2013-07-08 21:56:18 +00:00
punkrockguy318 4acc21804e sdl: fix format string potential security error (accepted patch from Joe Nahmias; thanks!) 2013-07-08 16:10:06 +00:00
ansstuff e99c791670 * RAM Search: added "Hex Editor" button and right-click (#610)
* RAM Watch: fixed bug when loading Recent files
* Taseditor: fixed rerecord counter reset when loading/creating projects
2013-07-05 15:37:57 +00:00
ansstuff da2b1ddb3d * Debugger: added CDL data column in place of left panel. It helps to distinguish executed branches of code from not logged code
* Debugger: clever autoscrolling when stepping/seeking to PC. It maintains relative position of the ">" pointer inside the Disassembly window
2013-07-04 15:01:06 +00:00
ansstuff 4d1e93b9e8 RAM Watch: fixed epic bug when contents of old .wch file mixed with the newly saved data because of "r+b" mode (changed it to "w+b") 2013-07-03 19:48:29 +00:00
ansstuff 9046b369ce * Taseditor: Greenzone: always keep Greenzone.lagLog in touch with history.currentSnapshot.laglog (fixes workflow with "Auto-adjust" disabled) 2013-07-03 16:46:12 +00:00
ansstuff 440550a02d * Tracer: only output "from $XXXX" when the subroutine was called by JSR (fixes possible errors in those cases when the subroutine was called using stack magic) 2013-07-03 13:20:04 +00:00
ansstuff 4a9a8f9bdd * Debugger: do not reload ram.nl every time automatically 2013-07-03 13:08:41 +00:00
punkrockguy318 20702c7267 sdl: stub off functions that need to be rewritten for SDL2
sdl: sdl2 now compiles (albeit does not work whatsoever at this point)
(TODO: write InitVideo for SDL2)
2013-06-27 01:58:10 +00:00
punkrockguy318 de7c3e26b2 sdl 2.0 on wishlist 2013-06-27 01:23:50 +00:00
CaH4e3 a9f25bd500 ppuview + cdlogger little improvement 2013-06-20 21:51:01 +00:00
ansstuff 3eadc227f7 forgot to add this 2013-06-15 19:50:08 +00:00
ansstuff c7555d85c9 * Taseditor: handle "Insert Coin" command correctly (no recording while seeking/etc)
* Taseditor: updated docs

[[Split portion of a mixed commit.]]
2013-06-15 19:44:11 +00:00
ansstuff c4eeddcf0c * movie recording: fixed bug when emulator allowed recording commands outside the range of FM2 specs (#615)
* movie recording: added "Insert coin" command
* updated docs accordingly

[[Split portion of a mixed commit.]]
2013-06-15 18:46:52 +00:00
ansstuff a136a7813c * win32: remember Author name when creating a new movie (using taseditorConfig) 2013-06-15 13:25:00 +00:00
ansstuff f07e49b270 * A couple of fixes which deal with "multiple ROMs in a single archive" case. The loading procedure now takes into account actual ROM name when loading ROM from an archive containing multiple files. This affects PAL/NTSC detection (in case there were ROMs of different regions inside a single zip). Also, "auto-resume play" now loads actual ROM on startup (instead of prompting a list of archived files to choose). Also, NL files (symbolic debug) are named correctly when debugging a ROM from such an archive, etc. 2013-06-08 15:01:00 +00:00
ansstuff c61bc9d104 * win32: fixed bugs when saving files while working with ROMs in archives 2013-06-08 12:58:53 +00:00
ansstuff c6e621bd58 * win32: fixed links to fceux.chm pages 2013-06-02 14:33:39 +00:00
ansstuff 35296f5677 * Hexeditor: specify Data bank condition when adding a Breakpoint by context menu
* updated docs

[[Split portion of a mixed commit.]]
2013-05-27 15:42:08 +00:00
ansstuff 120a5b7e1f * Debugger: added 'T' condition (checks the bank of the data accessed) 2013-05-26 19:40:41 +00:00
ansstuff 32fdd7f4c8 * Win32: fixed storing and loading .deb files when working with archived ROMs 2013-05-26 18:44:19 +00:00
ansstuff 015e559e47 * SDL: actually fixed instructions counting 2013-05-26 16:33:43 +00:00
ansstuff 78b47b938a * fixed filename reference in Luabot.lua (#603)
* SDL: fixed instructions counting (even though the only way to see the value of the counter is to use debugger.getinstructionscount() in Lua)
2013-05-26 16:20:38 +00:00
ansstuff 50a1ad74ab * Lua: added debugger.hitbreakpoint() function
* Lua: added debugger.getcyclescount() function
* Lua: added debugger.getinstructionscount() function
* Lua: added debugger.resetcyclescount() function
* Lua: added debugger.resetinstructionscount() function
* Win32: when no script is currently running, Shift+L loads the most recent Lua script
2013-05-26 15:18:30 +00:00
CaH4e3 1b5220a004 mapper 183 - second level crash fix 2013-05-26 07:55:23 +00:00
CaH4e3 175c4af22b mapper 253 - fixed dragonball garbled graphis TODO: irq
bandai mappers - fixed savestates
2013-05-14 08:41:03 +00:00
CaH4e3 d5e6d7f891 mapper 43 - new dumps needed
UNIF mihunche - new source for the old board/mapper
UNIF PEC-586 - new mapper almost complete
2013-05-13 19:27:34 +00:00
ansstuff dad4e753f6 Video config: changed "Create surface in memory" to an actual drop-down list with 3 options: a) No hardware acceleration; b) Create surface in RAM; c) Hardware acceleration. Because it appears that some video cards still blur textures even when stored in RAM. 2013-05-09 13:26:47 +00:00
CaH4e3 95b120fcf4 bandai eeprom emulation, enjoy 2013-05-08 15:41:12 +00:00
CaH4e3 abcb50e2e3 bandai mappers fix (for now)
more crc redefinitions
2013-05-07 20:42:54 +00:00
ansstuff b2b47db6ef updated docs
[[Split portion of a mixed commit.]]
2013-05-07 14:53:50 +00:00
CaH4e3 80ec97d159 copyrights 2013-05-07 05:49:08 +00:00
ansstuff 24f16b670c * added checking if the archive file has any files in it, because new 7z.dll confuses FDS files with archives (it recognizes the first "F" as a signature of an archive) 2013-04-29 12:52:43 +00:00
ansstuff 4597f8543c * Video config: changed "Disable hardware acceleration" option to "Create surface in system memory" 2013-04-28 18:03:55 +00:00
ansstuff d15b71a9ce * win32 video: always create backbuffer in system memory, should fix the blur in WinXP
* also made hardware acceleration enabled by default
2013-04-24 13:44:42 +00:00
zeromus 7bc40c5c51 dont printf size_t with %d, cast it to an int instead. because really, have you ever seen a size_t that wasnt immediately casted to an int? woops, missed one. 2013-04-23 03:09:52 +00:00
ansstuff d962178d15 * Video config: added "Square pixels" option, enabled by default
* Video config: renamed "Use console BG color for empty areas" option to just "BG color"
* Video config: added aspect ratio fields for customizing "TV Aspect" ratio, by default it's 4/3
2013-04-19 16:34:55 +00:00
ansstuff 510b8a770b Savestates: fixed errors handling (broken by previous commit) 2013-04-19 12:58:14 +00:00
xhainingx c497432785 added optional arguments to suppress messages on state load/save
the argument was added in the following functions
state.cpp:FCEUI_LoadState
state.cpp:FCEUI_SaveState
state.cpp:FCEUSS_Save
state.cpp:FCEUSS_Load
This helped with the periodic saving where you don't really want the
save message popping up every time there's a save.
2013-04-18 19:40:57 +00:00
xhainingx 992166852c fixed sdl/SConscript to only compile gui.cpp when using GTK in SConstruct 2013-04-18 05:27:54 +00:00
xhainingx 78770114f9 added #include "types.h" to fceu.h 2013-04-18 04:42:35 +00:00
xhainingx 00d17cc331 removed a debugging printf I had left 2013-04-18 04:41:09 +00:00
xhainingx 11e84829e4 added --periodicsaves command line argument
in sdl.cpp:DoFun(), it will save to the state specified by
--savestate periodically.  The interval is currently decided by
a #define in sdl.h. I have it this way because you have to mod
by the interval, and having this be a compile time value lets 
the compiler optimize out the modulo operation.  Since this check
will happen so frequently I thought this was better.  However, if
this is better suited to something configurable, I am willing to
change it.
2013-04-18 04:17:34 +00:00
xhainingx 3d05dad95e added gui.cpp functions to gui.h and compiled/linked gui.cpp
sdl.cpp had a #include "gui.cpp" line, rather than
including the gui.h header (which was lacking).  All the declarations
are now in gui.h and gui.cpp is in the sources_list
2013-04-17 19:22:05 +00:00
ansstuff 40231420d1 fixed Aboutbox 2013-04-17 18:50:42 +00:00
ansstuff b5ff928a50 "Auto-resume old play session" now also works with NSFs 2013-04-17 18:35:22 +00:00
zeromus c9c4b057dd properly savestate NSF 2013-04-17 18:19:54 +00:00
ansstuff 371ffcbf19 win32: updated 7z.dll to v9.22 2013-04-17 18:08:55 +00:00
zeromus dfbd7c2405 add missing mmc5 savestate variables 2013-04-17 17:24:47 +00:00
xhainingx a8386f8c25 added appropriate constness to Config::getOption functions
Previously the Config::getOption functions were not marked as const,
This prevented them being called through a const Config * as I was
attempting to do.  I've marked them as const member functions
as well as changed the iteration to use a const_iterator.
2013-04-17 15:29:06 +00:00
xhainingx 950d38e25d C++11 compliant string literal concatenation 2013-04-16 20:14:42 +00:00
xhainingx 7abad425c5 switched header files in sdl/ directory to c++ headers 2013-04-16 19:53:01 +00:00
ansstuff acc1a07c1e * Tracer: added "Log Cycles count" and "Log Instructions count" options 2013-04-16 16:12:45 +00:00
ansstuff f63e190e35 * Debugger: fix mouse wheel scrolling by whole instructions 2013-04-14 12:47:06 +00:00
zeromus 166e1637fd fix win32 compilation errors 2013-04-13 23:17:46 +00:00
ansstuff 5399af97e9 * Debugger: scrolling up/down by whole instructions 2013-04-13 13:45:53 +00:00
ansstuff 466798309c fixed win32 bug caused by previous commit. The <sys/stat.h> has to be included above "types.h", or else the "#define stat _stat" fails 2013-04-13 13:05:22 +00:00
xhainingx bc8a01178d corrected c-style includes, added static_casts around compile time conversions
there were a lot of lines that needed static_casts to get rid of compiler
errors (c++11 issues) so I added them.  Replaced #include<lib.h>s with
#include<clib>s, and moved them below the local includes
2013-04-13 02:52:13 +00:00
punkrockguy318 1478ebebeb scons: explicitly disable compiler optimization for debug build 2013-04-12 17:26:08 +00:00
gocha 43c849cc68 Lua: fix wrong frequency calculation in sound.get() 2013-04-12 12:52:01 +00:00
xhainingx a666ca9b4b didn't mean to commit the previous SConstruct, back to normal 2013-04-12 01:34:48 +00:00
xhainingx 6e1137a269 changed names of new command line args
--abstartselectexit     ->  --4buttonexit
--autosavestate         ->  --savestate
--autoloadstate         ->  --loadstate
2013-04-12 01:33:52 +00:00
xhainingx 0ad7a6ed08 added command line argurments for exiting on button pushes and
autoloading/autosaving

various other small changes around the source, but the big changes
to the program are the command line arguments
--abstartselectexit (0 or 1)
--autoload (0-9 or greater than 9 for no autoload)
--autosave (0-9 or greater than 9 for no autosave)

autosaving only occurs when sdl.cpp:CloseGame() is called, which
doesn't appear to happen when the window is "X'd out"
2013-04-10 20:58:01 +00:00
ansstuff f645cc891e Taseditor: comply with movie.rerecordcounting() setting 2013-04-07 13:02:59 +00:00
CaH4e3 e64ebd4686 mapper 154 - fixed 2013-04-01 08:25:38 +00:00
CaH4e3 775c6fcd93 rename 2013-03-26 15:54:56 +00:00
CaH4e3 88950914d7 mapper 53 - supported ines format of SUPERVISION UNIF board
UNIF 8157 - fix according to hw
UNIF T-262 - fix according to hw
2013-03-26 07:49:34 +00:00
CaH4e3 140826d245 UNIF DANCE2000 - now emulated properly 2013-03-24 10:14:22 +00:00
zeromus 195514bf78 win32-dont demand lua dll when shutting down 2013-03-20 22:17:14 +00:00
gocha 3316c49348 Win32: delayload lua51.dll 2013-03-20 14:46:55 +00:00
gocha d8ae7d5d0e Win32: link to lua51.dll instead of static linking, because many of external libraries can crash without lua51.dll
Sorry if I break VS2005 build. I don't have it now.
2013-03-20 14:26:44 +00:00
gocha a0500c342a Win32: remove broken character in VS2008 vcproj file. 2013-03-20 13:50:08 +00:00
punkrockguy318 39dc4dee16 sdl: update todo list 2013-03-20 12:40:41 +00:00
punkrockguy318 03ac88ecf7 sdl: ensure auto-play save and battery backup save is saved on quit hotkey
scons: use g++ by default
utils: update to latest upstream backward-cpp
2013-03-20 12:37:31 +00:00
zeromus 098d0a8167 oops 2013-03-19 18:08:32 +00:00
zeromus 33e191fbd4 bring some improvements to newppu from bizhawk, and fig vtoggle5/6 back to vtoggle 2013-03-19 18:08:03 +00:00
zeromus 220ad62d79 fix mapper 28 2013-03-19 16:46:27 +00:00
zeromus 81740ac177 vc cleanup 2013-03-19 16:46:11 +00:00
ansstuff c952bc86d2 * Replay: removed redundant window update when using "Browse" (fix #585) 2013-03-17 13:45:41 +00:00
ansstuff 1f64a4ef1a fixed path according to new SVN structure 2013-03-17 12:31:55 +00:00
punkrockguy318 4a7aff2eac sdl: import an upstream fix for a bakward-cpp issue with clang that was previously haked around in the build script 2013-03-17 01:09:49 +00:00
CaH4e3 031972adb7 UNIF DSOUNDV1 - removed due to duplicate of 178 mapper
mapper 178 - added more features of 8/16M carts with 32K SRAM
UNIF 09-034A - added support for a new SMB2j Lite version
2013-03-16 20:16:14 +00:00
punkrockguy318 bc5d937ca4 minor code cleanup 2013-03-16 04:23:02 +00:00
punkrockguy318 59bd684493 sdl: code formatting cleanup 2013-03-16 02:46:19 +00:00
punkrockguy318 5eeafe4ae3 sdl: fix formatting in code 2013-03-16 02:37:50 +00:00
punkrockguy318 3d1484c7e7 sdl: trivial code cleanup 2013-03-16 01:13:37 +00:00
punkrockguy318 d8723cca95 add backward-cpp header (missed it in previous commit) 2013-03-15 19:31:39 +00:00
punkrockguy318 2be5084a7b create new subversion repo structure (trunk, tags, branches)
[[Split portion of a mixed commit.]]
2013-03-15 19:00:14 +00:00