Commit Graph

462 Commits

Author SHA1 Message Date
rainwarrior 89a75e28fc alternative way of fixing fstat header conflict from r3276 (in case older/other compilers were relying on it), this is only used by netplay.cpp 2016-08-24 23:23:41 +00:00
rainwarrior f7a50ad163 removing #define fstat _fstat: ends up interacting with inline fstat code causing an infinite recursion on VS 2010 2016-08-24 23:17:27 +00:00
rainwarrior 74139bf111 RAM initialization options: default (00 00 00 00 FF FF FF FF as always), all FF, all 00, random. 2016-08-24 22:42:21 +00:00
rainwarrior ed3783db55 Hex editor memview:
1. expanded bookmarks to work correctly with all views (not just RAM)
2. fixed Find dialog to be able to find the first or last byte of the memory region.
2016-08-24 19:21:43 +00:00
rainwarrior bec851a768 Hex editor memview: prevent middle mouse button from attempting to "FreezeRam" when not in RAM mode. 2016-08-24 18:20:44 +00:00
rainwarrior 1814be4da5 hex editor memview: added OAM view and dump to file, added HOME/END key response, added bounds checking in a bunch of places to keep the view and edits within the memory bounds 2016-08-24 08:08:53 +00:00
rainwarrior 35b1f160dc remove unused variable from debug.cpp:DebugCycle (accidentally added while working on it) 2016-08-24 05:46:52 +00:00
rainwarrior 6e5cfae6f7 1. added new 'R' and 'W' conditions for breakpoints which evaluate to the value read by read instructions, or the value about to be written by write instructions.
2. added illegal opcode support for breakpoints (filled in missing fields of optype matrix)
2016-08-24 05:35:51 +00:00
rainwarrior f947ef06e7 lua write callbacks: adding optional third parameter to retrieve the value written, added Sprites.lua script to visualize sprites (requires and demonstrates feature just added) 2016-08-23 08:46:22 +00:00
zeromus 2873344ce8 fix parsing of lua colors over 0x80000000 on 32bits systems 2016-08-21 20:12:49 +00:00
CaH4e3 c4ec35c518 CDL: fixed vram data logging glitch 2016-08-07 12:34:58 +00:00
zeromus 4b562ff1af support (maybe? untested) 'S' register in conditional debugger breakpoints 2016-07-31 21:03:12 +00:00
feos-tas d61634cfe4 -pal won't die if dendy was loaded from config on launch. if -dendy isn't specified, and if left from config, it will get overridden by -pal.
make deploy.bat a bit more handy
2016-07-31 20:46:32 +00:00
feos-tas b830b49724 fix help regarding command line options
updated site

[[Split portion of a mixed commit.]]
2016-07-31 17:55:40 +00:00
feos-tas cde2e63efc better name 2016-07-31 17:11:04 +00:00
feos-tas 69752141c4 simple fix to -pal cmd setting turned into updating the whole infrastructure responsible for regions. now region change is also reported if it was specified in cmd.
fix #743
2016-07-31 17:06:46 +00:00
feos-tas 284d735bb9 found this great script just now
it's especially great for sound effects
2016-07-30 17:56:43 +00:00
feos-tas ae616d5e81 hardcoded years are great too 2016-07-28 20:57:58 +00:00
zeromus ebe31c2405 re-export with correct version of helpndoc 2016-07-28 20:39:14 +00:00
zeromus 36b44da289 update release date in docs 2016-07-28 20:17:04 +00:00
zeromus 034db631e4 feos deserves a promotion 2016-07-28 20:09:54 +00:00
zeromus e62c63a771 add "public release" build configuration 2016-07-28 20:09:40 +00:00
zeromus 60e0ec7924 my r3205 made a possible tiny bug in some gamepad profile management somehow. I didnt get the warning until I made a release build, so let's fix it now (i hope) 2016-07-28 20:09:25 +00:00
feos-tas d0cb424630 added what's new 2.2.3
[[Split portion of a mixed commit.]]
2016-07-23 14:49:49 +00:00
feos-tas 8f99ba3b5a disable pal filter and region messages for sdl 2016-07-16 18:28:49 +00:00
feos-tas dbae9cddb2 help: hint on PAL autodetection.
[[Split portion of a mixed commit.]]
2016-07-15 16:15:11 +00:00
feos-tas 31138435e7 video: we all love hardcode for sure
long live magic numbers
2016-07-15 15:42:37 +00:00
zeromus 3d152a274f fix ntsc problems on windows:
1. fullscreen fails
2. HW acceleration in windowed mode fails
2016-07-14 22:12:56 +00:00
feos-tas cacee4b91a make PAL checkbox and message consistent on emu launch
new PPU is not exactly slow anymore
2016-07-10 15:14:27 +00:00
feos-tas 2eff273b8a report region changes to user, including autodetection 2016-07-10 12:18:28 +00:00
feos-tas 09a1dbf670 recompile chm and html
[[Split portion of a mixed commit.]]
2016-07-07 18:52:52 +00:00
feos-tas 14d6ba8d5e help: mention new filters, palettes, duty and deemph swap checkboxes.
add Unsaturated-V6.pal

