summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/alto2/a2dwt.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove emu.h from headers (nw) Olivier Galibert2017-02-111-0/+1
| | | | | | | | | | | | Per Vas' request. If the compile fails for you (i'm thinking osx and windows native debuggers here in particular), add '#include "emu.h"' as first include of the cpp files that fail. Due to our use of precompilation and forced inclusion, emu.h must be included as the very first non-comment thing we do if we want to be sure msvc compiles are identical to gcc/clang ones. Doing it directly instead of through an include increases the correctness probability by a magnitude.
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-1/+1
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* srcclean and translation regeneration Vas Crabb2016-08-291-19/+19
|
* alto2: Refactor videotiming + use attoseconds_t Juergen Buchmueller2016-08-191-5/+5
| | | | | | | | Use MAME's type attoseconds_t and handle the timing accus in attoseconds instead of nanoseconds. Try to solve the video timing issues by using an emu_timer running at the field rate of 60Hz, which the video state machine synchronizes to.
* alto2: refactor display and CROM/RAM config (nw) Juergen Buchmueller2016-08-131-5/+7
| | | | | | | | | | | | | | | | | Refactor the display to use a buffer of the size of the total margins. Remove the deprecated MCFG_SCREEN_REFRESH_RATE(). Try to synchronize the CPU on the vertical sync generated by mame calling the screen_update() function. Instead of a fixed CROM/CRAM configuration defined through macros, make this a machine configuration parameter. You can now choose between the 3 setups: 1 = 1K CROM, 1K CRAM, 1 S register bank 2 = 2K CROM, 1K CRAM, 1 S register bank 3 = 1K CROM, 3K CRAM, 8 S register banks TODO: Some games which used to work in Salto do no longer work with this driver, e.g. pacman7 from the allgames.chd
* alto2: remove member function pointers jbu2016-08-081-2/+0
| | | | | | | | | | | | | There was little to no advantage in calling the various subdevice bs, f1 and f2 early/late functions through function pointers. The original idea was to make this configurable, which it isn't. The hardware, or schematics, define the functions and they are (almost entirely) static anyway. By removing the function pointers and inlining the appropriate calls into switch/case statements there's a speed improvement of ~ 2.5x here, seen while the diablo bitclk is not running.
* alto2: remove more cruft and fix comments jbu2016-08-061-0/+31
| | | | I want this child to become a grown up some day.
* clang-modernize part 3 Miodrag Milanovic2015-12-041-2/+2
|
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+62