Commit Graph

13150 Commits

Author SHA1 Message Date
AJR
1d9505e2d9 New machines marked as NOT_WORKING
----------------------------------
ITT 1700 [Al Kossow]
2018-10-13 23:37:20 -04:00
Ryan Schmidt
d49d8aa5e0 Use boolean not bool for libjpeg functions
Fixes build failure.
2018-10-11 22:53:46 +11:00
R. Belmont
e1a5fb74ae
Merge pull request #4118 from kiall/linux-xinput-fix
Fix compile error on Linux with NO_USE_XINPUT=0
2018-10-11 07:50:02 -04:00
Kiall Mac Innes
57692561cd Fix compile error on Linux with NO_USE_XINPUT=0
In file included from /usr/include/X11/extensions/XInput.h:53:0,
                     from ../../../../../src/osd/modules/input/input_x11.cpp:18:
    ../../../../../src/emu/save.h:95:32: error: expected unqualified-id before numeric constant
       static constexpr std::size_t COUNT = 1U;
                                    ^
    ../../../../../src/emu/save.h:102:32: error: expected unqualified-id before numeric constant
       static constexpr std::size_t COUNT = N * array_unwrap<T>::COUNT;
                                    ^
    ../../../../../src/emu/save.h:109:32: error: expected unqualified-id before numeric constant
       static constexpr std::size_t COUNT = N * array_unwrap<T>::COUNT;
                                    ^
    ../../../../../src/emu/save.h: In member function ‘void save_manager::save_item(device_t*, const char*, const char*, int, ItemType&, const char*)’:
    ../../../../../src/emu/save.h:154:142: error: expected unqualified-id before numeric constant
       save_memory(device, module, tag, index, valname, array_unwrap<ItemType>::ptr(value), array_unwrap<ItemType>::SIZE, array_unwrap<ItemType>::COUNT);
                                                                                                                                                  ^
    ../../../../../src/emu/save.h: In member function ‘void save_manager::save_pointer(device_t*, const char*, const char*, int, ItemType*, const char*, u32)’:
    ../../../../../src/emu/save.h:163:145: error: expected unqualified-id before numeric constant
       save_memory(device, module, tag, index, valname, array_unwrap<ItemType>::ptr(value[0]), array_unwrap<ItemType>::SIZE, array_unwrap<ItemType>::COUNT * count);
                                                                                                                                                     ^
    ../../../../../src/emu/save.h: In member function ‘void save_manager::save_pointer(device_t*, const char*, const char*, int, std::unique_ptr<_Tp []>&, const char*, u32)’:
    ../../../../../src/emu/save.h:172:145: error: expected unqualified-id before numeric constant
       save_memory(device, module, tag, index, valname, array_unwrap<ItemType>::ptr(value[0]), array_unwrap<ItemType>::SIZE, array_unwrap<ItemType>::COUNT * count);
2018-10-11 11:44:22 +01:00
R. Belmont
aa990898fb
Merge pull request #4107 from hp9k/topcat_irq
topcat: remove MCFG, implement irq, fix some minor issues (nw)
2018-10-10 13:42:34 -04:00
R. Belmont
50b026e57f
Merge pull request #4105 from hp9k/msm53821_fixes
rtc: add leap year support (nw)
2018-10-10 13:41:31 -04:00
Sven Schnelle
3e04e969af topcat: remove MCFG, implement irq, fix some minor issues (nw) 2018-10-10 19:19:16 +02:00
Sven Schnelle
7b48d52e94 rtc: add leap year support (nw)
msm53821:

