summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* (nw) at least try to be const-correct Vas Crabb2019-10-241-2/+2
|
* Fix spelling, tidy whitespace Zoë Blade2019-10-213-16/+16
|
* Netlist: code maintenance and improvements. [Couriersud] couriersud2019-10-1824-197/+498
| | | | | | | | - Added support for line markers to the preprocessor and parser. - Added support for include processing to the preprocessor. - Moved sources base type to plib to be used for preprocessor includes. This enables to include e.g. from rom memory regions. - Renamed some defines
* Netlist: code maintenance and bug fixes. (nw) couriersud2019-10-1718-1734/+1638
| | | | | | | - solver now uses dynamic allocation on systems larger than 512x512 - fixed osx build - moved nl_lists.h classes to plists.h - fixed netlist makefile clint section - readability and typos
* Netlist: pongf update and code maintenance. [Couriersud] couriersud2019-10-167-119/+85
| | | | | After the recent string of updates pongf performance increased again. Also includes code maintenance and some fixes for the aligned memory operations.
* (nw) fixed compile error on gcc 5.3 . Apologies in advance if it breaks ↵ Robbbert2019-10-161-1/+1
| | | | other compilers/versions.
* Netlist: code maintenance and bug fixes. [Couriersud] couriersud2019-10-1516-173/+209
| | | | | | | | | | | | - optimized the core queue dispatching logic. Minor performance increase. - fixed a number of bugs in parray. Now parray<double, 0> will be purely dynamic allocation with the number of elements passed in the constructor. - Added noexpr where appropriate. - Simplified the queue Checked with gcc-7 (ubuntu), gcc-9, clang-10, macosx clang 10, mingw cross compile on linux.
* netlist: Use unique_ptr where possible. (nw) couriersud2019-10-1513-94/+158
| | | Also improve code readability.
* netlist: mame netlist reorganization. [Couriersud] couriersud2019-10-1311-24/+43
| | | | | | - moved netlists out of driver code into audio/ or machine/ as nl_xxx.cpp files. - identified and documented extended validation - updated arcade, mess and nl targets
* netlist: fix issues with 1x1 matrix. [Tafoid] couriersud2019-10-121-1/+1
| | | - fixes gamemachine.cpp, breakout.cpp
* netlist: code maintenance (nw) couriersud2019-10-1224-475/+580
| | | | - clang lint and pedantic fixes - mat_cr.h: separate solving linear systems from underlying matrix
* netlist: code maintenance. (nw) couriersud2019-10-1113-200/+242
| | | | | - some readability improvements - some simplifications - kidniki uses frontiers again (speed improvement)
* netlist: fix error on compilers having issues with std::pair. (nw) couriersud2019-10-081-5/+1
|
* netlist: maintenance and lint fixes. (nw) couriersud2019-10-0628-90/+103
|
* netlist: More unique_ptr use. GMRES update, new preconditioner (nw) couriersud2019-10-0611-50/+113
|
* netlist: more code cleanup. (nw) couriersud2019-10-0515-142/+119
| | | | | - avoid duplication in solver parameter code - matrix sort type is now a parameter
* aviio: increase max size (nw) hap2019-10-051-1/+1
|
* netlist: code maintenance (nw) couriersud2019-10-0414-126/+194
| | | | | | | | - Fix SUBMODEL - move to strongly typed matrix sort constant - extend maximum matrix size to 512x512 - optionally do parallel processing based on total operations - templatize GMRES solver loops
* (nw) fix std::array initialisation with GCC5 in nlwav.cpp, stop suppressing ↵ Vas Crabb2019-10-051-4/+4
| | | | -Wterminate now that asserts are really asserts
* aviio: dont crash on buffer overflow (nw) hap2019-10-041-0/+3
|
* netlist: code simplification. (nw) couriersud2019-10-037-52/+38
|
* netlist: choose the right ostream type. (nw) couriersud2019-09-301-1/+1
|
* netlist: less cpp - more headers (nw) couriersud2019-09-2910-253/+70
| | | | - move more code in headers - delete some cpp files.
* netlist: more lint corrections. (nw) couriersud2019-09-2817-47/+86
| | | | - fixed lint corrections - added NOLINT where needed
* netlist: Fix more lint warnings/hints (nw) couriersud2019-09-2816-34/+35
|
* netlist: Fix a number of minor issues. (nw) couriersud2019-09-2711-59/+109
| | | | | - lint warnings - remove const on return types
* Make osd_printf_* use util/strformat semantics. Vas Crabb2019-09-265-57/+45
| | | | | | | | | | | | | | | | | (nw) This has been a long time coming but it's here at last. It should be easier now that logerror, popmessage and osd_printf_* behave like string_format and stream_format. Remember the differences from printf: * Any object with a stream out operator works with %s * %d, %i, %o, %x, %X, etc. work out the size by magic * No sign extending promotion to int for short/char * No widening/narrowing conversions for characters/strings * Same rules on all platforms, insulated from C runtime library * No format warnings from compiler * Assert in debug builds if number of arguments doesn't match format (nw) Also removed a pile of redundant c_str and string_format, and some workarounds for not being able to portably format 64-bit integers or long long.
* Merge tag 'mame0214' Vas Crabb2019-09-251-1/+1
|\ | | | | | | MAME 0.214
| * Hotfix for nltool.cpp (nw) couriersud2019-09-221-1/+1
| | | | | | Comment out development code.
* | netlist: switch to c++ streams. (nw) couriersud2019-09-2517-896/+151
| | | | | | | | Removed the home-brew implementation pstreams and replaced those with c++ streams.
* | Fixed a compilation bug under clang-cl (#5677) npwoods2019-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | * Fixed a compiltion bug under clang-cl Oddly, this problem does not seem to manifest under clang on gcc.godbolt.org. I suspect that this might be related to the fact that sizeof(std::size_t) != sizeof(long) on Windows. * Couriersud feedback
* | -avivideo.cpp: Added an image device to provide looping uncompressed AVI ↵ mooglyguy2019-09-232-14/+14
|/ | | | | | frames as input. [Ryan Holtz] -vino.cpp: Adapted to support both avivideo_image_device and picture_image_device. [Ryan Holtz]
* fix up srcclean (nw) Vas Crabb2019-09-221-1/+1
|
* srcclean (nw) Vas Crabb2019-09-224-34/+34
|
* netlist code maintenance (nw) couriersud2019-09-2123-128/+332
| | | | | - prepare move to c++ streams and later std::string - fix more lint and clang pedantic warnings/errors - fix some bugs
* ap2_dsk: recognize ProDOS 2.5 boot block (nw) arbee2019-09-201-0/+4
|
* netlist code maintenance. (nw) couriersud2019-09-1731-281/+341
| | | | | | - remove a lot of c library use and instead use c++ - improved pstring compatibility to std::string - prepare removal of pstream
* Make bitmap8_t, bitmap16_t, bitmap32_t and bitmap64_t specializations of one ↵ AJR2019-09-162-91/+66
| | | | class template (nw)
* Fix SUBTARGET nl and move netlist makefile to gcc-9. (nw) couriersud2019-09-101-2/+2
|
* netlist: Fix exception on MacOSX [Couriersud] couriersud2019-09-101-1/+7
| | | | | Some unknown system library seems to force the use of the global locale on OSX. This is not the case for other *nix or Windows builds. This commit fixes this by forcing the C locale in pfmt.
* HP9845: TACO driver re-written (#5601) fulivi2019-09-092-12/+126
| | | | | | | | | * hp9825: fixed a bug in 9825t * hp9845: TACO driver re-written from scratch, DC100 tape separated into a new device, various adaptations * hp9845: "new TACO" renamed to just "TACO"
* render.cpp: print a warning and continue on encountering malformed XML in a ↵ Vas Crabb2019-09-081-6/+10
| | | | layout file (nw)
* apple2: fix regression using 35-track disks with the legacy floppy (nw) arbee2019-08-251-1/+1
|
* flex_dsk: fix the logging of the disk name extension 68bit2019-08-261-2/+2
| | | | It had been printing the disk name again.
* srcclean (nw) Vas Crabb2019-08-252-7/+7
| | | | I'm assuming atronic.cpp was supposed to be Windows-1252 with Euro currency symbol encoding. Everyone please use UTF-8 for source files.
* fix incorrect format string to allow compilation (nw) smf-2019-08-151-1/+1
|
* Merge pull request #5471 from 68bit/floppy-flex-format-rewrite ajrhacker2019-08-133-65/+310
|\ | | | | flex floppy dsk: rewrite to be based on the wd177x dsk format
| * flex floppy dsk: rewrite to be based on the wd177x dsk format 68bit2019-08-133-65/+310
| | | | | | | | | | | | This now works with both single density and double density floppy disks, and dynamically identifies boot sector IDs required for 6800 booting, and supports writing back to the 'dsk' image files.
* | swtpc09: add a UniFLEX specific floppy format. 68bit2019-08-132-0/+182
|/ | | | | | | | | | | | | | | | | The UniFLEX disk format is not compatible with the Flex format. Significantly it does not use a mix of single density for booting on some double density disks which makes it simpler - hardware required a new boot ROM to run UniFLEX. Further, the UniFLEX sector size is 512 bytes versus 256 for Flex, and the UniFLEX 'SIR' info sector record is completely different to the info on Flex disk, and the file system format is also not at all compatible. Thus the UniFlex format can rely largely on the WD17xx format, with an overload to handle the sector numbering on the second side continuing from the first side (one feature in common with the Flex format). This gives a quick 'save' capability and shares code. Support for 8" disks is included as this was the initial distribution format and the only one found so far.
* ap2_dsk: recognize ProDOS 2.5 boot block (nw) arbee2019-08-081-0/+4
|