Commit Graph

764 Commits

Author SHA1 Message Date
Andrew Gardner
800c6fd7c3 Adds the Image menu to the QT debugger's main window.
This allows the user to mount disk/c images from the UI.
[Andrew Gardner]
2013-05-30 04:29:41 +00:00
Michaël Banaan Ananas
b8b819fae7 ok once more (bwidow requested up to over 140,000) 2013-05-28 02:11:38 +00:00
Michaël Banaan Ananas
9ba2c2d05d increase vertex buffer size a bit more (from MooglyGuy) 2013-05-27 21:58:44 +00:00
Ryan Holtz
1fcfec449f fix composite ntsc shaders, nw 2013-05-22 08:03:01 +00:00
Ryan Holtz
35ef098e64 MAME Testers bugs fixed: 5201, 5202
- HLSL changes: [MooglyGuy]
 * Upped vertex buffer size to 64k verts, fixes assert in
   starwars and alphaone, please include the printed error
   message in any subsequent encounterings of the assert.
 * Improved vector rendering (beam width 1.5 suggested)
 * Ducked raster bloom default to 0.225 to reduce washout
2013-05-22 01:58:38 +00:00
Miodrag Milanovic
1c05ccc93b Cleanups and version bump 2013-05-20 06:51:25 +00:00
Ryan Holtz
daa3ae3b10 fix incorrect bloom functionality in fullscreen mode, nw 2013-05-20 01:20:22 +00:00
Ryan Holtz
5c0fb782dd Reset D3D device before destroying device. Fixes crash when selecting games from internal menu with HLSL enabled. nw 2013-05-19 22:30:52 +00:00
Ryan Holtz
675796fe23 fix vector bloom, nw 2013-05-19 21:53:08 +00:00
Ryan Holtz
4c40273047 remove double-alloc of texture_manager, nw 2013-05-19 20:49:53 +00:00
Ryan Holtz
169ac5250e potential crash fix, nw 2013-05-19 20:37:15 +00:00
Ryan Holtz
6d75797ddb Fix DFJustin's crash, nw 2013-05-19 20:20:36 +00:00
Oliver Stöneberg
80dbfdec59 fixed some initialization and cleanup issues with new D3D code (nw) 2013-05-19 19:14:45 +00:00
Ryan Holtz
e028e20476 - "And he did give them CRT bloom, and it scorched their eyes so; and they wept
openly, for there was nothing left to see with" [MooglyGuy]
  * Enabled vector bloom and associated .ini controls
  * Added raster bloom and associated .ini controls, each bloom "level" is the
    linear weight of successively half-sized render targets
  * Removed D3D8 mode
  * Mass renaming in D3D renderer to use namespaces, initial planning step to
    HAL-based renderer implementation on Windows (i.e., GL on Windows)
  * Converted d3d_info, d3d_poly_info, and d3d_texture_info into classes
  * Added batching of vectors for possible speed increase
  * Minor cleanup of shader state setting
2013-05-19 16:21:26 +00:00
Oliver Stöneberg
82819cf953 vconv: added support for -mavx and -flto (nw) 2013-05-18 15:53:20 +00:00
Andrew Gardner
7964d924b3 Adds memory tracking to debugger. This includes two new commands: trackmem and
pcatmem(p|d|i).  [Andrew Gardner]

Fixes left-click selection bug in the memory window. [Andrew Gardner]


Explanation:
------------
Call trackmem to start tracking which PC writes to which address in memory and 
pcatmem(p|d|i) to query a memory region for which PC wrote to it.  Users of 
the QT debugger can also right click on a memory address in the memory window 
to make a popup message appear with the results - right-clicking also 
automatically copies the resultant PC onto the clipboard.  (I'll attach an 
image of this behavior in a follow-up mail).
2013-05-09 19:20:05 +00:00
Miodrag Milanovic
4bf717996f Cleanups and version bump 2013-04-30 06:36:06 +00:00
R. Belmont
192c8ee88b SDL: Don't double-shutdown the font cache on *IX when exiting with the debugger enabled. [R. Belmont] 2013-04-29 03:09:57 +00:00
R. Belmont
897bea2bc6 OS X: Support for both OS X native and Unix-style multiuser installs. [R. Belmont, Nick Boos] 2013-04-28 19:08:54 +00:00
Andrew Gardner
98a13a7570 QT Debugger: Now saves all settings for all open windows - including docks
in the main debug window.
             Also fixes bug where closing the main window with the X in the
             corner didn't save settings properly.  [Andrew Gardner]