[[Split portion of a mixed commit.]]
2016-07-07 18:36:41 +00:00
feos-tas 0fa41cb715 video: save paldeemphswap to config 2016-07-05 19:01:46 +00:00
feos-tas 3525cbc095 turn off dendy if we're loading a pal rom 2016-07-05 18:36:04 +00:00
feos-tas 4869518747 fix dendy buffer overflow caused by "cleanup"
fix #721
2016-07-05 16:27:23 +00:00
feos-tas 6dc943d6b1 lua: fix #734 by adding emu.getpath() and emu.loadrom()
update help

[[Split portion of a mixed commit.]]
2016-07-03 12:01:17 +00:00
feos-tas 567db00290 help: address region/dendy and overclocking
[[Split portion of a mixed commit.]]
2016-07-02 17:02:24 +00:00
feos-tas df0765ade9 overclocking: break ppuloop once 7bit sample starts (if their oc is disabled) 2016-07-02 16:26:33 +00:00
feos-tas 44f5e37815 overclocking: make vblank oc respect 7bit checkbox. 2016-07-02 09:51:33 +00:00
zeromus 3ad28715f7 fix deemph application in the awfullest way possible when running scale and prescale filters 2016-06-30 21:53:25 +00:00
feos-tas 836779bbfa overclocking: make vblank oc respect the global switch 2016-06-26 09:12:53 +00:00
feos-tas ddfdf735db overclocking cleanup 2016-06-26 06:50:08 +00:00
feos-tas 88a6999e49 overclocking: allow to choose between post-render and vblank extra scanlines.
fix #704
2016-06-25 21:32:27 +00:00
feos-tas 6a385ddf0b video: optional deemphasis bit swap.
works globally now, not just for pal ppu.
2016-06-25 08:40:47 +00:00
feos-tas 9b092023f8 apply patch and fix #639 2016-06-05 09:35:27 +00:00
CaH4e3 84d100c56f mapper 69 - fix #731 2016-05-21 19:30:37 +00:00
CaH4e3 5a1d27ec8e mapper 45 - update for a new dump 2016-05-01 16:11:44 +00:00
CaH4e3 81fa56111d Mapper 212 - fixed init state, fixes some new dumps issues
Mapper 178 - added very quick implementation of IR bat
2016-04-24 12:58:20 +00:00
rainwarrior 9d9eb868bc Rewrite Subor Mouse code, fixed latch updating outside of strobe. 2016-04-23 06:12:46 +00:00
rainwarrior ce4221c425 SDL version was missing input cases for SI_SNES, SI_MOUSE, and new SI_SNES_MOUSE 2016-04-23 05:02:16 +00:00
rainwarrior 10abe43c0c Support for SNES mouse, added "Subor" to description of existing mouse 2016-04-23 04:58:30 +00:00
rainwarrior 870e17e265 Fix broken Mouse input implementation (init/update was never hooked up? caused crash when attempting to use) 2016-04-23 03:01:32 +00:00
punkrockguy318 c7868caea5 gtk: dont crash when clicking hotkeys 2016-04-23 01:50:42 +00:00
punkrockguy318 f313f2fe8c gtk: cleanup 2016-04-23 01:01:54 +00:00
punkrockguy318 10034b92b8 gtk: some more cleanup 2016-04-23 00:58:59 +00:00
punkrockguy318 d9d6581e52 gtk: cleanup 2016-04-23 00:37:08 +00:00
punkrockguy318 56e90340b1 gtk: clean up some gcc warnings/kill some unused code 2016-04-23 00:10:34 +00:00
zeromus 7d49d00616 fix bug with P2 snespad getting its input ORed with P1 (and reduce noise) 2016-04-01 22:00:42 +00:00
punkrockguy318 a4fecfa67b sdl: attempt at gtk3/osx compatibilty 2016-04-01 00:12:05 +00:00
zeromus a67274689c fix noise bits in snes pad and remove 2nd (for fourscore) pads from snes config dialogs 2016-03-31 01:39:43 +00:00
zeromus 094d1bb827 add support for snes pad to windows port 2016-03-30 21:40:59 +00:00
feos-tas 90621da6d4 force deemphasis bits swap for pal/dendy, pal ppu that they both use was confirmed to have this. 2016-03-30 15:12:58 +00:00
punkrockguy318 a1a204e66b sdl: fix osx build issue 2016-03-29 13:20:26 +00:00
punkrockguy318 3a03e293e9 SDL: change SDL include statement for improved build compatibilty 2016-03-29 13:11:44 +00:00
zeromus eb0eb43468 fix #723 "NTSC filter fix" on windows and commit 2016-03-29 05:40:51 +00:00
zeromus 82397025b2 apply patch #722 Grayscale handling missing in NewPPU 2016-02-24 10:08:45 +00:00
CaH4e3 c082383f8b UNIF UNL-KS7017 - new dump "Exciting Basket (Kaiser)"
UNIF BMC-81-01-31-C - new dump "7-in-1"
UNIF UNL-8-IN-1 - new dump "Super 8-in-1"
2016-02-14 17:10:26 +00:00
CaH4e3 b9d2b3adae UNIF RT-01 - new dump "Test Ver. 1.01 Dlya Proverki TV Pristavok (RT-01, by SS aka Snake)(Unl)[U][!]" 2016-01-28 14:49:30 +00:00
feos-tas aabd53b10c video: prescale cleanup. 2016-01-27 19:14:53 +00:00
feos-tas 087750f62d removed access to pal filter until it's done. 2016-01-27 19:01:36 +00:00
punkrockguy318 b2833cbdbe sdl: sf#719 applying Mika Attila's patch to fix dangling pointers in gui 2016-01-16 18:53:33 +00:00
punkrockguy318 a01c0780c8 gtk: applying SneakySnake's hotkey dialog patch 2016-01-06 22:56:08 +00:00
feos-tas e283fecb15 lua font: proper halo. 2016-01-05 11:07:58 +00:00
CaH4e3 101ff8d79d crash-fix to my last commit 2015-12-21 20:32:19 +00:00
zeromus 385ecbe2d6 fix build error in non-windows lua-enabled ports since r3079 2015-12-20 22:36:43 +00:00
CaH4e3 a44fe4cdf8 fix to prev 2015-12-20 17:40:56 +00:00
CaH4e3 c50535a398 implemented visual CHR data usage logging for VRAM-only games (mapper 2, etc). no cdl log save available, just display current used/unused tiles in ppu tile viewer. reset tile usage flags if rewritten by the program. 2015-12-20 16:22:46 +00:00
CaH4e3 c73cf9eb63 unif F-15 - new mapper for "150-in-1 Unchained FIGHT ver" 2015-12-10 20:49:54 +00:00
CaH4e3 d4c495ca39 nw 2015-11-21 12:55:20 +00:00
zeromus 0597f73fe3 add -dumpinput and -playinput functions for windows port which is a minimally baked option to use poll-based input to replay a movie, so you can test playthroughs on a romhack whose lag has changed 2015-11-15 21:26:52 +00:00
feos-tas 4eb00bdca6 debugger: add step into hotkey.
only works if background input is enabled (since debugger dialog steals focus later on).
2015-11-05 18:33:40 +00:00
zeromus 0708f60a7c try to give more granular accounting of scanline and dot for debugger 2015-11-04 18:49:40 +00:00
zeromus 8efa68b7af fix mmc1 reg#3 masking to prohibit >= 16 PRG banks (except for the typical SOROM/SUROM chr bank magic) 2015-11-02 20:00:53 +00:00
zeromus 95890b21ea fix message display during NSF rendering 2015-10-12 22:40:14 +00:00
feos-tas 8034f545ad yeah 2015-10-08 19:24:42 +00:00
feos-tas 51071963c1 PAL filter:
- redo moire from scratch using formulas and greater LUT
- add contrast and brightness (no idea how bad they are)
- kill hdtv and monochrome options
todo: figure out color edge stuff and add fringing (rainbow)
2015-10-08 18:52:16 +00:00
zeromus 6cb7a141ff winport - fix SVN revision fetching 2015-10-05 19:30:53 +00:00
punkrockguy318 f6d34db085 fix gcc compilation issue (minor include issue) 2015-09-23 02:20:31 +00:00
zeromus b946c415e9 fix NSF rendering on PAL and NTSC filters 2015-09-21 18:12:22 +00:00
feos-tas 62ec75b93b PAL filter: redid notch from scratch, added sharpness. 2015-09-21 17:42:57 +00:00
punkrockguy318 3617a1b3be sdl: fix issue where lua open file gui would default to home directory 2015-09-21 00:13:43 +00:00
punkrockguy318 179b52ba31 sdl: print error when opengl/scalers are both enabled 2015-09-20 23:29:02 +00:00
zeromus adca6a2e67 further fix nsf rendering 2015-09-20 21:23:09 +00:00
zeromus e3a28ad1da fix some nsf bugs 2015-09-20 21:21:29 +00:00
zeromus 04fc330f08 etc 2015-09-20 20:39:46 +00:00
zeromus e0bf2cefa1 make every build configuration use -ldl 2015-09-20 20:11:35 +00:00
punkrockguy318 f6dfc2df20 updated contributors on sdl about dialog 2015-09-20 18:34:10 +00:00
punkrockguy318 78762ff234 updated sdl about dialog 2015-09-20 18:20:04 +00:00
feos-tas 77cbc56192 know your former admins! 2015-09-19 10:57:54 +00:00
feos-tas bb89a6d254 PAL emphasis swap for red and green. all PAL PPUs have these swapped.
http://forums.nesdev.com/viewtopic.php?f=3&t=13264
2015-09-19 10:51:25 +00:00
feos-tas 0ed69d8830 PAL filter: improved notch.
solution still makes no sense, but is now surprisingly close to composite console capture with default values (sat: 200%, notch: 64).
only todo is rainbow effect, but it's hard.
2015-09-18 17:13:20 +00:00
rainwarrior 4737bf0cf1 example 512 entry palettes for RGB PPU variants (these implement the RGB emphasis behavior) 2015-09-18 08:13:54 +00:00
feos-tas 9e33ab76f7 added Notch slider to PAL filter. code is nonsense, but it appears to do the job when saturation is max and notch is ~60.
need to find a way to mix 3 colors better with bigger notch values.
2015-09-17 20:47:09 +00:00
zeromus 52d00c97b7 apply a mutated bisqwit's deemph approach instead 2015-09-17 19:38:07 +00:00
zeromus 75f75d6900 add nes_ntsc derived deemph calculator 2015-09-17 17:29:16 +00:00
zeromus 8049d0a96a fix pal palette bug better 2015-09-17 16:24:05 +00:00
feos-tas b22aa5593e fix custom palette checkbox and probably PAL filter colors. 2015-09-17 15:43:57 +00:00
zeromus c72e7e9e7d winport - add some comments about palette overriding behaviour 2015-09-16 22:11:31 +00:00
zeromus fe687d30f3 winport - fix memory of custom palettes (part of #711) 2015-09-16 22:01:33 +00:00
zeromus aaf41d9c78 fix blargg's full palette test, now that deemph works properly. only on newppu though. 2015-09-13 18:36:16 +00:00
punkrockguy318 7ee8ca0bb2 convert newlines to unix for sake of consistency 2015-09-13 18:32:42 +00:00
punkrockguy318 2bb7eb0696 sdl: use new FCEUI_SetUserPallete function 2015-09-13 18:31:34 +00:00
zeromus 090fc71eab fix scoping bug in 'maxref' variable 2015-09-13 18:19:08 +00:00
punkrockguy318 05a7ab1f33 fix gcc compilation by adding vidblit header 2015-09-13 18:15:00 +00:00
zeromus e97dab5425 fix pal moire stuff with modern deemph 2015-09-13 18:10:31 +00:00
zeromus 271a82d349 repair 16bpp display mode, support more codepaths with modern deemph 2015-09-13 18:05:17 +00:00
zeromus 57ec344b1f write 24bpp pngs for screenshots using new deemph code 2015-09-12 18:44:03 +00:00
zeromus 96078b99ac support 512 color palettes, add support for proper deemph emulation on some codepaths. need to fix png saving and maybe other stuff 2015-09-12 03:44:08 +00:00
zeromus 314aaff2e1 project cleanup--fix svn revision, update credits, improve projectfile, remove old msvc project files 2015-09-10 21:05:34 +00:00
CaH4e3 181e344bb9 UNIF EH8813A - hw switch added 2015-09-08 19:22:42 +00:00
rainwarrior 73f0db33e4 datalatch.cpp restore line endings accidentally changed in r3142 2015-09-03 17:15:50 +00:00
rainwarrior 276d5ed556 datalatch.cpp restoring logical AND bus conflict behaviour (cag4e3 broke it in r2997 for some "highway star" hack, but when reverted in r3023 forgot to restore the bus conflict code). 2015-09-03 17:02:45 +00:00
CaH4e3 884032d42e fix to prev 2015-08-31 19:16:58 +00:00
CaH4e3 bbf46b5f9d UNIF EH8813A - new dump "Dr. Mario II (Unl)[U][!]"
UNIF HP898F - new dump "Prima Soft 10-in-1 (02 8807870-3)(Unl)[U][!]"
2015-08-30 10:19:11 +00:00
CaH4e3 f8e6ed06f2 UNIF COOLBOY - more fixes [ClusteR]
ppuview: 8x16 sprite display mode
2015-07-26 08:23:10 +00:00
zeromus f91953b0b0 add ines database entry with correction for Dragon Wars (U) (proto) 2015-07-25 23:47:22 +00:00
CaH4e3 e59106e35b fix to coolboy 2015-07-12 20:53:23 +00:00
CaH4e3 4fd8715890 nw 2015-07-12 14:10:46 +00:00
CaH4e3 4ec95b5b9b UNIF BMC-10-24-C-A1 - new dump 6-in-1 by ClusteR
UNIF COOLBOY - update from hardware tests by ClusteR
UNIF OneBus - mirroring fix
2015-07-11 16:03:45 +00:00
feos-tas 5440ad057a sdl: dendy mode was setting PAL flag, yikes 2015-07-01 15:57:21 +00:00
punkrockguy318 640f292d86 sdl: added support for prescale2x/3x/4x 2015-06-28 04:13:54 +00:00
punkrockguy318 5ecf5060ab sdl: fix issue with dendy where scanlines were not getting set 2015-06-27 17:10:18 +00:00
punkrockguy318 52edb6e422 sdl: added gui element in sound cfg for swap duty cycles 2015-06-24 03:14:21 +00:00
punkrockguy318 d42dc266ec sdl: new feature: menu toggling with the alt key. allows for pseudo-fullscreen in sdl windowed mode 2015-06-24 02:48:43 +00:00
punkrockguy318 81c6aee487 sdl: fix a potential compilation issue 2015-06-24 00:38:49 +00:00
punkrockguy318 209f3137de sdl: added config value SDL.SwapDuty (0 or 1) 2015-06-24 00:31:20 +00:00
punkrockguy318 4c0b8d9ce8 sdl: changed pal checkbox to 'Region' combo including dendy 2015-06-24 00:16:57 +00:00
punkrockguy318 fc74c4fd16 fix sdl port compatibility (MessageBox() win only) 2015-06-23 23:47:27 +00:00
feos-tas 954fc5d5dd Lua: rom.writebyte() and gethash(). 2015-06-23 21:04:31 +00:00
CaH4e3 3be370f776 UNIF DRAGONFIGHTER - new board for the new dump (PCB BMW8544)
DEBUG: finally rid out of parasite handler triggering while reading data from debugger, hope it didn't broke something
INES: some quirks to be able to run UNIF files in iNES format (there are a lot of them in the NET marked as BAD because of that), need more extra mapper numbers, probably a new range, more crc lists of roms
2015-06-23 11:43:42 +00:00
zeromus 0c4cb43739 oops 2015-06-18 06:29:46 +00:00
zeromus 14fdc3cdb6 reorganize overclocking variabls from r3120 to be in the core emulator instead of all jumbled up among modules 2015-06-18 06:26:38 +00:00
feos-tas 72f2d47f3a Overclocking. Implemented by adding extra scanlines to PPU loop. Disabled (optionally) while 7-bit samples are playing (as they can't be worked around otherwise). 2015-06-16 19:52:49 +00:00
zeromus e71e32ceb7 revert last 3 commits, experiment failed. its always there if it proves helpful. 2015-06-16 06:53:43 +00:00
zeromus c990bb3798 fiddle around with sdl frameadvance throttle (continued) 2015-06-16 06:03:27 +00:00
zeromus 34a1a9db51 fiddle around with sdl frameadvance throttle (continued) 2015-06-16 06:00:34 +00:00
zeromus 7bcc8a67f3 fiddle around with sdl frameadvance throttle 2015-06-16 06:00:00 +00:00
CaH4e3 aa90b868a1 UNIF 158B - new board for "Blood of Jurassic" dump 2015-06-14 13:05:32 +00:00
punkrockguy318 97437c8da4 SDL: added preliminary dendy support (set SDL.PAL to 2 to enable.. for now) 2015-06-09 01:20:47 +00:00
feos-tas 1df598e34d Movie: when converting a FCM, fds flag was always set due to not being initialized. 2015-05-28 16:10:07 +00:00