Commit Graph

563 Commits

Author SHA1 Message Date
Vas Crabb
25f84e3bf0 srcclean and manual cleanups (nw)
please people, remember to keep source UTF-8 and if you're committing on behalf of others, clean up indents to meet MAME conventions
anyone can run srcclean over a submission and see what will get hit
2017-12-24 15:03:04 +11:00
Firehawke
9ece34eb21 Revert "Revert "Merge branch 'master' of https://github.com/mamedev/mame""
This reverts commit 54155441e9.
2017-12-13 21:31:27 -07:00
Firehawke
54155441e9 Revert "Merge branch 'master' of https://github.com/mamedev/mame"
This reverts commit f537428e5a, reversing
changes made to 0d70d79810.
2017-12-13 21:01:10 -07:00
Olivier Galibert
cc3e1898b2 Hyperstone dasm fp/h support (nw) 2017-12-02 17:47:01 +01:00
smf-
c2e7f912c1 fix building with Visual Studio 2017 & clang 5.0.0 (also tested with gcc 7.2.0) (nw) 2017-11-28 09:10:05 +00:00
Olivier Galibert
6caef2579a dvdisasm: Overhaul [O. Galibert]
Disassemblers are now independant classes.  Not only the code is
cleaner, but unidasm has access to all the cpu cores again.  The
interface to the disassembly method has changed from byte buffers to
objects that give a result to read methods.  This also adds support
for lfsr and/or paged PCs.
2017-11-26 17:41:27 +01:00
Nigel Barnes
59af927112 floptool: Added Acorn Atom floppy formats. (nw) 2017-11-06 21:42:13 +00:00
Nigel Barnes
8c8b749762 castool: Added Acorn Atom formats. (nw) 2017-11-06 21:42:13 +00:00
Vas Crabb
4c29419cab srcclean (nw) 2017-10-22 12:34:30 +11:00
Nigel Barnes
5f95f3b90b floptool: Added Acorn floppy formats (nw) 2017-10-19 12:01:28 +01:00
npwoods
86f50b0d65 Created a more flexible imgtool::datetime structure for use within Imgtool (#2263)
* Created a more flexible imgtool::datetime structure for use within Imgtool

This is intended to replace most usage of time_t

* Changing the granularity of imgtool_clock from 1ms to 100ns, as per Vas' suggestion

* Created arbitrary_datetime in timeconv.h to facilitate interpretation of datetime info

I concluded that invoking std::mktime on manually assembled std::tm is bad, because it is indeterminate how the std::tm members may be "dominant".  This required that I go further in imgtool, and update a number of drivers and eliminate the parameter of imgtool::datetime that takes std::tm.
2017-10-17 21:18:57 +02:00
fulivi
70d6a5addd Support for HP85 tapes added to imgtool (#2688) 2017-10-03 23:14:15 +11:00
smf-
bcb4be3a5d fix for clang 5 unused lambda capture errors (nw) 2017-09-24 17:49:35 +01:00
Vas Crabb
a734a3b8e9 (nw) srcclean - please use UTF-8 for source files, stuff that isn't valid UTF-8 will be nuked, and cleaning it up by hand is annoying 2017-09-24 11:41:45 +10:00
npwoods
3d553eda60 Attempted to sanitize/rationalize how we access UTF-8 command line arguments (#2532)
Specifically, this creates a call osd_get_command_line() that returns UTF-8 command line arguments as std::vector<std::string>.  On non-Windows platforms, this does nothing more than build the vector.  On Windows, this invokes GetCommandLineW() and CommandLineToArgvW().  This also attempts to unwind usage of wmain()/_tmain() on Windows, which is not standard.

Related to this, this fixes a bug in Imgtool; specifically, non-7 bit ASCII was not being handled correctly in Windows.

This is really an admission that the way that Windows handles Unicode and command line arguments sucks, and it is my belief that having a wmain() or _tmain() declaration specific for Windows is a worse solution.  C'est la vie.

I'm very open to the idea that src/osd/osdcore.[cpp|h] is not the best place to do this.  Let me know if I should move it.
2017-09-18 20:28:53 -04:00
Kevin Eshbach
c2b15cefae Added support for viewing the pls100 device to jedutil (#2658)
* Adding dump of PAL from Guzzler (Swimmer Conversion)

* Adding dump of PAL from Guzzler (Swimmer Conversion)

* Initial support for viewing the logic equations of the PLS100, 82S100, PLS101 and 82S101.

* Initial support for viewing the logic equations of the PLS100, 82S100,
PLS101 and 82S101.

* Rename jed file from uppercase to lowercase.
2017-09-16 17:39:36 -04:00
Vas Crabb
f8d7be5164 make the C-like parts more consistent with MAME (nw) 2017-09-09 12:41:37 +10:00
Vas Crabb
ec3caa98bd srcclean (nw) 2017-08-27 11:07:21 +10:00
fulivi
5f7e815d33 imgtool: hopefully fixed the "GET" command 2017-08-24 14:36:19 +02:00
fulivi
2c317e49e2 hp9845: re-factored hp9845_tape module of imgtool to use HTI format 2017-08-16 10:38:22 +02:00
R. Belmont
dc00f6a8b3 Merge pull request #2540 from npwoods/imgtool_feature_supports_geticoninfo
Imgtool:  Fixed features.supports_geticoninfo
2017-08-05 21:01:40 -04:00
Nathan Woods
cd31078ddd Imgtool: Classic Mac: Made the logic for B&W icon able to handled non-masked set pixels 2017-08-02 13:16:15 -04:00
Nathan Woods
6c381dbd23 Imgtool: Fixed features.supports_geticoninfo 2017-08-02 13:02:49 -04:00
Nathan Woods
7e8707f496 [Imgtool] C++-ification of imgtool_forkent structure 2017-08-02 01:07:47 +10:00
Nathan Woods
cc544e98c4 Imgtool: Removed silly intermediate 'const char *' (nw) 2017-07-31 08:32:09 +10:00
Nathan Woods
6b76e4ad57 Imgtool: Vas Feedback: Changed another charconverter access (nw) 2017-07-30 21:59:33 +10:00
Nathan Woods
c04cc60702 Imgtool: Eliminated Imgtool-specific rand() function 2017-07-30 21:58:58 +10:00
npwoods
aca90520de Imgtool: Merged normalize_filename() into cannonicalize_path(), C++-ification (#2527) 2017-07-30 15:16:45 +10:00
Nathan Woods
a2a3d6b90b Imgtool: Proper cleanup of floppy object after create/open failure 2017-07-24 08:18:38 -04:00
Nathan Woods
474f7ffd04 Imgtool: Changed a pointer to a reference, and fixed a std::string(nullptr) bug 2017-07-24 17:03:07 +10:00
Vas Crabb
63e8b29502 missing thing in if condition (nw) 2017-07-10 14:20:54 +10:00
Vas Crabb
d18aa3e097 never hurts to srcclean (nw) 2017-07-09 03:21:32 +10:00
fulivi
5201a7f6bf Begin of HP80 emulation (#2448)
What works:
* HP85A machine with 16K of RAM
* Capricorn CPU works
* Keyboard works (with minor issues)
* CRT text / graphics modes work (correct speed is not emulated yet so service ROM complaints)
* BASIC is usable

What is missing (and I'll have hopefully working soon):
* HW timers
* Beeper
* Integral printer
* DC100 cassette drive
* Extension ROMs
* I/O modules (especially the HPIB interface so that we can hook up floppy drives)
* Other models in the family (e.g. HP86)
2017-07-08 19:31:42 +10:00
Vas Crabb
c05cf76d0f Merge tag 'mame0187'
MAME 0.187

Conflicts:
	src/mame/drivers/socrates.cpp
2017-06-28 12:07:02 +10:00
Vas Crabb
5ada035d17 Rewrote 4004 core and disassembler:
* Renamed to MCS-40.
* Emulated 8-clock instruction cycle, interruptible at any point.
* Converted TEST input to an input line.
* Added SYNC and CM output lines.
* Added support for 4040 CY output, logical operations, extended registers, ROM banking and disassembly.
* Made I/O space mapping more flexible to support the variety of peripherals available.
* Notable missing features are 4040 interrupt and halt, and "program memory" space.
2017-06-27 04:25:18 +10:00
AJR
838c8c8c51 unidasm: Fix MC68HC11 disassembly 2017-06-25 13:46:59 -04:00
hap
bca24133da sm510: made KB1013VK12 device a clone of SM5A (nw) 2017-06-23 00:34:16 +02:00
ajrhacker
0b4cf03206 Merge pull request #2343 from ajrhacker/romcmp_fix
Fix romcmp regression with identifying bits stuck high (nw)
2017-05-28 22:24:04 -04:00
AJR
57b8457889 Fix romcmp regression with identifying bits stuck high (nw) 2017-05-28 22:22:41 -04:00
Vas Crabb
e892661905 srcclean (nw) 2017-05-28 13:40:48 +10:00
fulivi
e2b9e11da0 Hp9845: Support for HPI floppy format (#2310)
hp9845: Support for HPI floppy format [F. Ulivi, A.Kückes]
2017-05-16 09:52:31 +02:00
Miodrag Milanovic
9be358832d Fix tools as well (nw) 2017-05-15 19:40:12 +02:00
AJR
16cbbd9103 Improvements to romcmp
- Identify plain ASCII text files as such
- If a ROM has the same data in each half, print the hashes for that
- Avoid buffer overruns
- For calculating address masks, don't assume file size to be a power of 2
2017-05-11 18:38:39 -04:00
npwoods
19821fa25a [Imgtool] Fix to MT#6576 (#2275)
* [Imgtool] Fixed issue with 'listfilters' command

* [Imgtool] Extremely basic fix to the Imgtool <==> CHD HD bridge

This really needs _much_ more work
2017-05-04 11:22:14 +10:00
Wilbert Pol
e997379300 hcd62121: Improve rotate and shift instructions. Identified COM and PORT registers. Fixed unidasm config. [Wilbert Pol] 2017-05-03 21:12:56 +02:00
Nathan Woods
f4fbe39329 [Imgtool] Cleanups to validity code, and transitioned to std::wcerr
Windows doesn't like mixing std::wc[out|err] and printf()
2017-04-30 20:05:34 +10:00
npwoods
f809f0e08d Introduced an 'util::arbitrary_clock' template class, to represent a clock that "knows" when the epoch starts (#2010)
* Introduced an 'util::arbitrary_clock' template class, to represent a clock that "knows" when the epoch starts

Also:
  - Converted the NTFS filetime code to use util::arbitrary_clock
  - Converted the Mac datetime code to use util::atribrary_clock

This is in preparation for a bigger change to Imgtool where I eliminate usage of time_t
2017-04-06 11:39:00 +10:00
Peter Bortas
8b71603f23 Fix CID 157540: "Missing comma" resulting in unintentional string concatenation 2017-03-27 23:53:04 +02:00
Vas Crabb
06e22ce79d m6805: added skeleton CMOS devices
* Added m146805 and m68hc05 to unidasm
* Made opcode tables configurable in m6805_base_device, provided tables for HMOS, CMOS and HC families
* Implemented MUL instruction, made unimplemented STOP and WAIT raise fatal error
* Added skeleton MC68HC05C4 with RAM and ROM in correct locations in memory map
2017-01-30 23:10:51 +11:00
R. Belmont
5bb61a8965 Merge pull request #2016 from pmackinlay/interpro
Interpro
2017-01-24 14:02:51 -05:00