Commit Graph

24 Commits

Author SHA1 Message Date
Andrew Gardner
7543a1a9a4 The dsp561xx CPU core now generates accurate disassembly for Konami Polygonet hardware
(verified against Motorola's reference disassembler). [Andrew Gardner, Stiletto]
2010-08-04 05:11:00 +00:00
Scott Stone
8896bf2e01 Comment
-------
Revert of: r8912 - A workaround for the warnings in Visual Srudio when compiling unidasm

It was breaking the GCC compile of unidasm.
If anyone else has a better fix who uses VS2008/2010, please feel free to reapply a proper fix
2010-04-24 00:34:47 +00:00
Scott Stone
6d02b7131c A workaround for the warnings in Visual Srudio when compiling unidasm [Oliver Stoneberg] 2010-04-23 21:05:28 +00:00
Aaron Giles
61b3b38259 Remove osd_break_into_debugger in unidasm. This should be part of
libocore.
2010-04-08 06:46:48 +00:00
Aaron Giles
c3bb16d573 Moved global new/delete operators into inlines in emualloc.h
to avoid link errors with certain architectures. [couriersud]

Some minor cleanup/normalizing of emualloc in general.
[Aaron Giles]
2010-02-14 21:44:50 +00:00
Aaron Giles
aebc07a897 Cleanups and version bump. 2010-01-16 04:12:04 +00:00
Aaron Giles
4498faacd9 First round of an attempted cleanup of header files in the system.
- Created new central header "emu.h"; this should be included
    by pretty much any driver or device as the first include. This
    file in turn includes pretty much everything a driver or device
    will need, minus any other devices it references. Note that
    emu.h should *never* be included by another header file.
 - Updated all files in the core (src/emu) to use emu.h.
 - Removed a ton of redundant and poorly-tracked header includes
    from within other header files.
 - Temporarily changed driver.h to map to emu.h until we update
    files outside of the core.

Added class wrapper around tagmap so it can be directly included
and accessed within objects that need it. Updated all users to
embed tagmap objects and changed them to call through the class.

Added nicer functions for finding devices, ports, and regions in
a machine:

   machine->device("tag") -- return the named device, or NULL
   machine->port("tag") -- return the named port, or NULL
   machine->region("tag"[, &length[, &flags]]) -- return the
      named region and optionally its length and flags
      
Made the device tag an astring. This required touching a lot of 
code that printed the device to explicitly fetch the C-string
from it. (Thank you gcc for flagging that issue!)
2010-01-10 00:29:26 +00:00
Paul Priest
fb8599a36c Make unidasm compile and link again. Make exception-aware (hopefully).
Note kludge of defining osd_break_into_debugger() since it is referenced from emu_fatalerror.
2010-01-06 12:37:59 +00:00
Aaron Giles
bd24fb23c1 Results of running the latest srcclean. 2009-12-28 09:04:00 +00:00
Aaron Giles
79b8f09ad8 From: Samuele Zannoli <samuele.zannoli@sparkbio.it>
Date: Tue, Dec 22, 2009 at 11:57 AM
Subject: Core for PIC 16c62x series of processors
To: submit@mamedev.org


Hello,
         this patch contains a core for the PIC 16c62x series of processors.

It has been made starting from the pic16c5x that is already present.
This version stil misses the various internal devices, however the
opcodes and i/o ports work, and it is enough to run the emulation of
the security pics used with the gd-roms.

Bye,
       Samuele Zannoli
2009-12-23 18:01:49 +00:00
Miodrag Milanovic
d98fa09e1f Added Intel 8008 and National Semiconductor SC/MP CPU cores 2009-11-23 08:19:29 +00:00
Aaron Giles
5ecfb2044b Cleanups and version bump. 2009-10-31 22:47:46 +00:00
Aaron Giles
721087eeeb Added -flipped option to unidasm to output with disassembly
first and address/data bytes afterwards in comment form.
2009-10-31 19:46:55 +00:00
Aaron Giles
8b430a357f Change tools I wrote to be straight BSD. 2009-10-31 19:35:41 +00:00
Aaron Giles
59a1941469 > -----Original Message-----
> From: Atari Ace [mailto:atari_ace@verizon.net]
> Sent: Saturday, October 17, 2009 12:14 PM
> To: submit@mamedev.org
> Cc: atariace@hotmail.com
> Subject: [patch] Remove dead prototypes
> 
> Hi mamedev,
> 
> This patch mostly removes dead prototypes, especially in source files
> as opposed to header files which I've previously audited.  It also
> migrates a few prototypes to existing header files, and adds missing
> prototypes to segamsys.h.
> 
> ~aa
2009-10-21 05:20:23 +00:00
Aaron Giles
fa68c11272 > From: Atari Ace [mailto:atari_ace@verizon.net]
> Sent: Monday, September 07, 2009 8:08 PM
> To: submit@mamedev.org
> Cc: atariace@hotmail.com
> Subject: [patch] const/static/include fixes
> 
> Hi mamedev,
> 
> A result of some code auditing, this patch adds missing static and
> const qualifiers, and fixes up some header files.
> 
> ~aa
2009-09-10 08:35:37 +00:00
Aaron Giles
03b5da1a55 Added 'options' parameter to the CPU_DISASSEMBLE prototype. For now, the
debugger always passes 0 for this. unidasm has been updated to accept a
mode parameter, which is passed for the options.
2009-09-07 00:26:56 +00:00
Aaron Giles
b12ea76a0d Fixed stupid unidasm bug that double-counted bytes. 2009-09-06 22:37:41 +00:00
Aaron Giles
095f6923fd unidasm.c needs some type casts.
Juergen
2009-09-06 21:51:39 +00:00
Curt Coder
1c56a127d5 Added preliminary Zilog Z8 CPU core for MESS. 2009-09-04 12:40:47 +00:00
Aaron Giles
5df39c5473 Cleanups and version bump. 2009-08-29 23:18:28 +00:00
Aaron Giles
3de780ea8a Usage for unidasm now dumps the available achitectures. 2009-08-29 22:07:55 +00:00
Aaron Giles
2128210d76 Ok, disassembler is implemented with basic functionality. 2009-08-22 23:31:02 +00:00
Aaron Giles
f474114e1d Added infrastructure to compile universal standalone disassembler:
- added unidasm to the tools build
 - split the disassemblers out of libcpu and into new libdasm
 - ensured the disassembly entry points for all disassemblers are
    in the source file for the disassembler (sometimes new generic
    versions were created)

Still needs command line options and file loading, but the 
fundamentals are present, and it links.
2009-08-22 06:25:07 +00:00