summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl/debugqtmainwindow.c
Commit message (Collapse)AuthorAgeFilesLines
* -Reorganized OSD, handling more sound output systems and debuggers, defaults ↵ Miodrag Milanovic2014-05-081-491/+0
| | | | | | left same as before [Miodrag Milanovic] -Created osd_options as base option class for non-system specific options
* Moved core template container classes up from emutempl.h to coretmpl.h: Aaron Giles2014-03-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Aaron Giles] * these classes now no longer take a resource_pool; everything is managed globally -- this means that objects added to lists must be allocated with global_alloc * added new auto_pointer<> template which wraps a pointer and auto-frees it upon destruction; it also defaults to NULL so it doesn't need to be explicitly initialized * moved tagged_list template to tagmap.h Redo of the low-level memory tracking system: [Aaron Giles] * moved low-level tracking out of emu\emualloc into lib\util\corealloc so it can be shared among all components and used by core libraries * global_alloc and friends no longer use a resource pool to track allocations; turns out this was a wholly redundant system that wasted a lot of memory * removed global_resource_pool entirely * added global_free_array to delete arrays allocated with global_alloc_array * added tracking of object versus array allocation; we will now error if you use global_free on an array, or global_free_array on an object Added new utility helper const_string_pool which can be used to efficiently accumulate strings that are not intended to be modified. Used by updated makelist and software list code. [Aaron Giles] Updated png2bdc and makelist tools to not leak memory and use more modern techniques (no more MAX_DRIVERS in makelist, for example). [Aaron Giles] Deprecated auto_strdup and removed all uses by way of caller-managed astrings and the software list rewrite. [Aaron Giles] Rewrote software list management: [Aaron Giles] * removed the notion of a software_list that is separate from a software_list_device; they are one and the same now * moved several functions into device_image_interface since they really didn't belong in the core software list class * lots of simplification as a result of the above changes Additional notes (no whatsnew): Moved definition of FPTR to osdcomm.h. Some changes happened in the OSD code to fix issues, especially regarding freeing arrays. SDL folks may need to fix up some of these. The following devices still are using tokens and should be modernized (I found them because they kept their token as void * and tried to delete it, which you can't): namco_52xx_device (mame/audio/namco52.c) namco_54xx_device (mame/audio/namco54.c) namco_06xx_device (mame/machine/namco06.c) namco_50xx_device (mame/machine/namco50.c) namco_51xx_device (mame/machine/namco51.c) namco_53xx_device (mame/machine/namco53.c) voodoo_device (emu/video/voodoo.c) mos6581_device (emu/sound/mos6581.c) aica_device (emu/sound/aica.c) scsp_device (emu/sound/scsp.c) dmadac_sound_device (emu/sound/dmadac.c) s3c2440_device (emu/machine/s3c2440.c) wd1770_device (emu/machine/wd17xx.c) latch8_device (emu/machine/latch8.c) duart68681_device (emu/machine/68681.c) s3c2400_device (emu/machine/s3c2400.c) s3c2410_device (emu/machine/s3c2410.c) strataflash_device (mess/machine/strata.c) hd63450_device (mess/machine/hd63450.c) tap_990_device (mess/machine/ti99/990_tap.c) omti8621_device (mess/machine/omti8621.c) vdt911_device (mess/video/911_vdt.c) apollo_graphics_15i (mess/video/apollo.c) asr733_device (mess/video/733_asr.c)
* Cleanups and version bumpmame0149 Miodrag Milanovic2013-06-111-16/+16
|
* Qt Debugger: The MAME memory tracking system no longer double-frees closed QT Andrew Gardner2013-06-041-0/+8
| | | | | windows. Also fixes the font segfault on exit again. (nw, but thanks Carl)
* Oops. Slot names aren't unique. This is better anyway. (nw) Andrew Gardner2013-05-301-2/+2
|
* Fixed return value & menu item name in the QT Debugger's Image menu. (nw) Andrew Gardner2013-05-301-3/+17
|
* Adds the Image menu to the QT debugger's main window. Andrew Gardner2013-05-301-4/+100
| | | | | | This allows the user to mount disk/c images from the UI. [Andrew Gardner]
* Cleanups and version bumpmame0148u5 Miodrag Milanovic2013-05-201-1/+1
|
* Adds memory tracking to debugger. This includes two new commands: trackmem and Andrew Gardner2013-05-091-1/+1
| | | | | | | | | | | | | | | | | | 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).
* Cleanups and version bumpmame0148u4 Miodrag Milanovic2013-04-301-1/+1
|
* QT Debugger: Now saves all settings for all open windows - including docks Andrew Gardner2013-04-271-0/+53
| | | | | | | 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]
* QT Debugger: Fixes bug where commands don't refresh all windows. Andrew Gardner2013-03-311-2/+1
|
* QT Debugger fixes: Andrew Gardner2013-03-191-1/+1
| | | | | | | | - 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]
* Cleanups and version bumpmame0148u1 Miodrag Milanovic2013-02-111-266/+266
|
* QT Debugger improvements [Andrew Gardner] Andrew Gardner2013-01-241-11/+24
| | | | | | | | | | - 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.
* QT Debugger improvements. [Andrew Gardner] Andrew Gardner2013-01-161-252/+258
| | | | | | | | | | - 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.
* Cleanups and version bumpmame0148 Miodrag Milanovic2013-01-111-252/+252
|
* SDL: Experimental Qt-based debugger [Andrew Gardner, R. Belmont] R. Belmont2012-12-251-0/+302