Commit Graph

616 Commits

Author SHA1 Message Date
Sergey Svishchev
63c0ee96ec imgtool: MT 6693 wip, solves mess_hd issue (nw) 2019-06-02 15:01:26 +03:00
Dan Church
3a8afa680e
castool: Fix usage message
castool was calling itself castool.exe even on *NIX systems.
2019-05-03 13:44:15 -05:00
AJR
f7c756c214 unidasm: Allow hexadecimal values for -skip with 0x prefix 2019-04-29 05:53:25 -04:00
Vas Crabb
7cc3923831 fix build with clang, clean up some random stuff (nw) 2019-04-07 17:22:19 +10:00
Vas Crabb
97b6717027 (nw) Clean up the mess on master
This effectively reverts b380514764 and
c24473ddff, restoring the state at
598cd52272.

Before pushing, please check that what you're about to push is sane.
Check your local commit log and ensure there isn't anything out-of-place
before pushing to mainline.  When things like this happen, it wastes
everyone's time.  I really don't need this in a week when real work™ is
busting my balls and I'm behind where I want to be with preparing for
MAME release.
2019-03-26 11:13:37 +11:00
andreasnaive
b380514764 Revert "conflict resolution (nw)"
This reverts commit c24473ddff, reversing
changes made to 009cba4fb8.
2019-03-25 23:13:40 +01:00
Nigel Barnes
9e122168ef ns32000: Skeleton CPU device with disassembler for NS32000 family.
bbc: Added preliminary Acorn 32016 2nd Processor, incomplete CPU emulation.
2019-03-23 11:55:09 +00:00
tomctomc
3c3e719550 fix for filtbas when strings left unterminated in basic lines 2019-03-15 12:17:32 -04:00
AJR
c63cd721ff hpc: Add HPC46003 type for future use (nw)
- Further bit instruction disassembly adjustments (nw)
2019-03-05 12:48:01 -05:00
AJR
156619b401 Add skeleton CPU device and disassembler for HPC architecture 2019-03-03 16:56:13 -05:00
Vas Crabb
0ed2d2684e srcclean (nw) 2019-02-24 14:25:42 +11:00
Sergey Svishchev
8313f096d3 imgtool: new read-only filesystem: DEC RT-11 (take 2) 2019-02-20 00:42:40 +03:00
Vas Crabb
f17f6c9d5c misc fixes
testkeys:
* Clean up and modernise code
* Use std::endl to end lines for its implicit flush
* Centre window (less likely to hide behind taskbar, etc.)

