summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/video/x68k.c
Commit message (Collapse)AuthorAgeFilesLines
* gfx_elements now have a xor mask that is applied to each source bit offset ↵ Alex W. Jackson2014-03-271-2/+2
| | | | | | when decoding. This can be used to deal with endianness when decoding gfx from RAM or from program ROMs, or to reverse the bit order sense when this is useful (e.g. pgm.c) [Alex Jackson] (nw) This is test/checkpoint right now, final goal is to automatically determine the appropriate xor at startup when the gfxdecode info is processed (e.g. based on the width and endianness of the ROM region)
* Removed palette_device parameter from gfx draw methods. All draw methods now ↵ Alex W. Jackson2014-03-191-1/+1
| | | | use m_palette (nw)
* primary_screen -> first_screen() (nw) Miodrag Milanovic2014-03-151-22/+22
|
* 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)
* Checkpoint: gfx_elements now have a pointer to a palette_device (which is ↵ Alex W. Jackson2014-03-111-2/+2
| | | | not actually initialized or used yet), and no longer have an unneeded pointer to the running_machine. Removed some gfx_element getter methods described in comments (by Aaron?) as 'a bit gross', and fixed the tiny handful of drivers that were using them (nw)
* You now specify a gfxdecode device once when you create a tilemap, rather ↵ Alex W. Jackson2014-03-101-8/+8
| | | | than each time in the tile info callback. Updated all drivers accordingly [Alex Jackson]
* Huge update, palette is now device (nw) Miodrag Milanovic2014-02-271-2/+2
| | | note: Aaron please give more descriptive text for release log I have no more strength :)
* (MESS) x68k, vboy : fixed reported buffer overflow Robbbert2014-02-271-1/+2
|
* Created gfxdecode_device instead of using machine fixed gfxdecode [Miodrag ↵ Miodrag Milanovic2014-02-161-11/+11
| | | | | | | | | | Milanovic] Updated all devices and drivers for using it. out of whatsnew: Note that it is made to work same as before, in some cases it can be more logic to move gfxdevice into subdevice itself then to keep it in main driver.
* Moved drawgfx functions to gfx_element (nw) Miodrag Milanovic2014-02-131-1/+1
|
* Removed MC68901 polling for gpio bits. [smf] smf-2013-12-291-2/+0
|
* Converted x68000 keyboard into a separate serial device. This allows the ↵ smf-2013-12-281-1/+0
| | | | removal of the uart hle in the driver (which didn't work, it was always two characters behind). diserial cannot sync with the start bit properly when using an external clock, so for now I've added a hack that is only enabled when using the MC68901 (setting the flag ignores the extra spurious bit that was getting shifted in). [smf]
* removed some more unused mfp code (nw) smf-2013-12-271-10/+2
|
* fixed debug build (nw) smf-2013-12-271-7/+0
|
* removed unused code & variables (nw) smf-2013-12-261-18/+0
|
* Fix long-standing architectural wart: the priority bitmap is no longer owned Aaron Giles2013-07-261-4/+4
| | | | | | | | | | | | | | | | | | by the tilemap system, and no longer exists globally in the machine. Instead it is allocated per-screen for all systems. This has several side-effects: 1. Previously, the pdrawgfx* functions were already changed to take the priority bitmap as a parameter. Now all other hand-crafted functions that mess with the priority bitmap generally must do so as well, and have been updated. 2. Calls to the tilemap system now need to provide a screen_device. This is not just for the priority_bitmap, but also for screen flipping, which previously always assumed the "primary screen" when doing flipping calculations. 3. All devices that implemented tilemap-like functionality have been updated to follow the same pattern, since they largely tend to call through to the core tilemap system at some point.
* MESS anonymous timers this time. (nw) Andrew Gardner2013-05-231-3/+3
|
* made BEEP and RAM devices initialize in constructor of driver classes (nw) Miodrag Milanovic2013-04-231-1/+1
|
* moving some static functions in driver state for MESS drivers plus some ↵ Miodrag Milanovic2013-04-181-1/+1
| | | | other modernization (nw)
* Removal of machine().root_device() where appropriate (nw) Miodrag Milanovic2013-04-141-5/+5
|
* changed machine().device("maincpu") with m_maincpu in mess tree part (nw) Miodrag Milanovic2013-04-101-3/+3
|
* Cleanups and version bumpmame0148 Miodrag Milanovic2013-01-111-54/+54
|
* modernization and cleanup of x68k (no whatsnew) Miodrag Milanovic2012-10-031-215/+198
|
* modernization or timer callbacks part 2 (no whatsnew) Miodrag Milanovic2012-09-241-75/+70
|
* changed most of screen.machine() to machine() (no whatsnew) Miodrag Milanovic2012-09-181-11/+11
|
* Modernized screen update calls (no whatsnew) Miodrag Milanovic2012-09-171-64/+63
|
* Memory handler normalization, part 2. Change legacy Aaron Giles2012-09-171-17/+17
| | | | | | | read/write handlers to take an address_space & instead of an address_space *. Also update pretty much all other functions to take a reference where appropriate. [Aaron Giles]
* Memory handler normalization, part 1. Aaron Giles2012-09-171-1/+1
| | | | | | | | | | | | | READ/WRITE_DEVICE*_HANDLERs are now passed an address_space &, and the 8-bit variants get a mem_mask as well. This means they are now directly compatible with the member function delegates. Added a generic address space to the driver_device that can be used when no specific address space is available. Also added DECLARE_READ/WRITE_DEVICE*_HANDLER macros to declare device callbacks with default mem_mask parameters. [Aaron Giles]
* Massive change, MACHINE_START\RESET, VIDEO_START\RESET and PALETTE_INIT ↵ Miodrag Milanovic2012-09-131-17/+16
| | | | changed to be members of state classes (no whatsnew)
* Closeout on old macros. Retired cputag_set_input_line Aaron Giles2012-09-121-1/+1
| | | | | | | and cputag_set_input_line_and_vector, replacing them with machine.device("tag")->execute().set_input_line[_and_vector]. [Aaron Giles]
* Add safe_pc() and safe_pcbase() methods to device_t. Aaron Giles2012-09-111-2/+2
| | | | | | Convert all cpu_get_pc() to safe_pc() and cpu_getpreviouspc() to safe_basepc(). Removed the old macros.
* TILE/TILEMAP modernization part 3 (no whatsnew) Miodrag Milanovic2012-09-061-28/+24
|
* gfx_element is now a class. Accessors are provided for all Aaron Giles2012-09-061-5/+5
| | | | | necessary elements. Updated some of the more, ah, creative uses/abuses of the gfx_elements. [Aaron Giles]
* Replaced standard mappers with an enumeration that maps internally Aaron Giles2012-09-051-4/+4
| | | | | | to the original functions. The only change is to all-caps since these are constants, e.g., tilemap_scan_rows -> TILEMAP_SCAN_ROWS.
* Merge of MESS sources (no whatsnew) Miodrag Milanovic2012-08-211-0/+1322