Nathan Woods
d3b374d545
Fixed an issue with legacy floppy loading caused by filetype() now being a std::string
...
This caused 'mame a800 -flop1 brucelee' to fail on startup, but after this fix the image mounts but incorrectly.
2016-08-18 21:25:28 -04:00
Curt Coder
278cb2fc4e
abc80x: Fixed ABC-838 disk image cell size. [Curt Coder]
2016-08-15 16:05:49 +03:00
Michael Zapf
bec5bd5022
hdc92x4: Added 9224 emulation; ti99_dsk: Fixed issue with deleted data marks in FM
2016-08-14 21:48:23 +02:00
Curt Coder
6a1ac985d4
victor9k: WIP. (nw)
2016-08-14 17:32:19 +03:00
Curt Coder
20127228a0
victor9k: Set floppy RPM after track step. Boots to CP/M now. [Curt Coder]
2016-08-12 15:15:14 +03:00
couriersud
d0970c215f
Add a preliminary parser for RINF netlist format. (nw)
2016-08-10 23:08:35 +02:00
Miodrag Milanović
f67311c5a5
Merge pull request #1180 from npwoods/split_softlist_code_redo
...
Redo of split of src/emu/softlist.[cpp|h]
2016-08-08 13:43:06 +02:00
couriersud
7b8179bb04
Add target minw to standalone netlist makefile. (nw)
2016-08-07 22:28:06 +02:00
couriersud
8c297602c4
Fix noexcept and NL_NOEXCEPT to pass g++ 6.x builds. (nw)
2016-08-07 22:28:04 +02:00
Miodrag Milanovic
3751d8aa60
removed NL_NOEXCEPT since there is a case when these calls throws exceptions (nw)
2016-08-07 11:11:43 +02:00
AJR
2f312c14d2
More consistent use of NL_NOEXCEPT macro to fix debug build (nw)
2016-08-06 21:47:57 -04:00
couriersud
5b1d15383d
Use noexcept in netlist code where appropriate.
...
Use macro NL_NOEXCEPT if debug builds would throw an exception (e.g. by
using nl_assert). This is not entirely safe. Going forward, nl_assert
should call log first and than throw. (nw)
2016-08-07 01:44:55 +02:00
couriersud
7a7c123d1e
Added doc target to netlist makefile. Removed old style cast. (nw)
2016-08-06 19:22:29 +02:00
couriersud
20a584b348
Various netlist fixes:
...
- minor include cleanup
- fix a memory hole (caused by assign operators)
- more C++.
2016-08-06 19:22:28 +02:00
Nathan Woods
c77310389e
Removed src/lib/util/cstrpool.[cpp|h]; it is no longer used
2016-08-05 08:29:32 -04:00
Vas Crabb
8e07fb8117
Fix UTF-16 encode, pass UTF-16 to Windows character drawing (unfortunately still no nice speaker icon)
2016-08-02 18:24:14 +10:00
Vas Crabb
889ecdfd4f
Let's give the new srcclean a spin...
2016-08-02 16:59:02 +10:00
Nathan Woods
59ca4d1763
1. Merge branch 'master' into diimage_filetype_as_stdstring
...
2. Introduced is_filetype(), instead of normalizing filetype() to lower case
2016-07-31 23:52:57 -04:00
Nathan Woods
a4f24a24d3
This changes device_image_interface::filetype() to return 'const std::string &' instead of 'const char *'.
...
In the interests of removing burdens from client code, I also changed the following:
- filetype() will always return the file extension in lower case
- device_image_interface::filetype() will return the correct extension for files loaded as a part of softlists
- The code for extracting a file extension is now encapsulated in core_filename_extract_extension()
Client code has been updated
2016-07-31 15:06:06 -04:00
Miodrag Milanovic
6f5e223853
for bool type use true and false (nw)
2016-07-31 20:02:56 +02:00
Vas Crabb
a0ce6c3b37
fix after pass through the diff
2016-08-01 01:20:03 +10:00
Miodrag Milanovic
f127621e13
made constexprs lower case and used constexpr for returning input value as well for rest of defines in osdcomm.h (nw)
2016-07-31 16:47:26 +02:00
Miodrag Milanovic
eaa70ae031
cleanup of some conversions (nw)
2016-07-31 16:41:26 +02:00
Miodrag Milanovic
d91322223b
fixed clang (nw)
2016-07-31 15:59:39 +02:00
Miodrag Milanovic
aeadbfe2b1
fix linux compile (nw)
2016-07-31 14:59:01 +02:00
Miodrag Milanovic
9667c6a8cc
std::min and std:max instead of MIN and MAX, also some more macros converted to inline functions (nw)
2016-07-31 14:41:02 +02:00
Nathan Woods
bfbc8d38f1
Another correction
2016-07-29 22:20:53 -04:00
Nathan Woods
8db5491763
Third time is a charm :-)
2016-07-29 22:14:51 -04:00
Nathan Woods
22c402885d
Better use of std::string::size_type and other cleanups
2016-07-29 21:51:55 -04:00
Nathan Woods
bf111bbc6e
Converted a number of zippath calls that took 'const char *' to std::string
2016-07-29 18:00:46 -04:00
Nathan Woods
3ac2d79f09
Adding an assert()
2016-07-27 07:59:43 -04:00
Miodrag Milanovic
4887ce1844
Cleanups and version bump
2016-07-27 09:26:22 +02:00
MetalliC
85488e4328
chdman: set pregap subcode type to NONE for .CUE and .TOC for consistency with other formats
2016-07-25 20:24:59 +03:00
R. Belmont
e681889d88
Merge pull request #1139 from GiuseppeGorgoglione/master
...
Fix for netlist library when built for WINDOWS with UNICODE defined
2016-07-24 14:42:37 -04:00
MetalliC
0c85178c1e
chdcd: fix >2GB .iso parsing
2016-07-24 14:30:32 +03:00
Giuseppe Gorgoglione
1344df7496
Fix for netlist library when built for WINDOWS with UNICODE defined
...
When UNICODE is defined LoadLibrary is redefined to LoadLibraryW which expects a widechar string as library name, while libname is always UTF8. Fixed copying TCHAR conversion code from strconv.cpp since netlist is meant to be also a stand-alone library.
2016-07-24 13:27:08 +02:00
Nathan Woods
4aa0ab1724
Moved src/emu/hash.[cpp|h] into src/lib/util, and namespaced that code (and hashing.[cpp|h]) into util::
2016-07-23 12:49:33 -04:00
couriersud
1e40d95e8b
Netlist updates:
...
- Removed trampolines (OUTLOGIC, INPLOGIC and friends).
- Started using doxygen comment and documentation style. Added doxygen
files to documentation folder.
- Refactored code triggered by doxygen output.
- Moved internal and support classes into namespace detail.
- Use an anordered map in parser.
- -Wconversion fixes - All done now.
- Fixed -Wold-style-cast warnings in netlist code.
- Added iterators to pstring.
- Moved two macros, added more RAII and improved exceptions. Fixed some
bugs in parser code.
- Fixed a number of bugs in parser code and exception handling.
[Couriersud]
2016-07-21 11:05:55 +02:00
ImJezze
89af2864ed
Fixed MT #6291
...
* fixed copy of texture data to bitmap in BGFX
* changed AVI dimension to a lowest integral multiple of 4
(2 was still to low for most video players, e.g. VLC)
* added audio to AVI record in HLSL
* HLSL AVI record now uses window dimension instead of snap dimension
2016-07-16 20:54:37 +02:00
Nigel Barnes
9104c9d523
renamed bbc_dsk to acorn_dsk
...
- split ssd/dsd formats
- added opus ddos format
- split adfs into oldmap and newmap formats for archimedes
- logging
2016-07-16 19:48:44 +01:00
Nigel Barnes
97c122ca4f
fsd_dsk: more logging (nw)
2016-07-16 19:48:44 +01:00
ImJezze
6a592feca9
Added generic fix for #6286
...
- this does not fix #6291
2016-07-16 14:42:41 +02:00
Olivier Galibert
9eb57470c9
Fix archimedes disk format [O. Galibert]
2016-07-15 12:43:40 +02:00
Vas Crabb
31c4a81369
misc fixes (nw)
...
* remove a temporary
* fix deps
* remove a vestigial member
* play nicer with dotfiles
* play nicer with pch
2016-07-12 13:09:42 +10:00
Nathan Woods
210d5cb451
Fixed issue that could cause core_filename_ends_with() to return true when extension.size() > filename.size()
2016-07-11 18:05:23 -04:00
Nathan Woods
32230ae648
Adding a check for reverse overflow when extensions is longer than filename
2016-07-11 10:46:36 -04:00
Nathan Woods
0e4cb93bc5
Adopting std::find() and std::find_if() in core_filename_extract_base()
2016-07-11 10:20:56 -04:00
Nathan Woods
2bd5932b42
Deeper C++-ification
2016-07-11 08:27:03 -04:00
Nathan Woods
09b3fbf52c
C++-ification of some corefile static functions
2016-07-10 23:38:44 -04:00
couriersud
011dbbe713
Moved two macros, added more RAII and improved exceptions. Fixed some
...
bugs in parser code. (nw)
2016-07-09 00:13:18 +02:00
Nathan Woods
a2ce6a9ca4
Changed some int's to size_t's and added assertions where we were assuming that option_resolution was a requirement
2016-07-07 19:48:36 -04:00
Nathan Woods
e3cb2c7d78
C++-ification of src/lib/util/opresolv.[cpp|h] (moved to util:: namespace, changed option_resolution to be a class, etc)
2016-07-07 06:59:35 -04:00
Nathan Woods
bdf2059bf4
As per Vas Crabb, readding overloads that take a std::string& parameter for the result
2016-07-04 23:22:37 -04:00
Nathan Woods
de6bbdf176
Changed a few zippath related functions to return their strings as a return value, as opposed to passing in a destination buffer
2016-07-03 13:28:09 -04:00
Nathan Woods
587e9f5e32
Changed zippath.[cpp|h] to use C++-style comments
2016-07-03 13:21:09 -04:00
Vas Crabb
cde4eddeb3
override without virtual looks uncomfortable (nw)
2016-07-03 14:02:26 +10:00
Nathan Woods
d67695e724
Converted menu_file_create to use std::string for its filename buffer
2016-07-02 14:23:54 -04:00
Nathan Woods
facb76a669
C++-ification of src/lib/util/unicode.[cpp|h]
2016-07-02 14:22:14 -04:00
couriersud
caafc0f782
Netlist improvements:
...
- nltool now accepts -Ddefine=value to pass on to netlists
- improved option handling and added "dummy" options to add grouping and
examples in help output.
- improved --cmd=listdevices output
- Fix dynamic timestepping. This will work with breakout using real
capacitor modelling instead of delay devices. Really slow, but very
useful to calibrate timings.
- Fix an awful bug in timing for delay devices.
- Switched to clang 3.8 and made code compile with
-Weverything -Werror -Wno-old-style-cast -Wno-padded -Wno-weak-vtables
-Wno-missing-variable-declarations -Wno-conversion -Wno-c++98-compat
-Wno-float-equal -Wno-cast-align -Wno-global-constructors
-Wno-c++98-compat-pedantic -Wno-exit-time-destructors
-Wno-format-nonliteral -Wno-weak-template-vtables
This was a helpful exercise since it brought forward some
serious issues with implicit constructors.
[Couriersud]
2016-07-01 02:09:14 +02:00
Miodrag Milanovic
63f9a01f8c
Cleanup and version bump
2016-06-29 08:34:30 +02:00
Vas Crabb
923151d00b
Fixed incorrect implementation of win_time_point_from_filetime()
2016-06-26 22:44:21 +10:00
Nathan Woods
5009b55430
Introduced src/lib/util/timeconv.[c|h], moved code from un7z.cpp into it, and implemented win_time_point_from_filetime() in terms of it
2016-06-26 08:12:07 -04:00
Brad Hughes
fb54827cb4
Fix Clang compile on OSX
2016-06-25 20:47:02 -04:00
Miodrag Milanovic
f75a33f7d1
clang on windows fixes (nw)
2016-06-25 20:06:02 +02:00
Vas Crabb
7f22918675
Supply modified time for files in archives [Vas Crabb]
2016-06-25 20:56:59 +10:00
arbee
7ff2301047
fix Clang build. it still fails b/c of the file and directory stuff. (nw)
2016-06-24 21:13:46 -04:00
couriersud
af750f143c
Srcclean on netlist files. Avoid the merge massacre. (nw)
2016-06-25 00:20:17 +02:00
couriersud
798bb79567
Merge remote-tracking branch 'origin/master' into netlist_dev
2016-06-24 23:28:42 +02:00
couriersud
bc37304ef9
Add explicit to constructors to avoid bad surprises later. (nw)
2016-06-24 23:25:46 +02:00
Vas Crabb
5cee9e9bc4
POSIX implementation for new directory read features, cleanup of Windows implementation, return directory handle as smart pointer, fix full build [Vas Crabb]
2016-06-25 03:35:23 +10:00
couriersud
634473c1ff
Merge remote-tracking branch 'origin/master' into netlist_dev
2016-06-24 17:45:46 +02:00
couriersud
d1cd307f83
Remove shared_ptr usage and replace with plib:owned_ptr. Clean up nltool
...
a bit. (nw)
2016-06-24 17:45:17 +02:00
Vas Crabb
20a95045e1
Load save state preparations [Nathan Woods]
...
* A number of changes and refactorings in preparation for a new load/save state menu. Most notably, I am C++-ifying osd_directory (now osd::directory) and changing osd_stat() to return std::unique_ptrosd::directory::entry
* Take note that this change completely omits POSIX support, simply because I lack a development environment to support it. This will have to be done by someone else.
2016-06-24 23:53:38 +10:00
Nathan Woods
4ddfc6a6e4
Changed osd_stat() to return std::unique_ptr<osd::directory::entry>
2016-06-24 07:39:37 -04:00
Nathan Woods
cd8b414e6b
C++-ified osd_directory (now osd::directory), and added last_modified to osd::directory::entry
2016-06-24 07:13:18 -04:00
Vas Crabb
15f02da7bd
Improved workaround for missing cbegin/cend in glibstdc++ [Alex Miller]
2016-06-24 19:56:50 +10:00
couriersud
c6e6911aed
Netlist changes
...
- Replaced shared_ptr by unique_ptr.
- Better seperation of setup_t and netlist_t.
- Fixed bugs in rdtsc code. Refactored timer code.
- Simplify conditional activation/deactivation.
- Introduced HINT(device, hint) to clarify that hints are inheritent
and not specific to devices.
- Added improved profiling support to netlist. Statistics output now
proposes devices for which whole device activation/deactivation be
disabled. No significant improvement for pong, but breakout
experiences a 10% improvement.
- Moved options code from include to cpp file.
- Minor modifications to 7493 and 9316
- Introduced perftime_t and perfcount_t for gathering statistics. These
templates do not create any code if statistics are not kept.
- Make help2man ./nltool produce usuable output.
- More truthtable refactoring. Removed half-finished code for internal
state support. As implemented, this would have had no support for
timing delays.
[Couriersud]
2016-06-23 02:04:51 +02:00
Nathan Woods
5619297374
Added rgb_t::transparent constant
2016-06-18 14:03:50 -04:00
Miodrag Milanovic
1d0e0ac12a
remove all usages of tagmap
2016-06-18 15:32:15 +02:00
Olivier Galibert
7099d6eaa2
gcc 6.1.1 warning fixes (nw)
2016-06-16 14:21:44 +02:00
couriersud
404e589cff
Merge netlist_dev branch, all code_refactoring: (nw)
...
Object model optimisation.
Merge remote-tracking branch 'origin/master' into netlist_dev
Fix a merge issue.
#if ==> #elif. Ouch.
Default PHAS_PMF_INTERNAL=0 for 32bit windows mingw.
Change UINT8 to uint_[fast|least|8_t.
Move state_var so it can be used by base devices as well.
Remove last traces of ATTR_ALIGN.
Refactored netlist_time into a template.
Removed implicit double assignment to netlist. Doomed to produce
bugs.
Instead, use netlist_time::from_double.
Switch to using proper (i.e. bool type) param_logic_t.
Formally differentiate between logic inputs (e.g. switches) and int
inputs (e.g. resistor ladders or selection switches).
Added parameter USE_DEACTIVATE to truthtable devices.
Added more constexpr to netlist_time.
Fixed some ifdef code paths.
- More c++.
- Simplify main processing loop. As a nice side-effect that squeezed
out some cycles.
- More cycle squeezing.
- Removed pvector_t.
- Use std::sort.
- Refactored netlist state manager.
- Introduction of state_var object template to be used on device
state
members.
- Changed remaining save occurrences to state_var.
- Rewrote nltool's listdevices command. This allowed removal of one
member from devices which served solely for listdevices.
- Remove hashmap_t. Fix kidniki regression.
2016-06-16 00:01:47 +02:00
Robbbert
13526f680b
MT 06236 [Robbbert]
2016-06-15 23:27:01 +10:00
Robbbert
309d977066
MT 05783 [Robbbert]
2016-06-12 00:01:38 +10:00
couriersud
bf281b3cad
add cmath include to plists.h
2016-06-07 23:27:03 +02:00
couriersud
d6616e1786
Fix travis build. (nw)
2016-06-07 23:13:34 +02:00
couriersud
81880659d2
- More code cleanup.
...
- Dead code removal and minor refactoring.
- Simplify. Align naming with stl. Fix somed pedantic warnings.
- More STL compatability.
- Remove ATTR_HOT and ATTR_COLD. Refactored netlist_time.
- Fix long standing workaround which would ignore policy of change-only"
propagation.
- Rewrote for loops to use auto : semantics.
- Truthtable cleanup. (nw)
- Get rid of nl_math. Remove nl_util.h and moved contents to
plib/putil.h.
- Fix standalone build. Refactor ptypes.h.
[Couriersud]
2016-06-07 21:44:15 +02:00
couriersud
3d3f5761f0
- Added constructors to prepare to move terminal setup into constructor.
...
- Reworked twoterm setup. Fixed some timebombs along the way.
- Fix r2r dac. Remove dead code.
- analog_outputs now created in constructor.
- moved analog_input creation into constructor.
- moved logic output creation to constructor.
- moved all logic inputs into constructor.
- Completely removed init_object. Finally.
[Couriersud]
2016-06-07 21:41:54 +02:00
balr0g
b277908905
- Minor cosmetic refactoring. Added a "uninitialised array" template to
...
allow in-place creation (for increased locality) of netlist classes.
Main use is in truthtable class.
- Remove PLIB_NAMESPACE macros.
- Remove namespace macros. Use explicit namespace declarations.
- Moved device definitions into cpp files.
- Moved more device definitions into cpp files.
- New prefix "nlid" for include files flags purely internal include
files not to be leaked into userland.
- Fix factory code.
2016-06-07 21:40:30 +02:00
Nigel Barnes
55724435b2
fsd_dsk: logging (nw)
2016-06-05 22:53:37 +01:00
Nigel Barnes
e4ea1303b3
e01: added acorn filestore floppy format and softlist
2016-06-05 22:53:37 +01:00
Robbbert
bb10b1beb0
sorcerer: calculate baud rates based on actual dividers on pcb. Fixed a bug with quickload.
2016-06-05 23:27:46 +10:00
MetalliC
2cea059009
chdman: attempt to workaround hang during chd creation
...
TODO: find out its real cause
2016-06-04 19:44:53 +03:00
Vas Crabb
6b9c752850
misc fixes (nw)
...
* fix a mismatched new[]/delete error in corealloc
* _name massacre in corealloc while at it
* add template/macro for delaring array with equivalent dimensions
2016-05-28 15:10:28 +10:00
couriersud
5d7f5d6c22
Fix pongf. (nw)
2016-05-27 17:23:16 +02:00
smf-
f1f681e642
build with MSVC (nw)
2016-05-27 15:12:13 +01:00
couriersud
02e3213897
Leading underscore massacre. (nw)
2016-05-27 01:20:09 +02:00
couriersud
fd62273a87
Moved more code into plib namespace. (nw)
2016-05-27 01:19:59 +02:00
couriersud
111c5a3dc0
Remove dependency on osd_ticks. Converted palloc and friends into
...
templates. First effort on a separate plib namespace. (nw)
2016-05-27 01:17:39 +02:00
couriersud
f5179f7ec8
Make netlist compile with c++11, use own implementation of make_unique
...
to avoid c++14. (nw)
2016-05-25 14:52:40 +02:00
couriersud
cac1c41edf
Moved all parameter definitions in constructors. (nw)
2016-05-25 14:31:43 +02:00
couriersud
c97c3ae855
Fixed breakout attract mode. (nw)
2016-05-25 13:43:23 +02:00
Miodrag Milanovic
68785dccfe
Cleanups and version bump
2016-05-25 08:19:21 +02:00
Miodrag Milanovic
b0d3ce6877
fix android build (nw)
...
please do not use _ prefixed names, those are reserved
2016-05-24 10:52:26 +02:00
Miodrag Milanovic
d6d177a29d
Fixed multiple instance of operator = , fixes VS build (nw)
2016-05-22 09:06:50 +02:00
couriersud
53e66cf6aa
Fix VS c++ compile following
...
https://msdn.microsoft.com/de-de/library/ms177415.aspx
2016-05-21 14:33:15 +02:00
couriersud
ee5b02ebfb
Added == operator to netlist_time
2016-05-21 13:31:18 +02:00
couriersud
fdf63818de
All netlist devices now follow new syntax. Removed dead code. All sub
...
devices are now forced to be initialized in the constructor. Device
setup now completely in constructor. Removed start call. [Couriersud]
2016-05-21 13:31:17 +02:00
couriersud
9102271ef7
More memory timebombs removed. (nw)
2016-05-21 12:58:24 +02:00
couriersud
d200744fbf
Converted more devices to new layout. Improved memory handling in
...
factories. (nw)
2016-05-21 12:58:23 +02:00
Vas Crabb
ce21ce6410
Bad boy, Micko (nw)
2016-05-19 21:16:43 +10:00
Miodrag Milanovic
df5c8faa85
Fixed name conflict making Android build non-working (nw)
2016-05-17 12:15:45 +02:00
couriersud
332534cdf5
Continuing work to move object initialization from start to constructor.
...
Removed family_t. All of this can be determined at runtime from object
as well. As part of this, the "template" to write devices has changed.
Converted a number of devices to use the new template. [Couriersud]
2016-05-16 12:50:50 +02:00
couriersud
f35ba3f5fd
More automatic memory handling. (nw)
2016-05-16 12:41:20 +02:00
couriersud
7d9c8b78ea
Some use of share_ptr to ease memory management. (nw)
2016-05-12 01:15:19 +02:00
couriersud
c2fb41964c
Code simplification
2016-05-12 01:15:19 +02:00
couriersud
bd1123dc30
mergeme
2016-05-12 01:15:18 +02:00
couriersud
f404f86570
Devices are now created after the netlist was parsed. This enables us
...
going forward to move everything in start() into the constructor and get
a much cleaner object model. (nw)
2016-05-12 01:15:17 +02:00
couriersud
2fe1ba1eee
Don't include netlist name in device names. (nw)
2016-05-12 01:15:17 +02:00
couriersud
bc57c965bd
Code simplification. (nw)
2016-05-12 01:15:16 +02:00
couriersud
b7a29d4575
A step towards late creation of devices. (nw)
2016-05-10 00:47:32 +02:00
couriersud
ccf66bee16
Align object registration syntax. (nw)
2016-05-10 00:47:21 +02:00
couriersud
4bf639f3e2
Rename connect_direct to connect_post_start to reflect usage. (nw)
2016-05-10 00:41:35 +02:00
couriersud
38ca93a5d7
Simplify object model by removing default_logic_family().
2016-05-08 15:05:59 +02:00
couriersud
df8280806b
Some minor changes towards c++11.
2016-05-08 15:05:58 +02:00
couriersud
1eb9c20772
Fix standalone-compile.
2016-05-06 01:10:21 +02:00
couriersud
658f6b432a
Converted 7486 to macro module
2016-05-05 23:33:01 +02:00
couriersud
d3c0199769
Removed drivers/signal.h since netlist devices no longer use it. (nw)
2016-05-05 15:18:37 +02:00
couriersud
add61d2a00
Convert 7430 to macro module.
2016-05-05 15:18:37 +02:00
couriersud
38d3050da0
Convert 7425 to macro modul
2016-05-05 15:18:36 +02:00
couriersud
87541ec5ca
Converted 7420 to macro modul
2016-05-05 15:18:36 +02:00
couriersud
cbe5b6abaa
Fix conditional compile path
2016-05-05 15:18:35 +02:00
couriersud
a920da0ec3
Convert 7432 to macro device.
2016-05-04 00:51:51 +02:00
couriersud
1ea05793be
Converted 7437 to macro device
2016-05-04 00:08:09 +02:00
couriersud
467b7b23dd
Some header maintenance
2016-05-04 00:08:08 +02:00
couriersud
ba57ebf222
Converted 7427 to macro device
2016-05-04 00:08:07 +02:00
couriersud
e93ebba837
Converted 7411 into a macro device.
2016-05-04 00:08:07 +02:00
couriersud
e85517d642
Converted 7410 into macro device.
2016-05-04 00:08:06 +02:00
couriersud
3acd03bd5f
Implement 7402, 7408 as macro device. (nw)
2016-05-03 02:35:07 +02:00
couriersud
6f889d51ae
Implement 7404 as macro device. (nw)
2016-05-03 02:35:06 +02:00
couriersud
576189b169
Converted most subdevices to unique_ptr. This is a temporary measure
...
until the device initialisation is moved into the constructor. Started
converting constructors of devices to be passed name and netlist. (nw)
2016-05-02 21:56:57 +02:00
AJR
b8c05fd084
Workaround for MT 06194 (potential segfault during floppy load)
2016-05-01 10:26:28 -04:00
Robbbert
a320b64f3a
MT 06189
2016-05-01 15:36:56 +10:00
Miodrag Milanovic
cfee536f22
Cleanups and version bump
2016-04-27 08:13:59 +02:00
etabeta78
24900375fd
cgenie.cpp: expanded .cas support so that also files created by
...
Genieous emulator can be loaded. [Fabio Priuli]
2016-04-24 16:07:06 +02:00
Miodrag Milanovic
89c5e1f681
Various cleanups suggested by static analyzer (nw)
2016-04-24 12:58:31 +02:00
AJR
fb08fefaee
Move a few odds and ends out of the emu core
2016-04-23 15:27:59 -04:00
couriersud
64eeebb967
Add missing files.
2016-04-23 14:20:48 +02:00
couriersud
1d7b7f59dd
Implemented dynamic loading of precompiled solver code. [Couriersud]
2016-04-23 13:54:32 +02:00
couriersud
4bf89be02c
Simplify solver infrastructure.
2016-04-18 18:31:51 +02:00
couriersud
222adaf847
merge me later bug fix
2016-04-18 18:31:50 +02:00
couriersud
2762b9f5ac
Merge me later
2016-04-18 18:31:49 +02:00
Miodrag Milanović
1f418ad90e
Merge pull request #809 from jmakovicka/master
...
Fix type mismatch
2016-04-16 08:57:16 +02:00
dankan1890
edb0904e76
chd: initialized m_hunknum inside the constructor. (nw)
2016-04-15 17:23:56 +02:00
dankan1890
295c7294d3
cdrom: declared (std::nothrow) some allocations. (nw)
2016-04-15 17:20:50 +02:00
couriersud
d9df811529
Significant speed improvement:
...
- added a new solver using compressed row format
- fixed sorting
As a result, netlist performance on kidniki nearly doubled. The
performance increase is mainly due to the fact that sorting decreases
the number of operations for gaussian elimination of the kidniki matrix
from ~7800 to 707. In addition, compressed row format improves L1 usage.
[Couriersud]
2016-04-15 02:09:41 +02:00
couriersud
cd0441b678
Recover from creating solvers by copy paste. Move common code were it
...
belongs. (nw)
2016-04-15 02:09:41 +02:00
couriersud
4f1ca77643
Moved solver members to proper place. Minor code changes. (nw)
2016-04-15 02:09:26 +02:00
Jindřich Makovička
4422b2cf84
Fix type mismatch
2016-04-13 09:44:42 +02:00
R. Belmont
3ed3b7e7fc
Merge pull request #776 from jmallach/typos
...
Fix typos throughout the codebase
2016-04-12 08:48:35 -04:00
Vas Crabb
a21453fcde
Make un7z a bit chattier, too
2016-04-11 18:09:54 +10:00
Vas Crabb
efffa8a6f3
Make unzip less opaque about what it's doing
2016-04-11 15:47:57 +10:00
couriersud
19397471c1
netlist_t no longer descends from netlist::object_t.
2016-04-10 17:16:20 +02:00
couriersud
71d2cf2625
Get rid of some init_object calls.
2016-04-10 17:16:19 +02:00
couriersud
521353d8d7
Replace macros with templates.
2016-04-10 17:16:18 +02:00
Vas Crabb
467a1fae80
Fix crash
2016-04-10 18:42:53 +10:00
Vas Crabb
a723548a8f
Second thoughts about default status
2016-04-10 18:36:44 +10:00
Miodrag Milanovic
ed209c842d
Visual Studio says it can be uninitialized (nw)
2016-04-10 10:15:03 +02:00
Vas Crabb
7d1ec41744
foobar is not a subdirectory of foo called bar
2016-04-10 17:21:46 +10:00
Vas Crabb
a26f4f3428
STL makes life easier
2016-04-10 16:02:41 +10:00
Vas Crabb
d74f5db813
Fix for archives containing directories like foobar following foo
2016-04-10 15:47:51 +10:00
Vas Crabb
760b4bd93b
Fix phantom files in archives containing directories
2016-04-10 15:35:40 +10:00
Vas Crabb
33e62ec403
Work with more ZIP64 files
2016-04-10 12:05:53 +10:00
Vas Crabb
df4bb8b404
zip cleanup
2016-04-10 10:14:51 +10:00
couriersud
7d2c7a125e
Use templates in nl_math.
2016-04-09 23:45:44 +02:00
couriersud
fc31cd6289
Use c++11 features to use more templates.
2016-04-09 23:45:43 +02:00
couriersud
0d1e57cc40
Solver model simplification.
2016-04-09 23:45:42 +02:00
Vas Crabb
5eed772e4e
zip method 14
2016-04-09 23:47:55 +10:00
Vas Crabb
096c94743a
More ZIP support
2016-04-09 21:52:09 +10:00
Vas Crabb
e925c494fe
Update LZMA SDK to 15.14
2016-04-09 21:52:08 +10:00
couriersud
b13e02f975
Align with standalone-build.
2016-04-09 12:44:41 +02:00
Vas Crabb
f5f9b45da8
ZIP64 support [Vas Crabb]
2016-04-09 15:28:58 +10:00
yz70s
62d6d7f24b
nld_ms_sm.h: better use '!' instead of 'not' (nw)
2016-04-08 23:54:10 +02:00
couriersud
28d364bc8f
Add includes for dependency documentation. There is still inconsistent
...
use of assert(...) in src/lib/util. libutil compile will use assert from
<assert> while other parts of mame will be compiled with assert from
emucore.h.
2016-04-08 17:53:52 +02:00
couriersud
07645b6670
Minor changes, mostly signed comparisons and adding includes for
...
dependency documentation.
2016-04-08 17:02:48 +02:00
couriersud
bc936dbc26
Added m62(kidniki) to nl.lua. Started some experiments around parallel
...
solving of linear equations. This code is not active. Fix kidniki audio
performance. [Couriersud]
2016-04-08 03:30:11 +02:00
Vas Crabb
865253ccb0
Improve 7zip file I/O code (should fix >=4GB 7z archives on LP32/LLP64)
2016-04-06 15:11:30 +10:00
AJR
ee12b7d2f7
Revert software-installed slot/image options when changing software
...
- Remove emu.h's stealth include of emuopts.h through mconfig.h; reduce dependency on emuopts.h in other headers and source files.
- MCFG_CPU_FORCE_NO_DRC is now a CPU configuration parameter rather than a global one; it still works to override the -drc option setting.
2016-04-04 23:46:44 -04:00
Olivier Galibert
cdc04a9b7c
screen: POC||GTFO of svg rendering from inside the rom. [O. Galibert]
...
It's damn slow, ~50ms/frame on cdkong. Caching and/or hw accel will
solve that easily. It doesn't look very good, nanosvg need better
anti-aliasing. It also doesn't do texturing very well and images not
at all, so some of our current svgs won't look good. But all that's
fixable.
2016-04-04 11:33:34 +02:00
dankan1890
1aa8a350d3
fix: inline not allowed. (nw)
2016-04-03 18:54:04 +02:00
dankan1890
37f39ecf3c
Small changes. (nw)
2016-04-03 18:45:34 +02:00
Jeffrey Clark
ca3e65e35f
refactor miscmenu and add adv menu (nw)
2016-04-03 07:02:38 +00:00
Jordi Mallach
80890952a7
Typo fix: nonexistant → nonexistent
2016-04-01 02:28:15 +02:00
Jordi Mallach
1d052674c9
Typo fix: threshholds → thresholds
2016-03-31 23:17:32 +02:00
AJR
b0e033146a
Avoid auto return types; silence some unused variable warnings (nw)
2016-03-31 13:50:31 -04:00
AJR
54f7422c2a
Conflict resolution (nw)
2016-03-31 10:29:46 -04:00
AJR
a7e393b36b
Iterate over core classes C++11 style
...
C++11 range-based for loops can now iterate over simple_list, tagged_list, core_options, device_t::subdevice_list, device_t::interface_list, render_primitive_list and all subclasses of the above, and much code has been refactored to use them. Most core classes that have these lists as members now have methods that return the lists themselves, replacing most of the methods that returned the object at an owned list's head. (A few have been retained due to their use in drivers or OSD.)
device_t now manages subdevice and interface lists through subclasses, but has given up the work of adding and removing subdevices to machine_config.
memory_manager has its tagged lists exposed, though the old rooted tag lookup methods have been removed (they were privatized already).
2016-03-31 09:43:53 -04:00
dankan1890
0bab931a80
Visual Studio 2015 netlist fix. (nw)
2016-03-30 19:09:40 +02:00
yz70s
f7dd940081
Try to fix netlist build visual studio 2015
2016-03-30 10:12:18 +02:00
Miodrag Milanovic
913ab1e140
Cleanups and version bump
2016-03-30 08:35:21 +02:00
Jeffrey Clark
18d7e34620
cleanup build includes (nw)
2016-03-28 22:46:00 -05:00
couriersud
ca99eb00ae
Remove sorting from Sherman-Morrison solver. It doesn't help.
...
[Couriersud]
2016-03-29 01:59:51 +02:00
couriersud
8eec0786b5
Added woodbury solver to netlist. [Couriersud]
2016-03-29 01:59:51 +02:00
dankan1890
68ebc2b0e5
Visual Studio compile fix. (nw)
2016-03-28 22:57:35 +02:00
dankan1890
966db2f2f7
fix compile. (nw)
2016-03-28 16:14:32 +02:00
couriersud
628cef3d97
Added some notes about Sherman-Morrison.
2016-03-28 13:48:28 +02:00
couriersud
8c69d3ad15
Fix crash in stat output when no calculations were run
2016-03-28 13:48:27 +02:00
couriersud
97b9fc11d6
First version of Sherman-Morrison solver.
2016-03-28 13:03:51 +02:00
couriersud
93414a8bd7
Fix pivoting and float usage.
2016-03-28 13:03:50 +02:00
couriersud
9d2f61ee92
netlist:
...
- more code optimization
- hide matrix_solver_t implementation
- use netlist_time for time deltas
2016-03-27 15:41:42 +02:00
couriersud
2e21930b27
netlist:
...
- Simply solver code.
- Remove ATTR_HOT from solver code.
- make virtual members protected
2016-03-27 15:41:41 +02:00
couriersud
1a36bfd0eb
Fix kidniki sound speed. Make more class members private.
2016-03-26 16:17:39 +01:00
couriersud
f5bcee0db3
netlist: prepare code so that matrices can be allocated in one chunk of
...
memory.
2016-03-26 16:17:38 +01:00
couriersud
2ac1e54bd9
Fix a bug.
2016-03-26 16:17:38 +01:00
Vas Crabb
54279dbf11
Make emu_file archive searh order CRC+path, CRC+partial path, CRC, path, partial path and fold some redundant code
2016-03-25 15:25:30 +11:00
couriersud
489e2919db
Netlist: code maintenance
...
- rename netlist_analog_t to analog_t
- straighten object model
- reduce access to member variables
- use pvector<analog_net_t::list_t> for groups.
- simple coverity fixes.
2016-03-23 22:03:26 +01:00
Vas Crabb
f83078d8bf
Use std::atomic in nl_lists.h with OpenMP
2016-03-22 12:42:19 +11:00
Justin Kerk
d9d86e1909
Enable the internal delegates for Emscripten too (nw)
2016-03-20 19:51:43 +00:00
Vas Crabb
f07d5bf4bd
Fix boundary check on parsing ZIP ECD
2016-03-21 04:58:48 +11:00
Vas Crabb
cb231cea0a
Fix many valgrind Mismatched free() / delete / delete [] errors
2016-03-21 03:58:09 +11:00
Miodrag Milanovic
d18e9f343c
Enable these delegates for MIPS as well (nw)
2016-03-20 14:19:23 +01:00
Miodrag Milanovic
13453b312f
Fixed delegates for ARM and MIPS (nw)
2016-03-20 14:04:04 +01:00
Vas Crabb
e446d56daa
Damn you glibstdc++ (nw)
2016-03-18 23:46:34 +11:00
Vas Crabb
a320eaf238
Fix zippath browsing and allow zippath to browse/load 7zip
...
This code is still horrible and needs rewriting, but not tonight
2016-03-18 22:56:08 +11:00
Vas Crabb
142292ee00
Fold some redundant code
2016-03-18 20:37:44 +11:00
Vas Crabb
100fa28671
* Remove confusing method from vectorstreams that hide base_ios method (fixes disassembly view)
...
* Allow std::string to pass through core_file unmolested (reduces temporary allocations)
* Make zip/7z instances of same class with uniform interface
* zippath browsing is broken at the moment
This is another step towards transparent archive support. It's now
possible to access zip and 7z archives with the same code. Nothing is
taking advantage of it yet. There's now some very similar code in
fileio.cpp and clifront.cpp that could be folded at some point.
2016-03-18 19:32:10 +11:00
Vas Crabb
f0e580e40a
Clear error status on persistent streams
2016-03-17 13:30:09 +11:00
Brad Hughes
5d4c65c071
Rename ioprocs parameters from "generic" which MS C++ compiler treats as keyword when compiling with /ZW
2016-03-16 16:51:12 -04:00
couriersud
1ed5e0df43
Netlist: Some code simplification
2016-03-16 20:11:42 +01:00
Vas Crabb
a38db0bcc1
Fix 7z name match, fix VS2015 build
2016-03-15 12:58:13 +11:00
couriersud
202e310c52
netlist: rename plist_t to pvector_t to clarify origin.
2016-03-14 22:21:24 +01:00
couriersud
ae4b28e224
Remove gcc pragmas. These caused problems with MS compiler.
2016-03-14 22:21:23 +01:00
couriersud
41c8a9f6fa
netlist updates:
...
- First steps to move towards c++11.
- Base plist on std::vector
- Replace pstack with std::stack
- Remove pnamed_list
- use c++ "for each" in a number of places
- Fixed two "time bombs"
[couriersud]
2016-03-14 20:24:29 +01:00
Vas Crabb
42fbb9c396
Make osd_file a polymorphic class that's held with smart pointers
...
Make avi_file a class that's held with smart pointers, encapsulate various AVI I/O structures
Make zip_file and _7z_file classes rather than having free functions everywhere
Hide zip/7z class implementation behind an interface, no longer need to call close() to send back to the cache
Don't dump as much crap in global namespace
Add solaris PTY implementation
Improve variable expansion for SDL OSD - supports ~/$FOO/${BAR} syntax
Rearrange stuff so the same things are in file module for all OSDs
Move file stuff into its own module
7z/zip open and destruct are still not thread-safe due to lack of interlocks around cache access
Directory functions still need to be moved to file module
SDL OSD may not initialise WinSock on Windows
2016-03-14 18:55:00 +11:00
Miodrag Milanovic
db72f23b7c
Updated delegates, now works on ARM and ARM64 (nw)
2016-03-13 14:50:43 +01:00
Miodrag Milanovic
dcab55bf53
fix for VS builds by Vas (nw)
2016-03-12 10:49:20 +01:00
Dirk Best
75e5db381b
Add support to adjust the screen color
...
This is now used for monochrome screens instead of creating custom
palettes.
2016-03-12 02:36:28 +01:00
Vas Crabb
8dad674507
Allow seek to position 0 in a vectorstream with empty storage, always reserve 1k for core_file printf buffer
2016-03-10 04:41:32 +11:00
Vas Crabb
5aea0893a0
Use type-safe printf for core_file and emu_file, surprisingly few knock-on effects
...
Properly fix up a couple of places I64FMT was being used, still more to deal with
2016-03-09 23:04:12 +11:00
Vas Crabb
a5072bfd81
Fix complete failure to read zlib compressed data, handle EOF better in compressed files (nw)
...
Fix bug causing crash in pathological case of zero-frame INP file [Vas Crabb]
2016-03-08 20:17:43 +11:00
Vas Crabb
4e3ca74170
Fix loading zipped image
2016-03-07 20:32:10 +11:00
Vas Crabb
73b44c9429
Turn core_file into a proper class that gets cleaned up safely using unique_ptr
...
Subverted somewhat by chd_file class
2016-03-06 21:49:56 +11:00
Vas Crabb
078e954270
This depends on libstdc++ version, not GCC version
...
It's possible to make GCC use older/newer libstdc++ or to use Clang with libstdc++
This is still the wrong place for it - we should have all compiler/library workarounds in one place, not at point of use, to avoid duplication/conflicts
2016-03-06 12:51:22 +11:00
Miodrag Milanovic
4a876eab0e
This works (nw)
2016-03-05 14:41:42 +01:00
Miodrag Milanovic
39f3243a20
consistency fixes and add missed files (nw)
2016-03-04 15:37:07 +01:00
Vas Crabb
5a5b787081
Further reduce template instantiations
2016-03-04 16:46:56 +11:00
Vas Crabb
33b77a8722
Reduce number of formatting template instantiations needed - should reduce compile time and executable size a bit
...
Small run-time performance penalty shouldn't be a big deal
2016-03-04 01:04:10 +11:00
Vas Crabb
61b531522a
Implement swappable concept properly
2016-03-04 01:04:10 +11:00
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
Miodrag Milanovic
4380724fb5
use std::atomic in chd.cpp/h (nw)
2016-03-01 14:03:42 +01:00
Miodrag Milanovic
d1edd96ee8
Fix for Visual Studio build by Vas (nw)
2016-03-01 13:49:43 +01: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
529f4dd341
Add ability to pass argument packs that don't need templates all the way down
2016-03-01 17:56:44 +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
dankan1890
456453f3b2
fixed VS build. (nw)
2016-02-28 15:23:06 +01: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
Miodrag Milanovic
0b2ea0800f
more fixes (nw)
2016-02-25 14:58:39 +01:00
Miodrag Milanovic
0f85f112c9
renamed names that clash system defines in various environments (nw)
2016-02-25 14:58:39 +01:00
Miodrag Milanovic
3abcaee63f
Cleanups and version bump
2016-02-24 07:46:57 +01:00
Jeffrey Clark
50466d1fb9
fix compile (nw)
...
GCC 5.3.1 on Fedora 22
src/lib/util/aviio.cpp:1378:57: error: ‘offset’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
2016-02-15 10:25:18 -06:00
Vas Crabb
12a23988b3
Add a BC548 transistor model
2016-02-12 22:21:21 +11:00
Miodrag Milanovic
f80ff01891
MAME related settings are saved on request only (nw)
2016-02-06 13:47:21 +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
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
1f90ceab07
tags are now strings (nw)
...
fix start project for custom builds in Visual Studio (nw)
2016-01-16 14:54:42 +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
Brandon Munger
27508c8415
Fix Linux compile errors
2016-01-08 15:24:05 -05:00
Miodrag Milanovic
0da7a86a8c
make make make_unique_clear accept all kind of parameters (nw)
2016-01-08 13:38:18 +01:00
Miodrag Milanovic
ce75a5d682
removed memory tracking (nw)
2016-01-08 12:41:13 +01:00
balr0g
a9b60b05ac
Add realloc implementation as required by the C standard (nw)
2016-01-02 11:39:37 -05:00
Miodrag Milanovic
4ae8e7fb88
Revert "Comment this, so OSX can compile"
...
This reverts commit 2a6af208d6
.
2016-01-01 20:13:17 +01:00
Miodrag Milanovic
2a6af208d6
Comment this, so OSX can compile
2016-01-01 18:10:27 +01:00
Miodrag Milanovic
4afd75e2fd
Cleanups and version bump
2015-12-30 08:18:51 +01:00
Nigel Barnes
c99150a5f2
fix override (nw)
2015-12-29 21:28:59 +00:00
Nigel Barnes
be27191a1a
bbc: added Torch computer (preliminary)
2015-12-29 21:28:57 +00:00
arbee
b64105f9a3
chd-cd: when chdman wants only the original sectors, give it only the original sectors [R. Belmont]
2015-12-27 16:29:13 -05:00
Miodrag Milanovic
e974e71062
made netlist compile as separate without c++11 or higher deps (nw)
...
requested by Couriersud
2015-12-25 12:32:34 +01:00
dankan1890
e9fcfacb74
Fixed missing noexcept in Visual Studio 2013.
2015-12-22 21:05:27 +01:00
Vittorio Romeo
aa6d4d0b88
Modernize simple_list
:
...
* Add `noexcept`
* Use public `=delete` instead of private ctor/assignment
* Remove unused `virtual` from dtor and mark class as `final`
2015-12-21 16:33:06 +01:00
Miodrag Milanovic
a111c124c7
added option to clear with value for arrays (nw)
2015-12-17 17:36:00 +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
Miodrag Milanovic
93d8046498
Fix tagged_list (nw)
2015-12-14 20:04:49 +01:00
Miodrag Milanovic
4bbce9eb49
make exception save actual tag (nw)
2015-12-12 16:36:36 +01: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
14419ed38c
Fix after tagmap conversion (nw)
2015-12-10 19:29:22 +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
83e804ab0c
updated checks since old versions are anyway not supported (nw)
2015-12-09 15:53:43 +01:00
Miodrag Milanovic
52612a9fdd
cleanup of osdcomm.h (nw)
2015-12-09 15:20:48 +01:00
Miodrag Milanovic
791743976e
Revert "Cleanup of osdcomm.h (nw)"
...
This reverts commit 1d40aecb58
.
2015-12-09 11:37:33 +01:00
Miodrag Milanovic
1d40aecb58
Cleanup of osdcomm.h (nw)
2015-12-09 10:50:20 +01:00
dankan1890
8f58489dbe
fix build for VS 2013 and earlier.
...
reference http://stackoverflow.com/questions/22212737/strange-syntax-error-reported-in-a-range-based-for-loop
2015-12-07 19:45:14 +01:00
Miodrag Milanovic
e6e4a057ec
netlist override update (nw)
2015-12-06 15:15:36 +01:00
Miodrag Milanovic
3ee9b6cee4
fixing some more override (nw)
2015-12-06 09:23:23 +01:00
Miodrag Milanovic
7ab3a5e0fc
override part 3 (nw)
2015-12-05 21:20:56 +01:00
Miodrag Milanovic
1c4865d66f
override part 1 (nw)
2015-12-05 21:20:53 +01:00
Miodrag Milanovic
b6514ceb72
fix for VS builds, due to FPTR conversion (nw)
2015-12-05 17:51:42 +01:00
Miodrag Milanovic
3e5898124e
some core c++11 narrowing fixes (nw)
2015-12-04 15:03:26 +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
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
Miodrag Milanovic
0825ce4f3b
Cleanups and version bump
2015-11-25 08:22:24 +01:00
Miodrag Milanovic
c80032d837
Made fast delegates work on VS x64 builds (nw)
2015-11-22 18:07:36 +01:00
Peter Ferrie
7f8df68ae0
ap2_dsk.c: support 36-track Apple II NIB images [Peter Ferrie]
2015-11-19 19:49:59 -08:00
Miodrag Milanovic
d09c2b2e5d
Revert "No need for simple_list_wrapper (nw)"
...
This reverts commit 9cf26a0f69
.
2015-11-18 19:30:36 +01:00
Miodrag Milanovic
9cf26a0f69
No need for simple_list_wrapper (nw)
2015-11-18 13:39:59 +01:00
Nigel Barnes
de7c9eab24
null is \0 (nw)
2015-11-15 03:05:32 +00:00
Nigel Barnes
5d004af6c9
bbc: preliminary support for FSD format.
2015-11-15 02:38:06 +00:00
Miodrag Milanovic
4046c861ba
These are not needed with official tools (nw)
2015-11-10 14:39:09 +01:00
therealmogminer@gmail.com
bf5cee9b9e
- Fix PVS-Studio warning V562, "It's odd to compare a bool type value with
...
a value of 0/1" [MooglyGuy]
2015-11-09 13:50:57 +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
8dd980348d
fix compile (nw)
2015-11-08 13:21:01 +01:00
Miodrag Milanovic
7c19aac60e
Rename *.c -> *.cpp in our source (nw)
2015-11-08 12:56:12 +01:00
Robbbert
4b601d4784
Sharp MZ series: Adjusted mz_cas to work with MZ-800, MZ-80K and MZ-80A;
...
Added mzf tapes to MZ-80K and MZ-80A;
Removed hack from MZ-800.
2015-11-07 12:43:36 +11:00
therealmogminer@gmail.com
52fa9421b9
- Fix some instances of PVS-Studio warning V501, "There are identical sub-
...
expressions to the left and to the right of an operator". [MooglyGuy]
2015-11-06 14:02:51 +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
David Haywood
65a43a4e93
as req? (nw)
2015-11-04 16:11:53 +00:00
Miodrag Milanovic
32562ed54d
made 32 bit mingw-clang build working
2015-11-04 16:16:26 +01: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
David Haywood
5bafdbf6b4
not yet correct (nw)
2015-10-28 19:35:16 +00:00
David Haywood
e3072fa52d
checkpoint (nw)
2015-10-28 16:54:05 +00:00
Miodrag Milanovic
47f56372ee
Cleanup and version bump
2015-10-28 08:06:12 +01:00
David Haywood
72e9cbdd61
basic support for 'Direct Recording' block type in tzx format, cpc_cass entry 'bombscar' uses this. (nw)
2015-10-27 19:51:14 +00:00
arbee
bd5fca7042
Apollo changes: [Hans Ostermeyer]
...
- fixed the Apollo floppy disk emulation
- added the media option -node_id resp. -ni to set the node ID from a node ID rom image file
- fixed the unmapped ISA Bus access to return 0xff instead of 0x00
- removed excessive log entries from unmapped ISA Bus access
- fixed date (and some other issues) in mc146818 (new in MAME 0166)
2015-10-24 17:09:09 -04:00
Miodrag Milanovic
f9353d493b
Fix to make VS2015 release builds possible (nw)
2015-10-24 13:42:15 +02:00
Miodrag Milanović
18295eaecb
Merge pull request #413 from Pernod70/master
...
saa5050 rounding, bbc floppy formats, roms, and softlists [Nigel Barnes]
2015-10-24 08:33:16 +02:00
Robbbert
0865bef831
camplynx: another note. (nw)
2015-10-24 15:49:52 +11:00
Nigel Barnes
a679a22350
bbc: floppy formats and rom updates
...
- improved ssd, dsd handling
- added Acorn DOS and CPM formats
- added known good rom configuration for acw443 (Cambridge Workstation)
- removed some BAD_DUMP flags
2015-10-21 17:25:51 +01:00
Robbbert
bc19234d3f
Camputers Lynx: some work on floppy disk.
2015-10-19 13:33:27 +11:00
Curt Coder
e17f57845f
tiki100: Connected the I/O space to the expansion bus, and added the 360KB floppy format for MS-DOS. [Curt Coder]
2015-10-13 21:57:37 +03:00
Miodrag Milanovic
8e4ced4b53
Cleanups and version bump
2015-09-30 08:29:01 +02:00
Peter Ferrie
804cd541ec
pstream: fix the compile for MSVC (nw)
2015-09-28 20:20:15 -07:00
cracyc
c400248728
i8271: modernize [Carl]
2015-09-28 16:14:53 -05:00
hap
69a68c3ca9
slap self
2015-09-20 17:57:32 +02:00
hap
377168c4b4
Simplified coreutil.c gregorian_days_in_month. [William Krick]
2015-09-20 17:52:47 +02:00
MetalliC
2955e94f09
vector06 80 trk format (nw)
2015-09-18 23:32:13 +03:00
couriersud
9fca8bdc44
Remove last traces of printf from plib. Reorganized some code. (nw)
2015-09-14 12:34:25 +02:00
Miodrag Milanovic
05c7edb199
Remove direct zlib dependency in code (nw)
2015-09-13 12:27:46 +02:00
Miodrag Milanovic
954e900b78
Fix VS x64 compile (nw)
2015-09-13 12:17:50 +02:00
Miodrag Milanovic
115ffcb10a
Moved netlist from emu to lib (nw)
2015-09-12 10:12:14 +02:00
Nigel Barnes
c0e72ea08d
bbc: clones, floppy formats, softlists, and cleanups.
...
- Added clone bbcb1770, bbcb now 8271 only.
- Added clone pro128s, Olivetti Prodest PC 128S.
- Added clones Acorn Business Computers and Cambridge Workstation.
- Added clone reutapm, Reuters APM board.
- Improved floppy formats, added dsd and double density formats for ADFS.
- Added speech PHROMs, not yet hooked up correctly.
- Added softlists bbcb_de_cass, bbcb_us_flop and bbcmc_flop.
- Added S11 links (dipswitch) to specify Econet ID.
- Address map cleanups.
2015-09-07 09:49:14 +01: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
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
Olivier Galibert
af55f61abf
floppy: Fix amiga crc (fixes adf) (nw)
2015-07-28 14:19:13 +02:00
Dirk Best
08c7ed6ffb
guab: Updated driver to use the standard wd floppy controller.
...
This also means that it now uses the software list system instead of
loading the floppy disk image into a memory region. To run the driver
use: "mame guab -flop guab3" now. You may also just start the driver,
then choose a floppy disk image from the builtin file manager.
2015-07-09 12:58:25 +02:00
Cowering
764ef82c7d
no idea what i changed :( (nw)
2015-07-08 23:37:56 -05:00
Cowering
a821b6c4be
blame balrog for this :) (NW)
2015-07-08 14:05:56 -05: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
Curt Coder
e3e03e67d1
g64_dsk: Respect the number of tracks specified in the image header. [Curt Coder]
2015-07-05 22:15:58 +03:00
Michael Zapf
5ed6d7c6f9
This is it. ti99 says Goodbye to legacy floppy.
2015-07-05 19:59:37 +02:00
Miodrag Milanovic
d1583b9850
Cleanups and version bump
2015-06-24 07:36:50 +02:00
Dirk Best
1c1860499f
move some legacy formats over to imgtool since it's now the only user
2015-06-10 12:28:33 +02:00
Dirk Best
6ba157cb67
vtech1_dsk: remove, no longer used
2015-06-08 13:15:03 +02:00
Dirk Best
c33d1518ef
cpis_dsk: remove legacy format
2015-06-08 12:53:17 +02:00
Dirk Best
2cc9da11de
msx_dsk: remove legacy format
2015-06-08 12:18:45 +02:00
Dirk Best
b749e0a2f7
m20_dsk: remove legacy format
2015-06-08 11:36:11 +02:00
Dirk Best
126f95c786
atarist_dsk: remove, no longer used
2015-06-08 11:24:49 +02:00
balr0g
49bbeae98e
Revert "Placed back old corealloc otherwise NO_MEM_TRACKING do not have any meaning (nw)"
...
(Requested by R.Belmont since this breaks build with GCC 5.1.)
This reverts commit aae343fced
.
2015-06-07 15:35:00 -04:00
balr0g
021aa9eb6c
Nope. (nw)
...
This reverts commit 72794f8ff1
.
At least this provides a more useful stacktrace, if anyone wants to
debug.
2015-06-07 12:25:38 -04:00
balr0g
72794f8ff1
Use attribute unused for inlined new/delete. (nw)
...
This is still not compliant code, and will probably break with LTO,
but is a cleaner fix for the warning. Using this attribute also ensures
that the linker doesn't remove the code.
2015-06-07 12:02:20 -04:00
Miodrag Milanovic
b6ce8ee991
Licenses for Raphael Nabet (nw)
2015-06-07 17:37:34 +02:00
Miodrag Milanovic
aae343fced
Placed back old corealloc otherwise NO_MEM_TRACKING do not have any meaning (nw)
2015-06-07 11:35:28 +02:00
Dirk Best
244b8d315d
apridisk: update for new floppy system
2015-06-07 03:21:17 +02:00
Dirk Best
c414fffc30
thompson: updated to use the new wd fdc. same deal with as bbc: drives 0
...
and 1 are used for the controller with the wd, other legacy drives for
other controllers (needs slotification).
2015-06-05 10:21:37 +02:00
Dirk Best
a444bc8e25
coco: updated to use the new wd fdc
2015-06-04 16:55:30 +02:00
Dirk Best
9ab3e52d16
vdk_dsk: clean up
2015-06-04 09:38:41 +02:00
Dirk Best
3a571779c0
trs80: updated to use the new wd fdc
2015-06-04 08:33:57 +02:00
Dirk Best
8afcf3f9ce
svi318: updated to use the new wd fdc. floppy support has been restored,
...
which was broken for a long time.
2015-06-03 18:56:17 +02:00
Olivier Galibert
d92b8d522a
Solved the great Sherwood Forest mystery. DOS 3.3 inserts a short
...
(3-4 cycles, roughly equivalent to one bit) delay between writing the
header and the data bytes in the sector data block. [Peter Ferrie,
Olivier Galibert, Richter Belmont]
2015-06-03 08:41:33 +02:00
Dirk Best
0ebc3e5033
vector06: updated to use the new wd fdc. system appears to be broken but
...
loads some sectors from disk.
2015-06-02 17:16:36 +02:00
Dirk Best
ada45f655e
hec2mdhrx: updated to use the new wd fdc.
2015-06-02 13:36:47 +02:00
Dirk Best
476d027582
mz2000: updated to use new wd fdc. fix softlist to use the correct
...
interface. change x1_dsk to 2d_dsk and use it for the mz2000 as well.
2015-06-01 10:14:37 +02:00
Dirk Best
bf4f1beaa2
cgenie: fix plain sector disk images
2015-05-31 21:50:55 +02:00
Dirk Best
d68270a157
wd177x_dsk: add support to mark tracks as deleted data
2015-05-31 21:50:51 +02:00
Dirk Best
22ee342634
flopimg: save all possible data sectors in fm mode
2015-05-31 21:50:47 +02:00
Dirk Best
75b15886e3
pk8020: updated to use the new wd fdc. fixes regression booting cp/m.
2015-05-31 18:11:26 +02:00
couriersud
a3806ce7a1
delegate.h now supports mingw 32 bit builds with INTERNAL configuration.
...
Member functions are called in this case using __thiscall ABI.
[Couriersud]
2015-05-31 18:02:00 +02:00
Dirk Best
2f7882fbff
x1/x1twin: updated to use the new wd fdc. bonus: formatting disks now
...
works in hubasic.
2015-05-31 10:40:46 +02:00
Miodrag Milanovic
2c34deb09a
fix compile on latest clang (nw)
2015-05-31 08:07:05 +02:00
Robbbert
16ed4aae36
camplynx: added a popmessage to tell user how to load the tape.
2015-05-31 14:11:06 +10:00
Dirk Best
0afa682456
dgnalpha: updated to use the new wd fdc
2015-05-30 15:07:48 +02:00
Dirk Best
0624b6efd0
restore my bbc changes (wtf did happen to them?)
2015-05-29 23:47:41 +02:00
Robbbert
fc9781ca90
camplynx: handle level9 adventures. Not working though due to banking issues.
2015-05-29 19:32:08 +10:00
Cowering
ea2762e799
Merge branch 'master' of https://github.com/mamedev/mame
2015-05-28 17:07:47 -05:00
Cowering
4332164659
compile fixes for GCC5.1.1 win64 and CPP11 mode.. requested by mingw team to test LTO fixes. please add #ifdefs if 64 bit printf does not work for you
2015-05-28 17:03:36 -05:00
Dirk Best
05664c6657
z80ne: updated to use the new wd fdc. remove custom dmk implementation
2015-05-28 17:27:29 +02:00
Dirk Best
1872750247
cleanup/bbcm fix (nw)
2015-05-27 17:23:55 +02:00
Dirk Best
d08d7c094d
bbc: Update to use the new wd_fdc. Until the 8271 floppy controller is
...
updated, drive 0 and 1 = 8271 and drive 2 and 3 = wd_fdc.
2015-05-27 16:44:47 +02:00
Miodrag Milanovic
64e16ca8cf
Cleanups and version bump
2015-05-27 09:03:32 +02:00
Cowering
2838259d0b
Simple LTO warning fixes (Part2) (nw)
2015-05-26 12:55:06 -05:00
hap
a04189ad13
selfie stick
2015-05-26 11:35:42 +02:00
Cowering
afac3bc469
Merge branch 'master' of https://github.com/mamedev/mame
2015-05-25 09:34:50 -05:00
Miodrag Milanovic
4c6ff236c9
Update for Krzysztof Strzecha (nw)
2015-05-25 11:15:23 +02:00
Cowering
9bfa439757
Simple LTO warning fixes (Part1) (nw)
2015-05-24 06:07:44 -05:00
Robbbert
81e7d405b8
Merge branch 'master' of https://github.com/mamedev/mame
2015-05-24 14:02:24 +10:00
Robbbert
c26b5dadc4
(MESS) camplynx: added TAP cassette format.
2015-05-24 13:58:21 +10:00
arbee
b5af929c5b
License self-service (nw)
2015-05-23 22:13:10 -04:00
Robbbert
c712f06463
I wrote these
2015-05-24 11:02:03 +10:00
Miodrag Milanovic
d22ab4e6e2
owner name consistency and typo fix (nw)
2015-05-22 19:51:00 +02:00
Miodrag Milanovic
5f75a0f05e
unified licenses names (nw)
2015-05-22 15:53:53 +02:00
Miodrag Milanovic
8c62ec2a3a
Update for Kevin Thacker (nw)
2015-05-22 14:52:43 +02:00
Dirk Best
879baad29a
cgenie: removed old broken floppy implementation, added an expansion bus
...
interface, implemented new floppy controller as expansion device. works
with mfi files, still some issues with plain sector dumps.
2015-05-22 01:20:57 +02:00
balr0g
01c1c750f0
Minor formatting changes (nw)
2015-05-21 19:13:41 -04:00
Miodrag Milanovic
1a0a0f0d1e
unified all for Fabio (nw)
2015-05-21 20:21:45 +02:00
Miodrag Milanovic
1751b0e5bf
updating remaining for RB (nw)
2015-05-21 20:21:43 +02:00
Miodrag Milanovic
fe68338c2c
All files now do have owner (nw)
2015-05-21 20:06:05 +02:00
Peter Ferrie
d64834e32f
add some RWTS18 title IDs (nw)
2015-05-20 22:14:06 -07:00
couriersud
f10abf48d7
Another round of -Wextra -Wdouble-promotion fixes. (nw)
2015-05-20 21:24:59 +02:00
Dirk Best
611bb042f4
nascom_dsk: add support for the cp/m disk formats, use single sided
...
formats first that are compatible with all drives
2015-05-20 16:01:27 +02:00
Dirk Best
d68d4a572f
wd177x_dsk: improve automatic format choice
2015-05-20 16:01:23 +02:00
Dirk Best
34926eb22c
corefile: add a function to truncate files
2015-05-20 16:01:15 +02:00
Dirk Best
00142ca341
Nascom: Add floppy softlist
2015-05-18 19:55:46 +02:00
balr0g
a545ee63bd
Change this error to a warning and don't drop into debugger for now (nw)
2015-05-17 12:43:56 -04:00
Dirk Best
1e9f57c2cd
Nascom: Clean up, add NASBUS emulation and make the floppy disc
...
controller a NASBUS card, convert to the new wdc emulation, add generic
socket emulation, add initial software list.
2015-05-17 15:18:59 +02:00
balr0g
3c5998b7ee
Mark replacements separate from overloads and remove unneeded prototypes (nw)
2015-05-16 17:13:01 -04:00
balr0g
79e17d0ad3
Remove nonstandard inline overloads (nw)
2015-05-16 15:57:07 -04:00
Wilbert Pol
5f457c49ac
Updated a few I worked on (nw)
2015-05-14 10:13:14 +02:00
Miodrag Milanovic
e4b919213e
lot more updated (nw)
2015-05-11 15:09:24 +02:00
Miodrag Milanovic
6b04fd7f05
Added some for Nathan and some more for Nicola (nw)
2015-05-11 14:42:31 +02:00
Miodrag Milanovic
882e5b7f6a
update license for Peter Trauner and Antoine Mine (nw)
2015-05-11 08:06:17 +02:00
Miodrag Milanovic
5cf3361293
few more resolved in lib/util (nw)
2015-05-09 17:26:55 +02:00
Miodrag Milanovic
db9f8ea39c
did license settings for OG and Andrew, cleared up OSD part for licenses (nw)
2015-05-09 17:02:35 +02:00
Miodrag Milanovic
3034cb6451
Missed lib for adding licenses (nw)
2015-05-07 11:27:58 +02:00
Miodrag Milanovic
76b978d039
Cleanups and version bump
2015-04-29 08:18:54 +02:00
Miodrag Milanovic
ee0328ba37
Fix strreplace, fixes snapshot and dtd issue (nw)
2015-04-23 07:13:08 +02:00
Miodrag Milanovic
54f8b3ae5d
moved all to std::string (nw)
2015-04-22 11:30:45 +02:00
Curt Coder
67d09b16e9
(MESS) c3040: Disk format WIP. (nw)
2015-04-21 23:52:22 +03:00
Curt Coder
e7967e81b9
(MESS) c4040: Added own sector dump disk format since it's different from what the 1541 uses. [Curt Coder]
2015-04-21 22:25:52 +03:00
Curt Coder
edd9d41c04
(MESS) victor9k: Added writing to sector dump disk images. [Curt Coder]
2015-04-21 09:18:03 +03:00
Curt Coder
643d5fafe7
(MESS) Added sector image format for the Commodore 8280 8" floppy drive. [Curt Coder]
2015-04-20 22:34:40 +03:00
Miodrag Milanovic
7e1f926b94
more astring -> std::string (nw)
2015-04-19 15:06:07 +02:00
Miodrag Milanovic
71c4d9f304
removed bool conversion and implicit empty check (nw)
2015-04-19 12:08:52 +02:00
Miodrag Milanovic
3c3ee1d177
more conversions to std::string (nw)
2015-04-19 08:08:34 +02:00
R. Belmont
4b65eb4a94
Merge pull request #161 from fulivi/mds2_dev
...
Improvments to imds2 driver (fulivi)
2015-04-18 15:00:07 -04:00
Miodrag Milanovic
59bb9d4fd6
some astring to std::string conversion (nw)
2015-04-18 18:35:04 +02:00
couriersud
beda6531ef
Fix compile. (nw)
2015-04-16 23:46:55 +02:00
Curt Coder
1c7e636fef
(MESS) Implemented writing to Commodore d64/d67/d71/d80/d82 sector images. [Curt Coder]
2015-04-16 23:49:27 +03:00
Vas Crabb
bf30ebe77e
Fix build
2015-04-17 00:22:37 +10:00
Olivier Galibert
b0f3930d44
Once more with testing (nw)
2015-04-15 12:40:27 +02:00
Olivier Galibert
1c297adf33
fixup crcs and mfm clock bit update (nw)
2015-04-15 11:50:08 +02:00
Olivier Galibert
e0ef624b43
Fix gcr5 conversion (nw)
2015-04-15 10:15:33 +02:00
Curt Coder
126b9ec13a
clang build fix. (nw)
2015-04-15 08:50:15 +03:00
Curt Coder
d342dfa667
(MESS) c8050fdc: Gap adjustment. (nw)
2015-04-15 08:43:12 +03:00