2013-04-27 05:03:39 +00:00
Andrew Gardner
cd2e723710 Convert the std::vector of settings to a simple_list in preparation for saving
individual window settings.  (nw)
2013-04-25 05:21:45 +00:00
Andrew Gardner
dd8d9b0044 QT Debugger: Adds trackpc command, allowing for a visual display of where the
program counter has visited in the dasm windows.
Run "help trackpc" in the debugger to see the options. [Andrew Gardner]


Out of whatsnew:
This isn't enabled by default because of how sloooow it is to disassemble each
opcode when you want to compute its crc32.  That can be sped up with lookup 
tables and the like.

There's a good chance I should pull the 'clear tracks' argument into its own
command, but it functions as-is.

This can be added to the windows debugger with a simple change to the
osd display code.
2013-04-20 16:36:14 +00:00
smf-
210848fdad fixed compile error (nw) 2013-04-15 11:30:08 +00:00
cracyc
5b2dde69b9 bitbngr: handle create (nw)
winsocket: use GetLastError (nw)
2013-04-15 04:08:12 +00:00
cracyc
5ee7683519 upd765_dsk: don't crash when inserting a disk after removing a different size one (nw)
winsocket, winptty: don't use osd_free on pointer allocated with malloc (nw)
2013-04-15 02:10:49 +00:00
R. Belmont
07df4de8a9 SDL: Fix symlink handling by internal file manager. [qmc2] 2013-04-13 01:14:11 +00:00
Miodrag Milanovic
c6cd8a09c8 Cleanups and version bump 2013-04-09 06:46:57 +00:00
Miodrag Milanovic
beab9e3007 revert of r22266 (nw) 2013-04-08 14:19:17 +00:00
Ryan Holtz
a6ac25b796 Convert d3d_texture_info to a class, nw 2013-04-07 23:14:22 +00:00
Michaël Banaan Ananas
4dba2235a1 drawd3d.c - Fixes performance issues with YIQ enabled and prescale_x/prescale_y changes no longer impacts colors. [Just Desserts, Robert Tuccitto] 2013-04-06 22:33:58 +00:00
Andrew Gardner
de35bcf071 QT Debugger: The memory view chunk size radio now reports proper sizes.
Fixed "ignore" command reporting incorrect invalid CPUs.
             Fixed crazy code responsible for opcodes' crc32s in the comments system
             (what was I thinking back then?). [Andrew Gardner]
2013-04-02 03:33:43 +00:00
Andrew Gardner
518043eb5b QT Debugger: Fixes bug where commands don't refresh all windows. 2013-03-31 16:09:41 +00:00
Oliver Stöneberg
9e90158d7d disabled some GCC-specific hacks in sdl.mak when clang is being used / also silenced linker for DISTRO=ubuntu-intrepid (nw) 2013-03-20 17:54:09 +00:00
Andrew Gardner
8cc2092788 QT Debugger fixes:
- New memory windows start focused on the active CPU.
  - Opening a utility window, closing it, and stepping no longer re-opens the window. 
    [Andrew Gardner]
