Commit Graph

12444 Commits

Author SHA1 Message Date
Vas Crabb
ed88fd30a1 More stream enhancement 2016-03-03 03:53:43 +11:00
Vas Crabb
42ea682852 core_i64_hex_format is now a static function in memory.cpp 2016-03-03 03:53:43 +11:00
Vas Crabb
d50614c8bd Use stream with contiguous backing store for the disasmview's buffer 2016-03-03 03:53:43 +11:00
Vas Crabb
66d0ef8ed4 Fix some oversights in previous changes, sorry guys'n'gals 2016-03-03 01:25:48 +11:00
Happy
8aa07c72e7 Change field format to show leading zeros for debugger 'dasm' command as well 2016-03-01 13:46:33 -07:00
Happy
5257bf21cd Change field format to show leading zeros for debugger 'dump' command 2016-03-01 13:16:38 -07:00
Miodrag Milanovic
6938a038d9 removed test since atomic functions about to be removed (nw) 2016-03-01 13:21:42 +01:00
Vas Crabb
599570bf7f Fix stupid reversed subtraction 2016-03-01 22:33:19 +11:00
Vas Crabb
f8f414c508 Let's attack core_i64_format, too. This cleans up abuse of static buffers in the unmapped read/write reporters 2016-03-01 22:27:30 +11:00
Vas Crabb
fee5fb55f9 Get rid of most uses of core_i64_hex_format, all remaining uses are in memory.cpp 2016-03-01 21:40:14 +11:00
Vas Crabb
9224c862b2 Move more things to type-safe printf 2016-03-01 18:57:06 +11:00
Vas Crabb
743550d4c3 Merge branch 'master' of https://github.com/mamedev/mame 2016-03-01 14:43:10 +11:00
dankan1890
dbe46f8a52 selgame: test code elimination. (nw) 2016-03-01 03:02:20 +01:00
dankan1890
8c294708eb selgame: improved ROM-less and availability checking at startup. (nw) 2016-03-01 02:17:48 +01:00
Vas Crabb
365d5a0ff3 Explicitly flush log file on each line 2016-03-01 08:37:53 +11:00
Vas Crabb
6c78465d76 Fix stupid error 2016-03-01 07:52:02 +11:00
Vas Crabb
ba960afb5f Add function for flushing file buffers 2016-03-01 07:38:14 +11:00
Vas Crabb
a830ea7627 * Support *n conversion in stream_format/string_format
* 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
2016-03-01 06:52:36 +11:00
Robbbert
a15f3fde77 Fix rom load warning messages (nw) 2016-02-29 23:27:12 +11:00
dankan1890
d5ce1264a5 ui: changed filter label from "Originals" to "Parents" (MT06143) 2016-02-29 10:22:58 +01:00
dankan1890
20f8eb021b some strings internationalization. (nw) 2016-02-28 22:57:47 +01:00
Miodrag Milanovic
a0d2d660bf fixed issue noticed for racedrivpan (nw) 2016-02-28 17:42:04 +01:00
Vas Crabb
63f0a918de Clean up a bit more legacy code 2016-02-29 01:53:08 +11:00
Vas Crabb
06a4d861f8 Clean up Japanese translations a little
- be more consistent spacing/punctuation
- remove some bad translations that are worse than nothing
- add/update a few translations
2016-02-28 20:23:41 +11:00
Vas Crabb
aec01e7407 Replace strformat, strprintf and strcatprintf with type-safe steam_format 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
2016-02-28 13:36:19 +11:00
dankan1890
d38c1610b8 ui: Moved options "Configure Directories" and "Save Configuration" into "Configure Options" menu.
Removed unnecessary icons from the toolbar (performed the same actions of entries already in the menu).
Proper handling the export of the list.
Updated the .po files.
2016-02-27 21:33:39 +01:00
Miodrag Milanovic
4fe5d21f1e Clean way of doing it (nw) 2016-02-27 19:51:46 +01:00
Miodrag Milanovic
0ba1d21093 fix autoboot_command (nw) 2016-02-27 19:34:48 +01:00
Miodrag Milanovic
5951df437e Added NotoSans-Bold as backup font for platforms that do not have default system fonts exposed (nw) 2016-02-27 11:52:11 +01:00
dankan1890
04d1948ee8 ui various changes:
* extended keyboard navigation in the UI on the right side.
* added the skeleton for a configuration menu for single machine.
* fixed bug in building the search path for images.
2016-02-27 03:31:08 +01:00
Miodrag Milanovic
3a811376d9 Made pnacl to compile (nw) 2016-02-26 14:50:09 +01:00
Robbbert
4a3926b1eb ui: use appname instead of hard-coded MAME for main title. 2016-02-26 21:53:50 +11:00
dankan1890
b793ccd98e ui: key handler fix. (nw) 2016-02-25 21:36:55 +01:00
dankan1890
67d422298a removed unused code. (nw) 2016-02-25 20:48:34 +01:00
dankan1890
08d84121d4 more UI internationalization. (nw) 2016-02-25 16:38:55 +01:00
dankan1890
d7ca0361dc menu: fixed missing mouseover highlight for in-game menu. (nw) 2016-02-25 16:29:37 +01:00
dankan1890
d43bf65b16 ui: Enabled user interface navigation through UI_CONFIGURE button (tab key by default). [Maurizio Petrarota] 2016-02-25 16:25:22 +01:00
dankan1890
8241b6c0ba dirmenu: fixed DATs file reloading. 2016-02-25 15:49:38 +01:00
Miodrag Milanovic
0f85f112c9 renamed names that clash system defines in various environments (nw) 2016-02-25 14:58:39 +01:00
Miodrag Milanović
e934aa93db Revert "New driver specifiers; modify -listclones, -listsource; add -listtree" 2016-02-25 14:04:13 +01:00
Miodrag Milanović
1e7debe9a1 Merge pull request #650 from ajrhacker/listclones
New driver specifiers; modify -listclones, -listsource; add -listtree
2016-02-25 08:22:23 +01:00
AJR
3fc0787fa8 New driver specifiers; changes to -listclones, -listsource; add -listtree
Five new specifiers for driver enumeration and all commands depending thereon:
- @source.cpp matches all drivers in source.cpp
- ^driver matches driver and all its clones
- :drivbios matches drivbios and all drivers having it as their BIOS
- ^ matches all drivers excluding clone sets
- : matches all BIOS roots

Note that these new specifiers are not compatible with other wildcards; they only perform normal case-insensitive matches with driver or source file names.

The -listclones command now lists drivers in a completely different, human-readable format. It performs an extra loop to deduce the parent set name if a clone was specified; this causes, for instance, -listclones pacman and -listclones puckman to produce identical output. It includes descriptions with the clone driver names much like -listfull, and uses the parent set's description as a header for its clones. It also recognizes BIOSes and lists unique matching sets with no clones at the end of the output.

The -listsource command outputs not only the source file of each matching driver, but also its parent set and BIOS root (if any). These are output using the new @sourcefile, ^driver and :bios specifiers.

The new -listtree command is a human-readable analogue to -listsource and an alternative to -listclones. It tabulates drivers by source file in tree format, with the names of clones indented under their parents and drivers indented under their respective BIOS roots.

The -listbrothers command remains functionally unchanged, but should be considered somewhat deprecated in favor of the @sourcefile specifier with other listing commands.

Fix include_all counting error causing assert to fail in find_approximate_matches (nw)

Relax dependencies on drivenum.h in UI headers (nw)
2016-02-24 18:47:37 -05:00
dankan1890
bc2a4317ca selsoft: fixed search for software list. (nw) 2016-02-24 23:28:16 +01:00
Katsuhiko Kagami
095341ff52 When i change the HIDE_MENU on the customize UI by cursor key, LANGUAGE_MENU also would be changed .fixed it. 2016-02-24 16:47:19 +09:00
Miodrag Milanovic
3abcaee63f Cleanups and version bump 2016-02-24 07:46:57 +01:00
Lord-Nightmare
e27949219d Xerox NoteTaker: Finished IOCPU memory map documentation. Hooked up the two UARTS. Begin hookup of the screen/CRTC. Fixed an issue with writes to ROM-mapped areas shadowing to RAM. Added 960KHz xtal for the keyboard UART. [Lord Nightmare]
AY-3-1015 UART: Fixed two swapped pin functions. [Lord Nightmare]
2016-02-23 13:45:12 -05:00
Miodrag Milanović
25dca0c671 Merge pull request #633 from motoschifo/master
Fix reset of cheats when entering autofire menu
2016-02-22 09:52:47 +01:00
Miodrag Milanovic
b2a230cd15 placing back UI related settings to emu_options on popular demand (nw) 2016-02-22 09:14:49 +01:00
dankan1890
f72bba93fd oops. (nw) 2016-02-21 20:22:09 +01:00
dankan1890
2b90f54c4b compile fix. (nw) 2016-02-21 20:12:13 +01:00
dankan1890
d45335ec05 ui: more localization and code fix. (nw) 2016-02-21 19:55:38 +01:00
Michele Fochi
118abc08ef Fix reset of cheats when entering autofire menu 2016-02-21 18:44:20 +01:00
dankan1890
859cec4603 ui: localization part1. (nw) 2016-02-21 16:38:05 +01:00
Miodrag Milanovic
fafa333e3f Ubuntu is having issues if braces are in path (nw) 2016-02-21 13:17:59 +01:00
Miodrag Milanovic
bcaaa956e0 Generate mo files if po are updated, added _ instead of space char due to makefile restrictions (nw) 2016-02-21 11:34:22 +01:00
Miodrag Milanovic
f3ce55e924 Added ability to work with static text translation (nw) 2016-02-21 10:04:57 +01:00
Miodrag Milanovic
f8b5ed3621 Fixed language selection and marked it for saving (nw) 2016-02-21 09:19:57 +01:00
Miodrag Milanovic
9527a89b2c cleanup (nw) 2016-02-21 08:52:18 +01:00
dankan1890
c890643fd5 cleanup. (nw) 2016-02-21 05:03:06 +01:00
dankan1890
526d56d359 Added option in the "Customize UI" menu for selecting the language. (nw) 2016-02-21 04:59:39 +01:00
therealmogminer@gmail.com
bf033cfe00 Final fixups, get sliders working again, nw 2016-02-21 03:03:29 +01:00
therealmogminer@gmail.com
9a47a870df First take on render API reorg, nw 2016-02-21 03:03:23 +01:00
Miodrag Milanovic
7ea2c6b58e fix compile (nw) 2016-02-20 22:38:02 +01:00
Miodrag Milanovic
0bc4173bd3 Added multi-language support for MAME [Miodrag Milanovic]
Added sample language to show display in cyrillic use
mame -lang "Serbian (Cyrillic)"
2016-02-20 22:31:41 +01:00
Miodrag Milanovic
2041d88978 Remove redundant defines, in order to make translation easier (nw) 2016-02-20 17:40:05 +01:00
Miodrag Milanovic
82683676ad rename (nw) 2016-02-20 11:38:20 +01:00
Miodrag Milanovic
f481b60978 limit internationalization to UI where it belongs (nw) 2016-02-20 10:10:35 +01:00
dankan1890
4dc5884c97 ui: search fixed in filesel, dirmenu and swlist. 2016-02-20 02:52:00 +01:00
Miodrag Milanovic
cc1ca5eb93 Doing some preps for internationalization (nw) 2016-02-19 15:58:46 +01:00
Miodrag Milanovic
a09493eb20 Fix for UI crash at start (nw) 2016-02-18 08:35:05 +01:00
Miodrag Milanovic
d9299cb64a fix compile, unused variables (nw) 2016-02-17 13:22:36 +01:00
dankan1890
32630f09aa menu: allocate and draw icons only if available. nw 2016-02-17 11:32:06 +01:00
therealmogminer@gmail.com
fbe6e54400 Fix remaining issues with bgfx renderer 2016-02-17 01:35:38 +01:00
Jeffrey Clark
bacced3c81 lua api: cleanup options handling and fix cheat state return value (nw) 2016-02-16 15:28:46 -06:00
dankan1890
3f04c5f932 dsplmenu: fixed display options. nw 2016-02-15 20:29:40 +01:00
therealmogminer@gmail.com
622df200de Fix errors with -rol and -ror, nw 2016-02-15 20:22:20 +01:00
therealmogminer@gmail.com
51eb416088 Hopefully fix text being weirdly rotated 2016-02-15 18:26:40 +01:00
therealmogminer@gmail.com
b0a7bcd346 Significant speed improvements to the BGFX renderer. [MooglyGuy] 2016-02-15 17:57:28 +01:00
Miodrag Milanovic
1dc9266b93 draw FPS counter even in menus (nw)
will revert this when MG finish his work
2016-02-15 16:35:15 +01:00
Miodrag Milanović
6d57acc442 Merge pull request #618 from motoschifo/master
Autofire support (cheat) [motoschifo]
2016-02-15 09:08:00 +01:00
Jeffrey Clark
56c0fe0249 extend lua api, cheat (nw) 2016-02-14 23:18:14 -06:00
Jeffrey Clark
62cded5094 extend lua api, ioport (nw) 2016-02-14 21:35:51 -06:00
Jeffrey Clark
bfafc1db40 extend lua api, video (nw) 2016-02-14 19:30:38 -06:00
Jeffrey Clark
c283fa2e82 extend lua api, parameters (nw) 2016-02-14 19:30:38 -06:00
Jeffrey Clark
f24a89a838 extend lua api more (nw) 2016-02-14 19:30:37 -06:00
Jeffrey Clark
6db430bafc Extend mame LUA api (nw) 2016-02-14 19:30:37 -06:00
Miodrag Milanovic
b60187faa2 Added multiple callback registration for lua scripts (nw) 2016-02-14 15:29:12 +01:00
Miodrag Milanovic
618a7d4d28 initialize LUA bit earlier to give more opportunities to scripts (nw) 2016-02-14 11:20:49 +01:00
Miodrag Milanovic
ccae0382bb Added plugins and boot.lua as startup script [Miodrag Milanovic] 2016-02-14 10:58:18 +01:00
Miodrag Milanovic
2db4908814 Added lua-zlib, lfs and luv support for LUA, exposed all using luaengine (nw) 2016-02-14 08:16:35 +01:00
Michele Fochi
7c5b979ffa Fix osd message 2016-02-13 21:21:22 +01:00
Michele Fochi
00aec89192 Added support for autofire under cheat menu and available only if cheats
activated.
2016-02-13 21:03:16 +01:00
Wilbert Pol
c62ba64a50 commented out unused member; fixes clang build (nw) 2016-02-13 20:16:10 +01:00
dankan1890
9599b015a7 fixed crash clicking on the DATs icon in the toolbar if there is no info available. 2016-02-13 17:38:17 +01:00
dankan1890
ae6a55f075 Grouped display of DAT file information in a single view. (WIP) nw 2016-02-13 02:42:38 +01:00
dankan1890
335aedb3e6 Fixed UI crash. (nw) 2016-02-11 12:52:09 +01:00
dankan1890
5e5f2788d6 Rearranged some filters. nw 2016-02-11 00:26:12 +01:00
dankan1890
96f78891f9 menu: standard menu now correctly handle the double click of the mouse. nw 2016-02-10 22:39:45 +01:00
dankan1890
f37594a53a fixed wrong 'game' text. 2016-02-10 22:38:52 +01:00
dankan1890
cd05adafe0 ui: Removed the creation of cache file 'info_', and also removed 'Screen Type', '(no)Samples' and 'Stereo' filters. (TODO: pending to restore them in a proper manner). 2016-02-10 22:38:08 +01:00
dankan1890
186febc3dc dsplmenu: re-added opengl video item. nw 2016-02-10 22:27:02 +01:00
dankan1890
bc2ef66756 simpleselgame: The zeroing of the search does not require a reload. nw 2016-02-10 22:25:43 +01:00
Miodrag Milanović
b051abab1f Merge pull request #610 from motoschifo/master
Videosnaps patch (additional file to write: gamename.inp.timecode) [Michele Fochi]
2016-02-08 18:46:35 +01:00
Michele Fochi
f736cd5abc Added new options:
-[no]exit_after_playback (default=no)
 -[no]record_input (default=no)
