couriersud
74e690d654
Move inline constructors from header to cpp. (nw)
2017-02-15 01:01:50 +01:00
Sergey Svishchev
a783bb3de4
dsk_dsk format: propagate CRC error flags
2017-02-13 19:33:08 +00:00
Sergey Svishchev
1837531d2d
ms0515.cpp -- hook up keyboard and floppy, improve video emulation etc.
2017-02-13 22:09:31 +03:00
couriersud
3c60882f93
Start adding save state support to nltool.
...
Save states are needed for regression tests going forward. (nw)
2017-02-13 00:54:51 +01:00
couriersud
3e42594830
Add standalone VC2015 build file in src/lib/netlist/build
...
This was the last platform without standalone compile. Sure needs more
attention, grateful for any help. (nw)
2017-02-13 00:54:40 +01:00
couriersud
290185cf00
Remove duplicate save states / Save state simplification. (nw)
2017-02-13 00:51:41 +01:00
couriersud
f2c3b51553
Separate custom save states. (nw)
2017-02-12 23:48:53 +01:00
couriersud
d7f420ccf7
Optimize queue save state. (nw)
2017-02-12 23:48:52 +01:00
Olivier Galibert
a2557f1b02
Remove emu.h from headers (nw)
...
Per Vas' request. If the compile fails for you (i'm thinking osx and
windows native debuggers here in particular), add '#include "emu.h"'
as first include of the cpp files that fail.
Due to our use of precompilation and forced inclusion, emu.h must be
included as the very first non-comment thing we do if we want to be
sure msvc compiles are identical to gcc/clang ones. Doing it directly
instead of through an include increases the correctness probability by
a magnitude.
2017-02-11 18:31:20 +01:00
couriersud
572ca8100f
Reorder include order to comply with best practices. (nw)
2017-02-10 21:53:02 +01:00
couriersud
9a71daa2e0
Make windows builds of nltool and nlwav understand unicode.
...
nltool and nlwav now use wmain, i.e. UNICODE main on windows. (nw)
2017-02-10 21:53:01 +01:00
couriersud
ab17457707
Make sure netlist includes are not found directly on include path.
...
Instead, they have to be prefixed by "netlist/". Removed unneeded link
librariers for nltool and nlwav along the way. (nw)
2017-02-10 21:52:09 +01:00
Miodrag Milanovic
90c14be174
Sync with upstream (nw)
2017-02-05 18:32:46 +01:00
couriersud
70051f6c1f
Netlist: It is now possible to have multiple handlers per device ...
...
... for updates. This will make device implementation more flexible and
faster. A nice side-effect is that there was some minor (<5%)
performance increase already. Each input is now assigned a notification
handler. Currently this is update, but going forward this may be a
custom handler. In addition
- fixed MEMPOOL on OSX
- removed dead code
- avoid bit-rot
- added delegate support for emscripten and arm processors
- added delegate support for VS 2015 x64
[Couriersud]
2017-02-05 17:19:53 +01:00
couriersud
427cf984db
Fix 9322. (nw)
2017-02-05 17:19:52 +01:00
couriersud
ced71c2b58
Add constexpr add noexcept. (nw)
2017-02-05 17:19:51 +01:00
couriersud
6a770d7086
Doxygen work. How the heck can one enforce a consistent device
...
documentation? (nw)
2017-02-05 17:19:51 +01:00
couriersud
f61e1f2123
Fix a bug in pstring.cpp causing crash if moved object is reused. (nw)
2017-02-05 17:19:50 +01:00
couriersud
ee8fed61c2
Some documentation work.
...
Along the way, set default models for devices missing them.
Fix standalone makefile to work in mingw environment. (nw)
2017-02-05 17:19:49 +01:00
Vas Crabb
4db6e43971
Avoid conflict with Apple C++ runtime header nl_types.h
2017-02-04 12:29:23 +11:00
Vas Crabb
9568b26c35
fix chd build (nw)
2017-02-02 14:36:48 +11:00
Vas Crabb
38a6ab02e4
yo sup dawg (nw)
2017-02-02 14:17:40 +11:00
Nigel Barnes
d5bba41ed6
zx81: added tzx cassette format
2017-02-01 19:40:29 +00:00
Nigel Barnes
51992a75ec
apd_dsk: improved identify and simplified load (nw)
2017-02-01 19:40:29 +00:00
Lord-Nightmare
7d05b65840
build fix (nw)
2017-01-31 18:24:49 -05:00
couriersud
e02d8cad2b
Fixed a number of issues:
...
- Fixed crashes on terminals without nets (i.e. connected to a rail)
- Reviewed "FIXMEs" and corrected some minor ones.
- Made m_cur_analog protected.
- Fixed pmf delegates to work with msvc.
- More optimizations to the solver code.
- Started work on a better signal pipeline in nlwav
- Only generate documentation for entities which are documented.
[Couriersud]
2017-01-31 22:37:25 +01:00
couriersud
c713f9ed1d
Separate include file usage for netlist.
...
Device implementations (all cpp files in netlist/devices) now should
only include nl_base.h.
Netlist implementation sources should only include "net_lib.h".
Refactored netlist.h and netlist.cpp to avoid namespace congestion in
netlist.h.
Fixed VC2015 build. (nw)
2017-01-29 15:47:12 +01:00
couriersud
2720512e31
Solver stuff:
...
Rewrote mat_cr_t to include data as well.
Fixed some bitrot in other parts.
Simplified solver creation. (nw)
2017-01-29 15:45:50 +01:00
couriersud
fe8e2a7732
Logging enhancement for Joakim.
...
For netlist device debugging one can now use
#define LOG(...) log().info(__VA_ARGS__)
to use debugging and the known
#define LOG(...) do {} while (0)
do disable debugging on device level.
To avoid bitrot one could as well use
#define LOG(...) log().info.log<true>(__VA_ARGS__)
and
#define LOG(...) log().info.log<false>(__VA_ARGS__)
The later disables debugging. If the compiler can assume that there are
no side effects from e.g. using foo(a/b), 'LOG("abc {1:04x}",
foo(a/b));' should be completely optimized away.
Log channels available are info, verbose, warning, error and fatal.
Don't use debug, it is enabled only on specific debug builds.
Use would be e.g.
LOG("abc {1:04x}", 2);
The format specifier in the string are enclosed in "{}". "{2}" is the
second parameter after the format string. Types are determined
automatically. "{3:04x}" would format a number as a hexadecimal with 4
leading zeros.
[Couriersud]
2017-01-28 03:54:59 +01:00
couriersud
4eee6b09a9
Fix a hidden bug in the GMRES solver and more optimization. (nw)
2017-01-28 03:54:58 +01:00
couriersud
bd20222866
Fix bug which caused hazl1500 to crash. (nw)
2017-01-28 03:52:42 +01:00
couriersud
cb16de91c6
Minor refactoring. (nw)
2017-01-27 18:38:01 +01:00
couriersud
2e5d1c6cb3
Remove macro to avoid copying and replace with a struct. (nw)
2017-01-27 15:22:19 +01:00
couriersud
6d2354264a
Do not derive other classes from std::vector. More cleanup. (nw)
2017-01-27 15:22:18 +01:00
couriersud
5c88873a87
Cleanup of includes. (nw)
2017-01-27 15:22:17 +01:00
smf-
1756a54c74
fix for visual studio (nw)
2017-01-26 12:35:48 +00:00
couriersud
716361fd6a
Hopefully fix compile on some unknown compiler. (nw)
2017-01-26 11:03:19 +01:00
couriersud
c4dbd26730
Fix netlist code generation. (nw)
2017-01-26 11:03:18 +01:00
Julian Sikorski
c50ddac28b
Fixed building using system utf8proc
2017-01-26 09:28:21 +11:00
couriersud
ba03118b09
More netlist refactoring:
...
- Remove virtual from some destructors and make them protected.
- Various cleanups.
- Small performance improvement.
- Fixed some inconsistencies.
- More c++ refactoring. (nw)
2017-01-25 22:17:48 +01:00
couriersud
25152bd69a
Netlist refactoring:
...
- Refactored netlist pmf code.
- Small optimization for diode calculations.
- Minor refactoring across the board. (nw)
2017-01-25 22:17:47 +01:00
couriersud
093bda0193
Added infix notation parsing to the function parser. (nw)
2017-01-25 22:17:46 +01:00
Stiletto
9db7b63e9a
Updates "2016" strings to "2017 where relevant.
...
Updates "2016" strings to "2017 where relevant.
2017-01-24 17:29:49 -05:00
Vas Crabb
edf64df1db
srcclean (nw)
2017-01-22 15:37:37 +11:00
couriersud
4d15501a30
Netlist: code refactoring
...
Make streams provide binary access only. Use putf8_reader and
putf8_writer to actually access streams. Replace some char * parameters
with pstring where appropriate. Minor code refactoring and move
functionality were it belongs. (nw)
2017-01-20 22:29:23 +01:00
couriersud
1ae3e29ea3
Assume string literals are UTF8 in netlist code.
...
At the same time, any char pointer has to be explicitly converted to
pstring by specifying an encoding. Not yet optimal, but certainly better
than what was there before.
Removed unneeded methods from pstring. (nw)
2017-01-20 22:20:36 +01:00
couriersud
d0b6742563
Default argument on plib::environment now optional. (nw)
2017-01-20 22:20:35 +01:00
couriersud
167d8405ec
Converted warnings and fatal log messages to constants.
...
Also refactored some code to ease the exercise. (nw)
2017-01-20 22:20:35 +01:00
couriersud
ca11021d73
Netlist:
...
- refactored reverse polish notation evaluator into own source files.
- added function parameter to current and voltage sources VS and CS.
You can now use those to e.g. produce a sine wave.
- Changed code to allow devices to optionally be treated as dynamic or
timestepping devices.
[Couriersud]
2017-01-17 01:35:16 +01:00
Nigel Barnes
2188df0263
apd_dsk: new floppy format 'Archimedes Protected Disk'
2017-01-16 20:44:43 +00:00
couriersud
7bf2939fd8
Register all devices using NETLIB_DEVICE_IMPL. Fix encoding issue. (nw)
2017-01-16 19:49:45 +01:00
couriersud
969e6ed6a0
Keep track were registry elements are created. (nw)
2017-01-16 19:49:44 +01:00
couriersud
10a4ab4af1
Preparation work for automatically generated include file for devices.
...
nltool now is able to create all defines from the factory definitions.
This will reduce the number of places needed to touch when adding
devices and always ensure that the parser and statically compiled
netlist code use the same syntax. This will enable us to delete most
device include files, e.g. nld_74107.h.
Netlist usage to create this header file:
./nltool -c header > src/lib/netlist/devices/nld_devinc.h
This is not yet used in production. It will be enabled after additional
tests.
[Couriersud]
2017-01-16 19:49:43 +01:00
couriersud
c612391f8e
Move analog devices into "netlist::analog" namespace. Added
...
documentation to opamp model. (nw)
2017-01-15 17:56:47 +01:00
couriersud
fd59a10f92
Added more documentation to diode and bjt model. (nw)
2017-01-15 17:56:46 +01:00
couriersud
3cfe098bb2
Introduce a more structured approach to models. (nw)
2017-01-15 17:56:45 +01:00
R. Belmont
72cf75f937
Merge pull request #1974 from shattered/_55d0495
...
minor floppy internals improvements
2017-01-14 23:41:24 -05:00
Sergey Svishchev
89b7801ebe
formats/wd177x_dsk: allow override of build_sector_description, like nec765_dsk
2017-01-15 02:24:48 +03:00
couriersud
674077f89f
Prepare source for consistent error message usage. (nw)
2017-01-14 16:35:57 +01:00
couriersud
bce5c521a2
Add code to remove devices connected only to rail terminals.
2017-01-14 16:35:56 +01:00
couriersud
ef8b7ccb6b
Core refactoring
...
- connect_late ==> connect
- register nets where they are created
2017-01-14 16:35:55 +01:00
couriersud
5cd17c361f
Fix seldom used conditional build options.
...
- Fixed OPENMP compile
For congo bongo, using Solver.PARALLEL=1 significantly increases
performance from 270% to 380%. However, this has to be taken
with a grain of salt. Enabling this on predominantly logic netlists
can severly kill performance.
- Increased readability of timed queue code.
2017-01-12 23:20:23 +01:00
couriersud
b1c3586789
Improve readability and remove some trampolines. (nw)
2017-01-12 23:20:23 +01:00
couriersud
c8c7e9a770
Fix timing issue in CD4538. Add "pow" (power) to the function model.
...
Minor documentation updates. Slight improvement of gorilla sound. (nw)
2017-01-12 23:20:22 +01:00
couriersud
5b4026d13f
- setup_t is owned by netlist_t. Stop being complicated.
...
- Remove gnd() method.
- Further simplification.
- Fix potential reset and initialization issues. (nw)
2017-01-12 23:20:21 +01:00
R. Belmont
d7dba2bd78
Merge pull request #1950 from shattered/_3aa32de
...
misc. fixes exposed by Displaywriter WIP
2017-01-09 21:35:37 -05:00
Sergey Svishchev
4add62a083
TeleDisk loader: accept images produced from 8" SSSD disks
2017-01-10 00:31:25 +03:00
Sergey Svishchev
1fda75a0e2
ImageDisk loader: don't crash on tracks with no data
2017-01-10 00:31:24 +03:00
couriersud
9d3d07b771
Move netlists into macro folder. (nw)
2017-01-09 00:28:31 +01:00
couriersud
9e88fd79ea
nlwav now accepts stdin and stdout. (nw)
...
cat log_RO.1.log | ./nlwav | play -
2017-01-09 00:28:30 +01:00
couriersud
5220572228
Reduce memory footprint for parameters. (nw)
2017-01-08 17:31:29 +01:00
couriersud
233b0b7dbe
Decrease memory footprint. (nw)
2017-01-08 17:31:28 +01:00
couriersud
f425f2b997
No need for a virtual stop which is needed only by the solver. (nw)
2017-01-08 17:31:27 +01:00
couriersud
1950ff149a
Make stop be called again. Fix METHOD parameter. (nw)
2017-01-08 17:31:26 +01:00
couriersud
e26e327ef9
Rename misleading solver parameters. (nw)
2017-01-08 17:31:25 +01:00
couriersud
d790daa2a7
Remove parameter GS_THRESHOLD. It is now outdated. (nw)
2017-01-08 17:31:24 +01:00
couriersud
ff820d6fa9
Fix regression. (nw)
2017-01-08 17:31:23 +01:00
Justin Kerk
57ac19beee
pc_dsk: Handle 1.44MB images with 1,024-byte footer, which have turned up in a couple places (nw)
2017-01-08 01:59:46 -08:00
Justin Kerk
7a8d5118b5
pc_dsk: Assume a smaller gap size to allow 400K disk images to load. Fixes e.g. ikari and marble from the ibm5150 softlist. [Justin Kerk]
2017-01-07 22:28:19 -08:00
couriersud
a841ff553e
Fix some clang pedantic warnings. (nw)
2017-01-07 17:29:45 +01:00
couriersud
4dfd26b248
Minor refactoring with focus on a bit more readability. (nw)
2017-01-07 17:29:44 +01:00
couriersud
e788dc5dbe
Fix startup when there are no timestep devices present, i.e. Capacitors
...
or inductors. (nw)
2017-01-07 17:29:43 +01:00
couriersud
59cc0a0d22
Fix stuntcyc regression. (nw)
2017-01-06 01:31:36 +01:00
couriersud
0ebd66d72f
intX_fast_t may depend on compiler implementation and thus is not suited
...
for save states. (nw)
2017-01-06 01:31:35 +01:00
couriersud
47492e4821
Make destructors virtual on base classes. (nw)
2017-01-06 01:31:35 +01:00
couriersud
2c0b627f13
More cleanups. (nw)
2017-01-06 01:31:33 +01:00
Vas Crabb
2c8cd1f083
Merge pull request #1911 from npwoods/imgtool_use_wide_console
...
[Imgtool] Changed to use wcout/wcerr in order to support Unicode console output
2017-01-05 16:36:55 +11:00
couriersud
02c3f45bff
Fix clang "-Wno-weak-vtables" warnings in netlist source. Refactored
...
code along the way. (nw)
2017-01-05 01:43:31 +01:00
couriersud
67841056da
Fix some pedantic clang warnings. (nw)
2017-01-05 01:43:31 +01:00
Miodrag Milanovic
74b24ecefb
Added websockets as well (nw)
2017-01-04 19:22:13 +01:00
couriersud
78ef96336e
Added SIGFPE enabling code to plib/pexception.*. Moved plib exceptions
...
into these files as well. The code uses <cfenv> which is part of c++11
standard. Non-standard glib extensions are currently only used on linux
and (i386 or x86_64). (nw)
2017-01-04 18:01:22 +01:00
couriersud
85d1aca315
Minor refactoring and renaming exercise. (nw)
2017-01-04 18:01:21 +01:00
couriersud
93d13d1338
Fix pin assignment 4001. (nw)
2017-01-04 18:01:20 +01:00
couriersud
176258e960
Add FREQ parameter to MM5837 noise generator. Specs in datasheet range
...
from 24000 Hz to 56000 Hz. Properly use VDD for output reference
voltage. (nw)
2017-01-04 18:01:20 +01:00
couriersud
85949f082c
Fix MM5837. (nw)
2017-01-04 18:01:19 +01:00
couriersud
424e2d4097
Fix parsing of macro devices. (nw)
2017-01-04 18:01:17 +01:00
Miodrag Milanovic
63e3f48775
Added initial HTTP/HTTPS webserver/websocket server support (nw)
2017-01-04 16:15:57 +01:00
Nathan Woods
b1eed07ad9
Vas Crabb feedback:
...
1. Changed the Win32 code to use _O_U8TEXT()
2. Reordered system #includes
3. Changed a number of 'std::wcout << ...' to use util::stream_format()
I'm getting massive code compilation issues, and it isn't clear to me what the problem is. I'm committing my WIP right now, with the intention of reviewing the specifics soon.
2017-01-04 08:06:20 -05:00
Nathan Woods
3231c3f648
[Imgtool] Changed to use wcout/wcerr in order to support Unicode console output
...
I really don't like the prevalence of '#ifdef WIN32' in this change, both the _setmode() and bypassing codecvt. I strongly suspect that the latter is the consequence of some mistake that in practice doesn't cause problems in MSVC. I welcome all eyes.
2017-01-02 11:59:25 -05:00
couriersud
db7cdcb957
Refactored factory. Use namespace "factory" instead of prefix factory_
...
all over the place. (nw)
2017-01-02 17:33:21 +01:00
couriersud
9a7b32f29d
Simplify code. Introduce consistent approach to loading macro devices.
...
Changed nltool "listdevices" command accordingly. Fix some bugs which
surfaced by this exercise. (nw)
2017-01-02 17:33:20 +01:00
couriersud
e84461538c
Hopefully fix OSX crashes during netlist setup. (nw)
2017-01-01 17:01:26 +01:00
R. Belmont
e7bc92d930
Merge pull request #1897 from npwoods/introduce_utf8proc
...
Introduced utf8proc and created wrapper code to expose a prettier API
2017-01-01 08:32:39 -05:00
Nathan Woods
5be1b8e6e0
Introduced utf8proc and created wrapper code to expose a prettier API
2016-12-31 11:17:07 -05:00
couriersud
3a4bc804c0
Hook up luigi walking sound in netlist mario sound implementation.
...
Mario driver now uses netlist audio implementation instead of discrete
implementation. The previous discrete sound emulation has not been
removed yet because it still contains a lot of documentation.
[Couriersud]
2016-12-31 15:21:05 +01:00
couriersud
0eefe5f02d
cstr() ==> c_str() (nw)
2016-12-30 23:42:24 +01:00
couriersud
f1a6e2b47e
Align noexcept usage. Rename register_con to add_terminal for clearity.
...
Fix bug introduced with last commit. (nw)
2016-12-30 23:42:23 +01:00
couriersud
b1516cc7a3
Analog to digital proxy rework. (nw)
...
Properly handle connected inputs when creating a-d proxy. Aligned a-d
proxy to d-a proxy class structure.
2016-12-30 20:31:14 +01:00
Justin Kerk
44d302c1ab
pc_dsk: Support 360K images with 512-byte header, found in some softlist entries. [Justin Kerk]
2016-12-29 14:44:50 -08:00
couriersud
1983580e26
Some preparation for future changes on proxies and chip families. (nw)
2016-12-28 13:48:49 +01:00
couriersud
63f4e52dae
Moved proxy code into separate file. (nw)
2016-12-28 13:48:48 +01:00
couriersud
419a7da172
Fix 74629 and some internals. (nw)
2016-12-27 19:37:30 +01:00
couriersud
4ee3f42d36
Fix bug in 74123. (nw)
2016-12-27 19:36:04 +01:00
couriersud
016535b3d0
Simplify. (nw)
2016-12-27 15:19:18 +01:00
couriersud
28a734436e
Added "-r" option to nltool to pass path to a folder containing rom
...
files. Multiple "-r" options may be given. Zip files are not supported,
just individual files. [Couriersud]
2016-12-27 11:25:00 +01:00
couriersud
54cbd67a42
Fix loading roms in two devices. (nl)
2016-12-27 04:33:18 +01:00
couriersud
bf1a504545
Fix nullptr exception. (nw)
2016-12-27 04:33:17 +01:00
couriersud
f43e45a5cf
Netlist: Roms now specify an identifier in the netlist.
...
The identifier is used to load data from a source_t implementation. This
allos a consistent approach in netlists independent of netlist
implementation. Both sources code and parameter code needed quite some
rewrite to support this. [Couriersud]
2016-12-27 02:44:45 +01:00
MooglyGuy
4f3b59ef31
Well, it sorta looks like Stunt Cycle, at least. (nw)
2016-12-26 20:34:03 +01:00
Olivier Galibert
0a4211b73e
Gross doesn't even begin to describe it (nw)
2016-12-26 18:55:19 +01:00
MooglyGuy
538d76efe3
-stuntcyc: Added netlist. Currently does not show anything on-screen. [Ryan Holtz]
2016-12-26 12:48:39 +01:00
Vas Crabb
03d486e9b5
netlist: Added LM747, LM747A and 2N2565.
2016-12-26 02:22:25 +11:00
Vas Crabb
127fd9b427
first srcclean pass (nw)
2016-12-25 13:57:31 +11:00
couriersud
8446519012
Netlist: align naming of 9334/make nl_hazelvid.cpp parseable by nltool
...
Renamed DM9334 to 9334 to align with naming convention used for other
93XX chips.
Added proper connection information for a number of chips to
net_lib.cpp. This allows to parse and run nl_hazelvid.cpp using nltool:
nltool -t 1 -f nl_hazelvid.cpp
2016-12-25 02:07:42 +01:00
MooglyGuy
fbb8ee0fe8
-netlist: Added 82S123 256-bit (32x8) TTL bipolar PROM. [Ryan Holtz]
2016-12-24 22:09:59 +01:00
couriersud
c0da1cee57
Leave more comments on differences between 74107 and 74107A.
...
Bought two 74107 for an incredible price on eBay :-( (nw)
2016-12-24 01:56:04 +01:00
couriersud
2620b4ccac
Fix 74107 and 74107A timings to typical values. (nw)
2016-12-24 01:12:35 +01:00
couriersud
3506240e19
Added inductor to netlist. (nw)
2016-12-24 00:58:36 +01:00
couriersud
c6440a43d4
Remove extra semicolon. (nw)
2016-12-24 00:58:36 +01:00
couriersud
dd785aa19c
Leave a note about compatibility of 74161 and DM9316. (nw)
2016-12-24 00:58:34 +01:00
therealmogminer@gmail.com
ad78023dc3
Back out part of my most recent netlist change (nw)
2016-12-24 00:14:23 +01:00
therealmogminer@gmail.com
6a6fdbdb82
Fleshing out nl_stuntcyc a little more (nw)
2016-12-23 23:29:45 +01:00
therealmogminer@gmail.com
9c4c4d0a5b
-netlist: Added 82S126 4kbit (512x8) TTL bipolar PROM. [Ryan Holtz]
2016-12-23 23:29:45 +01:00
Sandro Ronco
8f4e1dc37e
Archimedes: make floppies work.
2016-12-23 19:41:27 +01:00
Vas Crabb
386eb6b7b8
helps to git add
2016-12-23 15:18:29 +11:00
Vas Crabb
f5bc78c211
netlist: Added 4316 bilateral switch pack.
2016-12-23 14:54:54 +11:00
Vas Crabb
e2ec57aa48
netlist: add uA741 in 8-, 10- and 14-pin DIP variants
2016-12-23 13:39:39 +11:00
therealmogminer@gmail.com
677aaaec3d
-netlist: Added 74165, 74194, 7475, 7485, and DM9322 devices. [Ryan Holtz]
2016-12-22 19:39:52 +01:00
smf-
7d7023cc0a
fix clang on windows build (nw)
2016-12-22 14:14:55 +00:00
therealmogminer@gmail.com
780732f563
My name is not Ryan 161 (nw)
2016-12-22 01:34:59 +01:00
therealmogminer@gmail.com
0e85817c8a
Added a chip burn-down list to atarittl, listing which chips still need to be emulated for Indy 4 and Stunt Cycle (nw)
2016-12-22 01:14:28 +01:00
therealmogminer@gmail.com
2987115966
-netlist: Various fixes: [Ryan Holtz]
...
* 7473: Made device only transition on a falling clock.
* 74161: Inverted Clear and Clock inputs to match datasheet.
* 74260: Fixed number of inputs.
* Am2847: Fixed shift register size (was 160 bits, should have been 80 bits)
* DM9334: Inverted C and E inputs to match datasheet.
2016-12-21 20:32:50 +01:00
therealmogminer@gmail.com
66abfa8e6d
-netlist: Added shared RAM pointer, for use by netlist RAM devices which need updating by non-netlist driver code. [Ryan Holtz]
...
-netlist: Added new devices: [Ryan Holtz]
* Intel 2102A 1Kbit (1024 x 1) Static RAM
* 74365 Hex Bus Driver with 3-State Outputs
* Generic 2- and 3-terminal Tristate device
* Note: Tristate device and 74365 do not actually tristate, they are simply a way of combining multiple outputs + chip enables.
2016-12-21 20:32:49 +01:00
therealmogminer@gmail.com
ac56130251
-netlist: Added 74260 Dual 5-Input NOR Gate device. [Ryan Holtz]
2016-12-21 20:32:49 +01:00
therealmogminer@gmail.com
8dfbe8e538
Minor netlist syntax changes, (nw)
2016-12-21 20:32:48 +01:00
therealmogminer@gmail.com
4a71e6bdcf
-netlist: Added 74166 Parallel-Load 8-Bit Shift Register device. [Ryan Holtz]
2016-12-21 20:32:48 +01:00
therealmogminer@gmail.com
e3e38025c3
-netlist: Added 2716 16 Kbit (2 Kbit x 8) UV EPROM. [Ryan Holtz]
2016-12-21 20:32:47 +01:00
therealmogminer@gmail.com
32d0f10418
-netlist: Added 74174 Hex D-Type Flip-Flop with Clear [Ryan Holtz]
2016-12-21 20:32:47 +01:00
therealmogminer@gmail.com
19165cfbfd
netlist: Added 82S126 1K-bit bipolar PROM device. [Ryan Holtz]
2016-12-21 20:32:47 +01:00
therealmogminer@gmail.com
72f4f2a20e
netlist: Device additions: [Ryan Holtz]
...
* 74161 Synchronous 4-Bit Binary Counter with Clock
* 7473 Dual Master-Slave J-K Flip-Flops with Clear and Complementary Outputs
* Am2847 Quad 80-bit Static Shift Register
* DM9334 8-bit Addressable Latch
2016-12-21 20:32:46 +01:00
therealmogminer@gmail.com
3fcf6e6a3c
-netlist: Add simple ROM hookup capability. [Ryan Holtz]
2016-12-21 20:32:45 +01:00
Vas Crabb
23df89c965
Make bitmaps movable, allowing them to be used in vectors and emplaced easily.
...
You're still responsible for ensuring you don't move a bitmap while a texture refers to it.
2016-12-15 20:10:36 +11:00
Vas Crabb
be26ac9abf
coretmpl: add an associative LRU cache with map-like behaviour
...
selmenu: use LRU cache so icons don't all need to be reloaded on scroll
uismall.bdf: set default character for missing glyphs
rendfont.cpp:
* encapsulate many BDF and BDC handling details
* make file I/O 64-bit clean, check for allocation errors
* more solid BDF parser with error messages and trace logging
* fix heap smash when building bitmaps for BDF fonts
* extend BDC format to support high planes and default character
* render default character if glyph not found for BDF/BDC
2016-12-15 17:00:34 +11:00
Vas Crabb
c8f1954467
XML refactoring:
...
* move stuff to namespace util::xml
* scope down some enums
* split config load/save delegate types
* make config load take const so it can't mangle data
2016-12-11 18:15:41 +11:00
Olivier Galibert
962fda50bc
delegates: Don't crash on late binding if no object is actually needed [O. Galibert]
...
pci9050: Fix the mappings [O. Galibert]
2016-12-09 17:23:03 +01:00
Vas Crabb
7238415d1f
srcclean (nw)
2016-11-27 09:56:49 +11:00
Scott Stone
30cda1d3e5
A round of spelling/typographical fixes to source comments (nw)
2016-11-24 09:24:01 -05:00
Miodrag Milanovic
dbbd5e9c98
As promised, removing this part of code since it is used for compilers check, no need for this to be in release (nw)
2016-11-23 08:37:05 +01:00
Vas Crabb
0757bf61fd
Work around buggy standard libraries (nw)
2016-11-21 07:48:43 +11:00
Vas Crabb
8179a84458
Introduce u8/u16/u32/u64/s8/s16/s32/s64
...
* New abbreviated types are in osd and util namespaces, and also in global namespace for things that #include "emu.h"
* Get rid of import of cstdint types to global namespace (C99 does this anyway)
* Remove the cstdint types from everything in emu
* Get rid of U64/S64 macros
* Fix a bug in dps16 caused by incorrect use of macro
* Fix debugcon not checking for "do " prefix case-insensitively
* Fix a lot of messed up tabulation
* More constexpr
* Fix up many __names
2016-11-19 05:38:48 +11:00
Vas Crabb
1b12a8940b
gah, wasn't quite compatible (nw)
2016-11-17 21:04:52 +11:00
Vas Crabb
346e0a8a92
more xmlfile cleanup (nw)
...
* an empty tag and a self-closing tag are semantically equivalent, so std::string can be used saving some manual allocation
* a valid tag can't have an empty name, so that can be std::string too
* still expose empty strings as nullptr to API users
* scope down the int_format enum
* # is not £ ffs
2016-11-17 20:38:38 +11:00
Miodrag Milanovic
8a22a1f14d
Reverting this change, it is compiler bug, confirmed by Microsoft VSO#292426 (nw)
2016-11-17 08:08:53 +01:00
Miodrag Milanovic
d5bf30edb8
Fix compilation under VS2017 (nw)
...
default_semantics is used by apply so need to be public
2016-11-16 21:00:29 +01:00
Vas Crabb
2354a42010
Turn xmlfile API into something that looks like C++
...
It's still a bit quirky but it's far better encapsulated before, and it plays nice with const (nw)
2016-11-17 01:44:03 +11:00
Vas Crabb
4d481a075a
fix up pstring code (nw)
...
* instantiate static constant members for ODR context
* declare static members of template classes properly
* declare external template instantiations
* fix blind use of autocomplete ("treats" really?)
* fix ptype_traits on platforms where char is unsigned
* signed char is never an alias for char even if char is signed
* even if eclipse doesn't like using type, surely it supports typedef
2016-11-16 06:46:05 +11:00
Miodrag Milanovic
e71e37e54f
Revert "using of IS_ENABLED in files used in tiny build (nw)"
...
This reverts commit 1efccdd38d
.
2016-11-12 09:12:35 +01:00
Miodrag Milanovic
2131d9ad3a
Revert "Use true/false if type used is bool (nw)"
...
This reverts commit dbd07cef38
.
2016-11-12 09:12:35 +01:00
Miodrag Milanovic
dbd07cef38
Use true/false if type used is bool (nw)
2016-11-11 20:50:25 +01:00
Miodrag Milanovic
1efccdd38d
using of IS_ENABLED in files used in tiny build (nw)
2016-11-11 20:43:19 +01:00
Miodrag Milanovic
7c765ea147
No need for osd_malloc, osd_malloc_array and osd_free (nw)
...
MALLOC_DEBUG not applicable anymore since we use new to allocate in 99.9% of cases
2016-11-11 16:12:01 +01:00
Miodrag Milanovic
ef51470515
delegate fix - lambda always have object (nw)
2016-11-08 08:14:28 +01:00
Miodrag Milanovic
689cf4d947
typo fix (nw)
2016-11-07 13:14:48 +01:00
Miodrag Milanovic
fc58a0bec8
Added basic HTTP server, not active yet, based on ASIO example with small refactoring included (nw)
2016-11-07 10:42:23 +01:00
smf-
e565b0c6aa
Fix heap corruption when loading a new chd fails. Throw CHDERR_FILE_NOT_WRITEABLE rather than CHDERR_UNSUPPORTED_VERSION if you try to open an old version for writing [smf]
2016-11-06 16:50:35 +00:00
Miodrag Milanovic
2027d59e7f
Do not use FUNC in delegate where applicable (nw)
2016-11-06 14:11:55 +01:00
Miodrag Milanovic
4a096d1ccb
try to make GCC 5.4.0 happy (nw)
2016-11-05 20:36:08 +01:00
Miodrag Milanovic
dedf3c9b9d
Delegate support for lambdas and std::functions in general, also supporting const members now [Miodrag Milanovic]
2016-11-05 20:26:04 +01:00
Vas Crabb
c15306c628
fixum (nw)
2016-11-05 00:35:09 +11:00
Joakim Larsson Edstrom
f1a1b77595
Added 'poke' and 'clear' methods to fifo template
2016-11-04 14:13:00 +01:00
Vas Crabb
c96ed5b4a6
there you go, Robbbbbbbbert (nw)
2016-11-01 21:11:25 +11:00
Vas Crabb
e7d31b6009
add a fifo template in util for Edstrom
2016-11-01 20:14:03 +11:00
Jordi Mallach
94220aa08b
Misc typo fixes.
2016-10-27 13:45:15 +02:00
therealmogminer@gmail.com
347b8cd925
More ie15 optimizations, nw. Also removes cache-line padding of dubious performance value in core bitmap class in favor of behavior of least surprise
2016-10-23 14:22:07 +02:00
Miodrag Milanovic
aa2e6f9df3
Reverting part of changes from previous commits as described in mail on list (nw)
2016-10-23 09:11:47 +02:00
AJR
b83078eb46
Erase bitmap_rgb32::erase (nw)
2016-10-22 22:30:09 -04:00
AJR
7d41a1f619
Improvements to rgb_t (nw)
...
- Make most class methods constexpr
- Make color constants (white, black, etc.) into constexpr factory methods, in order to fix a static initialization problem discussed on the MAMEWorld forums.
(Note that while C++14 allows constexpr member variables to be initialized outside classes, current compilers' support for C++14 constexpr rules has proven to be lamentably deficient.)
- Create bitmap_rgb32::erase to simplify syntax in update handlers
2016-10-22 18:45:04 -04:00
Miodrag Milanovic
e42ed88254
there you go (nw)
2016-10-22 21:37:06 +02:00
Miodrag Milanovic
fc340e9e7d
cleaning "mess" for OCD people (nw)
2016-10-22 21:23:44 +02:00
Miodrag Milanovic
88b5a5c09f
Cleanup linux OSD (nw)
2016-10-22 18:42:47 +02:00
Miodrag Milanovic
a6bdefec8c
more TRUE/FALSE cleanup (nw)
2016-10-22 16:37:12 +02:00
Miodrag Milanovic
ddb290d5f6
NOTICE (TYPE NAME CONSOLIDATION)
...
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8
also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
2016-10-22 13:13:17 +02:00
Miodrag Milanovic
23ad94073f
use standard types uintptr_t, char16_t and char32_t instead of FPTR, utf16_char, unicode_char (nw)
2016-10-22 11:31:49 +02:00
Miodrag Milanovic
d2e8f61149
dynamic_buffer is just std::vector<UINT8> (nw)
2016-10-21 12:35:05 +02:00
Miodrag Milanovic
a291e77b2c
some bool <-> int not needed conversions, also cleaned drivenum.* was using memset for clearing vector (nw)
2016-10-21 11:54:18 +02:00
Vas Crabb
33b2c73395
srcclean (nw)
2016-09-26 04:51:59 +10:00
therealmogminer@gmail.com
239d09546f
Bad OG, no cookie, nw either
2016-09-25 01:29:22 +02:00
Nathan Woods
1a017c9302
Consolidated code that inputs characters into buffers
2016-09-19 08:25:10 -04:00
Michael Zapf
2bf93a51e8
Added HxC HFE disk format.
2016-09-18 12:31:13 +02:00
Nathan Woods
c51de7aa95
Fixed a potential buffer overrun in the code that reads headers for the CoCo JVC disk image format
2016-09-13 06:50:08 -04:00
Nathan Woods
aea10e0b4d
Alphabetizing the #include's, and added typedef's for the reverse iterators
2016-09-12 20:56:32 -04:00
Nathan Woods
86e242472f
Fixed some stupid errors
2016-09-12 20:45:43 -04:00
Nathan Woods
714b78d084
Folded util::contiguous_sequence_wrapper<T> into coretmpl.h, and fixing the reverse_iterators
2016-09-12 20:33:05 -04:00
Nathan Woods
88c952adb3
Forgot to remove these m_ptr's
2016-09-12 18:45:10 -04:00
Nathan Woods
524d750106
Implementing util::contiguous_sequence_wrapper<T>::[c]r[begin|end]()
...
...correctly (I think). Since we're not actually using this it isn't really tested
2016-09-12 07:51:15 -04:00
Nathan Woods
af1c5b26b8
Renamed util::view<T> to util::contiguous_sequence_wrapper<T>, changed ::iterator and ::const_iterator to just be pointers and other cleanups
2016-09-12 06:56:55 -04:00
Nathan Woods
91fb8f5bc3
Introduced an STL container for a view (util::view<T>), and changed opresolv to use it
2016-09-11 10:49:23 -04:00
Nathan Woods
cc70910693
Subscripting std::array<..., 0> is bad; working around this specific case
2016-09-10 15:16:45 -04:00
Vas Crabb
6a2b41aa0b
Merge pull request #1332 from npwoods/option_guide_and_imgtool
...
option_guide C++-ification, touched up imgtool
2016-09-10 10:15:30 +10:00
Nathan Woods
b5a2d1bc77
Changing an 'assert(false)' to 'throw false', so that this always errors even in non-debug builds
2016-09-09 06:59:54 -04:00
Nathan Woods
402d84ff34
Properly catching another out of memory condition
2016-09-09 06:29:40 -04:00
Michael Zapf
44e74fcc99
ti99: Explicitly add the cell_size to mfm_w call (nw)
2016-09-05 00:08:09 +02:00
Nathan Woods
4251194fe5
Worked around the OPTION_GUIDE_EXTERN issue by using a crazy trick involving namespaces
...
Caveats:
1. Because of how this trick works, it is no longer possible to declare an option guide as static, so I had to make a bunch of changes
2. I'm going to want the hardcore C++ guys (i.e. - Vas) to review this with a fine toothed comb
2016-09-03 16:11:58 -04:00
Nathan Woods
be3c18302e
Figured out a slightly better way to make the option guide macros to work
...
I was able to eliminate the need for a dummy entry at the end
2016-09-03 08:12:51 -04:00
Nathan Woods
965fb61f95
Attempting to make option_guide and option_guide::entry POD types; need to figure out a better way to do OPTION_GUIDE_EXTERN
2016-09-02 23:52:30 -04:00
Nigel Barnes
a7946f9c61
added header checks to identify in uef_cas and csw_cas formats
2016-09-02 21:47:02 +01:00
Nathan Woods
9c06ec0b6a
Incorporating Vas Crabb feedback
2016-09-01 06:49:54 -04:00
Vas Crabb
46bf1ce04b
More cleanup on the back of Osso's fix for a7e393b36b
(nw)
...
* Make iterators actually meet requirements of ForwardIterator (and by consequence, ForwardIterator, Iterator and EqualityComparable)
* Don't use function statics if they can be avoided - it isn't thread-safe
* Remove leftover crud from when dynamic_buffer and friends were templates in lib/util
It's still dangerous that the const behaviour of iterators doesn't match STL.
Also, simple_list members with similar functionality to STL container members should be renamed.
2016-08-30 01:31:23 +10:00
Vas Crabb
c960435d3e
srcclean and translation regeneration
2016-08-29 02:02:04 +10:00
Nathan Woods
b60879e595
option_guide C++-ification, touched up imgtool
...
The main point of this change is to C++-ify option_guide. It was changed from a struct array to a class, namespaced etc, with the ultimate hope of incorporating an in-emulation image creation UI.
Imgtool got hit with a number of changes; I'll probably have to bring that off of the backburner and touch that up too
2016-08-27 16:41:11 -04:00
Miodrag Milanovic
62fe8b8980
some C++14 features are not supported by VS2013. VS2015 is free for home use so no need for legacy support (nw)
2016-08-27 11:15:38 +02:00
Vas Crabb
6e47d26589
gah how did I miss that (nw)
2016-08-27 17:02:11 +10:00
Vas Crabb
75be4dff5f
While I'm causing full recompiles all the time, reduce necessary number of instantiations of parts of string formatting engine
2016-08-27 16:45:53 +10:00
Michael Zapf
596b04dd5c
ti99: Fixed another issue with double stepping.
2016-08-25 19:26:46 +02:00
Michael Zapf
bade8ef9a9
ti99: Forgot to reset the TRACE flag.
2016-08-24 14:53:01 +02:00
Michael Zapf
294e196532
Forgot srcclean
2016-08-24 14:25:01 +02:00
Michael Zapf
19a2c632ae
ti99: Fix a problem with formatted disk images that do not match the expected file size
2016-08-24 14:25:01 +02:00
Nathan Woods
846cd43287
Performs argument checking on the return value of CassetteLegacyWaveFiller.chunk_sample_calc()
...
This is just better error checking. You can see this if you create a garbage file named 'foo.csw' and invoke the following command:
mame bbcb -cass1 foo.csw
With this change you get an invalid image error. Without it, you get this:
Caught unhandled St12length_error exception: vector::_M_default_append
2016-08-23 07:56:48 -04:00
Nathan Woods
16d4c4e358
Fixed regression with cassette code that caused hangs to happen when loading cassette image formats that lacked read/write support
...
This entailed reintroducing device_image_interface::make_readonly(); I also reimplemented the feature in the cassette code in a less hacky way.
2016-08-20 22:42:53 -04:00
Nathan Woods
d1227cb38f
casserr_t ==> enum class cassette_image::error
2016-08-20 19:59:04 -04:00
Nathan Woods
02b9749216
Stop forcing cassette image create when loading zero-length images. Also minor C++-ifications to cassette code (usage of bool and std::string, C++ comments)
2016-08-20 16:58:24 -04:00
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
Curt Coder
93c7679ab9
(MESS) c8050fdc: Gap adjustment. (nw)
2015-04-15 08:41:29 +03:00
Olivier Galibert
278cf84e55
Replace dynamic_array with std::vector [O. Galibert]
2015-04-14 19:58:17 +02:00
Miodrag Milanovic
2edee0b811
updated astring constructors to have just one string param, to be more like std::string (nw)
2015-04-13 12:25:21 +02:00
fulivi
4945071946
Implemented disk writing for IMD format
2015-04-13 12:07:53 +02:00
Curt Coder
5330751a3d
(MESS) c8050fdc: Gap adjustment and SFD-1001 is single drive only. (nw)
2015-04-13 09:07:12 +03:00
Miodrag Milanovic
7977b2a8f6
remove not needed astring includes (nw)
2015-04-12 18:08:32 +02:00
Miodrag Milanovic
7faba31b1b
There is no implicit conversion to char* in std::string (nw)
2015-04-12 08:05:43 +02:00
Vas Crabb
9d10e02081
Merge https://github.com/ZoeB/mame
2015-04-12 00:18:20 +10:00
Miodrag Milanovic
c375452b53
Merge branch 'master' of https://github.com/mamedev/mame
2015-04-11 15:27:27 +02:00
Miodrag Milanovic
6b36c7ab22
cstr() - > c_str() as preparation for move to std::string (nw)
2015-04-11 15:26:58 +02:00
Vas Crabb
38c6213665
Replace simple_set with std::set
2015-04-11 22:30:44 +10:00
Zoë Blade
90f110f261
Fix various typos and spelling mistakes
...
I'm purposefully leaving /src/emu/bus/cbmiec/c1541.c's kernal.bin
as it is, as this particular spelling mistake was originally made
by Robert Russell, therefore is canon. See
http://en.wikipedia.org/wiki/KERNAL for details.
I'm also leaving /src/emu/machine/nscsi_bus.c's RECIEVE as I don't
want to break anything, but it's worth someone looking into.
I renamed some variables in /src/mame/drivers/sfbonus.c,
/src/mame/video/tia.c and /src/mame/video/tia.h, so if anyone wants
to verify I didn't break anything, that would be nice.
2015-04-11 00:52:26 +01:00
Curt Coder
a43d6473de
(MESS) pet: Refactored the Commodore 8050/8250/SFD-1001 to use the new floppy system. [Curt Coder]
2015-04-10 10:20:26 +03:00
Curt Coder
5732623008
(MESS) abc80: Emulated the Scandia Metric ABC FD2 floppy controller. [Curt Coder]
2015-04-07 15:32:53 +03:00
Vas Crabb
c8a45461d5
get rid of some obsolete/unreachable stuff, get rid of more abuse of SDLMAME_ macros outside OSD
2015-04-02 23:37:34 +11:00
Miodrag Milanovic
f76d59c41d
Moved build system to GENie [Miodrag Milanovic]
...
make TARGET=mess -j19
will generate all needed files and build MESS, while developing you can use
make TARGET=mess COMPILE=1 -j19
to prevent rebuilding of make files.
Build system have automatic generate of dependencies so will do incremental builds fine.
make clean
will remove all generated files/projects and obj files
2015-03-26 09:00:39 +01:00
Miodrag Milanovic
0147bb4cc8
Cleanups and version bump
2015-03-25 08:16:51 +01:00
Miodrag Milanovic
bfa68aef31
MAX_CLOCKS is defined in Android sdk (nw)
2015-03-21 11:59:28 +01:00
Miodrag Milanovic
489bfb979e
Some compilers have issue with ! signs (nw)
2015-03-21 11:58:52 +01:00
Oliver Stöneberg
bd4730b756
more emu.h cleanups in src/lib/formats (nw)
2015-03-20 19:13:26 +01:00
Oliver Stöneberg
151070e970
replaced off_st usage in src/lib/formats with UINT32 to reduce libemu dependencies (nw)
2015-03-20 19:08:03 +01:00
Oliver Stöneberg
0bdcbac42e
cleaned up emu.h usage in src/lib/formats (nw)
2015-03-20 14:09:50 +01:00
Oliver Stöneberg
10385fe130
fixed several missing assert.h includes (nw)
2015-03-20 13:06:57 +01:00
Oliver Stöneberg
1957bc420d
removed last assert.h occurance in a header (nw)
2015-03-20 12:32:57 +01:00
Oliver Stöneberg
c61c31ee06
moved assert replacement inside emucore.h so it is actually used / removed assert.h include from some headers and added it to lots of source
2015-03-20 12:19:40 +01:00
Oliver Stöneberg
9f29fc0916
removed a few more unnecessary assert.h includes (nw)
2015-03-20 11:39:41 +01:00
Oliver Stöneberg
2849b81c5d
removed unnecessary assert.h includes (nw)
...
including global one for Visual Studio
2015-03-20 11:36:49 +01:00
Michael Zapf
d498d5cedf
(MESS) ti99: Added a sanity check for disk format detection and a non-locking Alphalock
2015-03-17 21:09:39 +01:00
Miodrag Milanovic
0d9be2925b
update bgfx (nw)
2015-03-07 19:12:51 +01:00
Miodrag Milanovic
8521c0b544
Fix mongoose build (nw)
2015-03-05 08:46:52 +01:00
arbee
bc2b71f47f
Fix crashing on ARM Linux targets. [R. Belmont, rjosal]
2015-03-04 23:10:41 -05:00
couriersud
0fd2001a67
Enable OpenGL renderer on Windows. By default, run-time function
...
resolution is enabled.
To resolve addresses, the code now first tries GetProcAddress followed
by wglGetProcAddress. [Couriersud]
2015-02-25 23:44:17 +01:00
Miodrag Milanovic
6ae44e46f9
Cleanups and version bump
2015-02-25 08:09:13 +01:00
Peter Ferrie
7b88489c4a
Merge branch 'master' of https://github.com/mamedev/mame
2015-02-23 22:18:32 -08:00
Peter Ferrie
4edae19ad1
(MESS) ap2_dsk.c: support oversized Apple II EDD images [Peter Ferrie]
2015-02-23 22:18:20 -08:00
Alex W. Jackson
afa3796da8
render.c: render_containers now always make their own copy of the emulation palette for paletted textures, whether or not there are custom brightness/contrast/gamma settings. Fixes -mt color issues in driftout, raphero, etc. without the additional complexity introduced in fde220f4a7
(which has been reverted) (nw)
2015-02-23 14:51:32 -05:00
Miodrag Milanovic
eb54c7d8f3
this should help compile on old OSX (nw)
2015-02-20 06:51:43 +01:00
Miodrag Milanovic
ea92b89a38
Make sqllite3 compile use CCOMFLAGS as well (nw)
2015-02-19 15:52:12 +01:00
Miodrag Milanovic
d3e2122a2b
Made BGFX compile for Apple GCC 4.2
2015-02-15 13:46:18 +01:00
Robbbert
68af4f9b5f
Merge branch 'master' of https://github.com/mamedev/mame
2015-02-07 23:50:27 +11:00
Robbbert
85cdd69eb3
(MESS) mbee: sped up bank switching; removed unneeded format files (nw)
2015-02-07 23:48:34 +11:00
Olivier Galibert
d35b80ca06
huh? (nw)
2015-02-07 11:24:32 +01:00
mahlemiut
e07d4d513e
flex_dsk: added empty formats[] member, to keep clang happy
2015-02-07 11:18:53 +13:00
MetalliC
e5a9d0bdf3
(MESS) Beta Disk interface convert to wd_fdc
2015-02-06 20:39:58 +02:00
Robbbert
4f4a67ddd3
(MESS) oops (nw)
2015-02-06 19:40:28 +11:00
Robbbert
05cec06ade
(MESS) kaypro: OG has verified gaps and base class for KAY format.
2015-02-06 19:25:42 +11:00
Robbbert
d826b5b1ae
(MESS) kaypro: reinstated support for the old DSK format, but you need to rename your disks to KAY.
2015-02-06 17:45:53 +11:00
cracyc
86cadf5f71
(mess) pc9801: fix egc shifter (nw)
2015-02-05 12:18:12 -06:00
Peter Ferrie
d012171d50
another compile fix for MSVC 2012 (nw)
2015-02-04 11:26:43 -08:00
peterferrie
aa0ffdc153
fix compile on MSVC 2012 (nw)
2015-02-03 23:03:32 -08:00
Miodrag Milanovic
e68d22d779
Added building of BGFX library (nw)
2015-02-01 10:26:09 +01:00
arbee
0d5783fd85
apple2: properly handle ProDOS-order Microsoft CP/M boot disk [R. Belmont]
2015-01-31 22:26:30 -05:00
Oliver Stöneberg
22b90a3374
Revert "fix compile on MSVC 2012 (nw)"
...
This reverts commit 9afc7cdb5b
.
2015-01-31 23:36:03 +01:00
peterferrie
9afc7cdb5b
fix compile on MSVC 2012 (nw)
2015-01-30 11:36:06 -08:00
Miodrag Milanovic
26e7a17b63
Cleanups and version bump
2015-01-28 09:20:10 +01:00
Olivier Galibert
f2a9d4e90a
oops (nw)
2015-01-25 21:38:11 +01:00
couriersud
18d5da6b0b
Changed osd_font to struct osd_font and removed unnecessary osdepend.h
...
includes.
2015-01-17 15:59:43 +01:00
couriersud
4a7c1200bd
Merge branch 'master' of https://github.com/mamedev/mame.git
2015-01-17 15:57:06 +01:00
couriersud
0c10c6794e
Put osdcore.o into libutil.a to avoid linking errors on debug builds.
...
This is a workaround. All osd_printf functions are in reality core
functions given they are built around delegates and abuse delegates
heavily. Therefore they should be moved to util at some point. (nw)
2015-01-17 15:32:40 +01:00
Oliver Stöneberg
e11953e91d
added missing catch in chd_file_compressor::async_read() and chdman main() (nw)
...
happens when e.g. disk is full
2015-01-16 18:03:34 +01:00
Miodrag Milanovic
fb4695be0a
Made all compile for Lua 5.3 (nw)
2015-01-13 18:44:26 +01:00
Miodrag Milanovic
736cc5469d
Use $(INCPATH) only where needed
2015-01-13 11:50:42 +01:00
Miodrag Milanovic
22135611b3
Fix compile and cleanup includes (nw)
2015-01-11 08:33:45 +01:00
Miodrag Milanovic
05bb04cd29
Fix compile (nw)
2015-01-11 08:29:43 +01:00
Miodrag Milanovic
6a23c2f3b7
Added full lzma sdk source (nw)
2015-01-11 08:10:25 +01:00
Miodrag Milanovic
45ac9b351e
Moved softfloat to 3rdparty (nw)
2015-01-10 21:45:26 +01:00
Miodrag Milanovic
27668e9b69
fix compile (nw)
2015-01-10 19:42:43 +01:00
Miodrag Milanovic
4663084cfa
Updated flac so it can compile, applied changes from previous source (nw)
2015-01-10 19:14:57 +01:00
Miodrag Milanovic
fa3f99377c
Added full source of flac-1.2.1 (nw)
2015-01-10 18:42:37 +01:00
Miodrag Milanovic
a53c872405
fix osx compile (nw)
2015-01-10 18:21:07 +01:00
Miodrag Milanovic
1b189eac62
Fix linux compile (nw)
2015-01-10 18:02:18 +01:00
Miodrag Milanovic
2412275296
Ported changes done in previous source to make portmidi compile (nw)
2015-01-10 17:42:41 +01:00
Miodrag Milanovic
1273e97e73
Placed full code of portmidi in 3rdparty folder (nw)
2015-01-10 16:58:11 +01:00
Miodrag Milanovic
b3382b22d3
Added full Lua 5.2.3 source (nw)
2015-01-10 14:57:10 +01:00
Miodrag Milanovic
72d8f8fd36
Added more resent lsqlite3 version and fixed compile
2015-01-10 14:53:39 +01:00
Miodrag Milanovic
001b907d02
added lsqlite3 full source
2015-01-10 14:50:15 +01:00
Miodrag Milanovic
ecc0d5a977
Added full LuaBridge sources
2015-01-10 14:05:06 +01:00
Miodrag Milanovic
02d37b6915
Added integral version of jsoncpp source (nw)
2015-01-10 13:53:11 +01:00
Miodrag Milanovic
8556d0cdf7
Added integral source of mongoose (nw)
2015-01-10 13:30:30 +01:00
Miodrag Milanovic
61f7cd05df
Added integral source of sqlite3 to 3rdparty (nw)
2015-01-10 13:25:50 +01:00
Miodrag Milanovic
b0640c888b
Added integral libjpeg 8c to 3rdparty folder (nw)
2015-01-10 12:32:56 +01:00
Miodrag Milanovic
c4fa7719b1
Added integral version of WinPcap SDK (nw)
2015-01-10 12:21:12 +01:00
Miodrag Milanovic
2c9a5344f3
Added integral version of expat (nw)
2015-01-10 11:59:27 +01:00
Miodrag Milanovic
31251f6c09
Added integral version of zlib in 3rdparty folder (nw)
2015-01-10 11:51:23 +01:00
peterferrie
a2ad5f9e2d
(MESS) ap2_dsk: don't allocate 2Mb of *stack*, malloc() instead [Peter Ferrie]
2015-01-03 21:39:54 -08:00
peterferrie
ff73a6a116
support 800k ProDOS order (.po) disks
2015-01-02 22:41:39 -08:00
couriersud
fde220f4a7
Palettes are now copied during get_primlist. This should fix
...
multithreading related palette issues. Along the way also
- added constructors to SDL osd structs
- changed related malloc to global_alloc
- added a copyfrom routine to dynamic_array
- minor code simplifications.
2015-01-01 22:13:55 +01:00
Oliver Stöneberg
42838dabef
fixed MemorySanitizer linking (nw)
2014-12-31 18:24:17 +01:00
Oliver Stöneberg
a5d088839e
chdman: bail out in chd_file::hunk_info() on unknown compression type (nw)
2014-12-31 14:18:52 +01:00
Oliver Stöneberg
f563f3bbf2
more ThreadSanitizer data race warning "fixes" (nw)
2014-12-31 11:43:50 +01:00
Miodrag Milanovic
e6f78d5ed2
Cleanups and version bump
2014-12-31 07:53:27 +01:00
Wilbert Pol
dedb5c5d22
Move some includes around to fix compile errors on OSX; if this breaks any other environments then feel free to revert this. (nw)
2014-12-29 23:23:51 +01:00
Oliver Stöneberg
81e4dde0c8
fixed SANITIZE=thread linking (nw)
2014-12-29 18:56:40 +01:00
Robert
4db0f3b64d
(MESS) excalibur : starting to add floppy support (nw)
...
(note: using old wd17xx because new wd crashes when the disk is loaded up)
2014-12-20 10:55:14 +11:00
Fabrice Bellet
47ba3927db
debug: fix the avl trees logic
...
The ancestor heights of a node were not updated properly.
2014-12-18 08:27:14 +01:00
etabeta78
63cd42b04f
unneeded variable can be removed. nw.
2014-12-12 06:46:03 +01:00
Scott Stone
e58af37d83
Allow for compiling, please revisit! (nw)
2014-12-11 19:59:35 -05:00
Curt Coder
af46cb98f9
(MESS) c8050: Floppy WIP. (nw)
2014-12-11 19:36:13 +02:00
etabeta78
d7e0e01987
renamed the disk formats, since I cannot exclude some of them are used
...
also for x68000 disks... nw.
2014-12-11 14:30:57 +01:00
etabeta78
3be466937c
(MESS) pc98: added support for disks in .fdd format. [Fabio Priuli]
2014-12-11 14:14:18 +01:00
etabeta78
76aeb0cc45
fixed visual studio and possibly more. nw.
2014-12-11 14:12:14 +01:00
etabeta78
83e89c1ff9
(MESS) pc98: added preliminary support for disks in DCP, DCU, DIP
...
and NFD formats. [Fabio Priuli]
2014-12-10 22:49:21 +01:00
Curt Coder
beb6c17ced
(MESS) victor9k: Floppy WIP. (nw)
2014-12-08 17:12:58 +02:00
Curt Coder
bd1c776e89
(MESS) victor9k: Floppy WIP. (nw)
2014-12-06 19:05:13 +02:00
Oliver Stöneberg
12644da60f
fixed typo in new FLAC include path (nw)
2014-12-06 14:32:23 +01:00
Oliver Stöneberg
3663ef3e42
moved some FLAC files around to match the distribution package structure (nw)
2014-12-06 13:33:14 +01:00
Curt Coder
c0fa75215f
[MESS] victor9k: Floppy WIP. (nw)
2014-12-04 22:04:16 +02:00
Curt Coder
f7f3a6e9d2
(MESS) victor9k: Floppy WIP. (nw)
2014-12-03 16:33:29 +02:00
Zoë Blade
44322992e5
Fix various typos
...
Squashed commit of the following:
commit 040fd169bfd6845b33d3f86fd66afb4a632605c6
Author: Zoë Blade <zoe@bytenoise.co.uk>
Date: Sun Nov 30 22:24:30 2014 +0000
Fix more typos in comments
commit 6121ae593008a574735427e047fdb7a16f4fa47f
Author: Zoë Blade <zoe@bytenoise.co.uk>
Date: Sun Nov 30 22:20:37 2014 +0000
Fix more typos
Not all are in comments this time, but the vast majority are, and
the rest are in printed text. None are variable or constant names.
commit 84bc72573009bb46f5601f7257a7f7538f25cfc2
Author: Zoë Blade <zoe@bytenoise.co.uk>
Date: Sun Nov 30 22:01:46 2014 +0000
Fix some typos
2014-11-30 22:29:32 +00:00
Justin Kerk
8d02626b28
Unicode combining accents go after the base character (nw)
2014-11-29 11:43:01 -08:00
hap
50a4e57f10
added macros for calculator button symbols, like eg. squareroot
2014-11-29 14:49:40 +01:00
Miodrag Milanovic
ebeaa953a3
Cleanups and version bump
2014-11-26 10:37:58 +01:00
hap
d4ace3a147
1 more bad byte found in stopthie, confirmed by seanriddle
2014-11-18 02:20:53 +01:00
hap
5ff81247cf
cleanup
2014-11-17 13:56:13 +01:00
hap
aa3fc0376f
nw
2014-11-16 05:51:55 +01:00
hap
301af68a06
made plaparse less strict about whitespace and ordering, and added .phase keyword
2014-11-16 05:01:08 +01:00
hap
493317356e
fix compile
2014-11-15 01:49:20 +01:00
Curt Coder
13f7f17a37
(MESS) victor9k: Floppy WIP. (nw)
2014-11-05 21:24:26 +02:00
Curt Coder
37a7ded8af
(MESS) victor9k: Floppy WIP. (nw)
2014-11-04 23:37:05 +02:00
arbee
4532e4e7a6
OS/2 build fixes [KO Myung-Hun]
2014-11-03 19:48:51 -05:00
Curt Coder
af8b0eedcd
(MESS) victor9k: Floppy WIP. (nw)
2014-11-03 22:53:00 +02:00
Curt Coder
eee1cbdc5e
(MESS) victor9k: Floppy WIP. (nw)
2014-11-03 22:00:29 +02:00
etabeta78
ce28862753
enabled a few C64 cart types from fullpath (.crt format), sync castool
...
with the supported tape formats + fixed misc typos and c'n'p mistakes
reported by Riley110. nw.
2014-11-03 12:35:14 +01:00
Curt Coder
9f107c0d7f
(MESS) victor9k: Floppy WIP. (nw)
2014-11-02 13:06:25 +02:00
Olivier Galibert
2bac99ca3f
d88_dsk: Support some incorrect images [O. Galibert]
2014-10-31 12:08:49 +01:00
Olivier Galibert
f22371f389
ap2_dsk: edd support [O. Galibert]
2014-10-27 14:35:22 +01:00
Olivier Galibert
2d2afa9ed9
ap2_dsk: Fix broken detection of dsk [O. Galibert]
2014-10-27 14:35:15 +01:00
etabeta78
7e23a90317
(MESS) spc1000: added support for tapes in .cas format [Fabio Priuli]
...
(MESS) spc1000: added emulation of joystick inputs [Fabio Priuli]
(MESS) added software list for Samsung spc1000 tapes [Fabio Priuli]
out of whatsnew: addition of joystick support made playable Space Invaders, Super Xevious, The Goonies and King's Valley.
2014-10-24 06:10:24 +02:00
smf-
63682564b2
fixed the other __MSC_VER (nw)
2014-10-23 20:50:00 +01:00
smf-
f889456b7c
fix building with MSVC (nw)
2014-10-23 18:28:07 +01:00
Curt Coder
e7bb5261c6
line ending changes?
2014-10-23 09:49:14 +03:00
Miodrag Milanovic
b733e0312c
Fix compile on official tools (nw)
2014-10-23 08:39:28 +02:00
Miodrag Milanovic
2cc8e27769
line endings (nw)
2014-10-23 08:23:44 +02:00
peterferrie
bafe1596c8
winpcap: add WinPCap headers to the project;
...
windows.mak: include WinPCap headers during Windows build; suppress MSVC debug build warning
2014-10-22 17:25:03 -07:00
Miodrag Milanovic
c93ed344fb
Cleanups and version bump
2014-10-15 07:19:47 +00:00
Sandro Ronco
54047d6b53
(MESS) dmv: added floppy softlist. [Sandro Ronco]
...
(MESS) floppy: added read-only support for CopyQM images. (nw)
2014-10-10 19:28:34 +00:00
Robbbert
a9534ec259
(MESS) fixed compile.
2014-10-08 23:38:34 +00:00
Wilbert Pol
5e8c2a11b2
(MESS) msx.c: Added support for DMK floppy images. [Wilbert Pol]
2014-10-08 20:49:24 +00:00
R. Belmont
4ef1aa7884
(MESS) More sector order heuristics. (nw)
2014-10-04 15:38:48 +00:00
R. Belmont
61e367ad21
(MESS) concept: Add 5.25" DSDD raw image support and preliminary pseudo-DMA to buffered controller. [R. Belmont]
2014-09-29 03:07:47 +00:00
Scott Stone
b52a88cc03
Changing #includes for headers that are part of toolchain and not part of any source/external library. Removal of references to messvers.rc as it does not appear to be used anymore. (nw)
2014-09-29 02:00:23 +00:00
Michael Zapf
71158c181d
Removed unused variables.(nw)
2014-09-26 19:54:04 +00:00
Michael Zapf
437d5c5008
(MESS) hdc9234 still WIP, HFDC fixes, disk formats re-implemented for
...
modernized floppy system. (nw)
2014-09-26 18:35:07 +00:00
Michael Zapf
29da7f8748
(MESS) ti99: Changed logging for HFDC and interleave for MFM. (nw)
2014-09-13 22:56:36 +00:00
Michael Zapf
a40947caa0
(MESS) ti99: A single missing character breaks a floppy format.(nw)
2014-09-12 13:08:15 +00:00
R. Belmont
66944180b0
(MESS) Stop trashing DiskCopy 4.2 images that don't have tags. [R. Belmont]
2014-09-11 02:34:21 +00:00
Oliver Stöneberg
2320947534
replaced a few more exit() calls with fatalerror() (nw)
2014-09-10 17:46:04 +00:00
Oliver Stöneberg
4842f0443f
added another note about memory leak (nw)
2014-09-10 06:40:41 +00:00
Oliver Stöneberg
6bcb3a3bd9
added note about memory leak (nw)
2014-09-10 06:39:13 +00:00
Oliver Stöneberg
80428c91fc
do not start tagmap lookup counting until everything is initialized / tagmap lookups are now properly shown for each execution when running multiple sets from built-in UI instead of only when exiting MAME completely (nw)
2014-09-09 20:29:57 +00:00
Oliver Stöneberg
82a99c4452
moved tagged_list:: out of tagged_list to make it catch-able / handle add_exception / updated exception handling unidasm to match the main one and return a proper exitcode in case of an error (nw)
2014-09-08 18:46:40 +00:00
Miodrag Milanovic
5c2cb9598f
Updated to latest mongoose (nw)
2014-09-08 06:48:59 +00:00
Wilbert Pol
d72b678f73
msx_dsk.c: Add support for 81 track images (nw)
2014-09-06 10:04:52 +00:00
Miodrag Milanovic
c686a4621e
Update to latest mongoose (nw)
2014-09-02 11:57:12 +00:00
Olivier Galibert
817f57e908
mfi_dsk: Fix leaks [O. Galibert]
2014-08-28 15:14:05 +00:00
R. Belmont
51e2c71c75
(MESS) Support ProDOS-order Pascal 1.3 images [R. Belmont]
2014-08-17 04:02:13 +00:00
Sandro Ronco
3655dc8ec8
(MESS) dmv: added expansions slot interface. [rfka01, Sandro Ronco]
...
(MESS) dmv: added boot ROMs from 4 different boards. [rfka01]
2014-08-15 07:30:57 +00:00
R. Belmont
5981166a84
Fix Clang compile (nw)
2014-08-10 21:14:26 +00:00
R. Belmont
23eddd0440
flopimg: don't trash a bunch of memory when loading legacy floppies. [R. Belmont]
2014-08-09 18:48:12 +00:00
Olivier Galibert
2c0c401608
duh (nw)
2014-08-09 13:12:31 +00:00
Olivier Galibert
c6da8ca408
floppy: Handle half and quarter tracks [O. Galibert]
2014-08-09 12:36:09 +00:00
mahlemiut
f74bc6fd94
gimix: added software list, fixed regression with booting Gimix Flex 3.6, added 8 inch floppy drive support.
2014-07-28 10:33:26 +00:00
Sandro Ronco
b5a05a2945
(MESS) Allow kc85_[2-5] to boot from floppy again.
2014-07-27 21:14:51 +00:00
Miodrag Milanovic
6b280cd397
Cleanups and version bump
2014-07-23 06:10:36 +00:00
Miodrag Milanovic
79246ab917
More cleanups, there is issue with srcclean that needs to be taken care as well, just doing now what we can
2014-07-22 06:21:54 +00:00
Miodrag Milanovic
5d7e1fcc62
Cleanups and version bump
2014-07-22 06:14:55 +00:00
mahlemiut
a57151a7da
gimix: corrected FDC clock, Gimix Flex 4.3 is now bootable.
2014-07-15 10:43:28 +00:00
R. Belmont
13a2f1ec0b
(MESS) apple3: now using the cycle-accurate floppy emulation. [R. Belmont]
2014-07-04 01:44:26 +00:00
mahlemiut
fe28eca130
flex_dsk: add workaround for Gimix Flex 3.6 expecting tracks 1 and 2 to be MFM. It will now also boot. (no whatsnew)
2014-06-26 07:26:11 +00:00
mahlemiut
6fb8e08e0d
flex_dsk: added support for some double-sided disk sizes. 800kB disk images are now readable. (no whatsnew)
2014-06-26 02:19:22 +00:00
mahlemiut
eefb405ff1
gimix: added support for Flex DSK disk images, will now boot Gimix Flex 3.3.
2014-06-26 00:23:24 +00:00
R. Belmont
ad915921be
(nw)
2014-06-22 03:16:21 +00:00
R. Belmont
d2d865c800
(MESS) apple2: Support some oddball sized disk images and DOS 3.3 disks that were ripped in ProDOS sector order. [R. Belmont]
2014-06-22 03:13:07 +00:00
Miodrag Milanovic
6d33394fb6
Added LuaBridge and exposed few classes as example (nw)
2014-06-20 12:15:24 +00:00
Miodrag Milanovic
9660d58c21
sync with main mongoose branch, includes all our patches so far as well (nw)
2014-06-16 10:05:00 +00:00
Oliver Stöneberg
1c0b5ad7ab
added comment to lua modification (nw)
2014-06-16 07:37:06 +00:00
Oliver Stöneberg
a89b052f03
fixed Visual Studio compiler warning in src/lib/lua/lib/lsqlite3.c (nw)
2014-06-16 07:26:06 +00:00
Miodrag Milanovic
dd8c59687f
Update to latest (nw)
2014-06-16 06:38:30 +00:00
mahlemiut
78ded05aef
dim_dsk: fix 2HS image loading (can now boot Illumination LASER from floppy)
2014-06-16 01:31:54 +00:00
Scott Stone
e97ae4ed01
Compile fix for DEBUG=1 builds, 32-bit, GCC 4.6.3 (nw)
2014-06-12 21:01:34 +00:00
Miodrag Milanovic
84f70285df
Updated mongoose and fixed initial websocket connecte to client (nw)
2014-06-12 07:03:23 +00:00
Scott Stone
f4d741ca06
rainbow.c: New floppy code - uses more reliable 'wd_fdc'. [Bavarese]
...
i86.c: Four new 8086 opcode aliases: 0xc0 is 0xc2; 0xc1 = 0xc3; 0xc8 = 0xca; 0xc9 = 0xcb as documented at OS 2 Museum. [Bavarese]
rx50_dsk.h/c: Rainbow specific; The RX50 _disk drive_ was used in different architectures. Floppy format used by Rainbow-100 and -190. Track layout (post-amble, some positions) yet unverified. Currently only raw 400 K disk dumps are supported (*.img). [Bavarese]
2014-06-09 00:42:53 +00:00
Dirk Best
d93c9277c8
vtech1: Use the slot system for I/O and Memory expansion slots. Emulate
...
the newly dumped RS-232 cartridge. Add support for the WordPro
cartridge. Cleanup driver.
2014-06-07 09:57:00 +00:00
Miodrag Milanovic
77131e31bb
Link fix for some linux-es (nw)
2014-06-06 12:07:35 +00:00
Miodrag Milanovic
45608a62c0
Compile fix from qmc2 author (nw)
2014-06-06 11:36:45 +00:00
Miodrag Milanovic
991212c069
-Created machine_manager as singleton class that contains (for now) one running machine [Miodrag Milanovic]
...
-Updated LUA engine to run in machine_manager instead of being initialized per machine
-Added "-console" option so emulator can be started with LUA enabled console
-Update LUA to version 5.2.3
-Enabled SQLite3 to be compiled and added LUA module for it
2014-06-06 10:11:31 +00:00
Miodrag Milanovic
4dd095bfb5
Added SQLite3 for future use, not linked in main binary till proved compiling good on all platforms (nw)
2014-06-04 11:53:08 +00:00
Miodrag Milanovic
f3a29b9b2b
Updated to latest mongoose, used new added features (nw)
2014-06-04 08:10:44 +00:00
Curt Coder
82f7387896
(MESS) ql: Expansion WIP. (nw)
2014-06-03 10:54:04 +00:00
Miodrag Milanovic
06f43bd01c
reverted due to breaking official toolchain and 4.8.2 32 bit is buggy as hell (nw)
2014-05-31 06:52:58 +00:00
cracyc
1d64e071a7
x68k: make screen rgb and split palette (nw)
...
mongoose: mingw-gcc 4.8 compile fix (nw)
2014-05-30 22:40:20 +00:00
Scott Stone
9e9d50d798
Compile fix for some GCCs - patch sent to author - from Micko. (nw)
2014-05-30 13:48:47 +00:00
Curt Coder
0e87a7b58c
clang compile fix, please submit to mongoose baseline. (nw)
2014-05-30 12:16:03 +00:00
Miodrag Milanovic
ff99c901e9
Updated to latest mongoose code in agreement with author (nw)
2014-05-30 10:18:47 +00:00
Oliver Stöneberg
f2b61c149c
disabled allocation logging (nw)
2014-05-16 12:46:42 +00:00
Oliver Stöneberg
5de2a39c86
re-applied safe corealloc changes (nw)
2014-05-16 11:33:39 +00:00
Scott Stone
4762e3a38f
Revert of r30457 per Micko (nw)
2014-05-15 19:06:32 +00:00
Oliver Stöneberg
36ad612f60
corealloc adjustments:
...
- re-enabled default memory initialization in DEBUG builds (should make random crashes less random)
- moved defines from header to source since they are only used locally and not globally
- added file/line information to global_free* and fixed src/emu/sound/spu.c compilation
2014-05-15 12:09:20 +00:00
Oliver Stöneberg
7df2680c96
return an error when trying to use a .7z file with zippath - for now (nw)
2014-05-14 09:58:56 +00:00
Olivier Galibert
7e22428d6a
ipf: Fix #1360 [O. Galibert]
2014-05-11 17:17:32 +00:00
Miodrag Milanovic
69faaf3aeb
-Reorganized OSD, handling more sound output systems and debuggers, defaults left same as before [Miodrag Milanovic]
...
-Created osd_options as base option class for non-system specific options
2014-05-08 07:39:04 +00:00
cracyc
4b0f0aae85
pc_dsk: doh (nw)
2014-05-05 12:35:48 +00:00
cracyc
983225cd17
pc_dsk: 1.2MB floppies have 80 tracks (nw)
2014-05-05 03:25:22 +00:00
Oliver Stöneberg
89fea7921b
small FASTDEBUG optimization
2014-05-03 09:42:19 +00:00
Wilbert Pol
50150040e2
(MESS) msx.c: Floppy cleanup (nw)
2014-04-29 20:16:10 +00:00
R. Belmont
bd320e789d
CHD cleanups: [MetalliC]
...
- Double quote filenames with spaces when writing .gdi files
- Give audio files .raw extension when writing .gdi files
- cdrom_read_subcode() now returns false if the image doesn't contain subcodes
2014-04-28 01:57:31 +00:00
Oliver Stöneberg
6b0355117f
small cleanup in formats headers (nw)
2014-04-26 06:54:46 +00:00
Robbbert
84bbd78250
(MESS) fc100 : revert r29831
2014-04-23 10:19:25 +00:00
Robbbert
74f2efb158
(MESS) fc100 : seems cassette frequencies are 600/1200, so halved everything.
...
Also fixed unreliable loading by initialising some variables.
2014-04-22 10:36:55 +00:00
Michaël Banaan Ananas
adcf35ce1c
The product model is FC-100, FC stands for Famicom. Goldstar have made several "FC" homecomputers including an MSX1 called FC-200.
2014-04-20 20:09:01 +00:00
David Haywood
98cd4bf32f
this needs fixing properly, but it currently gets in the way during profiling ICL builds (nw)
2014-04-20 15:36:09 +00:00
Robbbert
67ad2ee836
(MESS) fc100 : added support for CAS-format files.
2014-04-20 13:43:19 +00:00
R. Belmont
f68ffa0afc
cdrom: fix uninitialized flags [MetalliC]
2014-04-18 13:43:14 +00:00
R. Belmont
f6b91cc23d
don't memset structs or classes in C++, fixes regression from last commit (nw)
2014-04-18 12:29:25 +00:00
Olivier Galibert
ec653f9969
Fix r29545 w.r.t sockets and friends (nw)
2014-04-18 09:11:11 +00:00
R. Belmont
3eb1f14701
chd updates: [MetalliC]
...
- Bugfixed byte order for GD-ROM audio tracks so FLAC compression is effective
- Fixed uninitialized struct on MSVC (and possibly other) builds
nw: this will change the SHA1s of every GD-ROM CHD in MAME; a patch to reflect that is pending (the old images still work, they just take a little more space than is necessary). "chdman copy" suffices to upgrade; no downloading is necessary.
2014-04-18 02:05:33 +00:00
Miodrag Milanovic
67663501d7
Moved eminline and related files into /src/osd since it's system related (nw)
...
Moved delegates into /src/lib/util to enable usage of delegates in other project parts
Moved mame_printf_* calls into /src/osd/osdcore.c and renamed them to osd_printf_*
Changed mess.mak to display compilation of ymmu100.ppm nicely
2014-04-16 08:04:20 +00:00
R. Belmont
d46cefb791
(nw)
2014-04-12 20:45:18 +00:00
R. Belmont
4507757178
(MESS) Apple II: implemented cycle-exact Disk II floppy controller using the modern floppy subsystem. [O. Galibert, R. Belmont]
2014-04-12 20:20:11 +00:00
Olivier Galibert
5e378738aa
Oric 1: Spring cleaning [O. Galibert]
...
Putting back the apple2 disk2 in the Pravetz 8D will wait until the
next generation one is finalized.
2014-04-12 15:15:20 +00:00
R. Belmont
b7ae2ab921
Fixes for PowerPC AltiVec compile [Vas Crabb]
2014-04-12 13:01:16 +00:00
Olivier Galibert
b571376198
corefile: Don't crash on 0-length files [O. Galibert]
2014-04-11 23:33:45 +00:00
cracyc
2130b87ae0
td0_dsk: cleanup (nw)
2014-04-09 13:46:04 +00:00
Oliver Stöneberg
0e35e130fd
small core_strwildcmp() optimization when empty strings are involved (nw)
2014-04-07 09:45:41 +00:00
Oliver Stöneberg
d63e60a4c8
small core_strwildcmp() clarification (nw)
2014-04-07 09:26:05 +00:00
Miodrag Milanovic
fec65e0b57
Cleanups and version bump
2014-04-07 06:04:18 +00:00
Curt Coder
6eafc6bb3f
(MESS) tandy2k: Tries to load DOS now. (nw)
2014-04-06 20:46:17 +00:00
Miodrag Milanovic
de513a0f98
reverting, sorry for this vconv needs to be updated (nw)
2014-03-31 10:23:22 +00:00
Miodrag Milanovic
2cc9ca4c5e
VS2013 x64 is little bit more anal about signed/unsigned comparison (nw)
2014-03-31 10:06:05 +00:00
Miodrag Milanovic
b297c61ebd
made MAME and MESS compile under VS2013, 32bit only for now (nw)
...
OG: please check things in H8 core, thing in timer16 can caused some issues in past
2014-03-31 08:29:30 +00:00
mahlemiut
6251ca5153
fmtowns: converted to use wd_fdc and modern floppy drive implementation.
2014-03-31 01:23:08 +00:00
Oliver Stöneberg
974677858b
small LSB_FIRST cleanup (nw)
2014-03-30 14:20:06 +00:00
Oliver Stöneberg
2d3b6aece1
some dynamic_buffer/dynamic_array usage cleanups (nw)
2014-03-29 19:40:53 +00:00
Oliver Stöneberg
eaf446ebc4
converted some malloc()/free() usage to dynamic_array/dynamic_buffer (nw)
2014-03-29 13:19:42 +00:00
Oliver Stöneberg
06ab983049
converted some more global_alloc_array() usage to dynamic_array/dynamic_buffer (nw)
2014-03-29 12:36:11 +00:00
Oliver Stöneberg
089ba456f4
converted some global_alloc_array() usage to dynamic_array/dynamic_buffer (nw)
2014-03-28 17:44:24 +00:00
Olivier Galibert
536dd63920
floppy: splice-related fixes [O. Galibert]
2014-03-26 14:16:43 +00:00
Oliver Stöneberg
75f2734a41
some comments (nw)
2014-03-24 22:27:38 +00:00
Oliver Stöneberg
6bd1f0b658
osd_* -> global_* compilation fixes (nw)
2014-03-24 22:16:44 +00:00
Oliver Stöneberg
7a135e058a
do not use osd_malloc/osd_free in non-OSD code (nw)
2014-03-24 21:56:16 +00:00
Oliver Stöneberg
b52f668f13
some mismatched malloc/free usage with osd_* functions (nw)
2014-03-24 21:44:43 +00:00
Oliver Stöneberg
856bc222f8
libflac: changed HAVE_CONFIG_H checks to be as intended - will be fixed upstream as well (nw)
2014-03-24 04:56:25 +00:00
Fabio Priuli
5ec50b1f09
this fix (borrowed from libflac 1.3.0) works as well in OSX 10.6.8. I hope it compiles
...
fine under other environments too. Thanks to Firewave for pointing it out. nw.
2014-03-22 13:44:19 +00:00
Fabio Priuli
65c5fdfb58
sorry but these still break compilation under last Xcode available for my
...
OSX 10.6.8 environment, as they were doing before rev 16136 (comparison
always true due to limited range of the variables). nw.
2014-03-22 11:25:38 +00:00
Oliver Stöneberg
1907b48643
and more global_free() -> global_free_array()(nw)
2014-03-17 17:15:03 +00:00
Aaron Giles
19bd5c8117
Nuke some more auto_allocs.
2014-03-16 05:41:28 +00:00
cracyc
ff808d1af4
i8089: channel priorities [Carl]
...
i8251: fix rx (nw)
z80dart: fix rx (nw)
imd_dsk: fix free array crash (nw)
(mess) isbc_215g: hdd seeks (nw)
2014-03-12 21:43:05 +00:00
Oliver Stöneberg
6dba2e1ba2
fixed clang -Wunused-const-variable warning in libflac (nw)
2014-03-12 16:57:23 +00:00
Justin Kerk
446ac03dd9
Allow JSMESS to compile with -Werror (nw)
2014-03-12 16:22:04 +00:00
Oliver Stöneberg
35c14d7114
reverted change to src/lib/lib.mak (nw)
2014-03-12 16:01:18 +00:00
Oliver Stöneberg
5a6a00661e
fixed libflac compilation for older clang versions (nw)
2014-03-12 15:26:27 +00:00
Jonathan Gevaryahu
840462f583
remove duplicate type definition of FPTR, fix compile on GCC 4.4.7
...
(other definition is in osdcomm.h, which pmwinmm.c #includes right above the duplicated definition)
2014-03-12 02:28:49 +00:00
Oliver Stöneberg
d965157fcc
more clang and Linux compilation fixes (nw)
2014-03-11 17:27:39 +00:00
Oliver Stöneberg
c8ea1c0d04
fixed GCC/clang compilation / fixed some forward declarations (nw)
2014-03-11 17:13:40 +00:00
Aaron Giles
b81f497a93
Fix a couple of compile errors, leftover debugging.
2014-03-11 15:58:45 +00:00
Aaron Giles
4ea9df02a1
Moved core template container classes up from emutempl.h to coretmpl.h:
...
[Aaron Giles]
* these classes now no longer take a resource_pool; everything is
managed globally -- this means that objects added to lists must be
allocated with global_alloc
* added new auto_pointer<> template which wraps a pointer and auto-frees
it upon destruction; it also defaults to NULL so it doesn't need to
be explicitly initialized
* moved tagged_list template to tagmap.h
Redo of the low-level memory tracking system: [Aaron Giles]
* moved low-level tracking out of emu\emualloc into lib\util\corealloc
so it can be shared among all components and used by core libraries
* global_alloc and friends no longer use a resource pool to track
allocations; turns out this was a wholly redundant system that wasted
a lot of memory
* removed global_resource_pool entirely
* added global_free_array to delete arrays allocated with
global_alloc_array
* added tracking of object versus array allocation; we will now error
if you use global_free on an array, or global_free_array on an object
Added new utility helper const_string_pool which can be used to
efficiently accumulate strings that are not intended to be modified.
Used by updated makelist and software list code. [Aaron Giles]
Updated png2bdc and makelist tools to not leak memory and use more modern
techniques (no more MAX_DRIVERS in makelist, for example). [Aaron Giles]
Deprecated auto_strdup and removed all uses by way of caller-managed
astrings and the software list rewrite. [Aaron Giles]
Rewrote software list management: [Aaron Giles]
* removed the notion of a software_list that is separate from a
software_list_device; they are one and the same now
* moved several functions into device_image_interface since they really
didn't belong in the core software list class
* lots of simplification as a result of the above changes
Additional notes (no whatsnew):
Moved definition of FPTR to osdcomm.h.
Some changes happened in the OSD code to fix issues, especially regarding
freeing arrays. SDL folks may need to fix up some of these.
The following devices still are using tokens and should be modernized
(I found them because they kept their token as void * and tried to
delete it, which you can't):
namco_52xx_device (mame/audio/namco52.c)
namco_54xx_device (mame/audio/namco54.c)
namco_06xx_device (mame/machine/namco06.c)
namco_50xx_device (mame/machine/namco50.c)
namco_51xx_device (mame/machine/namco51.c)
namco_53xx_device (mame/machine/namco53.c)
voodoo_device (emu/video/voodoo.c)
mos6581_device (emu/sound/mos6581.c)
aica_device (emu/sound/aica.c)
scsp_device (emu/sound/scsp.c)
dmadac_sound_device (emu/sound/dmadac.c)
s3c2440_device (emu/machine/s3c2440.c)
wd1770_device (emu/machine/wd17xx.c)
latch8_device (emu/machine/latch8.c)
duart68681_device (emu/machine/68681.c)
s3c2400_device (emu/machine/s3c2400.c)
s3c2410_device (emu/machine/s3c2410.c)
strataflash_device (mess/machine/strata.c)
hd63450_device (mess/machine/hd63450.c)
tap_990_device (mess/machine/ti99/990_tap.c)
omti8621_device (mess/machine/omti8621.c)
vdt911_device (mess/video/911_vdt.c)
apollo_graphics_15i (mess/video/apollo.c)
asr733_device (mess/video/733_asr.c)
2014-03-11 15:54:58 +00:00
Oliver Stöneberg
485142eb87
added TODOs about potential overflows in core_i64_hex_format() and core_i64_oct_format()
2014-03-10 22:28:24 +00:00
Robbbert
eaa9538d9f
(MESS) applix : corrected file-ext of disks
2014-03-10 10:55:45 +00:00
Michael Zapf
aa7f94d246
(MESS) Floppy modernization, part 2.
2014-03-09 23:04:16 +00:00
Michael Zapf
4415ff8329
Moved sbyte_mfm_r out of private area to make it accessible to format
...
implementations. (nw)
2014-03-09 22:58:11 +00:00
Oliver Stöneberg
4532da6717
re-enabled checks in src/lib/libflac/libFLAC/memory.c / removed definition of SIZE_MAX in src/lib/libflac/include/share/alloc.h (nw)
2014-03-06 16:05:26 +00:00
Oliver Stöneberg
c51ae78d02
fixed reading of bits/sample in parse_wav_sample() on big-endian systems (nw)
2014-03-06 13:46:46 +00:00
Oliver Stöneberg
2d66475bbe
restored some libflac code omitted in initial commit allowing big-endian compilation without hacks (nw)
2014-03-06 12:52:23 +00:00
Oliver Stöneberg
b26c3a4d61
removed a modification from a libflac file we don't even use (nw)
2014-03-06 09:43:50 +00:00
Oliver Stöneberg
067a651421
re-enabled log message I disabled when I was messing around with DEBUG for external libraries (nw)
2014-03-06 09:17:14 +00:00
Oliver Stöneberg
1b0946ae88
re-added some libflac code, that was missing/disabled in the initial commit (nw)
2014-03-06 08:56:40 +00:00
Oliver Stöneberg
87c116cf1a
pass VERSION define via compiler flags to libflac (nw)
2014-03-06 03:59:12 +00:00
Oliver Stöneberg
f6b0b18ad4
changed casing of FLAC folders to match official source distribution (nw)
2014-03-05 18:53:53 +00:00
Robbbert
174b7aa57e
(MESS) SOL20 : added partial support for SVT format (used in Solace emulator) [Robbbert]
2014-03-04 11:57:46 +00:00
Curt Coder
57dafc93ed
Fixed memory leak. (nw)
2014-03-03 07:24:39 +00:00
Robbbert
f273d09bd5
(MESS) microbee : added support for TAP and BEE formats (used in ubee512 emulator) [Robbbert]
2014-02-27 13:01:33 +00:00
Oliver Stöneberg
e86e124aa7
fixed ubsan invalid vptr error with dynamic_array<hash_pair> in struct work_item (nw)
2014-02-26 00:43:11 +00:00
Oliver Stöneberg
5278254236
rest of ATTR_PRINTF review (nw)
2014-02-25 12:25:33 +00:00
Robbbert
c828d34891
(MESS) sorcerer : added .TAPE cassette format [Robbbert]
2014-02-23 11:11:58 +00:00
Oliver Stöneberg
c6f92ae843
fixed non-DEBUG build (nw)
2014-02-21 10:54:07 +00:00
Oliver Stöneberg
23a39b0b0d
added DEBUG-only tagmap lookup counter (nw)
2014-02-21 10:37:27 +00:00
Oliver Stöneberg
3138b2c660
second round of clang 3.4 fixes for MESS (nw)
2014-02-20 18:18:29 +00:00
Aaron Giles
d8ba983889
#if 0 around some debugging code.
2014-02-20 18:11:51 +00:00
Aaron Giles
dd15b719a3
Another round of auto_alloc_array conversions.
...
Some minor enhancements to dynamic_array, including clearing to specific values
and expanding and clearing newly allocated values.
2014-02-20 18:11:00 +00:00
Oliver Stöneberg
9fa82ef4c3
first round of clang 3.4 fixes for MESS (nw)
2014-02-20 17:50:51 +00:00
Aaron Giles
df5a4f15f8
Removed some auto_mallocs in favor of dynamic_arrays.
...
Added option to clear dynamic_arrays; on gcc this should assert if not
done on POD (which is unsafe to memset).
2014-02-19 17:45:48 +00:00
Aaron Giles
57cfaa163e
Switched rgb_t to a class, replacing macros with methods. Mappings are
...
as follows:
MAKE_RGB(r,g,b) == rgb_t(r,g,b)
MAKE_ARGB(a,r,g,b) == rgb_t(a,r,g,b)
RGB_ALPHA(data) == data.a()
RGB_RED(data) == data.r()
RGB_GREEN(data) == data.g()
RGB_BLUE(data) == data.b()
RGB_BLACK == rgb_t::black
RGB_WHITE == rgb_t::white
Implicit conversions to/from UINT32 are built in as well as simple
addition, subtraction, and scaling (with clamping).
As a result of being a class, some stricter typing was needed in
a few places but overall not too much.
2014-02-19 06:07:32 +00:00
Curt Coder
c79f7b250e
(MESS) pc: Added support for Microsoft DMF 1.68MB disk images. [Curt Coder]
2014-02-18 21:31:34 +00:00
Curt Coder
23a704c620
(MESS) Cleanup. (nw)
2014-02-18 21:30:53 +00:00
Curt Coder
2e7bf618a5
(MESS) pc: Added support for NASLite 1.72MB disk images. [Curt Coder]
2014-02-18 21:30:36 +00:00
Aaron Giles
64d9280eb6
Change palette_t allocation so that it uses matching new/delete operators.
2014-02-18 17:41:16 +00:00
Aaron Giles
3e2995cbba
Converted palette_t and palette_client to classes. General palette.c
...
cleanup.
2014-02-18 08:05:44 +00:00
Robbbert
32c2989411
(MESS) spc1000 : Connected Play button. Added notes.
2014-02-17 04:02:09 +00:00
Robbbert
6a57b6378f
(MESS) spc1000 : added TAP cassette format [Robbbert]
2014-02-16 15:15:05 +00:00
Robbbert
f5aa9dc35d
(MESS) apf : added notes
2014-02-14 11:03:06 +00:00
Curt Coder
d71e453b40
g64_dsk: Added bit cell size detection on save. (nw)
2014-02-13 22:48:20 +00:00
Michael Zapf
77f48db87e
(MESS) Minor changes to tifdc; added 360K MFM format to ti99_dsk. (nw)
2014-02-13 16:20:00 +00:00
Robbbert
2bf72dad44
(MESS) apf : added back APT format once again.
...
Note that many APT files are actually APW format (still to be done).
2014-02-13 13:28:28 +00:00
Robbbert
c164e73a4b
(MESS) apf : added support for CAS and CPF cassettes [Robbbert]
...
removed APT support for the moment, it could not have ever worked.
2014-02-13 12:20:48 +00:00
Curt Coder
8dd7482652
(MESS) c64: Floppy WIP. (nw)
2014-02-12 22:05:12 +00:00
Olivier Galibert
be15b0b477
Formats detected with size only should not have a confidence higher than 50 (nw)
2014-02-12 17:59:45 +00:00
Michael Zapf
fb9183eb2c
(MESS) Changing to new floppy implementation, part 1.
2014-02-12 12:41:40 +00:00
Michael Zapf
c9be000d5c
Allow to overwrite find_size and customize offset computation.
2014-02-12 12:39:03 +00:00
Michael Zapf
40c1c87b73
Fixed sector extract for FM recording.
2014-02-12 11:58:29 +00:00
Curt Coder
d04e52ebcc
(MESS) pet: Floppy WIP. (nw)
2014-02-06 16:34:50 +00:00
Curt Coder
657b3018c2
(MESS) c64: Floppy WIP. (nw)
2014-02-04 15:32:09 +00:00
Robbbert
06b8402d65
(MESS) phc25 : a very small note
2014-02-04 13:08:37 +00:00
Curt Coder
1f68cb9336
Cleanup. (nw)
2014-02-03 23:00:04 +00:00
Curt Coder
8ee25c659a
nw
2014-02-03 16:09:18 +00:00
Curt Coder
b10cef380b
(MESS) Refactored the Commodore 1541/1551/1571/2031 disk drives to use the modern floppy system. [Curt Coder]
2014-02-03 15:59:54 +00:00
Robbbert
fb05c87a0d
(MESS) phc25 : can load .phc cassettes
2014-02-02 13:19:58 +00:00
Curt Coder
88cb180618
(MESS) d64_dsk: Fixed memory leak. (nw)
2014-01-24 10:16:53 +00:00
Curt Coder
c2158d2c10
(MESS) g64_dsk: Skip unformatted tracks. (nw)
2014-01-22 20:57:56 +00:00
Curt Coder
92f475be80
Fixed build. (nw)
2014-01-21 22:28:05 +00:00
Curt Coder
e04ec2a3dd
(MESS) g64_dsk: Fixed modern image loading. (nw)
2014-01-21 21:32:41 +00:00
Curt Coder
3076acd9b8
(MESS) compclr2: Added read-only support for Compucolor Virtual Floppy Disk Images. [Curt Coder]
2014-01-18 22:06:40 +00:00
Alex W. Jackson
727643ef08
clean up stray properties (nw)
2014-01-18 01:27:59 +00:00
Curt Coder
ff99d1fa0c
(MESS) compclr2: Video and floppy WIP. (nw)
2014-01-17 15:50:22 +00:00
Curt Coder
6cb839c2c5
diserial: Added framing error detection. [Curt Coder]
...
(MESS) compclr2: Floppy WIP. (nw)
2014-01-16 21:36:35 +00:00
Curt Coder
b7f7a73994
(MESS) compclr2: Floppy WIP. (nw)
2014-01-16 14:51:17 +00:00
Curt Coder
1310c56964
(MESS) compclr2: Emulated the keyboard and floppy WIP. (nw)
...
(MESS) dai: Updated to use new TMS5501. (nw)
tms5501: Rewrote the emulation to use devcb2 and diserial. [Curt Coder]
flopimg: Added preliminary support for the 8-N-1 serial encoding scheme used on Compucolor II floppies. [Curt Coder]
2014-01-15 17:10:28 +00:00
Curt Coder
e49e89bebd
(MESS) d64_dsk: Fixed number of tracks. (nw)
2014-01-15 15:21:22 +00:00
Michael Zapf
7fa1432265
Prevent clock bit to be deleted after CRC in FM. [Michael Zapf]
2014-01-05 16:25:21 +00:00
Miodrag Milanovic
ca546caa6e
Cleanups and version bump
2013-12-24 07:24:51 +00:00
Curt Coder
79471e5725
(MESS) bw12: Verified disk gap. (nw)
2013-12-20 16:01:39 +00:00
R. Belmont
32689882b2
(MESS) itt3030: start adding to the skeleton. [rfka01, R. Belmont]
2013-12-06 02:35:55 +00:00
Curt Coder
8c65ed2cd2
wd_fdc: Set CRC error bit if CRC error found during Read Address command. Tiki 100 determines whether the disk is in FM or MFM format by checking this. [Curt Coder]
...
(MESS) tiki100: Fixed CPU clock and floppy interface. [Curt Coder]
2013-11-19 19:10:00 +00:00
Curt Coder
3b210bda1f
(MESS) Floppy WIP. (nw)
2013-11-18 22:29:55 +00:00
Curt Coder
0d99a0d583
(MESS) tiki100: Floppy WIP. (nw)
2013-11-18 19:33:05 +00:00
Curt Coder
070a83ecff
(MESS) abc800: Fixed gap sizes. (nw)
2013-11-18 19:32:15 +00:00
Curt Coder
be0a79c499
(MESS) c1581: Verified gap sizes. (nw)
2013-11-18 19:31:53 +00:00
Curt Coder
3677fc1652
(MESS) adam: Added a second floppy drive and verified 160KB floppy image gap sizes. [Curt Coder]
...
(MESS) adam_flop.xml: Added disk utilities. [Curt Coder]
2013-11-18 19:31:27 +00:00
Curt Coder
2be8287d4f
(MESS) abc800: Fixed 80KB floppy cell size. (nw)
2013-11-17 21:41:05 +00:00
Curt Coder
2899f32419
(MESS) abc800: Fixed formatting on the ABC 830/832/834/838 floppy drives. [Curt Coder]
2013-11-17 11:47:56 +00:00
Curt Coder
a8449c0c4b
(MESS) abc800: Added support for raw 80KB and 160KB disk images. [Curt Coder]
2013-11-16 22:49:28 +00:00
Curt Coder
befe35436b
(MESS) abc800: Added support for raw 1MB 8" disk images. [Curt Coder]
2013-11-16 22:19:38 +00:00
Curt Coder
b63b1b54ae
(MESS) abc800: Added support for raw 640KB disk images. [Curt Coder]
...
(MESS) abc800: Fixed fast controller Z80 daisy chain, formatting a disk works now except for a not ready status after the last track. (nw)
2013-11-16 12:06:23 +00:00
Miodrag Milanovic
44d5c1b8ab
Cleanups and version bump
2013-11-05 06:59:51 +00:00
Sandro Ronco
1a4b917d7e
License tags. (nw)
2013-10-26 19:53:18 +00:00
R. Belmont
735c4e14c0
fix Xcode 5.0.1 build (nw)
2013-10-23 17:01:59 +00:00
Curt Coder
0b91c21b36
(MESS) Moved a bunch of buses under emu/bus. (nw)
2013-10-22 15:44:27 +00:00
R. Belmont
47c548e760
SDL: OS/2 build fixes [KO Myung-Hun]
2013-10-22 13:36:20 +00:00
Curt Coder
c704f0cef4
zippath.c: Fixed crash in debug builds. [somebody]
2013-10-18 19:41:59 +00:00
Curt Coder
846c70bee9
License tags. (nw)
2013-10-16 13:38:21 +00:00
Aaron Giles
71fbb5edc2
Added license tags to a few more files. Also converted many of OG's
...
BSD licenses to tags since when he copied & pasted them he forgot to
remove one instance of my name, which I caught while searching. ;-)
2013-10-16 09:38:09 +00:00
Aaron Giles
5d0ce54f9e
Bulk convert files that already had standard BSD license in my name
...
to new license tagged form.
2013-10-16 08:14:49 +00:00
cracyc
98652587d8
dim_dsk: add modern support [Carl]
...
x68k: make floppies work again [Carl]
hd63450: make it easier for external drq support (nw)
---
esq5505 is the only other user of the hd63450, needs to be tested
2013-10-14 17:44:51 +00:00
R. Belmont
3c4e5a1e36
m68k: add FSCALE instruction used by e.g. SimCity 2000 [R. Belmont]
2013-09-28 01:57:53 +00:00
smf-
46781347cd
fix for building with Visual Studio 2012 (nw)
2013-09-17 17:55:42 +00:00
Miodrag Milanovic
96aa5e1c08
Cleanups and version bump
2013-09-17 06:47:03 +00:00
Curt Coder
a2381079c4
(MESS) c128: Added support for double-sided Commodore GCR images to be used with the 1571 disk drive. Images can be created with e.g. "copy /b side0.g64+side1.g64 disk.g71" [Curt Coder]
2013-09-16 19:00:45 +00:00
Oliver Stöneberg
1db1801a5b
removed useless unsigned variable checks in src/lib/formats/ap_dsk35.c (nw)
2013-09-16 15:15:51 +00:00
R. Belmont
ed0fca39f2
cdrom: set GD flag for both "bare" and chd input (nw)
2013-09-07 18:23:58 +00:00
Oliver Stöneberg
2d650cda4e
updated zlib to 1.2.8 [Oliver Stöneberg]
2013-08-27 12:03:55 +00:00
cracyc
f1ab5c69a6
(mess) support raw compis images (nw)
2013-08-21 13:40:43 +00:00
Robbbert
c35e917810
Fixed possible crash on exit (nw)
2013-08-16 09:38:46 +00:00
Miodrag Milanovic
5f184e36d6
Moved webengine into separate file, added callbacks for websockets and made example for triggering ui on driver change, also added json for game driver (nw)
2013-08-12 13:56:55 +00:00
Angelo Salese
3310807d59
.hdm -> another raw image format, used by add_ssil so far
2013-08-07 21:43:56 +00:00
Angelo Salese
cf0c9f4215
Correct disk geometry for PC-98 raw images
2013-08-07 21:34:10 +00:00
Angelo Salese
6f47f6617f
Added raw formats for PC-98
2013-08-07 21:15:15 +00:00
Angelo Salese
24b8f9b0f3
Fix compile
2013-08-07 19:07:44 +00:00
Miodrag Milanovic
8e0dfc6525
this was not needed, putting back to original content (nw)
2013-08-07 17:58:42 +00:00
Miodrag Milanovic
ebbcb791d7
added json library and working example (nw)
2013-08-07 17:29:19 +00:00
Miodrag Milanovic
66b80a3c0a
Fix compile on windows :) (nw)
2013-08-07 14:02:03 +00:00
R. Belmont
c04db86241
fix Linux compile (nw)
2013-08-07 13:46:53 +00:00
Miodrag Milanovic
f1b81c7e98
Initial commit of internal web server, mostly to check compiling on various platforms (nw)
2013-08-07 07:20:01 +00:00
cracyc
254d025c68
td0_dsk:fix null sector case (nw)
2013-08-01 02:26:36 +00:00
Robbbert
11ce91cc22
fixed memory leak (thx to OG for the fix)
2013-07-31 08:25:53 +00:00
Robbbert
baaa4f2029
(MESS) kaypro : Added back the DSK format (still doesn't work!)
2013-07-29 10:15:21 +00:00
R. Belmont
bb8d90c0fa
Force libflac to never be optimized in a more portable way (nw)
2013-07-25 13:41:15 +00:00
Michaël Banaan Ananas
7680a24bb9
fix compile
2013-07-17 05:18:23 +00:00
Scott Stone
9f04a5f77f
Some emu.h related redundant #include cleanup (nw)
2013-07-17 04:37:56 +00:00
R. Belmont
bd549978c5
Initial support for Fedora 19 / GCC 4.8.1 [R. Belmont]
2013-07-08 23:32:47 +00:00
Robbbert
66b55f3344
(MESS) mbee : changed gaps
2013-07-06 11:01:42 +00:00
Robbbert
9b897a698b
(MESS) mbee : converted to modern fdc, still doesn't work though. (nw)
2013-07-05 11:16:08 +00:00
smf-
2e9622ecdb
Fixes for building MAME with Visual Studio 2013 preview [smf]
2013-07-05 00:45:14 +00:00
Oliver Stöneberg
bb590452dd
disabled optimizations for FLAC__lpc_compute_autocorrelation() for 32-bit GCC builds to prevent different output filesizes with optimized builds (nw)
2013-07-04 14:22:42 +00:00
Oliver Stöneberg
ac76a12974
chdman: fixed hang when chd_file_compressor::async_read() failed (e.g. trying to read an .avi with unsupported color depth) / improved error reporting a bit (nw)
2013-06-21 17:24:41 +00:00
Oliver Stöneberg
3a7c6bac73
added workaround to FLAC__lpc_compute_autocorrelation() for 32-bit GCC (aka non-SSE floating point) issues (nw)
2013-06-21 16:40:09 +00:00
Oliver Stöneberg
1f4fe0303a
small formating change to src/lib/util/aviio.c (nw)
2013-06-20 10:46:43 +00:00
Oliver Stöneberg
72cce63c4a
fixed yuy16_compress_to_yuy() sometimes writing all green video with YUV2 and UYVY (nw)
2013-06-19 16:22:30 +00:00
Miodrag Milanovic
1953d6cf08
(MESS)-bml3: split into three variants (bml3, bml3a and bml3b) according to floppy disk support. Only bml3a (5.25" disk) is considered working. [jedwidz]
...
-m6809: Initially setting S with a 'TFR *,S' evidently should enable NMI [jedwidz]
-mc6845: Add rudimentary support for 'interlace and video' mode [jedwidz]
2013-06-19 13:23:20 +00:00
Oliver Stöneberg
af723576bd
removed unused exmaples from zlib folder (nw)
2013-06-19 12:09:13 +00:00
Oliver Stöneberg
93b7cf8173
treesize in laserdisc CHD was uninitialized when input video had no audio channels [Oliver Stöneberg]
2013-06-18 13:33:28 +00:00
Oliver Stöneberg
374870c6ec
removed unused src/lib/libflac/include/flac++ - libflac++ was removed a long time ago and never used (nw)
2013-06-17 23:12:49 +00:00
Miodrag Milanovic
16f5234d43
Cleanups and version bump
2013-06-11 07:16:42 +00:00
Curt Coder
d8571d9f57
(MESS) ep64: Modernized the Enterprise 64/128 driver. [Curt Coder]
2013-06-06 14:00:58 +00:00
Miodrag Milanovic
05eb4a0916
(MESS) bml3.c [jedwidz]
...
- improved keyboard
- improved video
- disk support
2013-06-05 08:50:19 +00:00
mahlemiut
6fdd2c264b
dsk_dsk: Fixed incorrect sector size bug preventing standard DSK images from working. [Barry Rodewald]
2013-06-04 12:14:07 +00:00
Robbbert
97e4fd9c6d
(MESS) Applix: Added floppy disk drives
2013-05-29 09:34:06 +00:00
cracyc
c108d5258c
td0_dsk: make sure header magic is same case and include cell calc from OG (nw)
2013-05-23 18:41:35 +00:00
cracyc
01b7c1543f
td0_dsk: be more permissive of disk types (nw)
2013-05-23 14:46:52 +00:00
cracyc
e697bb3278
td0_dsk: add new floppy system support for teledisk [Carl]
...
---
Lots of conflicting info out there, need more samples (8", fm)
2013-05-23 12:44:45 +00:00
smf-
b03bfd4df2
Ignore unformatted tracks in dsk files [smf]
2013-05-21 21:13:32 +00:00
Miodrag Milanovic
1c05ccc93b
Cleanups and version bump
2013-05-20 06:51:25 +00:00
R. Belmont
917453a17e
libflac: Improve portability for older versions of Xcode [John Gilbert]
2013-05-19 18:01:21 +00:00
R. Belmont
22d69c1f2b
Various CD-ROM / CHDMAN improvements: [R. Belmont]
...
- Correct import/export of bin/cue images in which the pregap sectors are present.
- Normalized TOC handling; the start of a track is always the first pregap sector.
- Finally allows reading and CDDA playing pregap sectors. Works even if the pregap sectors are not present in the file.
nw part: Existing CHDs should work (or not) as before - previously non-working ones that were broken due to disc geometry should work if regenerated from source.
I tested this on several known-touchy cases (including Saturn Black/Matrix Reprint cinemas and PCE-CD Prince of Persia) but there are likely others.
Drivers that tried to fake around the previous lack of pregap reading on CDDA may need some adjustment.
2013-05-18 02:02:27 +00:00
cracyc
bb174ce847
(mess) pc: fix font for asst128 (nw)
...
asst128_dsk: add support for asst128 ssqd 360K disks (nw)
--
Added a new format class for asst128 floppies because the 360K SSQD disk format conflicts with the standard 360K DSDD type. The Assistant 128 BIOS translates disk commands so 360K DSDD disks boot fine though.
2013-05-11 17:49:37 +00:00
Miodrag Milanovic
cca73a4ec0
added additional flags for compiling on linux and osx, but enabled just posix, so it should cover most of distributions and variations (nw)
2013-05-10 10:34:43 +00:00
Miodrag Milanovic
4a09e17523
LUA 5.2.2 added to libraries, did basic hookup of LUA VM into running machine [Miodrag Milanovic]
...
added -script (or -autoboot_script) command to execute LUA script after driver startup
2013-05-09 13:57:44 +00:00
Miodrag Milanovic
4bf717996f
Cleanups and version bump
2013-04-30 06:36:06 +00:00
Wilbert Pol
4f30e2928a
(MESS) csw_cas.c: Fixed CSW header detection regression. [Wilbert Pol]
2013-04-26 18:07:22 +00:00
Wilbert Pol
25f17d7394
Formatting (nw)
2013-04-26 17:54:55 +00:00
Olivier Galibert
4f95ed2170
dsk: mwahahaha (nw)
2013-04-16 11:45:40 +00:00
cracyc
5ee7683519
upd765_dsk: don't crash when inserting a disk after removing a different size one (nw)
...
winsocket, winptty: don't use osd_free on pointer allocated with malloc (nw)
2013-04-15 02:10:49 +00:00
Andrew Gardner
7bf57783e7
Adds simple_set data structure and hooked it up to the debugger comment system.
...
[Andrew Gardner]
2013-04-13 20:03:24 +00:00
Olivier Galibert
1b1d090f52
imd: Stop being so anal-retentive, it's counterproductive [O. Galibert]
2013-03-26 19:13:41 +00:00
Wilbert Pol
3dd335f46d
(MESS) Be a bit more fine-grained in when to mark slot options as internal. (nw)
2013-02-27 21:41:49 +00:00
Oliver Stöneberg
6b607ff3ef
fixed memory leak in find_default_device() (nw)
2013-02-21 20:52:23 +00:00
Wilbert Pol
742f7e2ff5
Don't save out internally determined settings to .ini files. (nw)
2013-02-21 19:56:46 +00:00
Oliver Stöneberg
0817d64c5f
set proper cassette image loading error / removed unused CASSETTE_ERROR_INVALIDARG (nw)
2013-02-12 18:53:20 +00:00
Miodrag Milanovic
a440a8e020
Cleanups and version bump
2013-02-11 07:44:56 +00:00
Olivier Galibert
1ac400963a
flopimg: When generating a pc layout, don't write the gap3 after the last sector [O. Galibert]
2013-02-09 10:35:45 +00:00
Phil Bennett
a1ed99c439
aviio.c - Fix bad frames occurring on 2GB RIFF splits [Phil Bennett]
2013-02-02 23:02:45 +00:00
Oliver Stöneberg
64c6af6315
fixed undefined behavior in bitstream_out::write() as well - thanks to -fcatch-undefined-behavior and clang (nw)
2013-02-02 12:16:22 +00:00
Oliver Stöneberg
1612cb612a
disabled pointless (at least in terms of MAME/MESS) DEBUG message in libflac (nw)
2013-02-01 22:04:39 +00:00
Oliver Stöneberg
565eb9ff85
disabled stupid zlib trace message with DEBUG (nw)
2013-02-01 15:56:06 +00:00
Oliver Stöneberg
582ec9dce4
fixed typo in previous commit / fixed DEBUG compilation of pmwinmm.c and zlib
2013-02-01 08:31:09 +00:00
Curt Coder
9dec2793ff
(MESS) tiki100: Fixed 90K floppy format. (nw)
2013-01-24 15:07:26 +00:00
Olivier Galibert
e30560322d
dsk_dsk: Header size obvious fix [O. Galibert]
2013-01-20 08:55:14 +00:00
Curt Coder
f02a94e4ac
Fixed MSVC compile. (nw)
2013-01-17 20:08:59 +00:00
Curt Coder
ffe3325258
(MESS) d64/g64 floppy modernization WIP. (nw)
2013-01-17 15:32:52 +00:00
Curt Coder
4c924e2a63
(MESS) Fixed typos. (nw)
2013-01-14 18:27:19 +00:00
Curt Coder
cf41f05d4b
(MESS) flopimg: Added support for Commodore GCR encoding. [Curt Coder]
...
(MESS) d64/g64 floppy modernization WIP. (nw)
2013-01-14 16:27:52 +00:00
R. Belmont
2f0c02a4f1
Fix compiling on PowerPC OS X (nw)
2013-01-13 21:41:04 +00:00
R. Belmont
da131139f2
More fun with older OS X (nw)
2013-01-13 21:12:07 +00:00
Curt Coder
fd500d6410
(MESS) Refactored the Commodore 1581 floppy disk drive to use the modern floppy system. Supports read-only access to D81 images. [Curt Coder]
...
wd_fdc: Controller remains busy until the last DRQ has been served, and the sector register can now be written more than once. [Curt Coder]
2013-01-12 13:51:35 +00:00
smf-
1940866c70
output of new srcclean changes that are relatively small [smf]
2013-01-11 19:43:14 +00:00
Miodrag Milanovic
0e19f641d3
Cleanups and version bump
2013-01-11 07:32:46 +00:00
Oliver Stöneberg
e111fe61f3
fixed uninitialized memory in the last hunk on CHD creation (fixes potentially different filesize with each compiler not defaulting memory to 0x00 including Visual Studio) / added another chdman test (nw)
2013-01-09 19:12:21 +00:00
Curt Coder
1568a656f8
(MESS) bw12, xerox820, wangpc: Fixed floppy. [Curt Coder]
2013-01-09 17:56:14 +00:00
Fabio Priuli
8cc9070d27
lviv: added support for multipart tapes (lv0, lv1, etc. extensions) [Fabio Priuli]
...
softlists: added preliminary softlists to Apogee, Bashkiria-2M, BK-0010, Galaksija, Korvet, Lviv, Mikrosha, Ondra ViLi, Orao,
Orion-128/OrionPro, Partner-01.01, Pecom64, Pyldin-601, Radio-86RK, Specialist/Specialist MX and UT-88. [Fabio Priuli]
After 0.148 I will clean up the file descriptions, but it's good to have these documented at last :-)
Loading instructions are already present at projectMESS and will be in next sysinfo update.
2013-01-09 17:20:18 +00:00
Oliver Stöneberg
7a9f663d76
fixed result of bitstream_in::peek(0) (nw)
2013-01-09 07:29:42 +00:00
Curt Coder
e29bf515c4
Added FM encoding support to upd765_dsk. [Curt Coder]
...
(MESS) bw2: Fixed floppy loading. [Curt Coder]
2013-01-08 17:57:56 +00:00
R. Belmont
2fc04181bc
cdrom: fixed getting the type of the last track, fixes PCE Bomberman '94 proto (nw)
2013-01-08 01:42:32 +00:00
Curt Coder
cc35a4ed7d
flopimg: FM WIP (nw)
2013-01-07 20:51:34 +00:00
Curt Coder
15604c6fc1
Added FM encoding support to flopimg and wd17xx_dsk. [Curt Coder]
2013-01-07 18:23:45 +00:00
Oliver Stöneberg
670a36cbcd
fixed some cppcheck warnings about format identifiers and duplicated enum (nw)
2013-01-06 19:14:29 +00:00
Oliver Stöneberg
614fa9b9f4
more chdcd.c errormessage enhancements / adapted error messages for emu/sound/samples.c / fixed GCC compile (nw)
2013-01-06 14:52:40 +00:00
Oliver Stöneberg
7b9cc374ef
improved some error messages (nw)
2013-01-06 14:19:32 +00:00
Oliver Stöneberg
3281ac2cc9
corrected comment and log message in parse_wav_sample() about channels / corrected some format specifiers (nw)
2013-01-06 14:17:04 +00:00
Oliver Stöneberg
7984ce0fab
improved error reporting of parse_wav_sample() and fixed potential resource leaks / use more proper errorcodes when encountering an error when parsing an input file (nw)
2013-01-06 12:37:35 +00:00
Oliver Stöneberg
133c74b9eb
read ISO as binary as well (nw)
2013-01-06 12:11:30 +00:00
smf-
2e6443a49f
skip without reading (nw)
2013-01-05 23:37:41 +00:00
Oliver Stöneberg
5bf7f966fd
fixed NRG reading for good (accidentally removed some non-debug code before commit) (nw)
2013-01-05 22:22:39 +00:00
Oliver Stöneberg
f81826d5ba
cleaned up some chdcd.c error messages (nw)
2013-01-05 22:10:53 +00:00
Oliver Stöneberg
13f070feea
fixed reading of NRG images / bail out on unsupported tracks in NRG images / cleanups (nw)
2013-01-05 22:03:02 +00:00
Oliver Stöneberg
035a7fe8e8
fixed filename set in NRG track parsing / added NRG test to chdman unit test (nw)
2013-01-05 19:25:13 +00:00
R. Belmont
a6a1b82868
cdrom: Introduces concept of logical sector addresses so games see the disc with pregap/postgap sectors actually taking up sector numbers as in reality. Fixes PC-Engine CDs with hardcoded sector numbers. [R. Belmont, Angelo Salese]
2013-01-05 17:43:12 +00:00
Oliver Stöneberg
c751b475fa
removed unused m_props from chd_lzma_decompressor (nw)
2013-01-05 13:41:17 +00:00
Olivier Galibert
cc0f95bb74
tagmap: Try a slightly better hashing function [O. Galibert]
2013-01-03 14:22:27 +00:00
Olivier Galibert
23936afefc
flopimg: Avoid avoidable leaks [O. Galibert]
2013-01-03 12:41:48 +00:00
Fabio Priuli
f4630f15e3
fix portmidi compilation on Xcode 3.2.6 for OSX 10.6.8. no whatsnew.
2013-01-02 16:42:45 +00:00
R. Belmont
46c3cf2451
Fix compile on OS X 10.6/10.7 (nw)
2013-01-02 14:39:53 +00:00
Olivier Galibert
82191eb25f
floppy: Correctly reach files inside zips or softlists [O. Galibert]
2013-01-02 11:24:18 +00:00
Oliver Stöneberg
8049cf1f63
fixed portmidi library name / removed overwrite of ARCH when compiling libflac (nw)
2013-01-01 20:59:25 +00:00
Oliver Stöneberg
747289faf7
fixed portmidi Visual Studio warnings (nw)
2013-01-01 20:41:17 +00:00
R. Belmont
ad80ff6c3f
portmidi: Initial commit. [R. Belmont]
...
(nw: this isn't enabled to compile yet, this is just to make it easier to run the final tests on my Mac and my Windows laptop)
2013-01-01 16:11:32 +00:00
David Haywood
d58eef5b12
there are 81 track adf files out there, actually I think there can be anything from 1 track to 82 tracks, but we'll cross that bridge when we come to it etc.)
2012-12-31 15:23:16 +00:00
Olivier Galibert
b368d0f478
(mess) dsk: (minimally) complete the dsk support [O. Galibert]
2012-12-28 11:13:31 +00:00
Oliver Stöneberg
be0e8a3256
added missing initializations in default rectangle constructor (nw)
2012-12-26 13:15:11 +00:00
Oliver Stöneberg
f13190914e
removed some unnecessary checks (nw)
2012-12-26 13:03:22 +00:00
mahlemiut
99e942486c
(MESS) fm7: Adjusted cassette sample rate. Fixes Pac-man.
2012-12-20 01:07:38 +00:00
Miodrag Milanovic
436d2f757f
Cleanups and version bump
2012-12-17 07:22:20 +00:00
Curt Coder
e759cbccab
(MESS) c1581: Modernized floppy, WIP. (nw)
2012-12-14 17:30:42 +00:00
Miodrag Milanovic
3a55d70dbb
Made Orion use new floppy system (no whatsnew)
2012-12-14 11:43:56 +00:00
Curt Coder
8bdde8be64
(MESS) tiki100: Added floppy sector skew and fixed PSG output mode. (nw)
2012-12-13 20:05:01 +00:00
Miodrag Milanovic
bd24773b23
b2m : Set proper floppy drive type and used custom format loading (nw)
2012-12-13 16:00:08 +00:00
Miodrag Milanovic
0716e22259
Added specialist mx custom format handling (nw)
2012-12-13 12:56:38 +00:00
Curt Coder
3df0bd2be6
(MESS) sf7000: Verified floppy format gap sizes. [Curt Coder]
2012-12-10 21:51:26 +00:00
Curt Coder
2569853c94
(MESS) sf7000: Fixed floppy. [Curt Coder]
2012-12-09 22:39:14 +00:00
Miodrag Milanovic
3fcf416b0c
Give error in cases when track size is not one of supported (no whatsnew)
2012-12-06 08:34:56 +00:00
Justin Kerk
0c2f5e9af5
Added .cdr as a synonym for .iso, as seen on e.g. archive.org (nw)
2012-12-06 02:34:11 +00:00
Miodrag Milanovic
9f35153021
Added ISO support to chdman and as mountable image device [Miodrag Milanovic]
2012-12-05 15:29:19 +00:00
Olivier Galibert
9857a8770e
pc98: Add its specific almost raw fdi disk format [O. Galibert]
2012-12-04 19:18:15 +00:00
Olivier Galibert
ba39484252
placeholders
2012-12-04 19:16:53 +00:00
Olivier Galibert
e28869ccfa
wd_fdc: fm support, need to review all timings [O. Galibert]
2012-12-01 10:28:18 +00:00
Curt Coder
b23b2a1060
(MESS) bw2: Fixed floppy format and FDC clock. (nw)
2012-11-29 19:01:35 +00:00
Curt Coder
d40e28b6d1
(MESS) tiki100: Floppy modernization. (nw)
2012-11-29 19:01:03 +00:00
Curt Coder
ab2c58ca71
Added 8" DSSD floppy type, WD177x inverted bus, and fixed DSKCHG signal. (nw)
2012-11-29 18:55:10 +00:00
Curt Coder
f2dacf2813
(MESS) comx35: Floppy modernization and expansion interface cleanup. (nw)
2012-11-28 15:58:47 +00:00
Curt Coder
52e54ab3a6
(MESS) Cleanup. (nw)
2012-11-28 15:58:02 +00:00
Curt Coder
b1354d9ed4
Added some more floppy types. (nw)
2012-11-28 15:53:32 +00:00
Sandro Ronco
fc3df750cd
(MESS) Updated TVC HBF to use new floppy system. (nw)
2012-11-26 19:55:41 +00:00
R. Belmont
e28bcc6f74
(MESS) Olivetti M20: improved keyboard and floppy handling [Christian Grössler]
2012-11-23 23:01:44 +00:00
Olivier Galibert
c2b58b03b1
I'm in your floppy format, fixing stupid bugs (nw)
2012-11-20 21:32:58 +00:00
Olivier Galibert
a0c70ecb0c
pc floppies: Merge the common parts of d88/imd [O. Galibert]
2012-11-20 20:33:37 +00:00
Olivier Galibert
bd496dae19
Yes, it *is* possible to have two errors in the same line (nw)
2012-11-20 07:37:44 +00:00
Olivier Galibert
38c841bcf5
imd: Accept versions with single-digit minor [O. Galibert]
2012-11-20 07:37:39 +00:00
Olivier Galibert
31993b041a
imd_dsk: *duh* (nw)
2012-11-19 09:23:32 +00:00
Olivier Galibert
d60236970a
imd_dsk: Predict the layout size correctly [O. Galibert]
2012-11-19 07:44:51 +00:00
Michael Zapf
dbdc940411
[MESS] ti99/geneve: Now accepts a variant of the disk format which has
...
768 additional bytes at the end used as a bad sector map.
2012-11-17 14:37:02 +00:00
Olivier Galibert
132e949f7f
Thanks Al (nw)
2012-11-16 20:36:52 +00:00
Curt Coder
d9de81c2a9
(MESS) bw2: Added modern disk formats. (nw)
2012-11-16 18:37:55 +00:00
Olivier Galibert
efe49873d4
(mess) upd765: Add read fm sector support [O. Galibert]
2012-11-16 09:16:15 +00:00
Olivier Galibert
2aa1e82537
duh (nw)
2012-11-16 07:48:15 +00:00
R. Belmont
b7c23bfec1
Fix GCC 4.7 compile (nw)
2012-11-16 02:22:56 +00:00
Olivier Galibert
48d5733ec2
duh
2012-11-15 20:57:38 +00:00
Olivier Galibert
6a43e78d97
(mess) floppy: Add IMD support [O. Galibert]
2012-11-15 20:19:53 +00:00
Oliver Stöneberg
d1a912fae7
FLAC encoder did not use FIR Linear prediction (regressed in r18882) [William Coolay]
2012-11-07 14:31:51 +00:00
Curt Coder
c93840e585
(MESS) adam: Added modern disk formats. (nw)
2012-11-05 19:44:19 +00:00
Curt Coder
cdc241de4f
(MESS) Fixed typo. (nw)
2012-11-05 15:32:20 +00:00
Olivier Galibert
f70e1a5a10
(mess) Add a generic wd format [O. Galibert]
2012-11-05 13:22:55 +00:00
Olivier Galibert
559bf715a1
placeholders
2012-11-05 13:22:34 +00:00
Miodrag Milanovic
6bfc7e54f9
Clean-ups and version bump
2012-10-30 07:07:38 +00:00
Sandro Ronco
e9341d47b4
Fixed memory leaks in flopimg.c (nw)
2012-10-26 17:25:10 +00:00
Miodrag Milanovic
4c72225c6e
added basic support for the loop flags in tzx [David Haywood]
2012-10-26 14:49:25 +00:00
Olivier Galibert
076063767d
(mess) d88: Reduce the gap3 size from the standard value when the data otherwise won't fit [O. Galibert]
2012-10-11 07:37:04 +00:00
Olivier Galibert
9d1aaf97ae
(mess) upd765: Modernize [O. Galibert]
...
Remaining TODO list:
- take WP into account
- test the amstrad, implement its observational format (edsk) using
pasti as a start. Or find the legendary amstrad IPFs. Or both.
- correct read track, the implementation is completely wrong. See
previous for testing, it's only used in protections the check the
inter-sector gaps.
- shake and bake on the amstrad, protections are the best to find bugs
in a fdc
- add the scan id commands, but nothing seems to use them
- debug the 2.88M formatting which is unreliable. Fix its IDAM/DAM
gap size on formatting too (but that's not what's making it
unreliable)
- test all the systems that were hit, and fix what needs to be fixed.
Beware that multiple problems may happen:
- upd765 may be wrong
- the driver may not be working
- the hookup may be wrong/incomplete (bitrate selection and floppy
rpm in particular)
- the driver may be too limited for the new implementation (the x68k
dma device does not handle non-instant dma yet for instance)
- report invalid command when appropriate depending on the actual chip
emulated
- add the russian clones with their real names
2012-10-10 15:33:51 +00:00
Olivier Galibert
6323d3af12
placeholders
2012-10-10 15:31:23 +00:00
Curt Coder
fa09b1ba20
Added experimental support for using Berkeley PLA files as input to jedutil. [Curt Coder]
2012-10-10 15:18:42 +00:00
Oliver Stöneberg
ff9433fab8
removed some expressions which are always true (no whatsnew)
2012-10-03 15:57:20 +00:00
R. Belmont
04c24872f0
lib7z: fix portability problems that resulted in memory trashing in some configurations. [R. Belmont]
2012-09-21 17:08:06 +00:00
smf-
e58642872a
fix for "file note writeable" when creating, plus consolidated some duplicate/redundant code. [smf]
2012-09-18 13:38:30 +00:00
Miodrag Milanovic
e25c13f253
Clean-ups and version bump
...
note: hoarded dump removed too from coco_cart.xml, this will not be tolerated
2012-09-17 06:49:13 +00:00
Aaron Giles
1a30184903
Final round of struct/union/enum normalization.
2012-09-16 05:24:30 +00:00
Aaron Giles
91f928d6cd
Enum and union normalization.
2012-09-16 03:06:55 +00:00
Aaron Giles
cff1004165
Pass 2 of struct modernization.
2012-09-15 22:30:30 +00:00
Aaron Giles
ab97dc30ef
First pass at modernizing struct definitions.
2012-09-15 21:47:30 +00:00
smf-
44cd4a476a
(MESS) support for writing to compressed hard drives using diff files. [smf]
2012-09-08 11:59:58 +00:00
Oliver Stöneberg
f08b72209b
removed astring::stringbuffer() / use cached value in astring::len() instead of strlen() (no whatsnew)
2012-09-08 10:58:51 +00:00
Curt Coder
a18efa439f
(MESS) Disabled logging. (nw)
2012-09-08 09:55:33 +00:00
Curt Coder
b8a58c4cee
(MESS) c128: Added missing IEC bus. (nw)
2012-09-08 09:54:51 +00:00
Miodrag Milanovic
97409c7e6f
Made cmd line parameter parsing going into unlimited levels (no whatsnew)
2012-09-04 13:21:17 +00:00
Aaron Giles
d3dc6db3f8
Created new sprite device base class, which manages a bitmap
...
and a sparse bitmap for tracking which areas got updated.
This allows sprites to be rendered independently to their own
bitmap and then mixed in a final step. Converted the Sega
sprite device over to this new model, and moved the mixing
steps out of the sprite implementations and into the driver-
specific video updates where it belongs. [Aaron Giles]
Added some further methods and helpers to the bitmap_t and
rectangle classes. [Aaron Giles]
Created a sega_16bit_common_base class which handles the
common Sega palette RAM mappings and open bus reads.
[Aaron Giles]
2012-09-02 19:46:02 +00:00
Miodrag Milanovic
8dc8836863
preliminary FM support (no whatsnew)
2012-08-27 12:36:30 +00:00
Olivier Galibert
6752a99aea
floppy: Harmless intermediate commit that could help Micko (nw)
2012-08-24 22:22:41 +00:00
Olivier Galibert
41a817b9dc
Placeholders (nw)
2012-08-24 22:21:17 +00:00
Miodrag Milanovic
3c9c19604e
cothread removed, was not used for a long time and was commented (no whatsnew)
2012-08-23 06:39:14 +00:00
Miodrag Milanovic
fdff3e28a5
(MESS) mz_cas.c: apparently, MZT is just another alias for MZF. (no whatsnew)
2012-08-21 12:43:30 +00:00
Miodrag Milanovic
f54800c1f3
Clean-ups and version bump
2012-08-20 06:39:53 +00:00
Miodrag Milanovic
1c13d14099
Sync with MESS (nw)
2012-08-20 06:06:19 +00:00
Oliver Stöneberg
68371b09ff
re-applied astring changes after fixing bug in trimspace(), but still using strlen() until all stringbuffer() occurances are gone (no whatsnew)
2012-08-18 11:02:48 +00:00
Oliver Stöneberg
7d0cc68ac0
re-added excessive strlen() usage to astring since it causes mysterious formating issues in debugger for people with non-standard font (no whatsnew)
2012-08-17 21:23:04 +00:00
Oliver Stöneberg
e5bdb0986a
avoid excessive usage of strlen() in astring by caching the length (no whatsnew)
2012-08-17 10:22:02 +00:00
Miodrag Milanovic
a703b654ab
Sync with MESS (nw)
2012-08-17 08:15:05 +00:00
Curt Coder
71ca94b025
Sync with MESS. (nw)
2012-08-12 20:44:51 +00:00
Curt Coder
b3cb644955
Sync with MESS. (nw)
2012-08-12 20:21:35 +00:00
Oliver Stöneberg
2369bd1a61
fixed some unread variable warnings reported by clang (no whatsnew)
2012-08-09 19:44:59 +00:00
Miodrag Milanovic
851081b772
removed some not used variables (nw)
2012-08-04 15:12:02 +00:00
Michaël Banaan Ananas
50e2290f15
firewave's patch fixes more !-operator warnings
2012-07-28 07:53:23 +00:00
Oliver Stöneberg
b401946fae
fixed memory leak in chd_file_compressor::hashmap (no whatsnew)
2012-07-27 15:25:52 +00:00
smf-
7d05c64b36
removed gzio.o as it doesn't exist
2012-07-26 19:47:59 +00:00
smf-
e9f3bf6bb1
don't build 64 bit functions when the prototype isn't defined in the .h
2012-07-26 19:46:56 +00:00
Oliver Stöneberg
dade33f755
updated zlib to 1.2.7 / renamed zconf.in.h to zconf.h.in [Oliver Stöneberg]
2012-07-26 15:35:34 +00:00
Oliver Stöneberg
b4a1dbb129
updated expat to 2.1.0 [Oliver Stöneberg]
2012-07-26 15:28:31 +00:00
Scott Stone
7bbd6e0cd2
Enable support building the bundled 7z library with a C++ compiler. [Markus Rathgeb]
2012-07-24 09:34:43 +00:00
Miodrag Milanovic
ed9afac60c
Clean-ups and version bump
2012-07-15 09:28:52 +00:00
Miodrag Milanovic
f7a125b8ea
Sync with MESS (no whatsnew)
2012-07-07 07:38:07 +00:00
Miodrag Milanovic
3a36a15a02
Clean-ups and version bump
2012-07-02 07:06:11 +00:00
Miodrag Milanovic
f1e3bf44a7
Sync with MESS (no whatsnew)
2012-06-18 06:23:28 +00:00
R. Belmont
6b1346e865
CHD fixes: [jmak]
...
- Fixed uninitialized variables that were creeping into output
- Changed qsort() callback to never return "equal", working around unstable system libc implementations
2012-06-17 20:00:37 +00:00
Miodrag Milanovic
f9f61e103a
Clean-ups and version bump
2012-06-11 08:00:48 +00:00
R. Belmont
7a4b298c2d
Redoing the previous change the right way ;-) (nw)
2012-05-30 22:47:47 +00:00
R. Belmont
b8ce6d6c63
flopimg: support MFM formats where sector numbering starts at 0 [R. Belmont]
2012-05-30 02:21:29 +00:00
R. Belmont
740dec4044
Fixed error from manually merging patch (nw)
2012-05-28 19:47:29 +00:00
R. Belmont
144234d9f6
SDL: Preliminary Haiku OS support [PulkoMandy]
2012-05-28 18:15:02 +00:00
R. Belmont
42b219e6d0
Mirroring changes from MESS (nw)
2012-05-27 21:03:38 +00:00
Miodrag Milanovic
5821c6b519
fixed memory leak in libflac/libflac/md5.c (fixes memory issues with chdman) [Oliver Stöneberg]
2012-05-24 12:04:28 +00:00
Miodrag Milanovic
5d25443cfc
import of chdman fix from mess (nw)
2012-05-23 10:02:22 +00:00
Miodrag Milanovic
4ef49012af
Added support for fixed slots (used for MAME) and ability to create internal only slot options (for MESS) (no whatsnew)
2012-05-23 07:50:33 +00:00
Miodrag Milanovic
4580108461
Sync with MESS changes for cassette by S.Ronco (no whatsnew)
2012-05-23 07:22:13 +00:00
Miodrag Milanovic
feee7a3597
CHD error handling by Firewave (no whatsnew)
2012-05-21 13:26:55 +00:00
Miodrag Milanovic
407bc4b41d
Sync with MESS (no whatsnew)
2012-05-21 06:14:55 +00:00
Scott Stone
7dbb238433
Corrected error message to include other possibility (nw)
2012-05-18 17:44:15 +00:00
Scott Stone
bb811a4fbf
Change error message to be more descriptive to actual error that occurs when a .dif file version doesn't match the CHD version. Hopefully, this will all but stop the seemingly never ending questions about the error. (nw)
2012-05-18 16:34:30 +00:00
Miodrag Milanovic
7fa8181aca
Fixed compilation under VS2010 (no whatsnew)
2012-05-17 12:56:08 +00:00
smf-
a7229679c7
fixes for building with visual studio 11 beta.
2012-05-10 19:02:23 +00:00
Miodrag Milanovic
b8d2ce1b1e
Sync with MESS (nw)
2012-05-07 12:26:33 +00:00
Miodrag Milanovic
0238c610f7
Clean-ups and version bump
2012-05-07 06:57:50 +00:00
Aaron Giles
fe12de0fc8
Fix error in decompression for avhuff. Converted cubeqst CHDs
...
now pass verification.
2012-05-07 06:37:39 +00:00
smf-
6686c410f3
Fixed "potentially uninitalized local variable" error when building with msvc, The code does appear to assume that variables on the stack are zero'd.
2012-05-03 15:28:54 +00:00
Miodrag Milanovic
36ea482ace
Sync with MESS (no whatsnew)
2012-05-03 09:16:42 +00:00
Miodrag Milanovic
e8829d3ac9
Sync with MAME, various fixes from Firewave and RB (no whatsnew)
2012-04-30 06:44:14 +00:00