2013-03-19 16:55:21 +00:00
Miodrag Milanovic
0e1f5ad25b Cleanups and version bump 2013-03-19 07:22:20 +00:00
R. Belmont
b92fda6d04 SDL: Make the Qt debugger the default for *IX and Win32 builds. 2013-03-17 17:57:32 +00:00
Miodrag Milanovic
b3b3257747 Windows OSD / stdout/stderr output buffering [qmc2] 2013-03-17 08:39:26 +00:00
cracyc
e85a5663ae netdev_pcap: set non-block mode for winpcap (nw) 2013-03-09 22:31:11 +00:00
cracyc
7bda3f5ee8 netdev_tap: filter packets try 2 (nw) 2013-03-04 01:46:22 +00:00
cracyc
b3486955c1 Oops 2013-03-02 03:35:42 +00:00
cracyc
36201eba9d dinetwork: remove mcast_chk and check for multicast in recv (nw)
netdev_tap: do mac filtering (nw)
2013-03-02 03:29:47 +00:00
Ryan Holtz
aa19b2633c (nw) Fixed sliders and phosphor offset 2013-02-28 05:22:14 +00:00
R. Belmont
1d71a26a9d And the traditional missed file (nw) 2013-02-27 02:15:25 +00:00
R. Belmont
7cec2a0798 Ethernet: Make pcap work on Mac OS X & disable unnecessary packet filtering. [Rob Braun] 2013-02-27 02:14:55 +00:00
R. Belmont
6a576392bc SDL: Don't include GTK+/GConf in Qt debugger builds (nw) 2013-02-20 05:24:08 +00:00
R. Belmont
9a19f623fc input: Support up to 32 buttons and harmonize Windows and SDL behavior if you exceed the limit [Nick3092] 2013-02-18 17:18:00 +00:00
Miodrag Milanovic
a440a8e020 Cleanups and version bump 2013-02-11 07:44:56 +00:00
cracyc
7175f0ae1b pcap: don't crash on exit when wpcap.dll is unloaded before pcap_close is called. (nw)
i386: fix bug (nw)
2013-02-07 04:25:04 +00:00
R. Belmont
b3e608e957 Add server socket support instead of just client. [SailorSat, R. Belmont] 2013-02-07 04:08:46 +00:00
R. Belmont
70a9d274ac MIDI: preliminary SysEx reception support [R. Belmont] 2013-02-03 21:26:37 +00:00
R. Belmont
944baeb5aa MIDI: enable transmission of SysEx messages [R. Belmont] 2013-02-03 20:39:03 +00:00
R. Belmont
e67051001f SDL: Update manpages to reflect the -lr alias for -listroms [Wallyweek] 2013-02-02 22:13:48 +00:00
R. Belmont
39f48b0bee (MESS) SoundBlaster: MIDI Out support for single-byte, SB UART, and MPU-401 UART modes. [R. Belmont] 2013-01-31 05:47:51 +00:00
R. Belmont
b91d5a2ac3 MIDI: handle MIDI Out with running status properly [R. Belmont] 2013-01-29 04:41:52 +00:00
Ryan Holtz
b9002b3e8a Fix HLSL toggle and move it to Ctrl+Alt+F5. Next time someone touches the HLSL code without knowing what they're doing, I remove it entirely. (nw) 2013-01-28 22:01:06 +00:00
Oliver Stöneberg
c1af67f12b fixed Visual Studio 2010 compilation by disabling an additional warning (nw) 2013-01-28 14:22:53 +00:00
Oliver Stöneberg
093d2460fb improved some version checks in makefiles / added TODOs (nw) 2013-01-28 08:49:47 +00:00
Robbbert
7e9eae0e71 Made a change to my original hlsl fix, this stops the crash with ctrl+alt+F12. However since hlsl doesn't work on my pc, can others do some testing? 2013-01-28 04:07:25 +00:00
R. Belmont
7d0a910431 SDL: Fix Qt debugger on Mac OS X [Balrog] 2013-01-26 21:24:14 +00:00
R. Belmont
84a8fe9bae SDL: Update mame and mess manpages [Wallyweek] 2013-01-24 23:56:50 +00:00
R. Belmont
5d45d3ddbc SDL: Fix srcclean damage in sdl.mak [Wallyweek] 2013-01-24 23:55:55 +00:00
Andrew Gardner
ba61a286f3 QT Debugger improvements [Andrew Gardner]
- Save and load window locations.
  - Preliminary work on "run and hide" and "hard reset" 
    (don't crash on one of my copmilers but do on another - more work to do!)
  - Fixed color when cursor is the same as PC in debug view.
  - Closing the main window now shuts down the machine (same as quit)
  - Help now wraps to the log window size.
2013-01-24 17:06:42 +00:00
Ryan Holtz
ab409258e5 Silence some debug spam and turn off bloom target allocation on cache targets, nw 2013-01-21 15:21:25 +00:00
Ryan Holtz
bdbafca7a7 Fix raster games with HLSL, nw 2013-01-21 03:04:44 +00:00
Ryan Holtz
d157249cb7 d3dhlsl.c: Add preliminary vector post-processing. [MooglyGuy] 2013-01-21 02:40:48 +00:00
Andrew Gardner
7c81353d9c QT Debugger improvements. [Andrew Gardner]
- Fixed disassembly window not following PC correctly.
 - Switched font to Courier New since it seems more universal.
 - Fixed gaps between rendered text characters.
 - Plumbed mouse handling through the debugger core (clicking selects).
 - Made the Enter key behave like old SDL debugger; silently steps.
2013-01-16 04:37:30 +00:00
R. Belmont
9c0f4e6683 MIDI: Fixed several bugs and bumped the input buffer sizes [R. Belmont] 2013-01-15 14:45:36 +00:00
Robbbert
4efc1f7b05 Temp patch to fix d3d crash at start. 2013-01-15 12:30:05 +00:00
R. Belmont
520a27efd5 First pass on MIDI out support [R. Belmont] 2013-01-14 03:10:52 +00:00
R. Belmont
2f0c02a4f1 Fix compiling on PowerPC OS X (nw) 2013-01-13 21:41:04 +00:00
Ryan Holtz
4825263ebf - d3dhlsl.c: Made HLSL switchable at runtime, Ctrl+Alt+F12. [MooglyGuy] 2013-01-13 15:07:11 +00:00
R. Belmont
f6c44c6e9b MIDI core updates: [R. Belmont]
- Add MIDI in and out ports as image device types
- Add OSD calls to check for and read MIDI input
- Add MIDI in image device which reads input and converts it to a serial bitstream

nw section:
Note that the MIDI In device uses the new image device override to prevent the core from attempting to fopen() the "file" name and instead it handles open/close itself in call_load/call_unload.  This allows greater flexibilty than the hack used for sockets/ptys/named pipes where the OSD file layer has to know about them.
2013-01-13 03:48:10 +00:00
smf-
1940866c70 output of new srcclean changes that are relatively small [smf] 2013-01-11 19:43:14 +00:00
Miodrag Milanovic
0e19f641d3 Cleanups and version bump 2013-01-11 07:32:46 +00:00
Oliver Stöneberg
d61e5d5a15 fixed unitialized memory in osd_file (nw) 2013-01-09 19:12:31 +00:00
Nathan Woods
a43dcda2c2 MSVC fixes (nw) 2013-01-08 11:47:40 +00:00
Ryan Holtz
b41802d6ce 01234567890123456789012345678901234567890123456789012345678901234567890123456789
- drawd3d.c: Move default_texture creation into device_create_resources. Should
             fix intermittent crashes when alt-tabbing back to a full-screen
             instance of MAME. [MooglyGuy]
2013-01-06 00:28:22 +00:00
Ryan Holtz
3d1e0d9d65 - d3dhlsl.c: Free HLSL resources on device reset. Fixes hang when alt-tabbing
away from a fullscreen window and back. [MooglyGuy]
2013-01-05 19:02:01 +00:00
Ryan Holtz
c34900b360 - d3dhlsl.c: Clamp hlsl_prescale_x/y to a minimum of 1. Fixes crashes when using
-nomaximize switch. [MooglyGuy]
2013-01-05 17:55:42 +00:00
Oliver Stöneberg
9e3e9ff81f fixed pmmidi.c includes (fixes Visual Studio linking) (nw) 2013-01-01 21:28:49 +00:00
R. Belmont
13c3e056aa Enable compiling PortMidi (nw)
Tested on: Linux x64, Mac OS X 10.8, Windows 8 x64 w/latest toolchain for both OSD=windows and OSD=sdl.  MIDI should auto-disable on other OSes (*BSD) but there may be problems.  Works fine on Linux when set to use the system's copy of the library as well, which many distros prefer.
2013-01-01 16:58:48 +00:00
R. Belmont
ad80ff6c3f portmidi: Initial commit. [R. Belmont]
(nw: this isn't enabled to compile yet, this is just to make it easier to run the final tests on my Mac and my Windows laptop)
2013-01-01 16:11:32 +00:00
Curt Coder
9eb41bb391 2013 2013-01-01 09:00:57 +00:00
Ryan Holtz
7e652d13c5 - render.c: Added new PRIMFLAG macros pertaining to vectors, to be used by the
OSD. [MooglyGuy]

- d3dhlsl.c: Began laying the groundwork for vector post-processing, disabled
            by default. [MooglyGuy]
2012-12-31 21:29:02 +00:00
Ryan Holtz
af9ee4a4e4 [HLSL] Fixed crash when using presets. [MooglyGuy]
[HLSL] Restored old HLSL prescale behavior, with 0 being auto-detect. [MooglyGuy]
2012-12-31 17:35:24 +00:00
Nathan Woods
3aa34032cf MSVC compilation fixes (nw) 2012-12-31 11:46:37 +00:00
R. Belmont
dcff4c8618 SDL: fix "Illegal integer value for numprocessors: "auto"; reverting to auto" [R. Belmont] 2012-12-30 04:21:12 +00:00
Ryan Holtz
ae9f7ca3db (nw) Fixes HLSL bugs with Rocket Knight Adventures 2012-12-29 20:11:06 +00:00
Oliver Stöneberg
46013ad0d9 reverted bogus fix (nw) 2012-12-29 12:44:09 +00:00
Oliver Stöneberg
94824e13d7 removed unnecessary variable initialization added in last commit (nw) 2012-12-29 11:34:10 +00:00
Oliver Stöneberg
f48344c62e fixed MT#4846: make sure, that we always get a win_monitor_info* in winwindow_video_window_monitor() [Oliver Stöneberg] 2012-12-29 11:27:56 +00:00
Ryan Holtz
8624385a24 01234567890123456789012345678901234567890123456789012345678901234567890123456789
hlsl: Added bounds-checking on presets. [MooglyGuy]

hlsl: Cleaned up render target management. May provide better behavior in games
      that use multiple resolutions, e.g. tekken3 and stv. [MooglyGuy]
2012-12-29 01:05:33 +00:00
R. Belmont
5ee48d4899 SDL: Autodetect Ubuntu 12.10 and work around faulty default compiler [R. Belmont] 2012-12-28 22:14:59 +00:00
Miodrag Milanovic
4281522dfa Removed -mwindows I have added recently makes console unusable (nw) 2012-12-28 08:10:58 +00:00
Oliver Stöneberg
f00a249577 forgot to add comment in windows.mak (nw) 2012-12-28 01:14:40 +00:00
R. Belmont
8d293ac840 SDL: Work around Qt differences between Fedora and everyone else [qmc2] 2012-12-27 20:52:52 +00:00
R. Belmont
844e894976 SDL: Qt debugger support cleanup, fixed OS X crash [qmc2, R. Belmont] 2012-12-27 16:09:06 +00:00
Oliver Stöneberg
0ea68a4327 added make define MSVC_ANALYSIS to run Visual Studio code analysis (nw) 2012-12-26 13:09:43 +00:00
Miodrag Milanovic
ff3e49d66f Changed isa device cpu search, fixes -listxml (no whatsnew)
Added some addtional XT and AT bioses 
Added -mwindows flag to windows sdl build with QT
2012-12-26 12:57:49 +00:00
Miodrag Milanovic
b4da179247 Made QT debugger compiles under windows SDL build (no whatsnew) 2012-12-25 11:53:34 +00:00