- add standard register support
- use std::array
- fix several counter to behave like a real MSM53821
2018-10-10 14:21:30 +02:00
hap
db00f29891 video.h: get rid of LCD_FRAMES_PER_SECOND (nw) 2018-10-10 09:42:52 +02:00
R. Belmont
7b42e2f799
Merge pull request #4030 from tlindner/fix_connonical_options
Fix canonical command line option.
2018-10-07 11:38:09 -04:00
hap
4d2407128c speaker: added rear_center (nw) 2018-10-05 13:28:31 +02:00
hap
62b6a49768 namcos22: redo video params (nw) 2018-10-05 13:08:48 +02:00
mooglyguy
f5dfaff417 debugcpu: Fixed watchpoints for CPUs with a negative address shift. [Ryan Holtz] 2018-09-30 19:46:17 +02:00
AJR
63483b060e New machines marked as NOT_WORKING
----------------------------------
Falco 5220 [Al Kossow]
2018-09-27 11:16:01 -04:00
tim lindner
127bce35cf Fix connonical command line option. 2018-09-25 22:33:06 -07:00
AJR
f65e1c2a32 hazl1420: Add interrupts and hook up DIP switches through I/O expanders (nw) 2018-09-24 15:39:44 -04:00
AJR
70697c12a8 Fix debugger memory view editing for address-shifted spaces 2018-09-24 15:14:16 -04:00
AJR
dd0b82a670 Fix debugger memory view editing for address-shifted spaces 2018-09-24 14:39:20 -04:00
Vas Crabb
250c06a4d7 srcclean (nw) 2018-09-23 12:22:35 +10:00
David Haywood
ccded2bf8b Namco System 21 and other related refactors (#4013)
* namco checkpoint (including cam900 submission)

* move code into device (nw)

* start splitting DSP support code into devices (nw)

* fix crash (nw)

* prepare for further splitting (nw)

* move code for C67 based DSP PCB into it's own device (nw)

* survive F3 resets without crashing or breaking the 3D (nw)

* less magic numbers (nw)

* optional -> required
don't use fake bootstrap on older type, suspend CPU instead

* restore CPU yield hack for solvalou (nw)

* (nw)

* give galaxian3 some DSPs (nw)

* address hap's concern with a different workaround since MAME is awkward (nw)

* split namco21 driver into 3 drivers as the different configurations really are entirely different boardsets with similar components, not a real 'system'
emulated entire PCB set for driveyes ( http://www.tvspels-nostalgi.com/Bilder/PCB/Namco/driverseye_cage_inside.jpg ) although how the PCBs communicate is not yet known (C139 maybe, which might also be an MCU)

* remove empty file (nw)

* actually thinking about it, this is cleaner (nw)

* mark cybsledj as World instead, there's nothing about this set other than the CY1 code to indicate that it's a Japanese set, and I don't think the Namco codes represent region, just release order.

* newline (nw)

* newline (nw)
2018-09-21 15:01:12 -04:00
AJR
fb0d3803aa esprit.cpp: Updates (nw)
- Derive clocks from actual XTALs
- Raw screen parameters
- Character width is 9, not 8
- Separate configurations (different enough now)
- Remove MCFG configuration macros
- Add and map various devices, particularly for esprit3
- Note undumped (though probably unused) R6531 mask ROM
2018-09-21 11:44:19 -04:00
Vas Crabb
2993e850bb (nw) fix lots of inadverently mutable static pointers 2018-09-20 11:42:37 +10:00
Vas Crabb
7014716003 (nw) hey GLIBC maintainers - how about you use reserved _NAMES like you're supposed to for your macros, and stop #defining random words? it makes writing portable code hard. 2018-09-20 00:02:31 +10:00
Vas Crabb
b5758f5273 Re-write serial mouse support:
* Separate Microsoft 2-button mouse and Logitech 3-button Microsoft-compatible mouse
* Add Microsoft wheel mouse
* Make Mouse Systems mouse behave more realistically
* Add Mouse Systems "rotatable" mouse
* Simplify code and eliminate timers

(nw) X/Y translation and buttons works for all devices.  The wheel on
the wheel mouse seems to be transmitting the right data, and CuteMouse
detects the wheel as being present, but no software seems to support it
properly.  Software supporting the Mouse Systems "rotatable" mouse is
very rare - typically people just set the DIP switches on their M-1 for
"non-rotatable" mode.  A standard mouse driver will see the "rotatable"
mouse moving two mickeys for each count, and move eratically on
rotation.  The "rotable" mouse is poorly tested due to lack of software.

(nw) MAME doesn't have a proper input type for a mouse wheel, and it
doesn't seem to be possible to map the host mouse wheel to an axis when
configuring inputs.  The default mapping ends up assigining the wheel or
rotation to one of the translation axes, which is very unhelpful.
2018-09-19 20:00:56 +10:00
Vas Crabb
96c1be1325 Generate layouts for dual-screen machines rather than loading
dualhsxs.lay - this ensures aspect ratio is correct for non-4:3 screens.

(nw) Also restore internal layouts for multi-screen Game & Watch
systems.
2018-09-18 23:36:00 +10:00
AJR
c33edfd060 ampex210p: Add XTAL values, video RAM, etc. (nw) 2018-09-17 04:06:17 -04:00
AJR
79e605fde6 imds2: Clock corrections and cleanups (nw) 2018-09-13 03:23:41 -04:00
AJR
c19998753b octopus: Configurable clock for the SCN2674 (nw) 2018-09-11 20:57:38 -04:00
Patrick Mackinlay
8919ce5645 interpro: notworking -> networking (#3815)
* interpro: notworking -> networking

These changes combine to make InterPro networking work on Windows with the TAP-Windows6 driver.
* osdnet: add a receive delay (1 frame) after transmit to avoid a time-travel problem
* taptun: pad short Ethernet frames and append FCS (Windows-only until Linux taptun behaviour is verified)
* clipper: fix bugs in carry flag handling, prefer sign bit for tests
* i82586: fix transmit bug, handle reset

* networking: delayed transmit/receive

A second attempt to fix networking on InterPro systems, by introducing somewhat realistic delays into network transmit and receive paths. This version works by adding functions to device_network_interface which enable a device to be informed when the transmit or receive completes. The delay is only crudely approximated based on the specified bandwidth and the number of bytes being transmitted, but it should be good enough in practice. Existing drivers should not be impacted by these changes; overriding the new functions (and no longer overriding recv_cb) is necessary to obtain the new behaviour.

Changes from the previous commit:
* i82586: improve interrupt handling, implement delayed transmit/receive behaviour
* dinetwork: add transmit/receive delay timers, handlers and logic
* osdnet: remove receive delay, add the ability to start the receive timer
2018-09-04 19:26:58 +10:00
smf-
c133d80173 memory: Fix unmapped values with subunits [smf] 2018-08-31 17:48:44 +01:00
Vas Crabb
6cdb89bf44 Merge tag 'mame0201'
MAME 0.201

Conflicts:
	src/emu/render.h
	src/mame/drivers/mastboyo.cpp
	src/mame/drivers/opwolf.cpp
	src/osd/modules/render/drawbgfx.h
2018-08-30 04:03:59 +10:00
Olivier Galibert
badc06d1f5 Fix main fallout (nw) 2018-08-26 23:03:06 +02:00
Vas Crabb
c87777a015 fixup (nw) 2018-08-27 01:30:08 +10:00
mooglyguy
141e1d0a64 Remove debug prints, nw 2018-08-26 16:46:30 +02:00
mooglyguy
8105b73548 -bgfx: Improved rendering with artwork by 5-10x or more. [Ryan Holtz] 2018-08-27 00:32:15 +10:00
mooglyguy
cd3cbf5603 -bgfx: Improved rendering with artwork by 5-10x or more. [Ryan Holtz] 2018-08-26 16:26:52 +02:00
smf-
d629034f52 added devcb workround to allow mitsumi keyboard to build with visual studio (nw) 2018-08-26 23:23:25 +10:00
Olivier Galibert
dd64cdceee emumem: Fix ioports/membanks in internal maps [O. Galibert]
PS: That may break things, we'll see.
2018-08-26 10:36:30 +02:00
smf-
03adeab064 added devcb workround to allow mitsumi keyboard to build with visual studio (nw) 2018-08-26 08:53:19 +01:00
Vas Crabb
e1ffc337ff srcclean and manual fixup (nw) 2018-08-26 13:50:14 +10:00
AJR
ac355d1559 Apply logical address mask properly in debug disassembly view
Associated core changes (nw)
- Move definition of address_space_config from dimemory.cpp to emumem.cpp (declaration was already in emumem.h)
- Add getters for more members of address_space_config with future privatization in mind (nw)
2018-08-24 22:20:54 -04:00
mooglyguy
f10c6be54f ds1315, ds1386, ds2404, ds75160a, ds75161a, eeprom, eepromser, eeprompar: Removed MCFG, nw 2018-08-23 18:34:21 +02:00
AJR
56ee4e784c screen.h: Fix have_screen_update(), which was broken and returned false under any valid configuration, and rename the function has_screen_update(). This fixes regressions in granny and other drivers using custom update functions with CDP1861, CDP1864 and TMS992x VDPs.
tms9928a: Eliminate the clock validity check, which has fulfilled its purpose (nw)
2018-08-22 18:23:12 -04:00
smf-
2ed5eafa69 Optimise start up by delaying the state save sort and check for duplicates until all the devices have been started. This has the most visible effect on vgmplay because it registers over thirty thousand state save entries. [smf] 2018-08-22 17:21:03 +01:00
AJR
154276d260 New machines marked as NOT_WORKING
----------------------------------
WY-100 [Al Kossow]
Z-29 [Al Kossow]
2018-08-21 23:00:49 -04:00
AJR
b3e306b985 divideo: Fetch screen to be potentially configured during device_config_complete (nw)
- Allow device finder to be used as an argument for set_screen (nw)

screen: Calculate physical aspect ratio whenever required, not in device_config_complete, since the renderer caches the result anyway (nw)

cdp1861, cdp1864: Eliminate the "magic reference" constructors, doing their work in device_config_complete instead (nw)
2018-08-21 09:04:09 -04:00
AJR
67cc4b9c44 Fix scrolling glitch in memory view when address expression is applied 2018-08-12 16:35:51 -04:00
AJR
708d928214 Don't apply logical address masks to physical addresses in debug memory accesses (nw) 2018-08-12 10:02:23 -04:00
AJR
a459faa90f Emulate V33/V53 expanded addressing mode, including BRKXA and RETXA instructions
Mask address expressions correctly in debug memory view when using physical addresses beyond logical limits
2018-08-12 02:11:58 -04:00
AJR
a632b01217 xtal.cpp: Definition to be used later (nw) 2018-08-11 19:51:14 -04:00