osdwin:
* Ensure new windows are positioned within the work area of a monitor
2019-02-18 18:03:39 +11:00
couriersud
c1ea281761 Fix testkeys compile/link on windows. (nw) 2019-02-17 14:01:57 +01:00
couriersud
d72df29988 testkeys: remove dead code, don't build on windows. (nw) 2019-02-17 12:45:20 +01:00
couriersud
44bd859b04 Added sdl testkeys as a tool again. (nw) 2019-02-17 12:45:19 +01:00
Patrick Mackinlay
1be6b82b34 alpha: disassembler improvements (nw)
* added palcode disassembly
* added standard pseudo-opcode forms
2019-02-05 19:19:30 +07:00
MetalliC
9d515e5f41 chdman: fix GDI 2048 extraction 2019-01-25 06:10:43 +02:00
AJR
2035fedd6e 8x300: Apply address shift to program space 2019-01-24 07:57:39 -05:00
Patrick Mackinlay
bb0702d2d5 alpha: new cpu, disassembler only 2019-01-24 15:03:38 +07:00
AJR
01e459a711 unidasm: Don't blow up when TMS34010 disassembler tries to read 32-bit operands 2019-01-12 14:56:05 -05:00
Vas Crabb
b841540955 srcclean: treat *.xslt as XML (nw) 2019-01-03 03:43:34 +11:00
DavidHaywood
90fef4da16 add derived CPU type for AX51-CORE (used by AX208 and others) so that we can start to customize disassembly and execution 2018-12-14 11:54:49 +00:00
Patrick Mackinlay
9df6cfe087 r3000: call it like it is (nw) 2018-11-06 17:21:01 +07:00
Patrick Mackinlay
d2fe91f89c r3000: modernize, add tlb support
* replaced memory accessors
* implemented tlb and address translation
* corrected exception vector logic
* improved cache isolation behaviour
* comments/formatting
2018-11-06 17:21:00 +07:00
mooglyguy
13247311f6 Renamed flipendian -> swapendian, as I spent minutes trying to find the functions to tell to another person who spent minutes trying to find the functions, and we refer to such functions as swapping just about everywhere else in the codebase, nw 2018-11-05 19:11:18 +01:00
Vas Crabb
82501770de srcclean and cleanup (nw) 2018-10-28 14:00:12 +11:00
AJR
126d7b48e9 st62xx: Add to unidasm
mcs96d.cpp: Minor spacing fix (nw)
2018-10-26 00:35:36 -04:00
AJR
05b34cda19 xavix: Do for RETF what ada4b54d61 did for CALLF (nw)
unidasm: Konami CPU is big-endian (nw)
2018-10-12 01:04:41 -04:00
AJR
1d766ffef1 unidasm: Correct endianness of tms9980 and tms9995 2018-10-09 00:32:44 -04:00
fulivi
7fdb72d7a2 HP9825 emulation added (#4018)
* hphybrid: major overhaul to add the 09825-67907 variant

* hphybrid: adapted hp64k & hp9845 to revised hphybrid CPUs

* hp9825: first release of HP9825B emulator

* hphybrid: added 09825-67907 to unidasm

* hp9825: improved appearance of blinking cursor

* hphybrid: minor changes
2018-10-07 11:35:33 -04:00
Fabrice Bellet
0d8ca95a1b imgtool: fix parsing options with enum values
When parsing an enumerated option, we should use the parameter of the
enumerated value, as an integer, instead of the raw identifier as a
string. The behaviour probably changed around commit b60879e595, but
modules still expect the old behaviour.
2018-07-22 21:25:59 +10:00
smf-
b747b711bb fix building with clang 6.0.1 (nw) 2018-07-07 11:28:01 +01:00
hap
0fae49dc31 sm5*: added sm530 disasm (nw) 2018-05-12 17:37:41 +02:00
David Haywood
6627a9e480 start looking at the extra opcodes in the SSD 2000 type XaviX chip (s… (#3514)
* start looking at the extra opcodes in the SSD 2000 type XaviX chip (seems some undocumented 6502 opcodes are replaced with more custom ones)

* (nw)

* the xavix memory mapping gets stranger with each piece of new evidence (nw)
2018-05-04 12:22:18 -04:00
Olivier Galibert
d43d8bcecf apple2: Add WOZ format [O. Galibert] 2018-04-24 20:41:54 +02:00
Vas Crabb
2c340f490e move some not-directly-emulation-related helpers to lib/util, further extricate emu.h from tools (nw) 2018-04-01 19:10:26 +10:00
Vas Crabb
010155a3c5 Reshuffle some stuff:
* Move around the debugger hooks to get a small but measurable performance increase
* Remove emucore from external tools
* Improve performance of DSP16 interpreter a little by generating six variants of execution loop
2018-03-28 05:25:15 +11:00
Vas Crabb
7c3c961fd7 unidasm, too (nw) 2018-03-25 14:40:15 +11:00
Vas Crabb
245f822e7d use more constexpr and literal classes in UML to give compiler more optimisation opportunities (nw) 2018-03-17 00:58:54 +11:00
Olivier Galibert
583f4158c8 unidasm: sharc fix (nw) 2018-03-04 10:33:10 +01:00
Olivier Galibert
9eecf67871 unidasm typo fix (nw) 2018-02-28 15:08:10 +01:00
AJR
bac8c7fa9b z8: Make address spaces big-endian 2018-02-21 19:39:33 -05:00
AJR
bb9f52b2ec unidasm: Correct endianness of m6800, m6805 and other Motorola-type CPUs 2018-02-20 19:31:36 -05:00
Olivier Galibert
109e2dadb8 NUON disassembler [O. Galibert] 2018-02-18 22:56:53 +01:00
hap
93d965a734 unidasm: fix f8 endianness (nw) 2018-02-17 15:49:40 +01:00
David Haywood
1e09ab0ceb create derived 6502 type for XaviX because it has at least one custom… (#3154)
* create derived 6502 type for XaviX because it has at least one custom 4-byte opcode that doesn't fit any other type.
treating that opcode as NOP for now.

have a feeling it might be something to do with the other integrated hardware, might be 'execute co-processor code chain at this address' or something similar
It isn't a standard JSL (Jump Subroutine Long)  like the SNES cpu opcode in the same place as this, it seems to point at some code-like structures tho)
could also be a secondary operation mode with different encoding like ARM's Thumb mode tho I guess.

We currently only have a single XaviX based dump (taitons1) but there are more on the way.  I'm going to see if the code flow makes any sense at all with these missing, or if any of it gives a clue as to what they should actually do.

* xavix - let's call these callf and retf then

after further investigation these are some kind of extra 'long jump' subroutine / task handlers, the 0x80 also being a custom opcode was throwing me off trying to identify them before.

looks like they might have been hacking 65816 features into the regular 6502 core?

* prepare for extra address bits (nw)

* better program flow (nw)
2018-02-02 14:34:12 -05:00
Vas Crabb
5d17582ce6 More initialisation at declaration to make things clearer, clean up some tabulation, clean .hsi as xml (nw) 2018-01-29 19:00:48 +11:00
Oliver Stöneberg
1d43f59955 fixed some Coverity "Identical code for different branches" warnings (#3094)
* tools/imgtool/filtbas.cpp: fixed Coverity "Identical code for different branches" warning (nw)

* mame/video/decbac.cpp: fixed Coverity "Identical code for different branches" warnings (nw)

* Revert "mame/video/decbac.cpp: fixed Coverity "Identical code for different branches" warnings (nw)"

This reverts commit bdc1761996b8ead3ee7b0233a41ad0eff6f58311.
2018-01-26 22:33:08 +11:00
AJR
19d57d9419 mcs48: More specific emulation of Intel 8021
- Separate disassembler for i802x (including unemulated 8022 instructions)
- Provide separate (though mostly just more limited) 8021 opcode table
- Writes to 8021 P0 no longer go through memory space
2018-01-23 15:16:01 -05:00