Added new UI shortcut to save current timecode (default F12)
Translated variable names and comments to english language
2016-02-08 13:25:25 +01:00
dankan1890
68f167c886 ui: The video mode in the menu display options are now obtained directly from the settings. (nw) 2016-02-08 01:23:35 +01:00
Robbbert
7a4e38987f ui: fixed text in custom colours setup screen 2016-02-08 10:35:40 +11:00
Michele Fochi aka motoschifo
34bc216ef9 VideoSnaps patch
http://adb.arcadeitalia.net/videosnaps.php
2016-02-07 11:05:55 +01:00
AJR
0d8df9d595 Make generic VTLB implementation a modern device interface (nw) 2016-02-07 01:42:58 -05:00
AJR
3466c47229 Renaming (nw) 2016-02-07 01:17:17 -05:00
dankan1890
2fda7e23f2 menu: fixed search path for snapshots. (nw) 2016-02-07 03:53:47 +01:00
dankan1890
e15dca747c datmenu.cpp: fixed a missed substitution from auto_alloc to global_alloc. 2016-02-07 03:32:47 +01:00
Miodrag Milanovic
1bc83295c7 added save to simple ui (nw) 2016-02-06 13:54:15 +01:00
Miodrag Milanovic
f80ff01891 MAME related settings are saved on request only (nw) 2016-02-06 13:47:21 +01:00
Miodrag Milanovic
65d9003144 fixed rest of ui.ini mame.ini read/write settings (nw) 2016-02-06 10:40:23 +01:00
Miodrag Milanovic
dbfcc63e2c fix my mistake in software selection (nw) 2016-02-06 09:27:51 +01:00
Miodrag Milanovic
570db5bf5c made -cc creates ui.ini as well (nw) 2016-02-06 08:54:06 +01:00
Miodrag Milanovic
6f3e86613d Save mame.ini options only if they are updated in UI (nw)
Not all are covered, will need to check rest of files, but not tonight
2016-02-05 20:47:53 +01:00
Miodrag Milanović
e72653d7fa Merge pull request #605 from ajrhacker/isoctal
Make octal flag part of address_space/address_space_config [AJR]
2016-02-05 15:21:05 +01:00
Miodrag Milanovic
6fb757d6a6 move some options to ui.ini (nw) 2016-02-05 15:17:51 +01:00
Miodrag Milanovic
d0162765cd Keep ui options separate from emulator ini file. (nw)
TODO: Need fixing saving of some core settings that could be changed by UI
2016-02-05 14:24:17 +01:00
Miodrag Milanovic
9a28da4f73 added UI parameter, option simple gives back old style start screen, features for configuration and in game stays same as with new (nw) 2016-02-05 08:53:00 +01:00
AJR
7750a10135 Make octal flag part of address_space/address_space_config, not (illogically) device_execute_interface (nw) 2016-02-04 17:10:53 -05:00
Justin Kerk
538fa63433 Allow dat files in the root by default, like the old days (nw) 2016-02-04 12:25:10 -08:00
hap
33937a4a4c ui: orange mousecursor regrew with mewUI merge, let's re-shrink it 2016-02-04 21:12:19 +01:00
David Haywood
e5dde745c4 change default (nw) 2016-02-04 15:50:39 +00:00
Miodrag Milanovic
edfa314f1d put back select new game (nw) 2016-02-04 16:30:43 +01:00
Miodrag Milanovic
3ebf7e64fc fixed system dependent UI (nw) 2016-02-04 16:18:55 +01:00
Miodrag Milanovic
a95c4619c6 clear the rest of mewui mentioning (nw) 2016-02-04 15:36:33 +01:00
Miodrag Milanovic
024d67c14f removed UME filtering (nw) 2016-02-04 15:14:29 +01:00
Miodrag Milanovic
52d97f0dfa more mewui -> ui renames (nw) 2016-02-04 15:14:27 +01:00
Miodrag Milanovic
213283e430 some MEWUI to UI renames (nw) 2016-02-04 15:14:26 +01:00
Dankan1890
701df7fe9e Initial import of MEWUI to MAME [Dankan1890] 2016-02-04 15:14:24 +01:00
Olivier Galibert
23fd282121 disound: Don't crash on state load when the mixer is disabled by lack of inputs (misconfiguration or missing samples) [O. Galibert] 2016-02-04 13:34:09 +01:00
Victor Vasiliev
ccee9f7825 Initialize m_load_save_hold 2016-02-03 02:36:17 -05:00
Victor Vasiliev
f6331aaf65 Allow saved states to be bound to joystick buttons 2016-02-02 16:18:57 -05:00
Victor Vasiliev
c626466050 Do not read the load/save state filename while sequence is still pressed
Fixes the issue where, if the save state button was bound to something
that was a legal save state input, it would occasionally immediately
save the state onto the same button as "save state" input itself was
bound.
2016-02-02 16:18:57 -05:00
Victor Vasiliev
b11f39e7a0 Do not handle any UI inputs immediately after state load/save
Before this change, if you try to save state to a bound which already
does something as a UI button, it will save state there and then
immediately execute the bound action (sometimes it would not happen).
So, if you have state to P, with default button it would pause the game
immediately after saving state (except sometimes it would not).
2016-02-02 16:18:57 -05:00
AJR
963fb48ba7 Ignore invalid default slot options in software lists
This prevents software lists from (e.g.) trying to put a Zapper into ctrl1 on the Famicom.
2016-01-31 12:41:18 -05:00
Miodrag Milanović
68e9c4fea3 Merge pull request #597 from ajrhacker/swslotdefault
Software list entries can now supply slot option defaults [AJR]
  This feature is enabled when executing 'mame driver software'. After the specified software is found in the   software list and attached to an appropriate image device, the software part's feature list is examined for any feature whose name is that of a slot device with _default appended. The feature's value field becomes the slot's default option, which overrides any driver-specified default and can be overridden by user-specified options.

No software lists have been updated to use this feature at the moment.
2016-01-31 08:31:35 +01:00
Miodrag Milanovic
f5be481030 Fix regression with some drivers like fidelz80, for render we just need to keep mutex per thread (nw) 2016-01-31 08:23:30 +01:00
AJR
d3eecba525 Software list entries can now supply slot option defaults
This feature is enabled when executing 'mame driver software'. After the specified software is found in the software list and attached to an appropriate image device, the software part's feature list is examined for any feature whose name is that of a slot device with _default appended. The feature's value field becomes the slot's default option, which overrides any driver-specified default and can be overridden by user-specified options.

No software lists have been updated to use this feature at the moment.
2016-01-30 22:49:08 -05:00
dankan1890
0f4b6b0e46 Merge branch 'master' of https://github.com/mamedev/mame 2016-01-31 00:59:23 +01:00
dankan1890
16d9f27d06 Some missed in menu conversion. 2016-01-31 00:00:43 +01:00
hap
f5be205f6e fix a mutex regression (this doesn't fix the lockups i'm seeing) 2016-01-30 23:52:58 +01:00
Miodrag Milanovic
42622cfe8e replace osd_lock with std::mutex [Miodrag Milanovic] 2016-01-30 20:43:50 +01:00
AJR
83e6738a0a Add macros for alignment checking (nw) 2016-01-30 13:25:32 -05:00
Miodrag Milanović
c38e2ab229 Merge pull request #589 from dankan1890/master
Small code cleanup
2016-01-29 07:54:30 +01:00
hap
c4a66568e7 make internal mousepointer(that big orange one) smaller and less jaggies 2016-01-29 01:17:12 +01:00
dankan1890
1e8d53c167 wavwrite.cpp: call to nothrow allocation. 2016-01-29 00:47:01 +01:00
dankan1890
361d32d37f Small code cleanup:
- corealloc.h: added macro definition for global_alloc (nothrow) memory allocation.
- textbuf.cpp / wavwrite.cpp: removed pointless cast.
- debugcmd.cpp / luaengine.cpp / render.cpp: avoid strlen calls in a loop.
- diimage.cpp: simplified "device_image_interface::set_image_filename" function.
- miscmenu.cpp / selgame.h / video.cpp(h): replaced int with bool where applicable.
- ui.cpp: removed unused code.
2016-01-29 00:43:18 +01:00
Miodrag Milanovic
b1d6f6d63f Cleanups and version bump 2016-01-27 08:12:00 +01:00
Miodrag Milanovic
1991ad3e66 Fixed bug debugging drivers with es5510 core, possibly some others that do not have AS_PROGRAM at all (nw) 2016-01-25 15:00:35 +01:00
Miodrag Milanović
3e6d16125c Merge pull request #581 from ajrhacker/validity
Some more validity checking improvements [AJR]
2016-01-25 08:21:28 +01:00
AJR
4725ff56d2 Some more validity checking improvements:
- The -validate command now accepts an optional string, validating only matching drivers.
  This has proven useful for debugging. The default is to validate all drivers as usual.
- Devices' names are tracked when validating their auto-finders.
2016-01-24 17:15:26 -05:00
AJR
d5ea912ddd Have sound_stream::input_name return the std::string it constructs 2016-01-24 16:28:11 -05:00
AJR
9b61eb0b6b Pass and return palette devices by reference, not as pointers
- 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
2016-01-23 22:57:16 -05:00
angelosa
3b94f23dad Print messages for BTANBs, nw 2016-01-24 01:36:01 +01:00
angelosa
d7295a96d7 Added new flag MACHINE_IS_INCOMPLETE, and hooked it up to Bombs Away and "unknown fighting game 'BB'". 2016-01-23 19:10:08 +01:00
therealmogminer@gmail.com
2820f1c277 Time for more this==NULL fixes 2016-01-23 17:30:14 +01:00
mooglyguy
88faee7d26 Remove random uncommitted junk that was on my Mac 2016-01-23 17:30:14 +01:00
mooglyguy
821c7e0b2b Still more this==NULL cleanup 2016-01-23 17:30:14 +01:00
Scott Stone
b74eab06c5 Eliminate remaining this == NULL entry 2016-01-23 17:30:14 +01:00
therealmogminer@gmail.com
5a9fb4c340 Remove this==NULL comps, nw 2016-01-23 17:30:14 +01:00
Miodrag Milanovic
4e8e3066f8 reverting:
SHA-1: 1f90ceab07

* tags are now strings (nw)
fix start project for custom builds in Visual Studio (nw)
2016-01-20 21:42:13 +01:00
Miodrag Milanovic
3a8ccb89b4 Revert "Fixes (nw)"
This reverts commit 5f19489cd2.
2016-01-20 21:35:30 +01:00
Miodrag Milanovic
7c9cd3feea Revert "rest of device parameters to std::string (nw)"
This reverts commit caba131d84.
2016-01-20 21:35:11 +01:00
Miodrag Milanovic
122a16c690 Revert "Fix broken listdevices sorting (nw)"
This reverts commit 7218ceee7b.
2016-01-20 21:33:52 +01:00
Miodrag Milanovic
a62e7d8565 Revert "Fix callbacks resolve (nw)"
This reverts commit a0ca8148eb.
2016-01-20 21:33:19 +01:00
Miodrag Milanovic
724fd46254 Revert "fix for slots, makes c64 and other loading (nw)"
This reverts commit e61f9bf26f.
2016-01-20 21:32:34 +01:00
Miodrag Milanovic
abb7f223b3 Revert "Fix for hang, emu_options::add_slot_options was changed, other things are just cleanup (nw)"
This reverts commit 841a55985e.
2016-01-20 21:32:11 +01:00
Miodrag Milanovic
d5464a5799 Revert "cleanup (nw)"
This reverts commit 1d610433a7.
2016-01-20 21:31:57 +01:00
Miodrag Milanovic
d01f8971e0 Revert "fixed issue with -lx (nw)"
This reverts commit 1a7b8364f6.
2016-01-20 21:31:38 +01:00
Miodrag Milanovic
684132719f Revert "Memory region to use std::string (nw)"
This reverts commit 14d0bff4d0.
2016-01-20 21:31:21 +01:00
Miodrag Milanovic
2cc5e240f4 Revert "can't store pointer to temp object in const char * (nw)"
This reverts commit ff5bde34bb.
2016-01-20 21:31:09 +01:00
Miodrag Milanovic
ff5bde34bb can't store pointer to temp object in const char * (nw) 2016-01-20 20:18:47 +01:00
Miodrag Milanovic
14d0bff4d0 Memory region to use std::string (nw) 2016-01-20 16:04:07 +01:00
Miodrag Milanovic
1a7b8364f6 fixed issue with -lx (nw) 2016-01-19 17:10:17 +01:00
Miodrag Milanović
e94f038d8b Merge pull request #567 from ajrhacker/confix
Driver configuration fixes
2016-01-18 17:33:04 +01:00
Miodrag Milanovic
1d610433a7 cleanup (nw) 2016-01-18 14:42:45 +01:00
Miodrag Milanovic
841a55985e Fix for hang, emu_options::add_slot_options was changed, other things are just cleanup (nw) 2016-01-18 14:39:13 +01:00
Miodrag Milanovic
e61f9bf26f fix for slots, makes c64 and other loading (nw) 2016-01-17 20:27:39 +01:00
Miodrag Milanovic
a0ca8148eb Fix callbacks resolve (nw) 2016-01-17 16:11:14 +01:00
Miodrag Milanovic
558d6e192d placed this back, bad OG :) (nw) 2016-01-17 14:47:34 +01:00
AJR
7218ceee7b Fix broken listdevices sorting (nw) 2016-01-16 17:07:38 -05:00
AJR
be2d8c82d8 Driver configuration fixes
- Implement found() method for object finders
- a1200, cubo, midzeus2, etc.: remove spurious palette tags
- bagman, sbagman & clones: correct PROM region lengths
- atomicp, snapper: remove unused(?) sprite device w/no ROMs
2016-01-16 16:13:23 -05:00
Miodrag Milanovic
caba131d84 rest of device parameters to std::string (nw) 2016-01-16 20:05:32 +01:00
Miodrag Milanovic
5f19489cd2 Fixes (nw) 2016-01-16 17:55:36 +01:00
Miodrag Milanovic
1f90ceab07 tags are now strings (nw)
fix start project for custom builds in Visual Studio (nw)
2016-01-16 14:54:42 +01:00
Miodrag Milanovic
7f02a9e47b Fix image unload (nw) 2016-01-14 14:10:36 +01:00
Miodrag Milanovic
603dfb67c4 Revert "remove const (nw)"
This reverts commit e96fd34dd8.
2016-01-13 13:29:06 +01:00
Miodrag Milanovic
807265ed21 put debug_view back in machine due to issues with QT (nw) 2016-01-12 12:00:56 +01:00
Miodrag Milanovic
79fd7e15d1 Fix linux compile 2016-01-12 10:02:55 +01:00
Miodrag Milanovic
f9a9eafba0 created debugger_manager, now this one owns debug_view_manager (nw) 2016-01-12 09:50:59 +01:00
Miodrag Milanovic
7dec0b4143 simplify (nw) 2016-01-12 09:17:14 +01:00
Miodrag Milanovic
43cc0ac675 final touch on romload modernization (nw) 2016-01-11 21:27:11 +01:00
Miodrag Milanovic
864486b7e6 vector instead of simple_list (nw) 2016-01-11 18:11:55 +01:00
Miodrag Milanovic
f21c96ce8a modernize rom_load_manager (nw) 2016-01-11 17:15:09 +01:00
Miodrag Milanovic
f0dc809ab8 image_manager modernized and move some things around (nw) 2016-01-11 14:59:24 +01:00
Miodrag Milanovic
e0358a4ce4 get rid of global_alloc (nw) 2016-01-11 13:23:03 +01:00
Miodrag Milanovic
2bdd459d61 fix clang build (nw) 2016-01-11 12:01:08 +01:00
Miodrag Milanovic
3b922ba118 modernized crosshair_manager (nw) 2016-01-11 11:59:41 +01:00
Miodrag Milanovic
3c1ea41741 let's use our templates to clear (nw) 2016-01-11 11:32:39 +01:00
Miodrag Milanovic
04a5484b49 change initialization order, removes need for additional checks (nw) 2016-01-11 10:21:21 +01:00
Miodrag Milanovic
e96fd34dd8 remove const (nw) 2016-01-11 09:58:36 +01:00
Miodrag Milanovic
02fb0d2084 can't change this one (nw) 2016-01-11 09:24:21 +01:00
Miodrag Milanović
36195292e3 Merge pull request #561 from ajrhacker/strings
Return std::string objects by value rather than pass by reference [ajrhacker]
2016-01-11 09:18:43 +01:00
AJR
115db95642 Return std::string objects by value rather than pass by reference
- 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
2016-01-10 16:36:18 -05:00
Miodrag Milanovic
30c10f6f79 modernized ui_input_manager (nw) 2016-01-10 20:32:30 +01:00
Miodrag Milanovic
c678902d0b make output be part of driver_device (nw) 2016-01-10 18:51:36 +01:00
Miodrag Milanovic
f9f908d48b modernize output_manager (nw) 2016-01-10 18:41:17 +01:00
Miodrag Milanovic
3e5ad46410 modernized configuration_manager (nw) 2016-01-10 15:17:18 +01:00
Miodrag Milanovic
9649088839 modernized bookkeeping manager (nw) 2016-01-10 13:19:57 +01:00
Miodrag Milanovic
283fbf13a4 generic machine is now bookkeeping (nw) 2016-01-10 11:39:38 +01:00
Miodrag Milanovic
726f7958ca move things around (nw) 2016-01-10 11:15:10 +01:00
Miodrag Milanovic
701aea7859 modernized network_manager (nw) 2016-01-10 10:57:37 +01:00
Miodrag Milanovic
8b31662264 Clear device driver member variables on creation (nw) 2016-01-08 18:25:45 +01:00
Miodrag Milanovic
ce75a5d682 removed memory tracking (nw) 2016-01-08 12:41:13 +01:00
Jeffrey Clark
b0a2383cae add lua console support back in 2016-01-06 01:20:49 -06:00
AJR
a0d3f281ba Fix errors from faulty merge (nw) 2016-01-02 17:45:03 -05:00
AJR
3e6c0d3434 Allow mame -validate -verbose to capture verbose messages 2016-01-02 09:40:15 -05:00
Miodrag Milanovic
f1a0a3cb88 Added pre-compiled headers support to build system (nw) 2016-01-01 08:23:58 +01:00
Con Huevos Guey
d940950b85 Update debugcon.h
Increased MAX_COMMAND PARAMS and MAX_COMMAND_LENGTH to quadruple their previous size.  The previous values did not have the capacity to allow trace logging of all registers at the same time in some CPUS.  Setting the maximum to 128 should allow for capturing of systems with large symbolic lists (such as Playstation) if needed. 

