Commit Graph

2086 Commits

Author SHA1 Message Date
Andrew Gardner
77a3badd32 Fixed various issues with the dsp56156 disassembler. [Andrew Gardner]
(Off the record)
I verified this thing against IDA Pro's 56156 disassembler and the docs.
Every time I found a bug in IDA's disassembler, I cross-referenced the
manual.  There remain 3 opcodes which are questionably disassembled,
since even the manual is ambiguous on the details, but beyond that, 
this thing should be 100% correct.

Whew.  This might have actually fleshed out a bug in the 
disassembly/execution.  Time will tell...
2009-09-18 04:37:47 +00:00
R. Belmont
e0320b80e3 ym2612/3834: updates to track latest knowledge [Eke-Eke, Nemesis]
- Moved LFO vars inside the chip struct
- Changed SSG-EG to update before channel calcs
2009-09-18 01:43:17 +00:00
Couriersud
a384977a7c CVS & tms5110
CVS: 
- hook up speech cpu
- get rid of "temporary" code which hardwire ctl & pdc writes
tms5110: 
- Implement ctl port input/output for status reads.
- Input/output is switched by clocking pdc after a TALK STATUS command.
- update drivers to support new tms5110_ctl_r
2009-09-18 01:09:37 +00:00
Couriersud
ebe1430d64 Partially implemented TMS5110_CMD_TEST_TALK
- according to the documentation, this needs to be issued to read status on CTL1
- cvs driver needs this
2009-09-17 18:24:01 +00:00
Couriersud
12977f2823 "=A" inline assembly seems to be only supported on 32bit gcc. Provide a 64bit safe version of _get_profile_ticks 2009-09-16 23:46:41 +00:00
Angelo Salese
c8402e45ef z80dma: Fixed Initiate read command 2009-09-16 22:45:38 +00:00
Angelo Salese
024832f299 z80dma: Added enable/disable irq, force ready and reinitialize status byte commands 2009-09-16 22:03:03 +00:00
Angelo Salese
3c7799d14d z80dma: Added continue and reset port A/B timing commands 2009-09-16 21:33:40 +00:00
Angelo Salese
07e5aa6ebb z80dma: Added Initiate read sequence command and hooked up basic status reading 2009-09-16 21:13:31 +00:00
R. Belmont
5e33f4fd5c m68k: don't save signal contexts on *BSD and Mac OS X [scarlet, R. Belmont] 2009-09-16 03:25:28 +00:00
Wilbert Pol
45c5b38c2d lr35902: do not clear the interrupt flag when the cpu is halted and no interrupt is taken. 2009-09-15 16:56:04 +00:00
Wilbert Pol
540bc6e613 lr35902 cpu core: Improved handling of the DI+HALT bug. 2009-09-14 19:17:19 +00:00
Michaël Banaan Ananas
d84af18926 i386: improved handling of override prefixes after a rep instruction [Gabriele Gorla] 2009-09-14 12:30:36 +00:00
Curt Coder
d14a2d2c32 Added device_find_child_by_tag helper function. 2009-09-14 12:28:14 +00:00
Michaël Banaan Ananas
554855d116 removed confusing double variable name 2009-09-12 21:17:43 +00:00
Curt Coder
f53dd256f5 Added CDP1864 sound core for MESS. 2009-09-12 11:11:19 +00:00
Couriersud
26d13a2555 Remove enable for _LOOKUP, MULTIPLEX, _SAMPLHOLD 2009-09-10 20:41:05 +00:00
Couriersud
3fd3f4b7d7 Remove enable input from remaining DISCRETE_LOGIC_(AND|NAND|OR ...) components 2009-09-10 19:54:36 +00:00
Couriersud
73b28be0b1 Remove enable node from DISCRETE_LOGIC_INVERT 2009-09-10 19:28:22 +00:00
Couriersud
214affb3ee Remove Enable input from dst_gain_step (DISCRETE_MULTADD, DISCRETE_MULTIPLY, ...) 2009-09-10 19:15:04 +00:00
Couriersud
4e3d674b2b Disable profiling again 2009-09-10 18:33:12 +00:00
Couriersud
fa0a81f9a3 discrete emulation / not worth mentioning
- DISCRETE_(DIS)CHARGE_EXP back to one parameter (RC term) after discussion with Derrick
- discrete.h indenting
2009-09-10 18:17:22 +00:00
Curt Coder
32e04ee9ef Added CDP1863 sound device for MESS. 2009-09-10 12:28:51 +00:00
Michaël Banaan Ananas
7d526a162a 03435: [Compiling] gcc warning for src/emu/sound/ymf271.c with OPTIMIZE=3 on openSUSE 11.1 x86. (qmc2, hap) 2009-09-10 12:22:13 +00:00
Aaron Giles
e47035e834 Cleanups and version bump. 2009-09-10 08:39:42 +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
8eeb0f1d20 Fixed up some error logging messages to output the correct number of characters
for addresses and data, using the new core_i64_hex_format function.
2009-09-10 08:24:15 +00:00
Aaron Giles
834ef9bf47 Added helper function core_i64_hex_format. Replaced several printf cases in the debugger
with this function to avoid runtime differences on older Windows systems.
2009-09-10 08:04:08 +00:00
Aaron Giles
6051f45409 > -----Original Message-----
> Sent: Wednesday, September 09, 2009 10:32 PM
> To: submit@mamedev.org
> Subject: cheat update
> 
> Simple update for add "increase or equal" and "decrease or equal" in
> cheatnext conditions

