summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/alto2
Commit message (Collapse)AuthorAgeFilesLines
...
* removed unnecessary callimport() on A2_TASK, removed unnecessary formatstr() ↵ smf-2016-10-242-5/+4
| | | | on CURPC & merged A2_MPC with STATE_GENPC (nw)
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-2225-488/+488
| | | | | 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
* Make sure all cpu's export STATE_GENPCBASE and use safe_pcbase() for ↵ smf-2016-09-281-1/+2
| | | | everything in the debugger, which allows interruptible cpu's to work properly. [smf]
* Revert "Make sure all cpu's export STATE_GENPCBASE and use safe_pcbase() for ↵ Lord-Nightmare2016-09-271-2/+1
| | | | | | everything in the debugger, which allows interruptible cpu's to work properly. [smf]" This reverts commit 1a186c8a3a16a7ce99d7df2dd217a7552b696c92.
* Make sure all cpu's export STATE_GENPCBASE and use safe_pcbase() for ↵ smf-2016-09-271-1/+2
| | | | everything in the debugger, which allows interruptible cpu's to work properly. [smf]
* srcclean and translation regeneration Vas Crabb2016-08-296-78/+78
|
* alto2: Refactor videotiming + use attoseconds_t Juergen Buchmueller2016-08-197-104/+111
| | | | | | | | 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: oops - disable a2ram printfs Juergen Buchmueller2016-08-131-3/+3
|
* alto2: refactor display and CROM/RAM config (nw) Juergen Buchmueller2016-08-1311-365/+372
| | | | | | | | | | | | | | | | | 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-0814-237/+477
| | | | | | | | | | | | | 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.
* Created a tiny_rom_entry structure for the purposes of rom_entry ↵ Nathan Woods2016-08-062-2/+2
| | | | | | | | declarations in code, and a first pass at the required core changes to unpack tiny_rom_entry structures at runtime. WARNING - I've done preliminary testing on a tiny build (pacman works), but nothing more. I know for a fact that a full compile fails
* alto2: remove more cruft and fix comments jbu2016-08-0612-154/+237
| | | | I want this child to become a grown up some day.
* alto2: replace decoded MIR bit fields jbu2016-08-035-65/+53
| | | | | | | Instead of using a number of UINT8 with the decoded bit fields of the MIR (micro instruction register), add inline functions to extract the bits from m_mir. That ought to be faster, because there are fewer memory accesses in cases where bit fields are not actually used by an instruction.
* alto2: fix i/o memory read; reduce frame rate jbu2016-08-032-25/+41
| | | | | | | | The frame rate is really 30 frames (60 fields) per second. Reading memory after cycle #5 after the MAR<- is possible, because the Alto 2 contains a latch for the most recent RAM dword. Thanks to the LCM and ContrAlto source for the hint!
* alto2: remove extra screen buffer jbu2016-08-032-45/+29
| | | | | Save copying odd / even frame scanlines by immediately updating the m_dsp.bitmap when a frame buffer word changes.
* alto2: further cleanup + remove cruft jbu2016-08-0310-493/+150
| | | | Get rid of the fake status display. Refactor mouse positioning code.
* alto2: add speaker sound jbu2016-07-304-11/+21
| | | | Some games, e.g. pinball-easy, use UTILOUT to generate buzzer sound.
* Cleanups and version bump Miodrag Milanovic2016-07-271-1/+1
|
* alto2: Hunting the jiggly cursor bug [Juergen Buchmueller] jbu2016-07-257-567/+305
| | | | | Removed dead and unused code while searching for the bug which causes the jiggly mouse cursor display. No success yet.
* small cleanup (nw) Miodrag Milanovic2016-06-052-34/+34
|
* NULL->nullptr, instead of DEVCB_NULL use always DEVCB_NOOP to prevent ↵ Miodrag Milanovic2016-04-241-2/+2
| | | | confusion (nw)
* * Support *n conversion in stream_format/string_format Vas Crabb2016-03-012-53/+59
| | | | | | | | | * Make stream_format return characters printed * Add iostreams with std::vector storage * Move to type-safe templates for logerror and popmessage * Remove now-unnecessary I64FMT from calls to logerror/popmessage * Put some lib/util stuff in util:: namespace * Some fixes to Japanese translation
* Replace strformat, strprintf and strcatprintf with type-safe steam_format ↵ Vas Crabb2016-02-281-6/+7
| | | | | | | | | and string_format Update MAME to use new function Instantiate ODR-used static constant members Make some of the UI code more localisable Remove use of retired functions in tools
* Make octal flag part of address_space/address_space_config, not ↵ AJR2016-02-041-1/+3
| | | | (illogically) device_execute_interface (nw)
* Pass and return palette devices by reference, not as pointers AJR2016-01-231-2/+2
| | | | | | - Add screen_device::has_palette() - Require device_gfx_interface::gfx() and palette() to access members - Getters for atari_vad_device return devices as references, not pointers
* reverting: Miodrag Milanovic2016-01-202-2/+2
| | | | | | | SHA-1: 1f90ceab075c4869298e963bf0a14a0aac2f1caa * tags are now strings (nw) fix start project for custom builds in Visual Studio (nw)
* tags are now strings (nw) Miodrag Milanovic2016-01-162-2/+2
| | | | fix start project for custom builds in Visual Studio (nw)
* Revert "remove const (nw)" Miodrag Milanovic2016-01-132-2/+2
| | | | This reverts commit e96fd34dd817f1113daf9e6b099a8f40cfd1ed6d.
* remove const (nw) Miodrag Milanovic2016-01-112-2/+2
|
* Return std::string objects by value rather than pass by reference AJR2016-01-102-2/+2
| | | | | | - strprintf is unaltered, but strformat now takes one fewer argument - state_string_export still fills a buffer, but has been made const - get_default_card_software now takes no arguments but returns a string
* cleanup (nw) Miodrag Milanovic2015-12-263-8/+2
|
* auto_alloc_array_clear -> make_unique_clear (nw) Miodrag Milanovic2015-12-192-6/+4
|
* removed auto_bitmap_ind*_alloc and auto_bitmap_rgb32_alloc and replaced with ↵ Miodrag Milanovic2015-12-177-20/+20
| | | | | | | std::unique_ptr (nw) auto_alloc_array to unique_ptr Added make_unique_clear
* override part 2 (nw) Miodrag Milanovic2015-12-051-14/+14
|
* cleanuo Miodrag Milanovic2015-12-053-46/+46
|
* removed usage of deprecated register keyword in our code (nw) Miodrag Milanovic2015-12-043-34/+34
|
* clang-modernize part 3 Miodrag Milanovic2015-12-0414-84/+84
|
* Cleanups and version bumpmame0168 Miodrag Milanovic2015-11-251-5/+5
|
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-0820-0/+0
|
* - Fix some instances of PVS-Studio warning V501, "There are identical sub- therealmogminer@gmail.com2015-11-061-1/+6
| | | | expressions to the left and to the right of an operator". [MooglyGuy]
* making logerror part of machine and device classes [Miodrag Milanovic] Miodrag Milanovic2015-11-0118-364/+364
| | | | display tag of device that logged message
* Move all devices into separate part of src tree (nw) Miodrag Milanovic2015-09-1340-0/+13229