For example, the following command would throw an error when trace logging a 68000 CPU because the maximum parameters (16) would be reached when attempting to capture all registers:

trace 68K.log,0,{tracelog "A0=%08X, A1=%08X, A2=%08X, A3=%08X, A4=%08X, A5=%08X, A6=%08X, A7=%08X, D0=%08X, D1=%08X, D2=%08X, D3=%08X, D4=%08X, D5=%08X, D6=%08X, D7=%08X ",a0,a1,a2,a3,a4,a5,a6,a7,d0,d1,d2,d3,d4,d5,d6,d7}
2015-12-31 13:42:55 -06:00
Miodrag Milanovic
ae4661504c Just name not acronym (nw) 2015-12-31 11:00:47 +01:00
Miodrag Milanovic
1aa986d617 Revert "removing MESS brand and making MAME a name not acronym (nw)"
Too contraversial for now :)

This reverts commit 47bf03513e.
2015-12-31 10:51:15 +01:00
Miodrag Milanovic
47bf03513e removing MESS brand and making MAME a name not acronym (nw) 2015-12-31 10:31:00 +01:00
Miodrag Milanovic
4afd75e2fd Cleanups and version bump 2015-12-30 08:18:51 +01:00
Brandon Munger
c66bc59508 Fix UI message for software selection 2015-12-28 19:10:31 -05:00
Miodrag Milanović
f8eb29b9bd Revert "Allow mame -validate -verbose to display more messages (and make erro…" 2015-12-28 15:56:35 +01:00
Miodrag Milanović
11fcbaa285 Merge pull request #527 from ajrhacker/master
Allow mame -validate -verbose to display more messages [ajrhacker]
2015-12-28 07:17:17 +01:00
AJR
5ef8cef2f1 Allow mame -validate -verbose to display more messages (and make error/warning output a little neater) 2015-12-27 22:42:05 -05:00
Miodrag Milanovic
2e9fa84503 Fix recognition for more platforms, and fixed compile on arm (nw) 2015-12-27 16:37:16 +01:00
Miodrag Milanovic
94bc7eed38 cleanup (nw) 2015-12-25 12:09:50 +01:00
qmc2
2775a5a784 Make -verifyroms verify sub-devices like mpu401 and c2040fdc 2015-12-23 15:51:08 +01:00
Miodrag Milanovic
a55ab6d615 some handmade changes (nw) 2015-12-21 16:01:14 +01:00
Miodrag Milanovic
2d09179902 Added license for Derrick Renaud, extended K.Wilkins and F.Palazzolo to full names, (nw)
Added license for Paul Forgey
2015-12-21 09:57:22 +01:00
AJR
de31dfcf58 Refactoring memory map validity checking 2015-12-19 18:22:19 -05:00
Miodrag Milanovic
a8cef0ae39 global_alloc for m_gfxdecode->set_gfx changed to work with unique_ptr (nw) 2015-12-19 20:05:35 +01:00
Miodrag Milanovic
42adde9fd5 auto_alloc_array_clear -> make_unique_clear (nw) 2015-12-19 11:08:25 +01:00
Miodrag Milanovic
174720a64d removed auto_bitmap_ind*_alloc and auto_bitmap_rgb32_alloc and replaced with std::unique_ptr (nw)
auto_alloc_array to unique_ptr
Added make_unique_clear
2015-12-17 11:10:30 +01:00
mahlemiut
043eed6171 Make new internal debugger windows appear in a cascade-like position, and give some windows better default sizes. Change render_target::debug_top() to put targets at the end of the target list, fixing the order in which windows are rendered (nothing else uses this function). 2015-12-17 19:10:31 +13:00
MASH
793aef6039 Replaced strlen(device->shortname())!=0 with device->shortname()[0]!='\0' in info.cpp
Increased listxml output ==> 18%
2015-12-15 21:20:24 -05:00
hap
78c868cb45 nw 2015-12-15 16:26:51 +01:00
MASH
6d39992775 Fixed listxml sample output.
The listxml dosn't output the game samples.
This fixed commit: tagmap_t to std::unordered_map or std::unordered_set where applicable… 
3414b0166e
2015-12-15 03:10:01 +01:00
Vas Crabb
3ab910fe50 const-qualify source bitmaps in drawgfx 2015-12-14 04:41:13 +11:00
Miodrag Milanovic
379581fb36 macro removal INLINE -> static inline (nw) 2015-12-12 08:58:57 +01:00
Miodrag Milanovic
9a2ed1703a tagged_list without tagmap_t (nw) 2015-12-11 13:59:37 +01:00
Miodrag Milanovic
3414b0166e tagmap_t to std::unordered_map or std::unordered_set where applicable (nw) 2015-12-09 21:14:13 +01:00
Miodrag Milanovic
ce3bc53918 had to revert this in order clang to work (nw) 2015-12-09 17:30:14 +01:00
Miodrag Milanovic
83e804ab0c updated checks since old versions are anyway not supported (nw) 2015-12-09 15:53:43 +01:00
Miodrag Milanovic
c98724d841 Fixed uninitialized variables, detected by VS2015 x64 build (nw) 2015-12-07 19:20:42 +01:00
yz70s
83f758cbeb Show more digits in fp values (issue #476) 2015-12-06 23:33:03 +01:00
yz70s
e76dc64868 Show 64 and 80 bit floats in windows and qt debugger (issue #476) 2015-12-06 23:33:03 +01:00
Miodrag Milanovic
866f0b6805 cleanup 2015-12-06 09:58:11 +01:00
Miodrag Milanovic
3ee9b6cee4 fixing some more override (nw) 2015-12-06 09:23:23 +01:00
Miodrag Milanovic
21d8194c7c placed cache back in new form, fixes listxml and similar (nw) 2015-12-04 12:32:42 +01:00
Miodrag Milanovic
1b0ec08af5 clang-modernize part 6 2015-12-04 10:29:21 +01:00
Miodrag Milanovic
5a2f80dcde clang-modernize part 5 2015-12-04 07:06:18 +01:00
Miodrag Milanovic
91605d3f4d clang-modernize part 1 (nw) 2015-12-03 18:17:25 +01:00
Miodrag Milanovic
5232ca932a force delete of copy constructor and operator = (nw) 2015-12-03 15:54:13 +01:00
Miodrag Milanovic
92f81361d6 Initial conversion of core to C++14. Note that compilers are now limited to GCC 4.9.0 and up, Clang 3.4.0 and up, and VS2013 and up [Miodrag Milanovic] 2015-12-03 11:40:45 +01:00
R. Belmont
0704504dc9 Merge pull request #481 from osresearch/master
silence warnings on OSX clang3.0 (issue #480)
2015-11-30 08:58:36 -05:00
yz70s
b052dcb402 First commit for issue #476
"byte per chunk" is sostituted by "data format"
  data formats lesser than 9 work as before, data format 9 is 32 but floating point
  in the debug_view_memory class method bytes_per_chunk is substituted by get_data_format, set_bytes_per_chunk is substituted by set_data_format
  floating point values cannot be edited
  currently floating point values are available only in the windows debugger, next commit will add them to the qt debugger, osx i won't be able to do it
  afterwards 64 and 80 bit formats will be added
2015-11-30 10:15:25 +01:00
Trammell Hudson
d035640605 add casts from emu_file to core_file (issue #482) 2015-11-27 17:12:21 -05:00
Miodrag Milanovic
0825ce4f3b Cleanups and version bump 2015-11-25 08:22:24 +01:00
David Haywood
b1cd05ee52 Merge pull request #470 from ImJezze/master
HLSL bug fixes
2015-11-19 01:12:45 +00:00
Miodrag Milanovic
d09c2b2e5d Revert "No need for simple_list_wrapper (nw)"
This reverts commit 9cf26a0f69.
2015-11-18 19:30:36 +01:00
ImJezze
0095c77163 Cleanup (nw)
- removed some tabs at line ends
2015-11-18 18:09:09 +01:00
Miodrag Milanovic
9cf26a0f69 No need for simple_list_wrapper (nw) 2015-11-18 13:39:59 +01:00
ImJezze
05f83580c0 Fixed dynamic beam width for invariabel vector intensity
- the vector renderer now tries to detect a invariabel vector intensity
and disables the calculation of a dynamic beam width
2015-11-18 13:37:53 +01:00
Miodrag Milanovic
e078b40130 removed old code part (nw) 2015-11-18 09:57:34 +01:00
ImJezze
8be53c28f0 Changed screen adjustment for HLSL
- screen adjustment (scale, offset) can now be handled by the respective
render API itself (default behavior is as before)
- D3D (if HLSL) is activated handles screen adjustment by itself within
the shader, which fixes the odd behavior of some effects (e.g. round
corners) when screen scale and offset is used
2015-11-17 19:37:56 +01:00
Miodrag Milanovic
61d05aacb8 Fixed some suggestions by ReSharper C++ (nw) 2015-11-14 19:05:18 +01:00
Miodrag Milanovic
19ff46c113 More cleanups (nw) 2015-11-11 18:07:13 +01:00
Miodrag Milanovic
a89530313f this is obvious error (nw) 2015-11-11 18:05:41 +01:00
Miodrag Milanovic
02f128df25 more cleanups and fix (nw) 2015-11-11 17:19:26 +01:00
Miodrag Milanovic
d1dc775f9b Some cleanups and init fixes with help of ReSharper C++ (nw) 2015-11-11 16:31:18 +01:00
Miodrag Milanovic
7c7e62455e removed unused code (nw) 2015-11-11 13:25:45 +01:00
Miodrag Milanovic
4046c861ba These are not needed with official tools (nw) 2015-11-10 14:39:09 +01:00
therealmogminer@gmail.com
7b5119e166 nw, more PVS-Studio fixes 2015-11-09 12:23:29 +01:00
therealmogminer@gmail.com
33f410f0d9 Fix more PVS-Studio warnings, nw 2015-11-09 11:22:13 +01:00
Miodrag Milanovic
c27f551ac3 fix breakage while logerror (nw) 2015-11-08 20:24:44 +01:00
Miodrag Milanovic
7c19aac60e Rename *.c -> *.cpp in our source (nw) 2015-11-08 12:56:12 +01:00
Miodrag Milanovic
f869455148 Some errors pointed by ReSharperC++ (nw) 2015-11-07 11:55:44 +01:00
Miodrag Milanovic
7e91d39640 no need to include network.h (nw) 2015-11-06 16:08:28 +01:00
Miodrag Milanovic
9c96282b3b Cleanup devcpu.h (nw) 2015-11-06 15:55:31 +01:00
Miodrag Milanovic
475e637fb3 removed render.h from emu.h and fix deps (nw) 2015-11-06 14:25:23 +01:00
Miodrag Milanovic
bcafd15b09 fix memory leak (nw) 2015-11-06 08:11:05 +01:00
Miodrag Milanovic
41fea29de5 Relaxed emu.h a bit, should make compile a bit faster (nw) 2015-11-05 20:39:57 +01:00
Miodrag Milanovic
b6707c3bb5 Removed mongoose due to restricted license and webserver wip till code is restructured (nw) 2015-11-04 18:55:36 +01:00
Miodrag Milanovic
3885185274 fix compare (nw) 2015-11-02 15:03:17 +01:00
Vas Crabb
a5a301d1fe Let's be more strict (nw) 2015-11-02 23:40:04 +11:00
Vas Crabb
99c12e17c4 More appeasement of the standards gods (nw) 2015-11-02 02:02:12 +11:00
Vas Crabb
44c21dcac5 Get rid of one this == NULL comparison, reduces warnings by 10% with clang 3.6 (nw) 2015-11-02 02:02:08 +11:00
Miodrag Milanovic
18188cb13b making logerror part of machine and device classes [Miodrag Milanovic]
display tag of device that logged message
2015-11-01 14:34:45 +01:00
Miodrag Milanovic
47f56372ee Cleanup and version bump 2015-10-28 08:06:12 +01:00
Vas Crabb
f410f2a9b4 Fix PowerPC build 2015-10-28 15:13:37 +11:00
Miodrag Milanovic
42d672722d removed not needed conversions (nw) 2015-10-27 19:46:41 +01:00
Miodrag Milanovic
8747487f9b Removed some unused variables (nw) 2015-10-27 19:21:46 +01:00
Miodrag Milanović
0a415253a1 Merge pull request #432 from ImJezze/master
Vector Rendering Fixes and Improvements
2015-10-27 11:35:37 +01:00
ImJezze
21b577483b Cleanup
- some renamings
- reverted one unwanted change in vector.fx
2015-10-26 19:49:17 +01:00
hap
a6094ce5aa champbas.c driver needs cleanup, i'll continue on that if i can sort out MCU emulation for it (via hmcs40 instead simulation) 2015-10-26 18:19:01 +01:00
ImJezze
7018c3d294 Fixed Beam Width Options
- beam width min. and max. could not be set higher than 1.0 in UI
2015-10-25 23:11:54 +01:00
ImJezze
5f1f5d500a Experimental Dynamic Beam Width
- replace beam width by beam min. and beam max. width, this makes it
possible to create a linear dynamic beam width by the amount of
intensity of the beam
- added beam intensity weight, this adds an exponential factor to the
dynamic beam width (values greater than 0 will push larger intensities
more than smaller intensities)
- fixed displayed ratio of vector points (zero-length lines)
2015-10-25 20:54:00 +01:00
ImJezze
0ad0e5548e Fixed Vector Intensity and Flicker
- fixed vector intensity in vector.fx
- fixed vector flicker in vector.c
- change range of vector flicker option from 0 - 100 to 0.00 - 1.00
2015-10-25 11:02:52 +01:00
arbee
6fb7e0f7d3 scanline partial updates checkpoint (nw)
This isn't working right yet with my test case, but I'm fairly certain the actual core part is generally correct, just the Apple II video rendering and/or floating-bus reading isn't quite right.
2015-10-24 17:47:28 -04:00
Miodrag Milanović
afbed222b0 Merge pull request #409 from ImJezze/master
-Unified HLSL render pipline for raster and vector graphics [ImJezze]
  * simplified draw call of render pass functions
  * reduced number of used render targets from 7 to 4 (2 native and 2 pre-scaled)
  * made render pass functions (nearly) independent from each other
  * unified render pipeline for raster and vector graphics, which means that all effects are now also available for vector graphics (except scan-lines)
  * removed/replaced simple.fx by primary.fx
  * removed CU_PHOSPHOR_IGNORE uniform, which was only used in phosphor pass function and is now directly set
  * added CU_TARGET_DIMS uniform based on the current render target
  * added CU_QUAD_DIMS uniform based on the current full screen polygon quad
  * removed pre-scale knowledge from shaders
  * fixed DX9 related half pixel offset in most shaders
  * reduced shadow mask color bleeding
  * fixed defocus strength with different pre-scales
  * added slight noise to bloom effect to reduce the color banding of lower bloom levels
  * fixed position of reflection effect when screen is rotated or flipped
  * fixed roundness and size of rounded corners in any aspect ratio
  * added distortion pass, which is applied after the bloom pass and moved curvature, vignetting, rounded corners and reflection effect to this pass
  * fixed bloom stair-step artifacts when screen is curved
  * added smooth border effect and option, its amount is limited by the amount of rounded corners
  * added bloom overdrive effect and options, this effect allows to overdrive pure colors like red, green and blue to become more brighter
  * merged vector and raster bloom options, use vector.ini or raster.ini to distinguish
  * added raster.ini and lcd.ini to parse_standard_inis()
  * added bounds() and screen_bounds() getter to layout_view
  * added current_view() getter to render_target
  * many other small changes and refactoring
2015-10-24 08:38:42 +02:00
RobertoFresca
b1149b0a83 Aristocrat MKV driver improvements [Roberto Fresca]:
Added the undumped ST93C46 serial EEPROMS to Adonisa, and added a
placeholder to the parent set for the same devices, flagged as NO_DUMP.
Added master crystal via #define, and derived the CPU clock.
Added some technical notes.
2015-10-23 23:39:37 -03:00
ImJezze
a7b8acbe3e Merge pull request #6 from mamedev/master
Sync to base master
2015-10-20 21:34:36 +02:00
Miodrag Milanović
fb179e042c Merge pull request #401 from fulivi/pty_dev3
PTY support for u*x OSes [F.Ulivi]
2015-10-18 16:00:23 +02:00
fulivi
d2d30ee26c pty: fixed for mame0166 release 2015-10-13 13:37:57 +02:00
fulivi
898fc7b373 pty: seems ok (linux only) 2015-10-13 12:01:30 +02:00
fulivi
f8cb153519 pty: first step of pseudo terminal implementation
Conflicts:
	scripts/src/bus.lua
2015-10-13 12:00:52 +02:00
Miodrag Milanovic
8f5fd37724 Revert "Make screen rotation to be per-screen attribute (nw)"
This reverts commit 63844e14f5.
2015-10-12 08:11:28 +02:00
Miodrag Milanovic
08c512d923 Revert "fixed commented validation to show all cases (nw)"
This reverts commit feef4e980e.
2015-10-12 08:11:04 +02:00
ImJezze
534cd86c17 Bloom Overdrive
- added experimental bloom overdrive effect and options, this effect
allows to overdrive pure colors like red, green and blue to become more
brighter
- added lcd.ini to parse_standard_inis()
2015-10-10 17:02:51 +02:00
ImJezze
81c15decf8 Smooth Borders
- enabled smooth border effect and added option, its amount is limited
by the amount of rounded corners
- added raster.ini to parse_standard_inis()
- merged vector and raster bloom options, use vector.ini or raster.ini
to distinguish
2015-10-09 18:49:39 +02:00
Miodrag Milanovic
feef4e980e fixed commented validation to show all cases (nw) 2015-10-09 15:16:51 +02:00
Miodrag Milanovic
63844e14f5 Make screen rotation to be per-screen attribute (nw)
commented validation used to compare it to existing rotation flags
2015-10-09 14:18:05 +02:00
yz70s
28919d81a6 Give message if debugger comments are not saved (nw) 2015-10-07 07:12:33 +02:00
Gyunt
4a4e6a507c luaengine: added save/load state support 2015-10-04 15:38:27 +09:00
ImJezze
062e6e0383 Refactoring, Fixes and Cleanup
- added distortion pass, which is applied after the bloom pass
- moved vignetting, curvature, round corners and reflection effect to
distortion pass
- disabled distortion pass for multi screens and activated artworks due
to not yet fixed misalignments
- disabled scanlines for vector rendering in post pass shader
- removed prescale knowledge from downsample, bloom and post pass shader
- fixed half pixel offset in most shaders
- fixed position of reflection effect when screen is rotated or flipped
- fixed roundness of round corners in any aspect ratio
- fixed shadow mask bleeding (nearly completly)
- added bounds() and screen_bounds() getter to layout_view
- added current_view() getter to render_target
- some cleanup and refactoring
2015-09-26 18:22:51 +02:00
Justin Kerk
77545a2035 Mostly revert 3bb0fb2df7 (nw)
Checked the compiled output with -O3 and the change resulted in additional heap operations
Leaving in the attotime change although it seems to have no effect one way or the other
2015-09-26 00:57:28 -07:00
Diego
c57cbd0b2e Code enhancement
Removed the assingment step by initializing target object with the value intended.
2015-09-24 10:09:27 -08:00
Diego
3bb0fb2df7 Code enhancement
No real need for an extra pointer here (device_scheduler * scheduler), only makes the code more cryptic.
Removed the assignment step by initializing the object with the value intended.
2015-09-24 10:05:04 -08:00
David Haywood
7960d296ad Merge pull request #324 from ValleyBell/valleybell
fix for FM-Towns clock, minor fixes
2015-09-14 02:11:26 +01:00
Valley Bell
1068a01153 prevent main menu from overwriting error.log and wavelog 2015-09-13 21:44:11 +02:00
Miodrag Milanovic
05c7edb199 Remove direct zlib dependency in code (nw) 2015-09-13 12:27:46 +02:00
Miodrag Milanovic
deb9df99b5 placed back some files that should be part of core (nw) 2015-09-13 08:54:09 +02:00
Miodrag Milanovic
f88cefad27 Move all devices into separate part of src tree (nw) 2015-09-13 08:41:44 +02:00
Lord-Nightmare
e92ac9e0fa TMS5220 and TMS5110: Fix an off-by-one in the interpolator causing the k5 coefficient to not be zeroed during unvoiced frames. Fixes various speech glitches. [Lord Nightmare] 2015-09-13 00:23:53 -04:00
Miodrag Milanovic
115ffcb10a Moved netlist from emu to lib (nw) 2015-09-12 10:12:14 +02:00
Lord-Nightmare
935d97d121 tms5220.c: whitespace cleanup (n/w) 2015-09-11 01:11:28 -04:00
Lord-Nightmare
b355441ece tms5110.c: minor comment fixes and changes to debugging log data (n/w) 2015-09-11 01:11:26 -04:00
Vas Crabb
6393264de2 Fix unused variable 2015-09-11 12:18:53 +08:00
Sergey Svishchev
b7f4c082e6 isa_ibm_pgc: new skeleton driver 2015-09-11 01:26:02 +03:00
mahlemiut
91b0190a5d al520ex: added preliminary Magic Sound expansion (not working) [Barry Rodewald] 2015-09-10 23:53:20 +12:00
cracyc
78c8d33ebd pcd: implement pcx video device [Carl, Axel Muhr] 2015-09-09 22:15:46 -05:00
R. Belmont
1afbc7d8f6 Merge pull request #316 from Happy-yappH/master
Add cache operation descriptions to MIPS disassembly.
2015-09-08 20:14:35 -04:00
David Haywood
8abb4014f3 Sega Pico PCM improvements [ValleyBell]
as the pull request seems to have gone dead I refactored his changes into a new device derived from the 7759 rather than adding the Fifo into the 7759 (due to Aaron saying it doesn't exist there)

it's possible the custom chip that Pico uses has said logic built in somehow as it's not a plain 7759 afaik.
2015-09-08 15:09:43 +01:00
Happy
119f0f26f9 Add cache operation descriptions to MIPS disassembly. 2015-09-08 07:05:08 -06:00
Happy
caf277a3cc Merge branch 'local' 2015-09-07 22:26:24 -06:00
Happy
3cb8f5d368 N64 driver improvements.
Add coprocessor unusable exceptions for LWC1/SWC1/LDC1/SDC1.
Change PI DMA granularity from eight bytes to two bytes.
Add delay timer for SI DMA.
Change behavior for interlaced video to be more useful, but still needing revision.
Simplify/remove some AI DMA interrupt signals.
Removed line that cleared EEPROM contents with every machine reset (warm or cold).
2015-09-07 22:14:16 -06:00
Miodrag Milanovic
b4a6a32e3b fixed default value for display (nw) 2015-09-06 09:07:28 +02:00
Andrew Gardner
a7943aa92f Clean up copyrights on things I shouldn't be listed in. (nw)
Also isolated Andrew Zaferakis' copyright to hng64_3d.c since that's where his
~700 lines of code lives. (nw)

Finally, touched up some spacing in drivers/Model2.c - converting this one
to polynew will be a little more involved and will be done on a later date. (nw)
2015-09-02 11:11:31 +02:00
Sergey Svishchev
4ac16414b6 pc_kbd/iskr1030: WIP snapshot 2015-09-01 09:26:12 +03:00
Andrew Gardner
9f23270e5d Removed final (?) references to "Poly New", fixing two header guards and a
couple of comments. (nw)
2015-08-31 13:20:52 +02:00
Lord-Nightmare
7f37824e46 remove outdated comments, and other comment updates to tms5220 (nw) 2015-08-30 16:38:16 -04:00
Lord-Nightmare
fbacff0ace TMS5110: Add same FAST_START_HACK as in tms5220, makes snmath word delay closer to hardware. [Lord Nightmare] 2015-08-30 16:36:38 -04:00
Miodrag Milanovic
ab8f969618 fixed compile (nw) 2015-08-30 14:41:11 +02:00
Sergey Svishchev
ae053d119a Add skeleton support for K1801VM2 (as clone of T11), change relevant drivers to use it. 2015-08-30 15:06:06 +03:00
Miodrag Milanović
3c44b77052 Merge pull request #295 from shattered/_c60338d
at, at_keybc: hook up Display Switch and remove irrelevant DSW0 [shattered]
2015-08-30 11:43:24 +02:00
Sergey Svishchev
47c125bfa8 at, at_keybc: hook up Display Switch 2015-08-30 12:32:23 +03:00
Sergey Svishchev
6e35ccc0e8 68230: handle Port C Data Direction Register (register 4) 2015-08-30 00:13:21 +03:00
R. Belmont
7e7f6582ae Merge pull request #293 from JoakimLarsson/m0165_fcc1_3
M0165 fcc1 3
2015-08-28 12:59:04 -04:00
R. Belmont
7045943321 Merge pull request #265 from superctr/master
C352: Add divider for System 23, change enum format
2015-08-28 12:55:32 -04:00
Lord-Nightmare
017ebde24e TMS5110: Purge process() of gotos to hopefully make the compiler's optimizer happier. [Lord Nightmare] 2015-08-28 03:43:30 -04:00
Joakim Larsson Edström
040b346fce Fixed user expansion socket cart support through very ugly byteswap in read handler, must be fixed better later 2015-08-28 09:26:01 +02:00
Joakim Larsson Edstrom
06e8aef36c Started LO command support, to be able to upload S-records to fccpu1 over serial host port 2015-08-28 09:25:59 +02:00
Joakim Larsson Edstrom
cab1a40467 Added centronics-ish interface support for the fccpu1 board as expected by the system ROM, tested and works 2015-08-28 09:25:52 +02:00
Lord-Nightmare
66b36b336f TMS5220: Purge process() of gotos to hopefully make the compiler's optimizer happier. Add a hack so Victory's "Shields Up" sample and the sample afterward aren't corrupted. [Lord Nightmare] 2015-08-28 03:11:28 -04:00
couriersud
bce5387096 Some pedantic netlist changes. (nw) 2015-08-28 01:17:21 +02:00
Lord-Nightmare
12d07f9174 TMS5220: implemented talk status state machine properly as shown by patent. Got rid of m_target_* hack in favor of loading data from ROM as needed. Fixed ZPAR logic. Fixed pitch zeroing to match(?) patent. [Lord Nightmare] 2015-08-27 19:08:56 -04:00
Lord-Nightmare
b6ca87aaf6 TMS5110.c: Finally fixed zpar logic correctly. [Lord Nightmare] 2015-08-27 18:45:57 -04:00
Kyungdahm Yun
2afb393744 emudummy.c: change GAME_NO_SOUND to MACHINE_* 2015-08-27 03:24:26 -07:00
Lord-Nightmare
0d645cc62b TMS51xx: Got rid of the request_bits and FIFO implementation, both of which were incorrect to hardware. Minor ZPAR fix. Some comment cleanup. [Lord Nightmare] 2015-08-26 19:41:16 -04:00
Miodrag Milanovic
efa3a679a3 Cleanups and version bump 2015-08-26 08:10:34 +02:00
Lord-Nightmare
bc5ffe4937 whoops (nw) 2015-08-25 23:36:18 -04:00
hap
016f430cea fix namcos23 crash: http://mametesters.org/view.php?id=5762 (problem with uninitialized variables) 2015-08-26 00:21:15 +02:00
Luca Elia
5d7316801b fix typos in intelfsh.c (nw) 2015-08-25 17:55:22 +02:00
Michael Zapf
d8d1b5297f HFDC: Added dip switch "wait for HD" (later models) 2015-08-25 16:03:38 +02:00
Vas Crabb
ed4c3383d7 patch noise (nw) 2015-08-25 13:06:17 +10:00
Vas Crabb
f500420346 OS/2 patch for 0.164 [KO Myung-Hun] 2015-08-25 13:02:01 +10:00
Michael Zapf
780c76d9d2 Added new cartridge types 378 (w/o GROM), 379 2015-08-24 15:10:49 +02:00
Michael Zapf
626820313a Guarding against inappropriate use 2015-08-24 13:15:16 +02:00
Lord-Nightmare
3a09ca0888 fix stupid typo, doesn't fix the cvs.c goldbug sound inconsistency yet (nw) 2015-08-23 22:14:03 -04:00
cracyc
25cada293c leland: fix MT05377 MT05709 and MT05435 (hopefully)
pit8253: try to prevent mode 2 triggering twice (nw)
2015-08-23 16:14:09 -05:00
Lord-Nightmare
882edf70ba tms51xx: removed target_x variables in favor of reloading from coefficient ROM during the generation loop (as the real device does).
Implemented proper ZPAR and unvoiced ZPAR logic for zeroing parameters during idle and unvoiced frames.
Changed the pitch zeroing logic during frame inhibit to last an entire interpolation period rather than one sample.
Replaced the speech-is-synthesizing state machine with the original patent TALK, TALKD and SPEN bits.
Redid the talk_status logic to use (TALKD || SPEN) as the real device does. [Lord Nightmare]
2015-08-23 17:01:12 -04:00
couriersud
3011b4b068 Moved nltool.c and nlwav.c into src/emu/netlist/prg.
Added src/emu/netlist/build/makefile. This allows netlist to be ripped
out of the tree and to compile it standalone. (nw)
2015-08-23 20:59:07 +02:00
couriersud
4be6e7568e Created a separate logging class. Netlist code should now be at least
98% type safe. No more fuzzing around with SIZEFMT and friends. Changed
formatting to use python style format strings. (nw)
2015-08-23 17:44:17 +02:00
Michael Zapf
857d055ffc Just some logging improvement 2015-08-23 17:17:02 +02:00
Michael Zapf
a7b945eda6 Invoke step on cylinder change 2015-08-23 12:59:40 +02:00
Lord-Nightmare
f67a2ff0c2 fix startup crash on running any system using floppy.c (nw) 2015-08-23 02:58:41 -04:00
Michael Zapf
0b314ce92b Added some state save items 2015-08-23 01:59:52 +02:00
Michael Zapf
18863bae38 Step sound is now triggered on edge, not level 2015-08-22 21:16:53 +02:00
Luca Elia
a726125d5a typos (nw) 2015-08-22 17:36:26 +02:00
Michael Zapf
44a87f8d29 Minor changes to AT29x and logging. 2015-08-22 14:35:57 +02:00
Michael Zapf
bcdecc179c Geneve: Added boot flash ROM support (PFM) 2015-08-22 01:27:42 +02:00
Michael Zapf
4398fa4f66 New AT29 flash EEPROM circuits 2015-08-21 14:14:13 +02:00
couriersud
a6242ea367 Fix travis compile (hopefully). (nw) 2015-08-21 02:20:07 +02:00
couriersud
1d875f33fe Increase performance from 53% to 69% for matrix size around 30x30. These
matrices are e.g. used in congo bongo without optimisation. (nw)
2015-08-21 01:35:30 +02:00
couriersud
eacd7ef4b2 Converted USE_PIVOT into runtime option PIVOT. Fixed some issues for
nl_double == float. (nw)
2015-08-21 01:35:29 +02:00
Michael Zapf
d0149fff4e Added samples; changed file name. 2015-08-20 21:05:23 +02:00
Michael Zapf
e43612a8d5 Floppy sounds WIP. See comments in floppy.c. 2015-08-20 20:10:33 +02:00
Olivier Galibert
4043b55acb namco system 10 checkpoint, startrgn does a new flash access and
is unhappy with the result (nw)
2015-08-20 11:42:57 +02:00
Stiletto
dafd09973d comments (nw)
comments (nw)
2015-08-20 04:07:36 -04:00
Curt Coder
70ce9a1742 c128: Emulated the PARTNER 128 cartridge. [Curt Coder] 2015-08-19 21:39:45 +03:00
therealmogminer@gmail.com
42c32445f1 nw - I do not know why this was there, but it seems dumb. 2015-08-19 12:56:15 +02:00
Lord-Nightmare
a8c10f43dc Fix interpolation on TMS52xx to match samples from real chip. [PlgDavid, Lord Nightmare] 2015-08-19 05:02:57 -04:00
Ville Linde
7834ef5485 New games marked as GAME_NOT_WORKING ------------------------------------ ROLLing eX.tre.me [Ville Linde, Guru] 2015-08-18 20:49:45 +03:00
R. Belmont
993b3a79d2 Merge pull request #286 from fulivi/hp64k_dev2
Update to HP64K driver
2015-08-17 09:37:59 -04:00
Vas Crabb
45854fab01 Fix netlist build (nw) 2015-08-17 23:12:21 +10:00
fulivi
8678562f7e i8251: rx and tx data buffers separated 2015-08-17 10:38:35 +02:00
Luca Elia
ea986c8c9f tmp68301.c: fix masking of parallel data register 2015-08-16 18:22:58 +02:00
Luca Elia
c129b3703a intelfsh.c: add support for TMS29F040 variant 2015-08-16 18:18:27 +02:00
Sandro Ronco
7d3759783b Fix debug build. (nw) 2015-08-16 10:03:05 +02:00
Scott Stone
2bc33dac2b Fixed setname size for MSX Moonsound to fall within range for other setnames that require roms (nw) 2015-08-15 19:55:12 -04:00
hap
ee761ff79b increased MAX_TEXTURE_SCALES to 16 2015-08-15 23:55:52 +02:00
hap
f60e6f36fe ATTN mmicko - reverted wav output fix "video.c : recompute_speed even if we skip frame, makes wav's output same for any frameskip (nw)"
This broke auto-frameskipping. MAME was unable to correct itself after a hickup and would continue frameskipping and fluctuate speed between 95 and 105%.
2015-08-15 23:35:35 +02:00
couriersud
fe8e6aca65 Added seconds() and attoseconds() to attotime and prefixed members with
m_. Rewrote code accessing members to use seconds() and attoseconds(). 

The changes were triggered by a test how gcc __int128_t would perform as
the internal representation. This test revealed that the current
implementation is still faster. (nw)
2015-08-15 17:56:10 +02:00
Lord-Nightmare
baf82c6b82 attempt 1 at fixing the initial coefficient index values (nw) 2015-08-14 16:04:28 -04:00
couriersud
6ac50ea052 Some netlist_time maintenance. Straightened code using it and added
support for 128 bit resolution on systems supporting it. This is however
disabled since all platforms I know don't have native support but
emulate 128 bit. (nw)
2015-08-14 20:30:41 +02:00
Curt Coder
43f506316f c128: PARTNER 128 WIP. (nw) 2015-08-14 19:02:20 +03:00
Wilbert Pol
792a6c3b11 naomi: reduce tagmap lookups (nw) 2015-08-14 10:45:19 +02:00
Lord-Nightmare
1ad6aa9200 Forgot to update the interpolation tables to use the "IP" (0,1,2,3,4,5,6,7) instead of logical (1,2,3,4,5,6,7,0) order, since the new code imported to tms5110.c needs the former. (nw) 2015-08-14 03:43:45 -04:00
Lord-Nightmare
fb6c64985d Replaced the frame parse and speech generation code from tms5110.c with the code from tms5220.c,
should be significantly more accurate and allow the cores to be much more easily merged in the future.
This also allowed finally getting rid of the COEFF_ENERGY_SENTINEL hack in tms5110r.inc [Lord Nightmare]
2015-08-13 18:31:55 -04:00
Lord-Nightmare
a27a536928 Add support for M58819 'VSM-emulator', fixes speech in Radar Scope TRS01 set. [Lord Nightmare] 2015-08-13 17:58:43 -04:00
couriersud
3271c77471 Changed UINT16 .. UINT64 to generic types in pformat.
@MSVC Users: I checked the MSVC++ documentation prior to committing
this. I also checked on a MSVC2010 installation that "long long" and
"%lld" actually work at least in MSVC2010. 
Please let me know if this now works. (nw)
2015-08-13 21:35:33 +02:00
couriersud
98b1106ee9 Make more use of pformat. (nw) 2015-08-13 21:35:32 +02:00
Lord-Nightmare
3f2b5a229d minor cleanups to tms5220 so savestate and member variables are in the same order, and add a missing savestate entry (nw) 2015-08-13 13:54:20 -04:00
Lord-Nightmare
c1a312eea3 on second thought, remove that function entirely (nw) 2015-08-13 13:39:03 -04:00
Lord-Nightmare
ad1b621ca8 fix build (nw) 2015-08-13 13:33:07 -04:00
therealmogminer@gmail.com
5d7c5fc62b nw, add skeleton and disassembler for DEC PDP-8 CPU 2015-08-13 14:38:30 +02:00
Justin Kerk
ae23d2ca40 Fix emscripten compile (nw) 2015-08-12 19:09:11 +00:00
Dirk Best
a320032368 move rgbi formats out of emupal.h 2015-08-12 19:21:37 +02:00
Dirk Best
b25a7af59f emupal: add support for the IIBBGGRR format, only apply intensity bit if
there is a color defined
2015-08-12 12:26:43 +02:00
Wilbert Pol
0448566a4c get rid of active_safe (nw) 2015-08-12 10:05:08 +02:00
couriersud
9d0fd54f7a Remove vsscanf from netlist. Change default format for double to "g".
(nw)
2015-08-11 23:23:33 +02:00
couriersud
c32e086c2c Fix mingw compiles (both 32 and 64). These seem to have a different
understanding of size_t than *nix compilers. (nw)
2015-08-11 22:40:58 +02:00
Michael Zapf
985decb028 ti99: That's one small move for a man 2015-08-11 18:41:36 +02:00
yz70s
15dfc1fdc7 Temporarily fix compile by commenting line 395 and kepping 409 in file src/emu/netlist/plib/pstring.h (nw) 2015-08-11 03:22:07 +02:00
couriersud
f3d337b25c Fix clang issues. (nw) 2015-08-10 23:25:50 +02:00
couriersud
6cc506594d Make netlist more typesafe. Added a pformat class to reduce sprintf
usage. The approach is also suitable for translated strings with
arbitrary positioning of parameters. (nw)
2015-08-10 22:35:19 +02:00
couriersud
7b15a99c4b utf8 support for pstring. Opted for a scalable solution which should be
easily extensible to utf16 and utf32 as well. All position related
operations now operate on char code positions instead of byte positions.
[Couriersud]
2015-08-10 22:35:18 +02:00
couriersud
d6b1cf85c5 More usage of streams and aligned exception use. (nw) 2015-08-10 21:50:34 +02:00
Wilbert Pol
99353dc95f coleco.c: Reduce tagmap lookups and added support for 31in1 and 63in1 multicarts (nw) 2015-08-10 13:10:14 +02:00
Michael Zapf
1784a89ee4 Defining variants 9224 and 9234 (WIP) 2015-08-10 02:00:55 +02:00
Lord-Nightmare
f2b2252190 Add correct CD2802 chirp rom from decap [Sean Riddle] 2015-08-07 14:40:57 -04:00
Cowering
fc64e141a6 add missing newline (nw) 2015-08-07 11:35:44 -05:00
Ville Linde
c306cf770c rf5c400: document some registers (nw) 2015-08-06 15:48:06 +03:00
cracyc
bee820e334 pcd: Sinix 1.2 expects different mmu behavior (nw)
floppy: don't truncate if format doesn't support save (nw)
2015-08-05 17:27:56 -05:00
hap
b6e1d3d986 New game added
-----------------
Castle Toy Tactix [hap, Sean Riddle, Kevin Horton]
2015-08-05 17:54:26 +02:00
Dirk Best
cdeb045fbd screen: add an adjustable global brightness 2015-08-05 14:39:07 +02:00
Alex W. Jackson
c7058fc3fa 60000000000 does not fit in a long (nw) 2015-08-04 21:29:47 -04:00
Dirk Best
ef406a0889 micro3d: use standard palette device ram 2015-08-04 10:54:59 +02:00
R. Belmont
f48a1e7074 Merge pull request #277 from bmunger/master
Add M68kFPU mode 7, reg 0
2015-08-02 21:15:43 -04:00
hap
4e264393b8 revert my commit "small fix for ucom4 port c/d": it's actually the other way around, bidirectional ports are still open drain 2015-08-03 03:04:16 +02:00
Brandon Munger
08a4919ba5 Add M68kFPU mode 7, reg 0 2015-08-02 18:37:13 -04:00
couriersud
3575a923a6 Removed relative paths in include statements. (nw) 2015-08-03 00:10:24 +02:00
couriersud
d0466dd4da Added simple stream classes to netlist code. (nw) 2015-08-03 00:10:22 +02:00
Dirk Best
e7415c85a8 cmmb: remove palette trampoline 2015-08-02 23:57:36 +02:00
Wilbert Pol
885a8f050c thomson.c: reduce tagmap lookups (nw) 2015-08-02 21:25:54 +02:00
Wilbert Pol
e9d2bf218b bebox.c: reduce tagmap lookups (nw) 2015-08-02 21:25:53 +02:00
Sandro Ronco
e225cdbdd1 dmv: added K220 Diagnostic module version 4.00 [rfka01] 2015-08-02 20:24:02 +02:00
Michael Zapf
f1e2920275 mfmhd: using string instead of char* 2015-08-02 16:40:30 +02:00
Michael Zapf
be6c3ee4c9 mfmhd: Introduced format definition, now generally available. 2015-08-02 15:50:22 +02:00
Michael Zapf
551c9f0788 mfmhd: Autodetect gaps, defined formats 2015-08-02 15:50:22 +02:00
Dirk Best
4460ea60b3 liberate: use palette device for palette ram for prosport 2015-08-01 13:05:50 +02:00
Wilbert Pol
6f68656e05 Some more tagmap lookup reduction work (nw) 2015-08-01 12:46:21 +02:00
Dirk Best
3882549d6a emupal: add support for inverted data palette ram and add more formats 2015-08-01 11:40:44 +02:00
Wilbert Pol
d51aed9333 wave.c: reduce tagmap lookups (nw) 2015-07-31 23:58:59 +02:00
Wilbert Pol
4936d59546 reduce tagmap lookups (nw) 2015-07-31 23:21:22 +02:00
Wilbert Pol
75d6cb9f0d softlist.c: Sync software list rom name validation with regular rom name validation. (nw) 2015-07-30 14:07:19 +02:00
Wilbert Pol
4f42cd81da v9938: added clock to device configuration. (nw) 2015-07-30 12:17:47 +02:00
Wilbert Pol
a2c4291690 msx1_cart.xml: Added fs_sr002 mapper based on internal bunsetsu mapper (nw) 2015-07-30 12:17:47 +02:00
Dirk Best
d5432ba614 nascom avc: use standard 3-bit rgb palette 2015-07-30 12:10:41 +02:00
Olivier Galibert
4b1e08c1bb python: Make all scripts python 2/3 compatible 2015-07-30 11:44:43 +02:00
couriersud
9526556bf8 Improve MB3614 parameters. Changed some opamps to type "idealized" (type
1) in Congo Bongo netlist and got 50% speed improvement.
2015-07-29 23:15:43 +02:00
Dirk Best
6f12e6cf06 Add the rest of the 3-bit palettes and add the possiblity to set
individual r/g/b levels for pens
2015-07-29 15:56:07 +02:00
David Haywood
f2f250d9f2 change flags from GAME_ to MACHINE_
this better fits the drivers from MESS (which have always illogically used the GAME_ flags despite not being games) and also fits fine with arcade machines.
2015-07-29 14:36:49 +01:00
Miodrag Milanovic
1b452e3bfb Cleanups and version bump 2015-07-29 08:34:21 +02:00
couriersud
4e79a5a6ea Fix a buffer overflow in discrete.c (nw) 2015-07-29 03:26:12 +02:00
couriersud
14b85f9159 Added macro models of LM324 and LM358. Made kidniki use those. (nw) 2015-07-29 03:26:11 +02:00
Curt Coder
9c6007019d c128: Dumped the PARTNER 128 ROM. [Curt Coder] 2015-07-28 12:59:04 +03:00
Wilbert Pol
94754d1bcc msx1_cart.xml: Partially implemented mapper used for msx write. (nw) 2015-07-28 09:30:35 +02:00
couriersud
e266587640 Move MC14584B to nlm_other.[ch] (nw) 2015-07-27 23:50:59 +02:00
Dirk Best
6187ca5ef0 Add a 3-bit BGR variant and use it for unkhorse 2015-07-27 13:37:54 +02:00
Michael Zapf
8ed7dd1930 ti99: Fixed PIO output, no more lockup. 2015-07-27 12:09:16 +02:00
Dirk Best
b25e97668a Define a standard 3-bit RGB palette and use it for Monkey Magic 2015-07-27 11:15:44 +02:00
Curt Coder
a733240aa6 c128: Added a skeleton for the PARTNER 128 cartridge. [Curt Coder] 2015-07-27 00:25:19 +03:00
Curt Coder
83a750e6c0 Added a skeleton for the Commodore 1526/MPS-802/4023 printer. [Curt Coder] 2015-07-26 22:42:02 +03:00
couriersud
b198d89317 Fixed MC14584B TT_FAMILY statement. This is a Schmitt-Trigger with
specific input characteristics and these should be defined locally
instead of adding a family model to the namespace. (nw)
2015-07-26 20:10:41 +02:00
Ivan Vangelista
70613e751f Fix for m62.c games. couriersud please check (nw) 2015-07-26 13:23:07 +02:00
Wilbert Pol
726628c145 msx.c: Made hydlide3k work (nw) 2015-07-25 21:09:57 +02:00
Curt Coder
95e5e10bfa Added a skeleton for the Commodore VIC-1520 plotter. [Jim Brain, Curt Coder] 2015-07-25 21:31:52 +03:00
ted green
32109cda81 iteagle.c - New games added or promoted from NOT_WORKING status (virtpool)
vooddefs.h - Fixed texture bug affect gtfore06 Oak Hollow hole 5 water around green.
voodoo.c - Added rasterizers for virtpool.
2015-07-25 10:04:44 -06:00
Olivier Galibert
0cece07db6 rspcp2: Make the align declarations gcc-compatible [O. Galibert] 2015-07-25 16:06:26 +02:00
Curt Coder
6144c3034b Added skeleton for Commodore VIC-1515 printer. [Curt Coder] 2015-07-25 12:51:28 +03:00
Ville Linde
ac438b2302 atapihle: Added Check Power Mode command (nw) 2015-07-24 18:50:18 +03:00
couriersud
c2a192ec92 Consolidate the scattered model parsing code. Now models support
recursive models,e.g. DIODE("1N914(IS=1e-15)"). Removed ".model" from
model definitions. (nw)
2015-07-23 22:39:39 +02:00
Cowering
df2ebdea8d please bear with me.. these are needed to compile in GCC 5.2 and I want mingw guys to see them. with luck they can be reverted in a couple of days (nw) 2015-07-23 10:48:28 -05:00
angelosa
bc87e1e472 Remove this log, nw 2015-07-23 01:10:39 +02:00
angelosa
16adb537bc Merge branch 'master' of https://github.com/mamedev/mame 2015-07-23 01:07:07 +02:00
angelosa
cbabe480be MSLC port in SCSP writes seems to mask with 0xf800 according to Jikkyou Oshaberi Parodius. 2015-07-23 01:06:54 +02:00
Ian Karlsson
96393f2fc1 c352: forgot the note/nw 2015-07-22 22:07:16 +02:00
Ian Karlsson
667a6a11dc c352: define divider constants in the drivers instead. Add a note explaining dividers in c352.c 2015-07-22 22:05:47 +02:00
Ivan Vangelista
f141aa7770 namcona1.c: added save state support (nw) 2015-07-22 20:25:46 +02:00
Ian Karlsson
e5515e54de C352: Add divider for System 23, change enum format 2015-07-22 16:06:00 +02:00
David Haywood
e147f99abe Merge pull request #264 from JoakimLarsson/force68k
Force68k
2015-07-22 02:15:33 +01:00
Joakim Larsson Edström
bb9f5a3e15 Removed/initialized class members to fix compile problems at travis etc 2015-07-22 00:54:52 +02:00
angelosa
6da34a3c4d Merge branch 'master' of https://github.com/mamedev/mame 2015-07-21 23:51:07 +02:00
angelosa
4472d60b15 Added preliminary CD-DA routing to SCSP EXTS parallel port, fixes CD-Rom player equalizer in Sega Saturn. [Angelo Salese] 2015-07-21 23:50:51 +02:00
Joakim Larsson Edström
ab64ca8b0c reverted some commits not needed for this pull request 2015-07-21 23:27:52 +02:00
Wilbert Pol
ad19282947 msx.c: Added moonsound fm part. (nw) 2015-07-21 23:01:55 +02:00
hap
3af30d2514 small fix for ucom4 port c/d 2015-07-21 22:54:53 +02:00
angelosa
59fd99be9b Fixed World Heroes Perfect (Sega Saturn) TH Control Mode in SMPC. [Angelo Salese] 2015-07-21 20:50:46 +02:00
Cowering
0e5af95be2 feed the pedantic monster (NW) 2015-07-21 10:01:44 -05:00
Joakim Larsson Edström
06f46524f9 started support for CPU-1 Centronics port on Port B 2015-07-21 02:30:04 +02:00
couriersud
45e5fab5ff More phashmap_t usage. Quite some nice effect on larger netlist startup
time. Hash objects can now deal with arbitrary hash width. (nw)
2015-07-20 22:35:25 +02:00
couriersud
fd0850e016 Changed case for parameter "model" to uppercase to align with rest of
code. (nw)
2015-07-20 22:21:30 +02:00
couriersud
c30ac5a27b Use hashmap for factory searches. (nw) 2015-07-20 22:21:28 +02:00
Joakim Larsson Edström
13ebb53b1a More registers added, should probably just add them all at once... 2015-07-20 18:07:08 +02:00
Joakim Larsson Edström
a103a7c91b Added PBDR register needed for printer on CPU-1, still need to add handshake wiring to the data port to get it to work 2015-07-20 18:07:08 +02:00
Joakim Larsson Edström
338f3b1435 Compiles but produces printouts only when used from fccpu1 driver for needed registers only 2015-07-20 18:07:07 +02:00
Joakim Larsson
d7685ca35c 68230 device improvements, not yet compiling 2015-07-20 18:07:06 +02:00
Joakim Larsson
705458fd1f started implementation of a Motorola 68230 PI/T (Parallell Interface / Timer) device 2015-07-20 18:07:06 +02:00
Joakim Larsson Edström
28ee343aff Merge remote-tracking branch 'upstream/master' 2015-07-20 15:33:10 +02:00
Michael Zapf
5c0c340302 mfmhd: pluggable image format 2015-07-19 22:34:52 +02:00
couriersud
bf7c6d585b Changed phashmap_t to dynamically resize hash table. (nw) 2015-07-19 20:55:01 +02:00
Michael Zapf
3c7513c4e8 Adding more MFM hard disk models (ST213, ST251) 2015-07-19 16:27:53 +02:00
Wilbert Pol
a526e64c53 moonsound.c: Make it stereo (nw) 2015-07-19 15:41:07 +02:00
Wilbert Pol
69f5f49c52 msx.c: Start hooking up moonsound; not fully working yet (nw) 2015-07-19 14:36:12 +02:00
Lord-Nightmare
184a5cca4f WIP preparing to fix the speech in radar scope (n/w) 2015-07-19 04:40:30 -04:00
Wilbert Pol
e338cdaf85 ymf278b.c: Added simple FM reg read back (nw) 2015-07-19 10:34:09 +02:00
couriersud
3b35c7a12e Aligned builtin device identification with parser device
identification. (nw)
2015-07-19 02:08:04 +02:00
couriersud
1c9b70aabd Added a phashmap_t object for faster lookups. (nw) 2015-07-19 02:08:03 +02:00
Wilbert Pol
edc09b4f48 v9938.c: Removed set_resolution() method, simplifying the code a bit. All drivers were defaulting to the 'HIGH' setting anyway. This also puts the drivers back in charge of setting the screen parameters. (nw) 2015-07-17 21:10:47 +02:00
hap
4b9d68194f op_lb WIP 2015-07-17 19:34:46 +02:00
couriersud
aa5785832c Add macro library for opamp models. (nw) 2015-07-16 23:10:36 +02:00
ted green
821be22983 mips3drc.c - Mippity mip mips. Fixed drc bug.
voodoo.c - Added define for turning off cycle eating during regiser reads.
2015-07-16 14:46:33 -06:00
Wilbert Pol
af5046b39c v9938.c: colour mask should not influence the pattern mask as in the tms911x. Fixes MT05711 on MSX2 machines. 2015-07-15 23:47:15 +02:00
Wilbert Pol
d160a3501e msx.c: Fixed Metal Gear 2 Solid Snake. (nw) 2015-07-15 20:25:41 +02:00
Ivan Vangelista
df112f986a naughtyb.c: added save state support (nw) 2015-07-15 18:24:25 +02:00
Ivan Vangelista
f59adb3766 mazerbla.c: configured banking (nw) 2015-07-15 18:20:01 +02:00
hap
138481e06d added LB 2015-07-14 23:49:32 +02:00
Michael Zapf
2fe1b16c63 Fixed image truncate and a lockup during disk formatting 2015-07-14 23:20:24 +02:00
Wilbert Pol
ee5bdcffe6 msx.c: Fixed mapper detection when loading from full path. Fixes MT05986. 2015-07-14 21:17:13 +02:00
hap
943ecf021f rm unneeded code 2015-07-14 19:37:05 +02:00
hap
1fe92d8e55 nw 2015-07-14 18:35:57 +02:00
Michael Zapf
deb5f1b316 Mixed up binary with hex number, corrupting FM disks 2015-07-14 16:57:14 +02:00
Cowering
f060f18a1e didn't merge last time (nw) 2015-07-14 08:07:59 -05:00
hap
5943989636 added melody controller 2015-07-14 14:40:02 +02:00
couriersud
f4a5b261a9 Moved CD4000 DIP definitions to macro lib. (nw) 2015-07-13 20:37:05 +02:00
ted green
d7325f1893 Minor MIPS fixups. 2015-07-12 11:23:44 -06:00
ted green
3700ccef2d Fix typo 2015-07-12 10:37:07 -06:00
ted green
dc8e0b3c22 Fixed some rgbaint_t functions. Added some optimizations to rgbaint_t. 2015-07-12 10:33:58 -06:00
couriersud
fae860f0dd Changed uppercase filenames to lowercase. (nw) 2015-07-12 17:35:37 +02:00
couriersud
d76c3d1193 Moved CD4020_DIP implementation to macro lib. (nw) 2015-07-12 17:28:54 +02:00
couriersud
324de35c38 Align naming conventions of CD4XXX series. (nw) 2015-07-12 17:07:01 +02:00
couriersud
d97724dfb6 Created macro libraries for CD4XXX and 74XX chip families. Going
forward, these will contain all devices which can be described using
truthtables and DIPPINS. [Couriersud]
2015-07-12 17:06:59 +02:00
Ivan Vangelista
4071cbb48e k052352.c: added missing save states (nw) 2015-07-12 14:49:42 +02:00
hap
72365833ef added SM511 stuff and konami tmnt 2015-07-12 14:01:59 +02:00
couriersud
3a8d682827 Added two more models to netlist:
OPAMP: Generic opamp model. This does all the annoying calculations.
Just pass the the datasheet values.

LVCCS: A limited current voltage control current source. This will allow
slew rate limiting going forward. 

In addition:

- add a (small) parallel conductance to all capacitors to improve
convergence.
- some initial work to use "long double".
2015-07-11 16:15:17 +02:00
couriersud
82735c0e36 Move updates based on model to update_param. (nw) 2015-07-11 16:15:15 +02:00
therealmogminer@gmail.com
e815452f37 nw, fix most N64 visual bugs from new RDP SSE code. 2015-07-11 15:29:18 +02:00
Dirk Best
4e50f95e62 Actually return an error when the validity check fails 2015-07-11 14:39:36 +02:00
Dirk Best
7d6c5eb55a Fix GCC 4.6 compile 2015-07-10 16:41:34 +02:00
hap
cf435ac3c8 added lcd bs pin 2015-07-10 14:07:38 +02:00
angelosa
cac42537c5 VDP2/SCU note 2015-07-10 13:01:11 +02:00
angelosa
d3d2c2b08b New message for SMPC undocumented Netlink enable/disable command. 2015-07-10 12:46:54 +02:00
therealmogminer@gmail.com
7c78f67d66 nw, Fix CTC2 and VCH opcodes in RSP SIMD code. 2015-07-10 04:09:34 +02:00
hap
74a8d9b04a added lcd output to driver side 2015-07-10 00:18:27 +02:00
couriersud
5caf281fee Fix compile on linux gcc-4.8. (nw) 2015-07-09 18:58:55 +02:00
couriersud
e551ea54a8 Fix issues with gcc4.0 mentioned by Barry. (nw) 2015-07-09 18:01:24 +02:00
balr0g
ec5d91bc05 Revert most of "shut up C++ about missing args to macros, GCC5.1 generates exact same code regardless using -O3 (nw)"
This reverts commit 958ec9ffe8.
Unfortunately this commit breaks -Werror compilation in Clang, due to
new unused variables. A better solution will have to be found.
2015-07-09 10:47:05 -04:00
hap
ad25e3afcf added lcd driver 2015-07-09 16:18:50 +02:00
therealmogminer@gmail.com
14c07a34b1 Fix the majority of CEN64 SSE stuff, nw 2015-07-09 13:30:12 +02:00
Lord-Nightmare
58ad8c28fe fix compile by removing an accidentally committed I64_to_base10 instance (nw) 2015-07-09 02:33:16 -04:00
Cowering
e9834c0576 2 more pedantic fixes (nw) 2015-07-08 23:38:59 -05:00
Cowering
8266159312 don't need %lf as arguments are always promoted to double (nw) 2015-07-08 23:37:59 -05:00
Cowering
8db46d73a2 more pedantic fixes (NW) 2015-07-08 23:37:59 -05:00
Cowering
1a32c4b760 stragglers 2015-07-08 23:37:58 -05:00
Cowering
f1ea61c268 Quiet anonymous union errors. Used a couple different techniques, all compile to same code as before with -O3 (nw) 2015-07-08 23:37:57 -05:00
Cowering
674255fa0d Make 'game' and 'machine' match.
It makes no sense to say a CHD for this 'game' is incorrect
when using CHD images of HDs for a computer system in MESS (nw)
2015-07-08 23:37:56 -05:00
hap
61bfc52d71 added wake up on K input on the driver side 2015-07-08 22:35:37 +02:00
Cowering
958ec9ffe8 shut up C++ about missing args to macros, GCC5.1 generates exact same code regardless using -O3 (nw) 2015-07-08 14:45:33 -05:00
Cowering
735e6c6db7 Quiet LTO ODR warnings (NW) 2015-07-08 14:34:59 -05:00
Cowering
1e37ed8893 more pedantic fixes (nw) 2015-07-08 14:30:36 -05:00
Cowering
0e5862006d speeling fix 2015-07-08 14:29:42 -05:00
Cowering
1ddd0963b7 missed a -pedantic fix (nw) 2015-07-08 14:24:55 -05:00
Cowering
a821b6c4be blame balrog for this :) (NW) 2015-07-08 14:05:56 -05:00
Cowering
9306af2c50 some extremely low hanging pedantic fruit 2015-07-08 14:00:24 -05:00
hap
c4ee2e159e stupid bug 2015-07-08 17:26:06 +02:00
Olivier Galibert
cc0ed832ac m68k: fix unaligned pc-relative accesses [O. Galibert] 2015-07-08 14:00:34 +02:00
angelosa
6d47b6b63c Added transfer size clear for DMAs, used by Chaos Seed in SS (still randomly crashes tho), nw 2015-07-08 02:14:37 +02:00
angelosa
d7541fe44c Merge branch 'master' of https://github.com/mamedev/mame 2015-07-08 01:03:30 +02:00
angelosa
7fae92816c Added bread-and-butter DMA CH 0 for SH7032, used by Casio Loopy for RAM fill. 2015-07-08 01:03:17 +02:00
couriersud
78917506f2 Document progress on congo bongo. Gorilla sound now works. Performance
up from 30% to 170%. Use
./nltool -c run -f nl_examples/congoBongo.c -t 2
to test.
Minor enhancements and bugfixes.
[Couriersud]
2015-07-08 00:37:59 +02:00
angelosa
b58f781202 Merge branch 'master' of https://github.com/mamedev/mame 2015-07-08 00:05:03 +02:00
angelosa
9651bab283 Added SH-2A flavour, which is SH-2 + SH7021 used by Casio Loopy. 2015-07-08 00:04:48 +02:00
hap
a88324eba1 added wake up on K input 2015-07-07 23:47:14 +02:00
angelosa
feb09026c6 Bulk replace, nw 2015-07-07 23:06:49 +02:00
angelosa
c43cc5d258 Merge branch 'master' of https://github.com/mamedev/mame 2015-07-07 22:50:54 +02:00
angelosa
40d00d467d Fixed accessing to internal map, might need another parameter for address cache "masking" (i.e. SH-1 uses address bit 27 for cache), nw 2015-07-07 22:50:47 +02:00
angelosa
ad346d1cc7 Fixed number of address lines for SH-1 2015-07-07 22:35:28 +02:00
angelosa
f7cd2d14ca Fixed SH-1 internal mem map, nw 2015-07-07 22:29:10 +02:00
hap
2579497d2b nw 2015-07-07 21:56:45 +02:00
hap
5c036e0998 added internal timer 2015-07-07 21:49:49 +02:00
angelosa
37950bd90f First step in converting SH-2 to have separate internal devices. Fixed SH-1 num of address bits, removed extra read / write memory checks, added cache data array to main SH-2.
(out-of-whatsnew) If anything regresses please let me know.
2015-07-07 20:52:24 +02:00
angelosa
9debe72975 Fix compile 2015-07-07 20:01:29 +02:00
angelosa
2f9d79fed1 I'm sick of seeing MCFG_SCREEN_VBLANK_TIME ...
...  It's an AIDS-inducting blantant hack, and it roots from 199x original MAME design.

(in pull request just because it needs compiling and testing)
2015-07-07 19:24:57 +02:00
angelosa
5942386e5e Added a bunch of doxygen style comments in screen.h, regarding MCFG_SCREEN_* functions 2015-07-07 18:10:36 +02:00
Curt Coder
8bf401543d c128_flop.xml: Added Paperback Writer 128, Term Paper Writer, The Great War, and Your Personal Financial Planner 128 disk images. [Curt Coder] 2015-07-07 14:55:03 +03:00
hap
ac08f7c460 skeleton added
Game & Watch: Mickey & Donald
2015-07-07 00:30:21 +02:00
David Haywood
92775ea014 Merge pull request #247 from felipesanches/fix_AVR8_EIJMP_instruction
fix the implementation of the AVR8 EIJMP instruction
2015-07-06 17:15:53 +01:00
Felipe Corrêa da Silva Sanches
ee29c230f5 fix the implementation of the AVR8 EIJMP instruction 2015-07-06 10:01:14 -03:00
David Haywood
d0e97a8d6d Merge pull request #243 from felipesanches/rambo
New non-working driver: Metamáquina 2 desktop 3d printer
2015-07-06 10:23:01 +01:00
Felipe Corrêa da Silva Sanches
a43fac75ee New non-working driver: Metamáquina 2 desktop 3d printer (This also provides an implementation of the AVR8 EIJMP instruction) 2015-07-05 19:47:37 -03:00
Michael Zapf
5ed6d7c6f9 This is it. ti99 says Goodbye to legacy floppy. 2015-07-05 19:59:37 +02:00
Michael Zapf
445fa7422d HDC9234: Added HD track reading; several bug fixes. 2015-07-05 17:15:01 +02:00
hap
886495009b added sm510 K and S ports 2015-07-05 02:46:29 +02:00
arbee
43f222fec6 hp64k: fix compile with OG's latest changes, seems to still work OK. (nw) 2015-07-04 13:56:54 -04:00
balr0g
197a1ac5e0 Merge branch 'hp64k_dev2' of https://github.com/fulivi/mame 2015-07-04 12:54:01 -04:00
couriersud
4e437c687a Further improvements + two missing files. Congo Bongo netlist now parses
without issues. [Couriersud]
2015-07-04 18:02:18 +02:00
fulivi
28252ce2ba hp64k: ws & indentation cleanup 2015-07-04 15:52:26 +02:00
mahlemiut
4e99dc8cfe amstrad: added DDI-1 disk drive expansion (464 only), and make 464 and 664 default to 64k RAM. 2015-07-05 00:25:52 +12:00
mahlemiut
504edc910e fix GCC 4.4 compile 2015-07-05 00:25:51 +12:00
couriersud
07a7c190fd Added MM5837 Noise Generator used by Congo Bongo. [Couriersud] 2015-07-04 13:23:15 +02:00
couriersud
d1b88dcbef Fix monoflops 2015-07-04 13:23:14 +02:00
couriersud
ca310eef39 Added CD4538 2015-07-04 13:23:12 +02:00
ted green
143bac01bd rgbsse.h - Added andnot_reg, clamp_to_uint8, bilinear_filter_rgbaint member functions.
rgbgen.h - Added andnot_reg, clamp_to_uint8, bilinear_filter_rgbaint, and += functions.
vooddefs.h - Converted rasterizer path to use rgbaint_t types. Switched to new reciplog function.
voodoo.c   - Converted entire pixel pipe path to use rgbaint_t types.
2015-07-03 19:03:22 -06:00
arbee
f9d06bda2b saa1099: fix compile (nw) 2015-07-03 17:48:36 -04:00
R. Belmont
760ffa97f4 Merge pull request #232 from mixxmaster/master
fixed SAA1099 driver to actually use clock (nw); corrected Game Blaster/SB1.0 clock to 7.159mhz [NewRisingSun]
2015-07-03 17:41:44 -04:00
hap
563b496792 renamed some cpu core inc files to c 2015-07-03 23:04:24 +02:00
hap
9c8b2c6a1a moved sm510/11/12 specifics to their own files 2015-07-03 21:34:53 +02:00
hap
4b6e31f51d renamed sm510/sm510op.inc to sm510/sm510op.c 2015-07-03 19:29:38 +02:00
hap
d19922bd32 more opcodes added 2015-07-03 18:33:41 +02:00
fulivi
7e84b61651 Merge branch 'hp64k_dev' into hp64k_dev2
Conflicts:
	src/emu/cpu/hphybrid/hphybrid.c
	src/emu/cpu/hphybrid/hphybrid.h
	src/mess/drivers/hp64k.c
2015-07-03 12:53:33 +02:00
fulivi
a2dddbda1e hp64k: floppy I/F, beeper, DIP switches & lower 32kw of RAM added. 2015-07-03 12:35:05 +02:00
hap
f39a3f540b added most obvious opcodes 2015-07-03 00:49:30 +02:00
couriersud
b755895f0f Identify size_t usage in printf by enclosing the argument in
SIZET_PRINTF(). This is typesafe, can be identified and allows to use
proper 64bit computing with compilers up to it. [Couriersud]
2015-07-02 21:22:13 +02:00
cracyc
c774876bb9 z8000: fix lda register corruption (nw) 2015-07-01 22:36:01 -05:00
hap
e4a9c91fa1 added empty opcode handlers 2015-07-02 00:07:58 +02:00
mixxmaster
aa67cca2cf random letter removed 2015-07-01 16:26:21 -04:00
mixxmaster
b3268bf0d2 accidentally let a few typos split 2015-07-01 16:25:28 -04:00
therealmogminer@gmail.com
a0dfb8c523 rsp simd: Clamp DMEM fetches to 4kb, nw 2015-07-01 21:28:53 +02:00
hap
857be8d170 added sm510 lfsr pc 2015-07-01 21:20:14 +02:00
therealmogminer@gmail.com
ae67c6b0ad nw, more RSP opts ported from CEN64 2015-07-01 18:35:00 +02:00
couriersud
e629855237 Added macro object registration and dynamic includes to netlist. This
allows the creation of macro libraries going forward. Any IC which can
be described by a truthtable and a package wrapper can now be entirely
described in netlist syntax. [Couriersud]
2015-07-01 02:41:58 +02:00
hap
ae0fd9f1a5 added sm510 disasm 2015-07-01 01:03:12 +02:00
ted green
6b8310dbcc Added INLINE before ATTR_FORCE_INLINE 2015-06-30 14:20:53 -06:00
couriersud
045ffafb42 Added Voltage source and Current source to netlist. [Couriersud] 2015-06-30 21:47:01 +02:00
hap
ee8e7dd26b added hh_sm510.c skeleton driver 2015-06-30 17:05:29 +02:00
couriersud
b1a72a3e9f Netlist now compiles with
-std=c++98 -Wall -Wpedantic -Wextra -Wno-long-long -Wno-variadic-macros
and
-std=c++11 -Wall -Wpedantic -Wextra
[Couriersud]
2015-06-30 09:04:19 +02:00
hap
7b0b0bbc95 added SM510 cpu skeleton 2015-06-30 02:10:33 +02:00
mixxmaster
d8c5cb2b5e corrected version history* 2015-06-29 18:36:04 -04:00
mixxmaster
249d3842f3 fixed SAA1099 to actually use clock (nw); corrected Game Blaster/SB1.0 clock to 7.159mhz 2015-06-29 18:25:20 -04:00
David Haywood
b66f32b598 let's not save the dynamic memory in 315_5124.c for now, it causes some nasty crash issues and doesn't look like it will be fixed anytime soon (nw) 2015-06-29 19:36:50 +01:00
Vas Crabb
d65d7ec10e Remove tautology (nw) 2015-06-29 15:16:05 +10:00
balr0g
1c676342a6 Missed one __vector in rgbvmx 2015-06-28 23:22:34 -04:00
Michael Zapf
80904eca33 HDC9234 with formatting capability 2015-06-29 01:19:17 +02:00
MetalliC
99a5d636db fix compile (nw) 2015-06-29 00:51:38 +03:00
Michael Zapf
9b3b4cdf05 ti99: MFM HD can write; modern HFDC now default 2015-06-28 18:06:21 +02:00
Vas Crabb
4653801ad4 All the latest fixes (nw) 2015-06-28 19:14:54 +10:00
Olivier Galibert
1b3402d429 Revert "Change back to ATTR_FORCE_INLINE and added option for double division for perspective correction"
This reverts commit d14f86b2f0.

make -R verbose=1 -C build/projects/sdl/mame/gmake-linux config=release64
Compiling src/emu/video/voodoo.c...
g++    -MMD -MP -DPTR64=1 -DCRLF=2 -DLSB_FIRST -DFLAC__NO_DLL -DNATIVE_DRC=drcbe_x64 -DLUA_COMPAT_APIINTCASTS -I../../../../../src/osd -I../../../../../src/emu -I../../../../../src/mame -I../../../../../src/lib -I../../../../../src/lib/util -I../../../../../3rdparty -I../../../../generated/emu -I../../../../generated/emu/layout -I../../../../../src/emu/cpu/m68000 -I../../../../../3rdparty/expat/lib -I../../../../../3rdparty/zlib -I../../../../../3rdparty/lua/src  -m64 --pipe -Wno-deprecated-declarations -O3 -fno-strict-aliasing -march=native -fPIC -Wno-unknown-pragmas -Wall -Wcast-align -Wundef -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-conversion -Wno-unused-result -Wno-narrowing -Wno-attributes -Wno-array-bounds -D__USE_MINGW_ANSI_STDIO=1 -m64 -DINLINE="static inline" -x c++ -std=gnu++98 -Woverloaded-virtual  -o "../../../../linux_gcc/obj/x64/Release/src/emu/video/voodoo.o" -MF ../../../../linux_gcc/obj/x64/Release/src/emu/video/voodoo.d -c "../../../../../src/emu/video/voodoo.c"
In file included from ../../../../../src/emu/video/voodoo.c:151:0:
../../../../../src/emu/video/vooddefs.h: In function 'INT32 lfb_w(voodoo_state*, offs_t, UINT32, UINT32)':
../../../../../src/emu/video/vooddefs.h:3763:24: error: inlining failed in call to always_inline 'bool depthTest(UINT16, stats_block*, INT32, UINT32, INT32)': function body can be overwritten at link time
 ATTR_FORCE_INLINE bool depthTest(UINT16 zaColorReg, stats_block *stats, INT32 destDepth, UINT32 fbzModeReg, INT32 biasdepth)
                        ^
../../../../../src/emu/video/voodoo.c:3381:20: error: called from here
      if (!depthTest((UINT16) v->reg[zaColor].u, stats, depth[x], v->reg[fbzMode].u, biasdepth))
                    ^
In file included from ../../../../../src/emu/video/voodoo.c:151:0:
../../../../../src/emu/video/vooddefs.h:2405:24: error: inlining failed in call to always_inline 'bool chromaKeyTest(voodoo_state*, stats_block*, UINT32, rgb_union)': function body can be overwritten at link time
 ATTR_FORCE_INLINE bool chromaKeyTest(voodoo_state *v, stats_block *stats, UINT32 fbzModeReg, rgb_union color)
                        ^
../../../../../src/emu/video/voodoo.c:3385:24: error: called from here
      if (!chromaKeyTest(v, stats, v->reg[fbzMode].u, color))
                        ^
In file included from ../../../../../src/emu/video/voodoo.c:151:0:
../../../../../src/emu/video/vooddefs.h:2578:24: error: inlining failed in call to always_inline 'bool alphaTest(voodoo_state*, stats_block*, UINT32, UINT8)': function body can be overwritten at link time
 ATTR_FORCE_INLINE bool alphaTest(voodoo_state *v, stats_block *stats, UINT32 alphaModeReg, UINT8 alpha)
                        ^
../../../../../src/emu/video/voodoo.c:3391:20: error: called from here
      if (!alphaTest(v, stats, v->reg[alphaMode].u, color.rgb.a))
                    ^
In file included from ../../../../../src/emu/video/voodoo.c:151:0:
../../../../../src/emu/video/vooddefs.h:3118:24: error: inlining failed in call to always_inline 'void applyFogging(voodoo_state*, UINT32, UINT32, INT32, const UINT8*, INT32, rgb_union&, INT32, INT64, rgb_union)': function body can be overwritten at link time
 ATTR_FORCE_INLINE void applyFogging(voodoo_state *v, UINT32 fogModeReg, UINT32 fbzCpReg,  INT32 x, const UINT8 *dither4, INT32 fogDepth, rgb_union &color, INT32 iterz, INT64 iterw, rgb_union iterargb)
                        ^
../../../../../src/emu/video/vooddefs.h:3856:96: error: called from here
   applyFogging(VV, FOGMODE, FBZCOLORPATH, XX, DITHER4, fogdepth, color, ITERZ, ITERW, ITERAXXX); \
                                                                                                ^
../../../../../src/emu/video/voodoo.c:3399:5: note: in expansion of macro 'PIXEL_PIPELINE_END'
     PIXEL_PIPELINE_END(v, stats, dither, dither4, dither_lookup, x, dest, depth,
     ^
../../../../../src/emu/video/vooddefs.h:2807:24: error: inlining failed in call to always_inline 'void alphaBlend(UINT32, UINT32, INT32, const UINT8*, int, UINT16*, rgb_union, rgb_union&)': function body can be overwritten at link time
 ATTR_FORCE_INLINE void alphaBlend(UINT32 FBZMODE, UINT32 ALPHAMODE, INT32 x, const UINT8 *dither, int dpix, UINT16 *depth, rgb_union preFog, rgb_union &color)
                        ^
../../../../../src/emu/video/vooddefs.h:3858:77: error: called from here
   alphaBlend(FBZMODE, ALPHAMODE, XX, DITHER, dest[XX], depth, preFog, color); \
                                                                             ^
../../../../../src/emu/video/voodoo.c:3399:5: note: in expansion of macro 'PIXEL_PIPELINE_END'
     PIXEL_PIPELINE_END(v, stats, dither, dither4, dither_lookup, x, dest, depth,
     ^
../../../../../src/emu/video/vooddefs.h:3763:24: error: inlining failed in call to always_inline 'bool depthTest(UINT16, stats_block*, INT32, UINT32, INT32)': function body can be overwritten at link time
 ATTR_FORCE_INLINE bool depthTest(UINT16 zaColorReg, stats_block *stats, INT32 destDepth, UINT32 fbzModeReg, INT32 biasdepth)
                        ^
../../../../../src/emu/video/voodoo.c:3381:20: error: called from here
      if (!depthTest((UINT16) v->reg[zaColor].u, stats, depth[x], v->reg[fbzMode].u, biasdepth))
                    ^
In file included from ../../../../../src/emu/video/voodoo.c:151:0:
../../../../../src/emu/video/vooddefs.h:2405:24: error: inlining failed in call to always_inline 'bool chromaKeyTest(voodoo_state*, stats_block*, UINT32, rgb_union)': function body can be overwritten at link time
 ATTR_FORCE_INLINE bool chromaKeyTest(voodoo_state *v, stats_block *stats, UINT32 fbzModeReg, rgb_union color)
                        ^
../../../../../src/emu/video/voodoo.c:3385:24: error: called from here
      if (!chromaKeyTest(v, stats, v->reg[fbzMode].u, color))
                        ^
In file included from ../../../../../src/emu/video/voodoo.c:151:0:
../../../../../src/emu/video/vooddefs.h:2578:24: error: inlining failed in call to always_inline 'bool alphaTest(voodoo_state*, stats_block*, UINT32, UINT8)': function body can be overwritten at link time
 ATTR_FORCE_INLINE bool alphaTest(voodoo_state *v, stats_block *stats, UINT32 alphaModeReg, UINT8 alpha)
                        ^
../../../../../src/emu/video/voodoo.c:3391:20: error: called from here
      if (!alphaTest(v, stats, v->reg[alphaMode].u, color.rgb.a))
                    ^
In file included from ../../../../../src/emu/video/voodoo.c:151:0:
../../../../../src/emu/video/vooddefs.h:3118:24: error: inlining failed in call to always_inline 'void applyFogging(voodoo_state*, UINT32, UINT32, INT32, const UINT8*, INT32, rgb_union&, INT32, INT64, rgb_union)': function body can be overwritten at link time
 ATTR_FORCE_INLINE void applyFogging(voodoo_state *v, UINT32 fogModeReg, UINT32 fbzCpReg,  INT32 x, const UINT8 *dither4, INT32 fogDepth, rgb_union &color, INT32 iterz, INT64 iterw, rgb_union iterargb)
                        ^
../../../../../src/emu/video/vooddefs.h:3856:96: error: called from here
   applyFogging(VV, FOGMODE, FBZCOLORPATH, XX, DITHER4, fogdepth, color, ITERZ, ITERW, ITERAXXX); \
                                                                                                ^
../../../../../src/emu/video/voodoo.c:3399:5: note: in expansion of macro 'PIXEL_PIPELINE_END'
     PIXEL_PIPELINE_END(v, stats, dither, dither4, dither_lookup, x, dest, depth,
     ^
../../../../../src/emu/video/vooddefs.h:2807:24: error: inlining failed in call to always_inline 'void alphaBlend(UINT32, UINT32, INT32, const UINT8*, int, UINT16*, rgb_union, rgb_union&)': function body can be overwritten at link time
 ATTR_FORCE_INLINE void alphaBlend(UINT32 FBZMODE, UINT32 ALPHAMODE, INT32 x, const UINT8 *dither, int dpix, UINT16 *depth, rgb_union preFog, rgb_union &color)
                        ^
../../../../../src/emu/video/vooddefs.h:3858:77: error: called from here
   alphaBlend(FBZMODE, ALPHAMODE, XX, DITHER, dest[XX], depth, preFog, color); \
                                                                             ^
../../../../../src/emu/video/voodoo.c:3399:5: note: in expansion of macro 'PIXEL_PIPELINE_END'
     PIXEL_PIPELINE_END(v, stats, dither, dither4, dither_lookup, x, dest, depth,
     ^
optional.make:7932: recipe for target '../../../../linux_gcc/obj/x64/Release/src/emu/video/voodoo.o' failed
make[2]: *** [../../../../linux_gcc/obj/x64/Release/src/emu/video/voodoo.o] Error 1
Makefile:76: recipe for target 'optional' failed
make[1]: *** [optional] Error 2
makefile:908: recipe for target 'linux_x64' failed
make: *** [linux_x64] Error 2
2015-06-28 10:32:42 +02:00
couriersud
ed2fc58bd1 Fix compile. (nw) 2015-06-28 01:48:17 +02:00
couriersud
15d1aee0d6 Hopefully fix more "maybes" which maybe popup sometime in the future.
Maybe. (nw)
2015-06-28 00:34:36 +02:00
therealmogminer@gmail.com
f42c2af88e -core: Add MCFG_FORCE_NO_DRC. [MooglyGuy] 2015-06-27 21:53:04 +02:00
Dirk Best
caa26040c7 rc759: wip. initial version of the intel 82730 text coprocessor, and
added more meat to the driver. currently dies testing the cassette.
2015-06-27 20:50:15 +02:00
balr0g
707bdb5f2c Fix build without OpenMP (nw) 2015-06-27 13:14:14 -04:00
R. Belmont
ef59471890 Merge pull request #218 from felipesanches/icatel
skeleton driver of Icatel (brazilian public payphone)
2015-06-27 11:47:51 -04:00
arbee
f9e8310f5b 3c505: move option ROM to the card to reflect real h/w [Hans Ostermeyer]
apollo: improved mouse emulation [Hans Ostermeyer]
2015-06-27 11:39:11 -04:00
arbee
46716a6df8 m68k: fix '020 cache emulation corner case. [Hans Ostermeyer] 2015-06-27 11:34:48 -04:00
ted green
d14f86b2f0 Change back to ATTR_FORCE_INLINE and added option for double division for perspective correction 2015-06-27 09:26:16 -06:00
therealmogminer@gmail.com
a9bd046767 nw, add MCFG_FORCE_NO_DRC option, does not work for no apparent reason because our core architecture is crap 2015-06-27 16:55:41 +02:00
therealmogminer@gmail.com
26599766ec Fix broken namcos22 graphics 2015-06-27 14:04:22 +02:00
couriersud
b4d3ecac8b Improved kidniki sound quality while maintaining speed by adding more
frontiers. Added LOGIC_INPUT to netlist which allows to specify a logic
family, i.e. output characterics. Used this for improved AY8910 port
modeling. [Couriersud]
2015-06-27 12:06:46 +02:00
couriersud
6790076cc3 Disable "-Wmaybe-unitialized" warnings. Unfortunately you can't do that
were it actually happens. (nw)
2015-06-27 11:43:00 +02:00
Vas Crabb
b3e8fe093c Better multiply primitive (nw) 2015-06-27 08:03:47 +10:00
Peter Ferrie
7a2eac723e idehd.c: decrease IDE read fill-time to avoids timeouts [Peter Ferrie] 2015-06-26 13:25:24 -07:00
Alex W. Jackson
91be2c989e validity: add basic signed integer arithmetic tests to core validation [Alex Jackson] 2015-06-26 12:45:41 -04:00
Vas Crabb
382dd0f616 Make the SSE tables a static inside the SSE implementation class (nw)
Also encapsulate the pointer casting used to access it in static functions
Don't mean to step on any toes, sorry if this inconveniences you MooglyGuy
2015-06-27 02:42:00 +10:00
Vas Crabb
59f68b9a34 Sync with latest rgbsse fixes and use of signed types (nw) 2015-06-27 02:16:10 +10:00
therealmogminer@gmail.com
892d25bf47 Fix remaining N64 issues on 32-bit, nw 2015-06-26 17:21:05 +02:00
therealmogminer@gmail.com
c2d216d201 Partially fix N64 issues on 32-bit, nw 2015-06-26 17:04:51 +02:00
therealmogminer@gmail.com
0c40d654b8 nw, refinement of previous fix 2015-06-26 15:37:58 +02:00
therealmogminer@gmail.com
1e7eb19809 Fixed MT-05968 2015-06-26 13:55:17 +02:00
therealmogminer@gmail.com
58c3ad7c00 Fix obvious array-out-of-bounds error, nw 2015-06-25 21:35:50 +02:00
therealmogminer@gmail.com
4441fe004b nw, merge in most direct RSP vector opcodes from CEN64 2015-06-25 21:32:57 +02:00
therealmogminer@gmail.com
3c5cd12782 nw, start merging in RSP vector ops from CEN64 2015-06-25 19:19:25 +02:00
mahlemiut
347544393a hd20: reset also on reading of the reset register (improves FutureOS HD20 support). 2015-06-25 19:00:55 +12:00
yz70s
e86ccf830b Modify nld_solver.c to let it comple with vs2013 (nw) 2015-06-24 22:36:37 +02:00
couriersud
6fd6943375 Fix a little utf-8 massacre. (nw) 2015-06-24 20:23:49 +02:00
couriersud
5d49ee6fbd Code maintenance. In addition, added a parameter to select iterative
solver. (nw)
2015-06-24 20:23:48 +02:00
Olivier Galibert
f394a063f9 misc fixes (nw) 2015-06-24 19:49:31 +02:00
therealmogminer@gmail.com
bc23c001b5 nw, fix Clang compile 2015-06-24 16:25:13 +02:00
therealmogminer@gmail.com
e4b2a43b96 nw, remove RSP SIMD version 2015-06-24 14:49:21 +02:00
Olivier Galibert
1662e179be *duh* 2015-06-24 09:11:05 +02:00
Olivier Galibert
d42056a7c4 dsp56k: Remove the not required direct update handler [O. Galibert] 2015-06-24 08:43:44 +02:00
Olivier Galibert
88949a5b47 memory: Remove support for decrypted bases, use an address space instead [O. Galibert] 2015-06-24 08:43:34 +02:00
Miodrag Milanovic
d1583b9850 Cleanups and version bump 2015-06-24 07:36:50 +02:00
therealmogminer@gmail.com
1bef19e984 rdp-sse (nw) Proper fix for bilinear_filter 2015-06-23 21:02:59 +02:00
Ted Green
0dcf906e4a Fix trying to read null pointer. 2015-06-23 21:02:58 +02:00
Vas Crabb
e68b933d06 Seems to work on PowerPC, need more testing (nw) 2015-06-23 21:02:34 +02:00
Vas Crabb
4c10fcbed2 Better than overly literal conversion (nw) 2015-06-23 21:02:34 +02:00
Vas Crabb
c24f997696 And that's just dumb (nw) 2015-06-23 21:02:33 +02:00
Vas Crabb
84c0eebb3e Can't spell (nw) 2015-06-23 21:02:32 +02:00
Vas Crabb
32300be45d Bit more implementation (nw) 2015-06-23 21:02:31 +02:00
Vas Crabb
84aa21184b Pick the low-hanging fruit (nw)
Implemented most of MooglyGuy's new RGB intrinsics for VMX/Altivec
Still need to do blend, bilinear filter and merge alpha
2015-06-23 21:02:30 +02:00
therealmogminer@gmail.com
c487569042 nw, update rgbgen 2015-06-23 21:02:29 +02:00
therealmogminer@gmail.com
15279b7178 nw, get everything working again with SSE2 RDP 2015-06-23 21:01:39 +02:00