[Sandro Ronco]
2009-09-10 07:21:52 +00:00
Aaron Giles
647b726571 i386 fixes: [Gabriele Gorla]
- Add missing arpl instruction
 - Fixed BCD carry
 - Fixed disassembly of group D8 when modrm > 0xc0
 - Add fucompp instruction to disassembler
2009-09-10 07:20:37 +00:00
Aaron Giles
8f9ec7de59 Hooked up F6 again as a global cheat enable/disable. [Pugsy] 2009-09-10 07:17:35 +00:00
Jonathan Gevaryahu
224c8d3f97 68681/2681 duart: When a channel is in loopback mode, do not actually transmit bytes sent to that duart channel over the TX pin 2009-09-10 06:13:26 +00:00
Derrick Renaud
9f9c029a08 Revert r6757 changes. Not worth mentioning. 2009-09-10 02:56:58 +00:00
Derrick Renaud
72a9bdabff Changed tone cap in Noraut Poker to more probable value. Not worth mentioning. 2009-09-10 00:22:46 +00:00
Angelo Salese
cd8063446c G65816: Fixed a bug with SBC opcode N flag behaviour in Decimal Mode [Angelo Salese] 2009-09-09 17:30:56 +00:00
Quench
740ae26ae6 PIC16C5x CPU - Count input fix
- Fixed the T0CKI count input being controlled by the wrong edge sensing
2009-09-09 13:58:19 +00:00
Derrick Renaud
a7a271a90f Added discrete sound to the Noraut Poker games. 2009-09-09 01:21:50 +00:00
Aaron Giles
50b4a43bfd Fix CPP_COMPILE (except for internal compiler error on snes.c). 2009-09-08 16:58:02 +00:00
Aaron Giles
b09565e76f Another crasher. 2009-09-08 15:57:37 +00:00
Aaron Giles
6a9d35c694 Fixed crasher in the debugger revealed by the latest changes. 2009-09-08 15:32:53 +00:00
Roberto Zandona
ae043c68eb fixed CIA PRA,PRB,DDRA,DDRB ports 2009-09-08 14:25:10 +00:00
Aaron Giles
e91948e833 Minor cleanup. Changed watchdog_read handlers to return the address
space's unmapped value rather than 0xff.
2009-09-08 09:18:29 +00:00
Aaron Giles
96d7f2cf3b Remove remaining references to machine->cpu[n]. Removed cpu[n] array.
Replaced with machine->firstcpu which is a fast access to the head
of the list of CPUs.
2009-09-08 09:13:10 +00:00
Aaron Giles
3d59122bb2 Added debug_global_input_code_pressed() for use in debugging.
Also some other small tweaks/cleanups.
2009-09-08 01:40:11 +00:00
Nathan Woods
32e309ebb4 MAMEUI uses input_seq_from_tokens() outside the context of a running emulation,
so this code will crash if machine == NULL and the keycode was not a built in
keycode.  Changing this so that it will gracefully fail if machine == NULL
2009-09-07 13:23:48 +00:00
Curt Coder
2e98a0f2de [Z8] Fixed disassembler argument order. 2009-09-07 12:47:40 +00:00
Curt Coder
9e3d135331 Fixed access violation in MESS skeleton drivers with empty INPUT_PORT sections. 2009-09-07 07:39:00 +00:00
Roberto Zandona
24745e0c58 partial fix to CIA timer: avoid timer's desync in read count operation 2009-09-07 05:40:59 +00:00
Aaron Giles
8fbe10c91f Cleanups and version bump. 2009-09-07 01:34:34 +00:00
Aaron Giles
10b6e7e106 Added PORT_CROSSHAIR_MAPPER() allowing you to specify an alternate, non-linear mapping
function from the raw crosshair value to its position onscreen. [Aaron Giles]
2009-09-07 00:53:53 +00:00