mirror of
https://github.com/holub/mame
synced 2025-05-20 04:39:11 +03:00
This patch replaces the Machine parameter where an running_machine *
is available and removes the deprecat.h where unnecessary. [Oliver Stoeneberg]
This commit is contained in:
parent
4af530d9e8
commit
cbd240d0de
@ -96,7 +96,6 @@
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "adsp2100.h"
|
#include "adsp2100.h"
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
@ -901,7 +900,7 @@ static CPU_EXIT( adsp21xx )
|
|||||||
/* execute instructions on this CPU until icount expires */
|
/* execute instructions on this CPU until icount expires */
|
||||||
static CPU_EXECUTE( adsp21xx )
|
static CPU_EXECUTE( adsp21xx )
|
||||||
{
|
{
|
||||||
int check_debugger = ((Machine->debug_flags & DEBUG_FLAG_ENABLED) != 0);
|
int check_debugger = ((device->machine->debug_flags & DEBUG_FLAG_ENABLED) != 0);
|
||||||
adsp2100_state *adsp = device->token;
|
adsp2100_state *adsp = device->token;
|
||||||
|
|
||||||
CHANGEPC(adsp);
|
CHANGEPC(adsp);
|
||||||
@ -921,7 +920,7 @@ static CPU_EXECUTE( adsp21xx )
|
|||||||
/* debugging */
|
/* debugging */
|
||||||
adsp->ppc = adsp->pc; /* copy PC to previous PC */
|
adsp->ppc = adsp->pc; /* copy PC to previous PC */
|
||||||
if (check_debugger)
|
if (check_debugger)
|
||||||
debugger_instruction_hook(Machine, adsp->pc);
|
debugger_instruction_hook(device->machine, adsp->pc);
|
||||||
|
|
||||||
#if TRACK_HOTSPOTS
|
#if TRACK_HOTSPOTS
|
||||||
pcbucket[adsp->pc & 0x3fff]++;
|
pcbucket[adsp->pc & 0x3fff]++;
|
||||||
|
@ -325,7 +325,6 @@ field: X address D Function Y address D (part 2)
|
|||||||
|
|
||||||
#include "cpuintrf.h"
|
#include "cpuintrf.h"
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "apexc.h"
|
#include "apexc.h"
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
@ -803,7 +802,7 @@ static CPU_EXECUTE( apexc )
|
|||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
debugger_instruction_hook(Machine, effective_address(apexc.ml));
|
debugger_instruction_hook(device->machine, effective_address(apexc.ml));
|
||||||
|
|
||||||
if (apexc.running)
|
if (apexc.running)
|
||||||
execute();
|
execute();
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#include "arm.h"
|
#include "arm.h"
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
|
|
||||||
#define READ8(addr) cpu_read8(addr)
|
#define READ8(addr) cpu_read8(addr)
|
||||||
#define WRITE8(addr,data) cpu_write8(addr,data)
|
#define WRITE8(addr,data) cpu_write8(addr,data)
|
||||||
@ -326,7 +325,7 @@ static CPU_EXECUTE( arm )
|
|||||||
arm_icount = cycles;
|
arm_icount = cycles;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
debugger_instruction_hook(Machine, R15);
|
debugger_instruction_hook(device->machine, R15);
|
||||||
|
|
||||||
/* load instruction */
|
/* load instruction */
|
||||||
pc = R15;
|
pc = R15;
|
||||||
|
@ -543,7 +543,7 @@ static CPU_EXECUTE( asap )
|
|||||||
UPDATEPC();
|
UPDATEPC();
|
||||||
|
|
||||||
/* core execution loop */
|
/* core execution loop */
|
||||||
if ((Machine->debug_flags & DEBUG_FLAG_ENABLED) == 0)
|
if ((device->machine->debug_flags & DEBUG_FLAG_ENABLED) == 0)
|
||||||
{
|
{
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "ccpu.h"
|
#include "ccpu.h"
|
||||||
|
|
||||||
|
|
||||||
@ -213,7 +212,7 @@ static CPU_EXECUTE( ccpu )
|
|||||||
ccpu.nextmiflag = ccpu.nextnextmiflag;
|
ccpu.nextmiflag = ccpu.nextnextmiflag;
|
||||||
|
|
||||||
/* fetch the opcode */
|
/* fetch the opcode */
|
||||||
debugger_instruction_hook(Machine, ccpu.PC);
|
debugger_instruction_hook(device->machine, ccpu.PC);
|
||||||
opcode = READOP(ccpu.PC++);
|
opcode = READOP(ccpu.PC++);
|
||||||
|
|
||||||
switch (opcode)
|
switch (opcode)
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#include "driver.h"
|
#include "driver.h"
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "cdp1802.h"
|
#include "cdp1802.h"
|
||||||
|
|
||||||
#define CDP1802_CYCLES_RESET 8
|
#define CDP1802_CYCLES_RESET 8
|
||||||
@ -233,7 +232,7 @@ static void cdp1802_run(running_machine *machine)
|
|||||||
|
|
||||||
cdp1802_ICount -= CDP1802_CYCLES_RESET;
|
cdp1802_ICount -= CDP1802_CYCLES_RESET;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, cdp1802.r[cdp1802.p]);
|
debugger_instruction_hook(machine, cdp1802.r[cdp1802.p]);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -258,7 +257,7 @@ static void cdp1802_run(running_machine *machine)
|
|||||||
cdp1802.state = CDP1802_STATE_0_FETCH;
|
cdp1802.state = CDP1802_STATE_0_FETCH;
|
||||||
}
|
}
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, cdp1802.r[cdp1802.p]);
|
debugger_instruction_hook(machine, cdp1802.r[cdp1802.p]);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -735,7 +734,7 @@ static void cdp1802_run(running_machine *machine)
|
|||||||
cdp1802.state = CDP1802_STATE_0_FETCH;
|
cdp1802.state = CDP1802_STATE_0_FETCH;
|
||||||
}
|
}
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, cdp1802.r[cdp1802.p]);
|
debugger_instruction_hook(machine, cdp1802.r[cdp1802.p]);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -823,7 +822,7 @@ static void cdp1802_run(running_machine *machine)
|
|||||||
cdp1802.state = CDP1802_STATE_0_FETCH;
|
cdp1802.state = CDP1802_STATE_0_FETCH;
|
||||||
}
|
}
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, cdp1802.r[cdp1802.p]);
|
debugger_instruction_hook(machine, cdp1802.r[cdp1802.p]);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -831,12 +830,10 @@ static void cdp1802_run(running_machine *machine)
|
|||||||
|
|
||||||
static CPU_EXECUTE( cdp1802 )
|
static CPU_EXECUTE( cdp1802 )
|
||||||
{
|
{
|
||||||
running_machine *machine = Machine;
|
|
||||||
|
|
||||||
cdp1802_ICount = cycles;
|
cdp1802_ICount = cycles;
|
||||||
|
|
||||||
cdp1802.prevmode = cdp1802.mode;
|
cdp1802.prevmode = cdp1802.mode;
|
||||||
cdp1802.mode = cdp1802.intf->mode_r(machine);
|
cdp1802.mode = cdp1802.intf->mode_r(device->machine);
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
@ -846,12 +843,12 @@ static CPU_EXECUTE( cdp1802 )
|
|||||||
I = 0;
|
I = 0;
|
||||||
N = 0;
|
N = 0;
|
||||||
cdp1802.state = CDP1802_STATE_1_EXECUTE;
|
cdp1802.state = CDP1802_STATE_1_EXECUTE;
|
||||||
cdp1802_run(machine);
|
cdp1802_run(device->machine);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CDP1802_MODE_RESET:
|
case CDP1802_MODE_RESET:
|
||||||
cdp1802.state = CDP1802_STATE_1_RESET;
|
cdp1802.state = CDP1802_STATE_1_RESET;
|
||||||
cdp1802_run(machine);
|
cdp1802_run(device->machine);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CDP1802_MODE_PAUSE:
|
case CDP1802_MODE_PAUSE:
|
||||||
@ -869,17 +866,17 @@ static CPU_EXECUTE( cdp1802 )
|
|||||||
case CDP1802_MODE_RESET:
|
case CDP1802_MODE_RESET:
|
||||||
cdp1802.prevmode = CDP1802_MODE_RUN;
|
cdp1802.prevmode = CDP1802_MODE_RUN;
|
||||||
cdp1802.state = CDP1802_STATE_1_INIT;
|
cdp1802.state = CDP1802_STATE_1_INIT;
|
||||||
cdp1802_run(machine);
|
cdp1802_run(device->machine);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CDP1802_MODE_PAUSE:
|
case CDP1802_MODE_PAUSE:
|
||||||
cdp1802.prevmode = CDP1802_MODE_RUN;
|
cdp1802.prevmode = CDP1802_MODE_RUN;
|
||||||
cdp1802.state = CDP1802_STATE_0_FETCH;
|
cdp1802.state = CDP1802_STATE_0_FETCH;
|
||||||
cdp1802_run(machine);
|
cdp1802_run(device->machine);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CDP1802_MODE_RUN:
|
case CDP1802_MODE_RUN:
|
||||||
cdp1802_run(machine);
|
cdp1802_run(device->machine);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
#include "driver.h"
|
#include "driver.h"
|
||||||
#include "cpuintrf.h"
|
#include "cpuintrf.h"
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "cop400.h"
|
#include "cop400.h"
|
||||||
|
|
||||||
/* The opcode table now is a combination of cycle counts and function pointers */
|
/* The opcode table now is a combination of cycle counts and function pointers */
|
||||||
@ -315,7 +314,7 @@ static CPU_EXECUTE( cop410 )
|
|||||||
{
|
{
|
||||||
prevPC = PC;
|
prevPC = PC;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, PC);
|
debugger_instruction_hook(device->machine, PC);
|
||||||
|
|
||||||
if (R.intf->cko == COP400_CKO_HALT_IO_PORT)
|
if (R.intf->cko == COP400_CKO_HALT_IO_PORT)
|
||||||
{
|
{
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
|
|
||||||
#include "cpuintrf.h"
|
#include "cpuintrf.h"
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "cop400.h"
|
#include "cop400.h"
|
||||||
|
|
||||||
/* The opcode table now is a combination of cycle counts and function pointers */
|
/* The opcode table now is a combination of cycle counts and function pointers */
|
||||||
@ -453,7 +452,7 @@ static CPU_EXECUTE( cop420 )
|
|||||||
{
|
{
|
||||||
prevPC = PC;
|
prevPC = PC;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, PC);
|
debugger_instruction_hook(device->machine, PC);
|
||||||
|
|
||||||
opcode = ROM(PC);
|
opcode = ROM(PC);
|
||||||
|
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
#include "cpuexec.h"
|
#include "cpuexec.h"
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "cp1610.h"
|
#include "cp1610.h"
|
||||||
|
|
||||||
#define S 0x80
|
#define S 0x80
|
||||||
@ -1551,7 +1550,7 @@ static void cp1610_xori(int d)
|
|||||||
static CPU_RESET( cp1610 )
|
static CPU_RESET( cp1610 )
|
||||||
{
|
{
|
||||||
/* This is how we set the reset vector */
|
/* This is how we set the reset vector */
|
||||||
cpu_set_input_line(Machine->activecpu, CP1610_RESET, PULSE_LINE);
|
cpu_set_input_line(device->machine->activecpu, CP1610_RESET, PULSE_LINE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/***************************************************
|
/***************************************************
|
||||||
@ -2168,7 +2167,7 @@ static CPU_EXECUTE( cp1610 )
|
|||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
debugger_instruction_hook(Machine, cp1610.r[7]);
|
debugger_instruction_hook(device->machine, cp1610.r[7]);
|
||||||
|
|
||||||
cp1610.mask_interrupts = 0;
|
cp1610.mask_interrupts = 0;
|
||||||
|
|
||||||
|
@ -342,7 +342,7 @@ static CPU_INIT( cquestsnd )
|
|||||||
memset(&cquestsnd, 0, sizeof(cquestsnd));
|
memset(&cquestsnd, 0, sizeof(cquestsnd));
|
||||||
|
|
||||||
cquestsnd.dac_w = _config->dac_w;
|
cquestsnd.dac_w = _config->dac_w;
|
||||||
cquestsnd.sound_data = (UINT16*)memory_region(Machine, _config->sound_data_region);
|
cquestsnd.sound_data = (UINT16*)memory_region(device->machine, _config->sound_data_region);
|
||||||
|
|
||||||
/* Allocate RAM shared with 68000 */
|
/* Allocate RAM shared with 68000 */
|
||||||
cquestsnd.sram = malloc(4096);
|
cquestsnd.sram = malloc(4096);
|
||||||
@ -541,7 +541,7 @@ static int do_sndjmp(int jmp)
|
|||||||
|
|
||||||
static CPU_EXECUTE( cquestsnd )
|
static CPU_EXECUTE( cquestsnd )
|
||||||
{
|
{
|
||||||
int calldebugger = ((Machine->debug_flags & DEBUG_FLAG_ENABLED) != 0);
|
int calldebugger = ((device->machine->debug_flags & DEBUG_FLAG_ENABLED) != 0);
|
||||||
|
|
||||||
cquestsnd_icount = cycles;
|
cquestsnd_icount = cycles;
|
||||||
|
|
||||||
@ -571,7 +571,7 @@ static CPU_EXECUTE( cquestsnd )
|
|||||||
int _rin = (inslow >> 26) & 1;
|
int _rin = (inslow >> 26) & 1;
|
||||||
|
|
||||||
if (calldebugger)
|
if (calldebugger)
|
||||||
debugger_instruction_hook(Machine, cquestsnd.pc);
|
debugger_instruction_hook(device->machine, cquestsnd.pc);
|
||||||
|
|
||||||
/* Don't think this matters, but just in case */
|
/* Don't think this matters, but just in case */
|
||||||
if (rtn)
|
if (rtn)
|
||||||
@ -875,7 +875,7 @@ INLINE int do_rotjmp(int jmp)
|
|||||||
|
|
||||||
static CPU_EXECUTE( cquestrot )
|
static CPU_EXECUTE( cquestrot )
|
||||||
{
|
{
|
||||||
int calldebugger = ((Machine->debug_flags & DEBUG_FLAG_ENABLED) != 0);
|
int calldebugger = ((device->machine->debug_flags & DEBUG_FLAG_ENABLED) != 0);
|
||||||
|
|
||||||
cquestrot_icount = cycles;
|
cquestrot_icount = cycles;
|
||||||
|
|
||||||
@ -907,7 +907,7 @@ static CPU_EXECUTE( cquestrot )
|
|||||||
UINT16 data_in = 0xffff;
|
UINT16 data_in = 0xffff;
|
||||||
|
|
||||||
if (calldebugger)
|
if (calldebugger)
|
||||||
debugger_instruction_hook(Machine, ROT_PC);
|
debugger_instruction_hook(device->machine, ROT_PC);
|
||||||
|
|
||||||
/* Handle DRAM accesses - I ought to check this... */
|
/* Handle DRAM accesses - I ought to check this... */
|
||||||
if (!(cquestrot.clkcnt & 3))
|
if (!(cquestrot.clkcnt & 3))
|
||||||
@ -1381,7 +1381,7 @@ static CPU_EXECUTE( cquestlin )
|
|||||||
{
|
{
|
||||||
#define LINE_PC ((cquestlin.pc[prog] & 0x7f) | ((prog == BACKGROUND) ? 0x80 : 0))
|
#define LINE_PC ((cquestlin.pc[prog] & 0x7f) | ((prog == BACKGROUND) ? 0x80 : 0))
|
||||||
|
|
||||||
int calldebugger = ((Machine->debug_flags & DEBUG_FLAG_ENABLED) != 0);
|
int calldebugger = ((device->machine->debug_flags & DEBUG_FLAG_ENABLED) != 0);
|
||||||
UINT32 *stack_ram;
|
UINT32 *stack_ram;
|
||||||
UINT8 *ptr_ram;
|
UINT8 *ptr_ram;
|
||||||
|
|
||||||
@ -1426,7 +1426,7 @@ static CPU_EXECUTE( cquestlin )
|
|||||||
UINT16 data_in = 0;
|
UINT16 data_in = 0;
|
||||||
|
|
||||||
if (calldebugger)
|
if (calldebugger)
|
||||||
debugger_instruction_hook(Machine, cquestlin.pc[prog]);
|
debugger_instruction_hook(device->machine, cquestlin.pc[prog]);
|
||||||
|
|
||||||
/* Handle accesses to and from shared SRAM */
|
/* Handle accesses to and from shared SRAM */
|
||||||
if (prog == FOREGROUND)
|
if (prog == FOREGROUND)
|
||||||
|
@ -4765,7 +4765,7 @@ static CPU_EXECUTE( hyperstone )
|
|||||||
UINT16 opcode;
|
UINT16 opcode;
|
||||||
|
|
||||||
PPC = PC; /* copy PC to previous PC */
|
PPC = PC; /* copy PC to previous PC */
|
||||||
debugger_instruction_hook(Machine, PC);
|
debugger_instruction_hook(device->machine, PC);
|
||||||
|
|
||||||
opcode = READ_OP(PC);
|
opcode = READ_OP(PC);
|
||||||
PC += 2;
|
PC += 2;
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "f8.h"
|
#include "f8.h"
|
||||||
|
|
||||||
#define S 0x01
|
#define S 0x01
|
||||||
@ -1578,7 +1577,7 @@ static CPU_EXECUTE( f8 )
|
|||||||
do
|
do
|
||||||
{
|
{
|
||||||
UINT8 op=f8.dbus;
|
UINT8 op=f8.dbus;
|
||||||
debugger_instruction_hook(Machine, (f8.pc0 - 1) & 0xffff);
|
debugger_instruction_hook(device->machine, (f8.pc0 - 1) & 0xffff);
|
||||||
|
|
||||||
switch( op )
|
switch( op )
|
||||||
{
|
{
|
||||||
|
@ -356,7 +356,7 @@ static CPU_INIT( g65816 )
|
|||||||
state_save_register_item("G65816", index, g65816i_cpu.irq_delay);
|
state_save_register_item("G65816", index, g65816i_cpu.irq_delay);
|
||||||
state_save_register_item("G65816", index, g65816i_cpu.stopped);
|
state_save_register_item("G65816", index, g65816i_cpu.stopped);
|
||||||
|
|
||||||
state_save_register_postload(Machine, g65816_restore_state, NULL);
|
state_save_register_postload(device->machine, g65816_restore_state, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
|
@ -248,7 +248,7 @@ static CPU_EXECUTE( h6280 )
|
|||||||
CHANGE_PC;
|
CHANGE_PC;
|
||||||
h6280.ppc = h6280.pc;
|
h6280.ppc = h6280.pc;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, PCW);
|
debugger_instruction_hook(device->machine, PCW);
|
||||||
|
|
||||||
/* Execute 1 instruction */
|
/* Execute 1 instruction */
|
||||||
in=RDOP();
|
in=RDOP();
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "h83002.h"
|
#include "h83002.h"
|
||||||
#include "h8priv.h"
|
#include "h8priv.h"
|
||||||
|
|
||||||
@ -339,7 +338,7 @@ static CPU_INIT( h8 )
|
|||||||
state_save_register_item("H8/3002", index, h8.h8TSTR);
|
state_save_register_item("H8/3002", index, h8.h8TSTR);
|
||||||
state_save_register_item_array("H8/3002", index, h8.h8TCNT);
|
state_save_register_item_array("H8/3002", index, h8.h8TCNT);
|
||||||
|
|
||||||
state_save_register_postload(Machine, h8_onstateload, NULL);
|
state_save_register_postload(device->machine, h8_onstateload, NULL);
|
||||||
|
|
||||||
h8_itu_init();
|
h8_itu_init();
|
||||||
}
|
}
|
||||||
@ -474,7 +473,7 @@ static CPU_EXECUTE( h8 )
|
|||||||
{
|
{
|
||||||
h8.ppc = h8.pc;
|
h8.ppc = h8.pc;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, h8.pc);
|
debugger_instruction_hook(device->machine, h8.pc);
|
||||||
|
|
||||||
opcode = cpu_readop16(h8.pc);
|
opcode = cpu_readop16(h8.pc);
|
||||||
// mame_printf_debug("[%06x]: %04x => %x\n", h8.pc, opcode, (opcode>>12)&0xf);
|
// mame_printf_debug("[%06x]: %04x => %x\n", h8.pc, opcode, (opcode>>12)&0xf);
|
||||||
|
@ -103,7 +103,6 @@
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "hd6309.h"
|
#include "hd6309.h"
|
||||||
|
|
||||||
#define VERBOSE 0
|
#define VERBOSE 0
|
||||||
@ -532,7 +531,7 @@ static CPU_INIT( hd6309 )
|
|||||||
state_save_register_item("hd6309", index, DP);
|
state_save_register_item("hd6309", index, DP);
|
||||||
state_save_register_item("hd6309", index, CC);
|
state_save_register_item("hd6309", index, CC);
|
||||||
state_save_register_item("hd6309", index, MD);
|
state_save_register_item("hd6309", index, MD);
|
||||||
state_save_register_postload(Machine, hd6309_postload, NULL);
|
state_save_register_postload(device->machine, hd6309_postload, NULL);
|
||||||
state_save_register_item("hd6309", index, hd6309.int_state);
|
state_save_register_item("hd6309", index, hd6309.int_state);
|
||||||
state_save_register_item("hd6309", index, hd6309.nmi_state);
|
state_save_register_item("hd6309", index, hd6309.nmi_state);
|
||||||
state_save_register_item("hd6309", index, hd6309.irq_state[0]);
|
state_save_register_item("hd6309", index, hd6309.irq_state[0]);
|
||||||
@ -632,7 +631,7 @@ static CPU_EXECUTE( hd6309 ) /* NS 970908 */
|
|||||||
|
|
||||||
if (hd6309.int_state & (HD6309_CWAI | HD6309_SYNC))
|
if (hd6309.int_state & (HD6309_CWAI | HD6309_SYNC))
|
||||||
{
|
{
|
||||||
debugger_instruction_hook(Machine, PCD);
|
debugger_instruction_hook(device->machine, PCD);
|
||||||
hd6309_ICount = 0;
|
hd6309_ICount = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -641,7 +640,7 @@ static CPU_EXECUTE( hd6309 ) /* NS 970908 */
|
|||||||
{
|
{
|
||||||
pPPC = pPC;
|
pPPC = pPC;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, PCD);
|
debugger_instruction_hook(device->machine, PCD);
|
||||||
|
|
||||||
hd6309.ireg = ROP(PCD);
|
hd6309.ireg = ROP(PCD);
|
||||||
PC++;
|
PC++;
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "i386.h"
|
#include "i386.h"
|
||||||
#include "i386intf.h"
|
#include "i386intf.h"
|
||||||
|
|
||||||
@ -579,7 +578,7 @@ static CPU_INIT( i386 )
|
|||||||
state_save_register_item(state_type, index, I.ldtr.flags);
|
state_save_register_item(state_type, index, I.ldtr.flags);
|
||||||
state_save_register_item(state_type, index, I.irq_state);
|
state_save_register_item(state_type, index, I.irq_state);
|
||||||
state_save_register_item(state_type, index, I.performed_intersegment_jump);
|
state_save_register_item(state_type, index, I.performed_intersegment_jump);
|
||||||
state_save_register_postload(Machine, i386_postload, NULL);
|
state_save_register_postload(device->machine, i386_postload, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void build_opcode_table(UINT32 features)
|
static void build_opcode_table(UINT32 features)
|
||||||
@ -716,7 +715,7 @@ static CPU_EXECUTE( i386 )
|
|||||||
I.segment_prefix = 0;
|
I.segment_prefix = 0;
|
||||||
I.prev_eip = I.eip;
|
I.prev_eip = I.eip;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, I.pc);
|
debugger_instruction_hook(device->machine, I.pc);
|
||||||
|
|
||||||
i386_check_irq_line();
|
i386_check_irq_line();
|
||||||
I386OP(decode_opcode)();
|
I386OP(decode_opcode)();
|
||||||
|
@ -125,7 +125,6 @@
|
|||||||
/*int survival_prot = 0; */
|
/*int survival_prot = 0; */
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "i8085.h"
|
#include "i8085.h"
|
||||||
#include "i8085cpu.h"
|
#include "i8085cpu.h"
|
||||||
#include "i8085daa.h"
|
#include "i8085daa.h"
|
||||||
@ -1308,7 +1307,7 @@ static CPU_EXECUTE( i8085 )
|
|||||||
i8085_ICount = cycles;
|
i8085_ICount = cycles;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
debugger_instruction_hook(Machine, I.PC.d);
|
debugger_instruction_hook(device->machine, I.PC.d);
|
||||||
/* interrupts enabled or TRAP pending ? */
|
/* interrupts enabled or TRAP pending ? */
|
||||||
if ( (I.IM & IM_IEN) || (I.IREQ & IM_TRAP) )
|
if ( (I.IM & IM_IEN) || (I.IREQ & IM_TRAP) )
|
||||||
{
|
{
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "host.h"
|
#include "host.h"
|
||||||
|
|
||||||
|
|
||||||
@ -227,7 +226,7 @@ static CPU_EXECUTE( i80286 )
|
|||||||
while(i80286_ICount>0)
|
while(i80286_ICount>0)
|
||||||
{
|
{
|
||||||
LOG(("[%04x:%04x]=%02x\tF:%04x\tAX=%04x\tBX=%04x\tCX=%04x\tDX=%04x %d%d%d%d%d%d%d%d%d\n",I.sregs[CS],I.pc - I.base[CS],ReadByte(I.pc),I.flags,I.regs.w[AX],I.regs.w[BX],I.regs.w[CX],I.regs.w[DX], I.AuxVal?1:0, I.OverVal?1:0, I.SignVal?1:0, I.ZeroVal?1:0, I.CarryVal?1:0, I.ParityVal?1:0,I.TF, I.IF, I.DirVal<0?1:0));
|
LOG(("[%04x:%04x]=%02x\tF:%04x\tAX=%04x\tBX=%04x\tCX=%04x\tDX=%04x %d%d%d%d%d%d%d%d%d\n",I.sregs[CS],I.pc - I.base[CS],ReadByte(I.pc),I.flags,I.regs.w[AX],I.regs.w[BX],I.regs.w[CX],I.regs.w[DX], I.AuxVal?1:0, I.OverVal?1:0, I.SignVal?1:0, I.ZeroVal?1:0, I.CarryVal?1:0, I.ParityVal?1:0,I.TF, I.IF, I.DirVal<0?1:0));
|
||||||
debugger_instruction_hook(Machine, I.pc);
|
debugger_instruction_hook(device->machine, I.pc);
|
||||||
|
|
||||||
seg_prefix=FALSE;
|
seg_prefix=FALSE;
|
||||||
I.prevpc = I.pc;
|
I.prevpc = I.pc;
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
/* 26.March 2000 PeT changed set_irq_line */
|
/* 26.March 2000 PeT changed set_irq_line */
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "cpuintrf.h"
|
#include "cpuintrf.h"
|
||||||
|
|
||||||
#include "host.h"
|
#include "host.h"
|
||||||
@ -248,7 +247,7 @@ static CPU_EXECUTE( i8086 )
|
|||||||
LOG(("[%04x:%04x]=%02x\tF:%04x\tAX=%04x\tBX=%04x\tCX=%04x\tDX=%04x %d%d%d%d%d%d%d%d%d\n",
|
LOG(("[%04x:%04x]=%02x\tF:%04x\tAX=%04x\tBX=%04x\tCX=%04x\tDX=%04x %d%d%d%d%d%d%d%d%d\n",
|
||||||
I.sregs[CS], I.pc - I.base[CS], ReadByte(I.pc), I.flags, I.regs.w[AX], I.regs.w[BX], I.regs.w[CX], I.regs.w[DX], I.AuxVal ? 1 : 0, I.OverVal ? 1 : 0,
|
I.sregs[CS], I.pc - I.base[CS], ReadByte(I.pc), I.flags, I.regs.w[AX], I.regs.w[BX], I.regs.w[CX], I.regs.w[DX], I.AuxVal ? 1 : 0, I.OverVal ? 1 : 0,
|
||||||
I.SignVal ? 1 : 0, I.ZeroVal ? 1 : 0, I.CarryVal ? 1 : 0, I.ParityVal ? 1 : 0, I.TF, I.IF, I.DirVal < 0 ? 1 : 0));
|
I.SignVal ? 1 : 0, I.ZeroVal ? 1 : 0, I.CarryVal ? 1 : 0, I.ParityVal ? 1 : 0, I.TF, I.IF, I.DirVal < 0 ? 1 : 0));
|
||||||
debugger_instruction_hook(Machine, I.pc);
|
debugger_instruction_hook(device->machine, I.pc);
|
||||||
|
|
||||||
seg_prefix = FALSE;
|
seg_prefix = FALSE;
|
||||||
I.prevpc = I.pc;
|
I.prevpc = I.pc;
|
||||||
@ -301,7 +300,7 @@ static CPU_EXECUTE( i80186 )
|
|||||||
{
|
{
|
||||||
LOG(("[%04x:%04x]=%02x\tAX=%04x\tBX=%04x\tCX=%04x\tDX=%04x\n", I.sregs[CS], I.pc, ReadByte(I.pc), I.regs.w[AX],
|
LOG(("[%04x:%04x]=%02x\tAX=%04x\tBX=%04x\tCX=%04x\tDX=%04x\n", I.sregs[CS], I.pc, ReadByte(I.pc), I.regs.w[AX],
|
||||||
I.regs.w[BX], I.regs.w[CX], I.regs.w[DX]));
|
I.regs.w[BX], I.regs.w[CX], I.regs.w[DX]));
|
||||||
debugger_instruction_hook(Machine, I.pc);
|
debugger_instruction_hook(device->machine, I.pc);
|
||||||
|
|
||||||
seg_prefix = FALSE;
|
seg_prefix = FALSE;
|
||||||
I.prevpc = I.pc;
|
I.prevpc = I.pc;
|
||||||
|
@ -115,7 +115,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "i8x41.h"
|
#include "i8x41.h"
|
||||||
|
|
||||||
typedef struct _upi41_state_t upi41_state_t;
|
typedef struct _upi41_state_t upi41_state_t;
|
||||||
@ -924,7 +923,7 @@ static CPU_EXECUTE( i8x41 )
|
|||||||
|
|
||||||
PPC = PC;
|
PPC = PC;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, PC);
|
debugger_instruction_hook(device->machine, PC);
|
||||||
|
|
||||||
PC += 1;
|
PC += 1;
|
||||||
upi41_state->icount -= i8x41_cycles[op];
|
upi41_state->icount -= i8x41_cycles[op];
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "i960.h"
|
#include "i960.h"
|
||||||
#include "i960dis.h"
|
#include "i960dis.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
@ -1959,7 +1958,7 @@ static CPU_EXECUTE( i960 )
|
|||||||
check_irqs(i960_state);
|
check_irqs(i960_state);
|
||||||
while(i960_state->icount >= 0) {
|
while(i960_state->icount >= 0) {
|
||||||
i960_state->PIP = i960_state->IP;
|
i960_state->PIP = i960_state->IP;
|
||||||
debugger_instruction_hook(Machine, i960_state->IP);
|
debugger_instruction_hook(device->machine, i960_state->IP);
|
||||||
|
|
||||||
i960_state->bursting = 0;
|
i960_state->bursting = 0;
|
||||||
|
|
||||||
|
@ -527,7 +527,7 @@ static CPU_EXECUTE( jaguargpu )
|
|||||||
/* debugging */
|
/* debugging */
|
||||||
//if (jaguar.PC < 0xf03000 || jaguar.PC > 0xf04000) { fatalerror("GPU: jaguar.PC = %06X (ppc = %06X)", jaguar.PC, jaguar.ppc); }
|
//if (jaguar.PC < 0xf03000 || jaguar.PC > 0xf04000) { fatalerror("GPU: jaguar.PC = %06X (ppc = %06X)", jaguar.PC, jaguar.ppc); }
|
||||||
jaguar.ppc = jaguar.PC;
|
jaguar.ppc = jaguar.PC;
|
||||||
debugger_instruction_hook(Machine, jaguar.PC);
|
debugger_instruction_hook(device->machine, jaguar.PC);
|
||||||
|
|
||||||
/* instruction fetch */
|
/* instruction fetch */
|
||||||
jaguar.op = ROPCODE(jaguar.PC);
|
jaguar.op = ROPCODE(jaguar.PC);
|
||||||
@ -573,7 +573,7 @@ static CPU_EXECUTE( jaguardsp )
|
|||||||
/* debugging */
|
/* debugging */
|
||||||
//if (jaguar.PC < 0xf1b000 || jaguar.PC > 0xf1d000) { fatalerror(stderr, "DSP: jaguar.PC = %06X", jaguar.PC); }
|
//if (jaguar.PC < 0xf1b000 || jaguar.PC > 0xf1d000) { fatalerror(stderr, "DSP: jaguar.PC = %06X", jaguar.PC); }
|
||||||
jaguar.ppc = jaguar.PC;
|
jaguar.ppc = jaguar.PC;
|
||||||
debugger_instruction_hook(Machine, jaguar.PC);
|
debugger_instruction_hook(device->machine, jaguar.PC);
|
||||||
|
|
||||||
/* instruction fetch */
|
/* instruction fetch */
|
||||||
jaguar.op = ROPCODE(jaguar.PC);
|
jaguar.op = ROPCODE(jaguar.PC);
|
||||||
|
@ -35,7 +35,6 @@
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "konami.h"
|
#include "konami.h"
|
||||||
|
|
||||||
#define VERBOSE 0
|
#define VERBOSE 0
|
||||||
@ -499,7 +498,7 @@ static CPU_EXECUTE( konami )
|
|||||||
{
|
{
|
||||||
pPPC = pPC;
|
pPPC = pPC;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, PCD);
|
debugger_instruction_hook(device->machine, PCD);
|
||||||
|
|
||||||
konami.ireg = ROP(PCD);
|
konami.ireg = ROP(PCD);
|
||||||
PC++;
|
PC++;
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
|
|
||||||
#include "lh5801.h"
|
#include "lh5801.h"
|
||||||
|
|
||||||
@ -133,7 +132,7 @@ static CPU_EXECUTE( lh5801 )
|
|||||||
{
|
{
|
||||||
lh5801.oldpc = P;
|
lh5801.oldpc = P;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, P);
|
debugger_instruction_hook(device->machine, P);
|
||||||
lh5801_instruction();
|
lh5801_instruction();
|
||||||
|
|
||||||
} while (lh5801_icount > 0);
|
} while (lh5801_icount > 0);
|
||||||
|
@ -37,7 +37,6 @@
|
|||||||
/** **/
|
/** **/
|
||||||
/*************************************************************/
|
/*************************************************************/
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "lr35902.h"
|
#include "lr35902.h"
|
||||||
|
|
||||||
#define FLAG_Z 0x80
|
#define FLAG_Z 0x80
|
||||||
@ -309,7 +308,7 @@ static CPU_EXECUTE( lr35902 )
|
|||||||
} else {
|
} else {
|
||||||
/* Fetch and count cycles */
|
/* Fetch and count cycles */
|
||||||
lr35902_ProcessInterrupts ();
|
lr35902_ProcessInterrupts ();
|
||||||
debugger_instruction_hook(Machine, Regs.w.PC);
|
debugger_instruction_hook(device->machine, Regs.w.PC);
|
||||||
if ( Regs.w.enable & HALTED ) {
|
if ( Regs.w.enable & HALTED ) {
|
||||||
CYCLES_PASSED( Cycles[0x76] );
|
CYCLES_PASSED( Cycles[0x76] );
|
||||||
Regs.w.execution_state = 1;
|
Regs.w.execution_state = 1;
|
||||||
|
@ -51,8 +51,8 @@
|
|||||||
added save state support.
|
added save state support.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "deprecat.h"
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
|
#include "deprecat.h"
|
||||||
#include "cpuexec.h"
|
#include "cpuexec.h"
|
||||||
#include "m37710cm.h"
|
#include "m37710cm.h"
|
||||||
|
|
||||||
@ -1041,7 +1041,7 @@ static CPU_INIT( m37710 )
|
|||||||
state_save_register_item("M377xx", index, m37710i_cpu.reload[7].seconds);
|
state_save_register_item("M377xx", index, m37710i_cpu.reload[7].seconds);
|
||||||
state_save_register_item("M377xx", index, m37710i_cpu.reload[7].attoseconds);
|
state_save_register_item("M377xx", index, m37710i_cpu.reload[7].attoseconds);
|
||||||
|
|
||||||
state_save_register_postload(Machine, m37710_restore_state, NULL);
|
state_save_register_postload(device->machine, m37710_restore_state, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
|
@ -987,7 +987,7 @@ static CPU_EXECUTE( m6800 )
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
pPPC = pPC;
|
pPPC = pPC;
|
||||||
debugger_instruction_hook(Machine, PCD);
|
debugger_instruction_hook(device->machine, PCD);
|
||||||
ireg=M_RDOP(PCD);
|
ireg=M_RDOP(PCD);
|
||||||
PC++;
|
PC++;
|
||||||
|
|
||||||
@ -1337,7 +1337,7 @@ static CPU_EXECUTE( m6803 )
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
pPPC = pPC;
|
pPPC = pPC;
|
||||||
debugger_instruction_hook(Machine, PCD);
|
debugger_instruction_hook(device->machine, PCD);
|
||||||
ireg=M_RDOP(PCD);
|
ireg=M_RDOP(PCD);
|
||||||
PC++;
|
PC++;
|
||||||
|
|
||||||
@ -1679,7 +1679,7 @@ static CPU_EXECUTE( hd63701 )
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
pPPC = pPC;
|
pPPC = pPC;
|
||||||
debugger_instruction_hook(Machine, PCD);
|
debugger_instruction_hook(device->machine, PCD);
|
||||||
ireg=M_RDOP(PCD);
|
ireg=M_RDOP(PCD);
|
||||||
PC++;
|
PC++;
|
||||||
|
|
||||||
@ -2011,7 +2011,7 @@ static CPU_EXECUTE( nsc8105 )
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
pPPC = pPC;
|
pPPC = pPC;
|
||||||
debugger_instruction_hook(Machine, PCD);
|
debugger_instruction_hook(device->machine, PCD);
|
||||||
ireg=M_RDOP(PCD);
|
ireg=M_RDOP(PCD);
|
||||||
PC++;
|
PC++;
|
||||||
|
|
||||||
|
@ -32,7 +32,6 @@
|
|||||||
|
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "m6805.h"
|
#include "m6805.h"
|
||||||
|
|
||||||
#define IRQ_LEVEL_DETECT 0
|
#define IRQ_LEVEL_DETECT 0
|
||||||
@ -530,7 +529,7 @@ static CPU_EXECUTE( m6805 )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, PC);
|
debugger_instruction_hook(device->machine, PC);
|
||||||
|
|
||||||
ireg=M_RDOP(PC++);
|
ireg=M_RDOP(PC++);
|
||||||
|
|
||||||
|
@ -71,7 +71,6 @@
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "m6809.h"
|
#include "m6809.h"
|
||||||
|
|
||||||
/* Enable big switch statement for the main opcodes */
|
/* Enable big switch statement for the main opcodes */
|
||||||
@ -521,7 +520,7 @@ static CPU_EXECUTE( m6809 ) /* NS 970908 */
|
|||||||
|
|
||||||
if (m6809.int_state & (M6809_CWAI | M6809_SYNC))
|
if (m6809.int_state & (M6809_CWAI | M6809_SYNC))
|
||||||
{
|
{
|
||||||
debugger_instruction_hook(Machine, PCD);
|
debugger_instruction_hook(device->machine, PCD);
|
||||||
m6809_ICount = 0;
|
m6809_ICount = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -530,7 +529,7 @@ static CPU_EXECUTE( m6809 ) /* NS 970908 */
|
|||||||
{
|
{
|
||||||
pPPC = pPC;
|
pPPC = pPC;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, PCD);
|
debugger_instruction_hook(device->machine, PCD);
|
||||||
|
|
||||||
m6809.ireg = ROP(PCD);
|
m6809.ireg = ROP(PCD);
|
||||||
PC++;
|
PC++;
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
#include "mb86233.h"
|
#include "mb86233.h"
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
STRUCTURES & TYPEDEFS
|
STRUCTURES & TYPEDEFS
|
||||||
@ -134,7 +133,7 @@ static CPU_INIT( mb86233 )
|
|||||||
memset( mb86233.RAM, 0, 2 * 0x200 * sizeof(UINT32) );
|
memset( mb86233.RAM, 0, 2 * 0x200 * sizeof(UINT32) );
|
||||||
mb86233.ARAM = &mb86233.RAM[0];
|
mb86233.ARAM = &mb86233.RAM[0];
|
||||||
mb86233.BRAM = &mb86233.RAM[0x200];
|
mb86233.BRAM = &mb86233.RAM[0x200];
|
||||||
mb86233.Tables = (UINT32*) memory_region(Machine, _config->tablergn);
|
mb86233.Tables = (UINT32*) memory_region(device->machine, _config->tablergn);
|
||||||
|
|
||||||
state_save_register_global_pointer(mb86233.RAM,2 * 0x200 * sizeof(UINT32));
|
state_save_register_global_pointer(mb86233.RAM,2 * 0x200 * sizeof(UINT32));
|
||||||
}
|
}
|
||||||
@ -974,7 +973,7 @@ static CPU_EXECUTE( mb86233 )
|
|||||||
UINT32 val;
|
UINT32 val;
|
||||||
UINT32 opcode;
|
UINT32 opcode;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, GETPC());
|
debugger_instruction_hook(device->machine, GETPC());
|
||||||
|
|
||||||
opcode = ROPCODE(GETPC());
|
opcode = ROPCODE(GETPC());
|
||||||
|
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "mb88xx.h"
|
#include "mb88xx.h"
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
@ -239,7 +238,7 @@ static CPU_EXECUTE( mb88 )
|
|||||||
UINT8 opcode, arg, oc;
|
UINT8 opcode, arg, oc;
|
||||||
|
|
||||||
/* fetch the opcode */
|
/* fetch the opcode */
|
||||||
debugger_instruction_hook(Machine, GETPC());
|
debugger_instruction_hook(device->machine, GETPC());
|
||||||
opcode = READOP(GETPC());
|
opcode = READOP(GETPC());
|
||||||
|
|
||||||
/* increment the PC */
|
/* increment the PC */
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "mc68hc11.h"
|
#include "mc68hc11.h"
|
||||||
|
|
||||||
enum
|
enum
|
||||||
@ -388,7 +387,7 @@ static CPU_EXECUTE( hc11 )
|
|||||||
UINT8 op;
|
UINT8 op;
|
||||||
|
|
||||||
hc11.ppc = hc11.pc;
|
hc11.ppc = hc11.pc;
|
||||||
debugger_instruction_hook(Machine, hc11.pc);
|
debugger_instruction_hook(device->machine, hc11.pc);
|
||||||
|
|
||||||
op = FETCH();
|
op = FETCH();
|
||||||
hc11_optable[op]();
|
hc11_optable[op]();
|
||||||
|
@ -41,7 +41,6 @@ T0 output clock
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "mcs48.h"
|
#include "mcs48.h"
|
||||||
|
|
||||||
|
|
||||||
@ -934,7 +933,7 @@ static CPU_EXECUTE( mcs48 )
|
|||||||
{
|
{
|
||||||
/* fetch next opcode */
|
/* fetch next opcode */
|
||||||
mcs48->prevpc = mcs48->pc;
|
mcs48->prevpc = mcs48->pc;
|
||||||
debugger_instruction_hook(Machine, PC);
|
debugger_instruction_hook(device->machine, PC);
|
||||||
opcode = opcode_fetch(PC++);
|
opcode = opcode_fetch(PC++);
|
||||||
|
|
||||||
/* process opcode and count cycles */
|
/* process opcode and count cycles */
|
||||||
|
@ -138,7 +138,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "mcs51.h"
|
#include "mcs51.h"
|
||||||
|
|
||||||
#define VERBOSE 1
|
#define VERBOSE 1
|
||||||
@ -1941,7 +1940,7 @@ static CPU_EXECUTE( mcs51 )
|
|||||||
{
|
{
|
||||||
/* Read next opcode */
|
/* Read next opcode */
|
||||||
PPC = PC;
|
PPC = PC;
|
||||||
debugger_instruction_hook(Machine, PC);
|
debugger_instruction_hook(device->machine, PC);
|
||||||
op = cpu_readop(PC++);
|
op = cpu_readop(PC++);
|
||||||
|
|
||||||
/* process opcode and count cycles */
|
/* process opcode and count cycles */
|
||||||
|
@ -1677,7 +1677,7 @@ CPU_EXECUTE( mips3 )
|
|||||||
|
|
||||||
/* debugging */
|
/* debugging */
|
||||||
mips3.ppc = mips3.core.pc;
|
mips3.ppc = mips3.core.pc;
|
||||||
debugger_instruction_hook(Machine, mips3.core.pc);
|
debugger_instruction_hook(device->machine, mips3.core.pc);
|
||||||
|
|
||||||
/* instruction fetch */
|
/* instruction fetch */
|
||||||
op = ROPCODE(mips3.pcbase | (mips3.core.pc & 0xfff));
|
op = ROPCODE(mips3.pcbase | (mips3.core.pc & 0xfff));
|
||||||
|
@ -1598,7 +1598,7 @@ static CPU_RESET( mips )
|
|||||||
|
|
||||||
mips_update_memory_handlers();
|
mips_update_memory_handlers();
|
||||||
mips_update_address_masks();
|
mips_update_address_masks();
|
||||||
mips_update_scratchpad(Machine);
|
mips_update_scratchpad(device->machine);
|
||||||
|
|
||||||
mips_set_cp0r( CP0_SR, SR_BEV );
|
mips_set_cp0r( CP0_SR, SR_BEV );
|
||||||
mips_set_cp0r( CP0_CAUSE, 0x00000000 );
|
mips_set_cp0r( CP0_CAUSE, 0x00000000 );
|
||||||
@ -1796,7 +1796,7 @@ static CPU_EXECUTE( mips )
|
|||||||
do
|
do
|
||||||
{
|
{
|
||||||
if (LOG_BIOSCALL) log_bioscall();
|
if (LOG_BIOSCALL) log_bioscall();
|
||||||
debugger_instruction_hook(Machine, mipscpu.pc );
|
debugger_instruction_hook(device->machine, mipscpu.pc );
|
||||||
|
|
||||||
mipscpu.op = cpu_readop32( mipscpu.pc );
|
mipscpu.op = cpu_readop32( mipscpu.pc );
|
||||||
switch( INS_OP( mipscpu.op ) )
|
switch( INS_OP( mipscpu.op ) )
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "r3000.h"
|
#include "r3000.h"
|
||||||
|
|
||||||
|
|
||||||
@ -745,7 +744,7 @@ static CPU_EXECUTE( r3000 )
|
|||||||
|
|
||||||
/* debugging */
|
/* debugging */
|
||||||
r3000->ppc = r3000->pc;
|
r3000->ppc = r3000->pc;
|
||||||
debugger_instruction_hook(Machine, r3000->pc);
|
debugger_instruction_hook(device->machine, r3000->pc);
|
||||||
|
|
||||||
/* instruction fetch */
|
/* instruction fetch */
|
||||||
op = ROPCODE(r3000->pc);
|
op = ROPCODE(r3000->pc);
|
||||||
|
@ -1250,7 +1250,7 @@ static CPU_EXECUTE( necv )
|
|||||||
if (I.no_interrupt)
|
if (I.no_interrupt)
|
||||||
I.no_interrupt--;
|
I.no_interrupt--;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, (I.sregs[PS]<<4) + I.ip);
|
debugger_instruction_hook(device->machine, (I.sregs[PS]<<4) + I.ip);
|
||||||
prev_ICount = nec_ICount;
|
prev_ICount = nec_ICount;
|
||||||
nec_instruction[fetchop()]();
|
nec_instruction[fetchop()]();
|
||||||
do_prefetch(prev_ICount);
|
do_prefetch(prev_ICount);
|
||||||
|
@ -624,7 +624,7 @@ static CPU_EXECUTE( pdp1 )
|
|||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
debugger_instruction_hook(Machine, PC);
|
debugger_instruction_hook(device->machine, PC);
|
||||||
|
|
||||||
|
|
||||||
/* ioh should be cleared at the end of the instruction cycle, and ios at the
|
/* ioh should be cleared at the end of the instruction cycle, and ios at the
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
#include "cpuintrf.h"
|
#include "cpuintrf.h"
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "tx0.h"
|
#include "tx0.h"
|
||||||
|
|
||||||
#define LOG 0
|
#define LOG 0
|
||||||
@ -183,7 +182,7 @@ static CPU_EXECUTE( tx0_64kw )
|
|||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
debugger_instruction_hook(Machine, PC);
|
debugger_instruction_hook(device->machine, PC);
|
||||||
|
|
||||||
|
|
||||||
if (tx0.ioh && tx0.ios)
|
if (tx0.ioh && tx0.ios)
|
||||||
@ -291,7 +290,7 @@ static CPU_EXECUTE( tx0_8kw )
|
|||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
debugger_instruction_hook(Machine, PC);
|
debugger_instruction_hook(device->machine, PC);
|
||||||
|
|
||||||
|
|
||||||
if (tx0.ioh && tx0.ios)
|
if (tx0.ioh && tx0.ios)
|
||||||
|
@ -54,7 +54,6 @@
|
|||||||
|
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "pic16c5x.h"
|
#include "pic16c5x.h"
|
||||||
|
|
||||||
|
|
||||||
@ -841,7 +840,7 @@ static CPU_EXECUTE( pic16C5x )
|
|||||||
if (PD == 0) /* Sleep Mode */
|
if (PD == 0) /* Sleep Mode */
|
||||||
{
|
{
|
||||||
inst_cycles = (1*CLK);
|
inst_cycles = (1*CLK);
|
||||||
debugger_instruction_hook(Machine, R.PC);
|
debugger_instruction_hook(device->machine, R.PC);
|
||||||
if (WDTE) {
|
if (WDTE) {
|
||||||
pic16C5x_update_watchdog(1*CLK);
|
pic16C5x_update_watchdog(1*CLK);
|
||||||
}
|
}
|
||||||
@ -850,7 +849,7 @@ static CPU_EXECUTE( pic16C5x )
|
|||||||
{
|
{
|
||||||
R.PREVPC = R.PC;
|
R.PREVPC = R.PC;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, R.PC);
|
debugger_instruction_hook(device->machine, R.PC);
|
||||||
|
|
||||||
R.opcode.d = M_RDOP(R.PC);
|
R.opcode.d = M_RDOP(R.PC);
|
||||||
R.PC++;
|
R.PC++;
|
||||||
|
@ -177,7 +177,7 @@ static CPU_EXECUTE( ppc403 )
|
|||||||
{
|
{
|
||||||
UINT32 opcode;
|
UINT32 opcode;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, ppc.pc);
|
debugger_instruction_hook(device->machine, ppc.pc);
|
||||||
ppc.pc = ppc.npc;
|
ppc.pc = ppc.npc;
|
||||||
ppc.npc += 4;
|
ppc.npc += 4;
|
||||||
opcode = ROPCODE(ppc.pc);
|
opcode = ROPCODE(ppc.pc);
|
||||||
|
@ -252,7 +252,7 @@ static CPU_EXECUTE( ppc602 )
|
|||||||
while( ppc_icount > 0 )
|
while( ppc_icount > 0 )
|
||||||
{
|
{
|
||||||
ppc.pc = ppc.npc;
|
ppc.pc = ppc.npc;
|
||||||
debugger_instruction_hook(Machine, ppc.pc);
|
debugger_instruction_hook(device->machine, ppc.pc);
|
||||||
|
|
||||||
if (MSR & MSR_IR)
|
if (MSR & MSR_IR)
|
||||||
opcode = ppc_readop_translated(ppc.pc);
|
opcode = ppc_readop_translated(ppc.pc);
|
||||||
|
@ -260,7 +260,7 @@ static CPU_EXECUTE( ppc603 )
|
|||||||
while( ppc_icount > 0 )
|
while( ppc_icount > 0 )
|
||||||
{
|
{
|
||||||
ppc.pc = ppc.npc;
|
ppc.pc = ppc.npc;
|
||||||
debugger_instruction_hook(Machine, ppc.pc);
|
debugger_instruction_hook(device->machine, ppc.pc);
|
||||||
|
|
||||||
if (MSR & MSR_IR)
|
if (MSR & MSR_IR)
|
||||||
opcode = ppc_readop_translated(ppc.pc);
|
opcode = ppc_readop_translated(ppc.pc);
|
||||||
|
@ -2596,7 +2596,7 @@ static CPU_EXECUTE( rsp )
|
|||||||
while (rsp_icount > 0)
|
while (rsp_icount > 0)
|
||||||
{
|
{
|
||||||
rsp.ppc = rsp.pc;
|
rsp.ppc = rsp.pc;
|
||||||
debugger_instruction_hook(Machine, rsp.pc);
|
debugger_instruction_hook(device->machine, rsp.pc);
|
||||||
|
|
||||||
op = ROPCODE(rsp.pc);
|
op = ROPCODE(rsp.pc);
|
||||||
if (rsp.nextpc != ~0)
|
if (rsp.nextpc != ~0)
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "s2650.h"
|
#include "s2650.h"
|
||||||
#include "s2650cpu.h"
|
#include "s2650cpu.h"
|
||||||
|
|
||||||
@ -868,7 +867,7 @@ static CPU_EXECUTE( s2650 )
|
|||||||
{
|
{
|
||||||
S.ppc = S.page + S.iar;
|
S.ppc = S.page + S.iar;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, S.page + S.iar);
|
debugger_instruction_hook(device->machine, S.page + S.iar);
|
||||||
|
|
||||||
S.ir = ROP();
|
S.ir = ROP();
|
||||||
S.r = S.ir & 3; /* register / value */
|
S.r = S.ir & 3; /* register / value */
|
||||||
|
@ -179,7 +179,7 @@ static CPU_EXECUTE( saturn )
|
|||||||
{
|
{
|
||||||
saturn.oldpc = saturn.pc;
|
saturn.oldpc = saturn.pc;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, saturn.pc);
|
debugger_instruction_hook(device->machine, saturn.pc);
|
||||||
|
|
||||||
if ( saturn.sleeping )
|
if ( saturn.sleeping )
|
||||||
{
|
{
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
|
|
||||||
#include "sc61860.h"
|
#include "sc61860.h"
|
||||||
#include "sc.h"
|
#include "sc.h"
|
||||||
@ -117,7 +116,7 @@ static CPU_EXECUTE( sc61860 )
|
|||||||
{
|
{
|
||||||
sc61860.oldpc = sc61860.pc;
|
sc61860.oldpc = sc61860.pc;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, sc61860.pc);
|
debugger_instruction_hook(device->machine, sc61860.pc);
|
||||||
|
|
||||||
sc61860_instruction();
|
sc61860_instruction();
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "se3208.h"
|
#include "se3208.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -1772,7 +1771,7 @@ static CPU_EXECUTE( SE3208 )
|
|||||||
{
|
{
|
||||||
UINT16 Opcode=cpu_readop16(WORD_XOR_LE(Context.PC));
|
UINT16 Opcode=cpu_readop16(WORD_XOR_LE(Context.PC));
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, Context.PC);
|
debugger_instruction_hook(device->machine, Context.PC);
|
||||||
|
|
||||||
OpTable[Opcode](Opcode);
|
OpTable[Opcode](Opcode);
|
||||||
Context.PPC=Context.PC;
|
Context.PPC=Context.PC;
|
||||||
|
@ -2212,7 +2212,7 @@ static CPU_EXECUTE( sh2 )
|
|||||||
else
|
else
|
||||||
opcode = cpu_readop16(WORD_XOR_BE((UINT32)(sh2->pc & AM)));
|
opcode = cpu_readop16(WORD_XOR_BE((UINT32)(sh2->pc & AM)));
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, sh2->pc);
|
debugger_instruction_hook(device->machine, sh2->pc);
|
||||||
|
|
||||||
sh2->delay = 0;
|
sh2->delay = 0;
|
||||||
sh2->pc += 2;
|
sh2->pc += 2;
|
||||||
|
@ -3335,7 +3335,7 @@ static CPU_EXECUTE( sh4 )
|
|||||||
else
|
else
|
||||||
opcode = cpu_readop16(WORD2_XOR_LE((UINT32)(sh4.pc & AM)));
|
opcode = cpu_readop16(WORD2_XOR_LE((UINT32)(sh4.pc & AM)));
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, sh4.pc & AM);
|
debugger_instruction_hook(device->machine, sh4.pc & AM);
|
||||||
|
|
||||||
sh4.delay = 0;
|
sh4.delay = 0;
|
||||||
sh4.pc += 2;
|
sh4.pc += 2;
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
#include "sharc.h"
|
#include "sharc.h"
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
|
|
||||||
static CPU_DISASSEMBLE( sharc );
|
static CPU_DISASSEMBLE( sharc );
|
||||||
|
|
||||||
@ -707,7 +706,7 @@ static CPU_EXECUTE( sharc )
|
|||||||
}
|
}
|
||||||
|
|
||||||
sharc_icount = 0;
|
sharc_icount = 0;
|
||||||
debugger_instruction_hook(Machine, sharc.daddr);
|
debugger_instruction_hook(device->machine, sharc.daddr);
|
||||||
|
|
||||||
return cycles;
|
return cycles;
|
||||||
}
|
}
|
||||||
@ -742,7 +741,7 @@ static CPU_EXECUTE( sharc )
|
|||||||
// fetch next instruction
|
// fetch next instruction
|
||||||
sharc.fetch_opcode = ROPCODE(sharc.faddr);
|
sharc.fetch_opcode = ROPCODE(sharc.faddr);
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, sharc.pc);
|
debugger_instruction_hook(device->machine, sharc.pc);
|
||||||
|
|
||||||
// handle looping
|
// handle looping
|
||||||
if (sharc.pc == (sharc.laddr & 0xffffff))
|
if (sharc.pc == (sharc.laddr & 0xffffff))
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "sm8500.h"
|
#include "sm8500.h"
|
||||||
|
|
||||||
#define FLAG_C 0x80
|
#define FLAG_C 0x80
|
||||||
@ -218,7 +217,7 @@ static CPU_EXECUTE( sm8500 )
|
|||||||
UINT32 d1,d2;
|
UINT32 d1,d2;
|
||||||
UINT32 res;
|
UINT32 res;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, regs.PC);
|
debugger_instruction_hook(device->machine, regs.PC);
|
||||||
oldpc = regs.PC;
|
oldpc = regs.PC;
|
||||||
mycycles = 0;
|
mycycles = 0;
|
||||||
sm8500_process_interrupts();
|
sm8500_process_interrupts();
|
||||||
|
@ -62,7 +62,6 @@ Address Function Register R/W When Reset Remarks
|
|||||||
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "spc700.h"
|
#include "spc700.h"
|
||||||
|
|
||||||
/* ======================================================================== */
|
/* ======================================================================== */
|
||||||
@ -1411,7 +1410,7 @@ CPU_EXECUTE( spc700 )
|
|||||||
while(CLOCKS > 0)
|
while(CLOCKS > 0)
|
||||||
{
|
{
|
||||||
REG_PPC = REG_PC;
|
REG_PPC = REG_PC;
|
||||||
debugger_instruction_hook(Machine, REG_PC);
|
debugger_instruction_hook(device->machine, REG_PC);
|
||||||
REG_PC++;
|
REG_PC++;
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "ssp1601.h"
|
#include "ssp1601.h"
|
||||||
|
|
||||||
|
|
||||||
@ -540,7 +539,7 @@ static CPU_EXECUTE( ssp1601 )
|
|||||||
|
|
||||||
PPC = rPC;
|
PPC = rPC;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, rPC);
|
debugger_instruction_hook(device->machine, rPC);
|
||||||
|
|
||||||
op = FETCH();
|
op = FETCH();
|
||||||
|
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "t11.h"
|
#include "t11.h"
|
||||||
|
|
||||||
|
|
||||||
@ -400,7 +399,7 @@ static CPU_EXECUTE( t11 )
|
|||||||
{
|
{
|
||||||
t11.ppc = t11.reg[7]; /* copy PC to previous PC */
|
t11.ppc = t11.reg[7]; /* copy PC to previous PC */
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, PCD);
|
debugger_instruction_hook(device->machine, PCD);
|
||||||
|
|
||||||
t11.op = ROPCODE();
|
t11.op = ROPCODE();
|
||||||
(*opcode_table[t11.op >> 3])();
|
(*opcode_table[t11.op >> 3])();
|
||||||
|
@ -54,7 +54,6 @@
|
|||||||
|
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "tms32010.h"
|
#include "tms32010.h"
|
||||||
|
|
||||||
|
|
||||||
@ -790,7 +789,7 @@ static CPU_EXECUTE( tms32010 )
|
|||||||
|
|
||||||
R.PREVPC = R.PC;
|
R.PREVPC = R.PC;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, R.PC);
|
debugger_instruction_hook(device->machine, R.PC);
|
||||||
|
|
||||||
R.opcode.d = M_RDOP(R.PC);
|
R.opcode.d = M_RDOP(R.PC);
|
||||||
R.PC++;
|
R.PC++;
|
||||||
|
@ -119,7 +119,6 @@ Table 3-2. TMS32025/26 Memory Blocks
|
|||||||
|
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "tms32025.h"
|
#include "tms32025.h"
|
||||||
|
|
||||||
|
|
||||||
@ -1986,7 +1985,7 @@ static CPU_EXECUTE( tms32025 )
|
|||||||
while (R.idle && tms32025_icount > 0)
|
while (R.idle && tms32025_icount > 0)
|
||||||
process_timer(tms32025_icount);
|
process_timer(tms32025_icount);
|
||||||
|
|
||||||
if (tms32025_icount <= 0) debugger_instruction_hook(Machine, R.PC);
|
if (tms32025_icount <= 0) debugger_instruction_hook(device->machine, R.PC);
|
||||||
|
|
||||||
|
|
||||||
while (tms32025_icount > 0)
|
while (tms32025_icount > 0)
|
||||||
@ -1999,7 +1998,7 @@ static CPU_EXECUTE( tms32025 )
|
|||||||
|
|
||||||
R.PREVPC = R.PC;
|
R.PREVPC = R.PC;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, R.PC);
|
debugger_instruction_hook(device->machine, R.PC);
|
||||||
|
|
||||||
R.opcode.d = M_RDOP(R.PC);
|
R.opcode.d = M_RDOP(R.PC);
|
||||||
R.PC++;
|
R.PC++;
|
||||||
@ -2024,7 +2023,7 @@ static CPU_EXECUTE( tms32025 )
|
|||||||
if (R.init_load_addr == 2) { /* Repeat next instruction */
|
if (R.init_load_addr == 2) { /* Repeat next instruction */
|
||||||
R.PREVPC = R.PC;
|
R.PREVPC = R.PC;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, R.PC);
|
debugger_instruction_hook(device->machine, R.PC);
|
||||||
|
|
||||||
R.opcode.d = M_RDOP(R.PC);
|
R.opcode.d = M_RDOP(R.PC);
|
||||||
R.PC++;
|
R.PC++;
|
||||||
|
@ -521,7 +521,7 @@ static CPU_EXECUTE( tms32031 )
|
|||||||
if (tms32031.is_idling)
|
if (tms32031.is_idling)
|
||||||
return tms32031_icount;
|
return tms32031_icount;
|
||||||
|
|
||||||
if ((Machine->debug_flags & DEBUG_FLAG_ENABLED) == 0)
|
if ((device->machine->debug_flags & DEBUG_FLAG_ENABLED) == 0)
|
||||||
{
|
{
|
||||||
while (tms32031_icount > 0)
|
while (tms32031_icount > 0)
|
||||||
{
|
{
|
||||||
@ -553,7 +553,7 @@ static CPU_EXECUTE( tms32031 )
|
|||||||
while (tms32031_icount > 0)
|
while (tms32031_icount > 0)
|
||||||
{
|
{
|
||||||
if (IREG(TMR_SP) & 0xff000000)
|
if (IREG(TMR_SP) & 0xff000000)
|
||||||
debugger_break(Machine);
|
debugger_break(device->machine);
|
||||||
if ((IREG(TMR_ST) & RMFLAG) && tms32031.pc == IREG(TMR_RE) + 1)
|
if ((IREG(TMR_ST) & RMFLAG) && tms32031.pc == IREG(TMR_RE) + 1)
|
||||||
{
|
{
|
||||||
if ((INT32)--IREG(TMR_RC) >= 0)
|
if ((INT32)--IREG(TMR_RC) >= 0)
|
||||||
@ -574,7 +574,7 @@ static CPU_EXECUTE( tms32031 )
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, tms32031.pc);
|
debugger_instruction_hook(device->machine, tms32031.pc);
|
||||||
execute_one();
|
execute_one();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "cpuintrf.h"
|
#include "cpuintrf.h"
|
||||||
#include "tms32051.h"
|
#include "tms32051.h"
|
||||||
|
|
||||||
@ -363,7 +362,7 @@ static CPU_EXECUTE( tms )
|
|||||||
}
|
}
|
||||||
|
|
||||||
ppc = tms.pc;
|
ppc = tms.pc;
|
||||||
debugger_instruction_hook(Machine, tms.pc);
|
debugger_instruction_hook(device->machine, tms.pc);
|
||||||
|
|
||||||
tms.op = ROPCODE();
|
tms.op = ROPCODE();
|
||||||
tms32051_opcode_table[tms.op >> 8]();
|
tms32051_opcode_table[tms.op >> 8]();
|
||||||
|
@ -9,6 +9,8 @@
|
|||||||
|
|
||||||
#ifndef RECURSIVE_INCLUDE
|
#ifndef RECURSIVE_INCLUDE
|
||||||
|
|
||||||
|
#include "deprecat.h"
|
||||||
|
|
||||||
#define LOG_GFX_OPS 0
|
#define LOG_GFX_OPS 0
|
||||||
#define LOGGFX(x) do { if (LOG_GFX_OPS && input_code_pressed(KEYCODE_L)) logerror x; } while (0)
|
#define LOGGFX(x) do { if (LOG_GFX_OPS && input_code_pressed(KEYCODE_L)) logerror x; } while (0)
|
||||||
|
|
||||||
@ -83,7 +85,7 @@ static int apply_window(tms34010_state *tms, const char *inst_name,int srcbpp, U
|
|||||||
int diff, cycles = 3;
|
int diff, cycles = 3;
|
||||||
|
|
||||||
if (WINDOW_CHECKING(tms) == 2)
|
if (WINDOW_CHECKING(tms) == 2)
|
||||||
logerror("%08x: %s apply_window window mode %d not supported!\n", cpu_get_pc(Machine->activecpu), inst_name, WINDOW_CHECKING(tms));
|
logerror("%08x: %s apply_window window mode %d not supported!\n", cpu_get_pc(tms->device), inst_name, WINDOW_CHECKING(tms));
|
||||||
|
|
||||||
CLR_V(tms);
|
CLR_V(tms);
|
||||||
if (WINDOW_CHECKING(tms) == 1)
|
if (WINDOW_CHECKING(tms) == 1)
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "osd_cpu.h"
|
#include "osd_cpu.h"
|
||||||
#include "tms34010.h"
|
#include "tms34010.h"
|
||||||
#include "34010ops.h"
|
#include "34010ops.h"
|
||||||
|
@ -472,7 +472,7 @@ static CPU_EXECUTE( tms7000 )
|
|||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
debugger_instruction_hook(Machine, pPC);
|
debugger_instruction_hook(device->machine, pPC);
|
||||||
|
|
||||||
if( tms7000.idle_state == 0 )
|
if( tms7000.idle_state == 0 )
|
||||||
{
|
{
|
||||||
@ -511,7 +511,7 @@ static CPU_EXECUTE( tms7000_exl )
|
|||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
debugger_instruction_hook(Machine, pPC);
|
debugger_instruction_hook(device->machine, pPC);
|
||||||
|
|
||||||
if( tms7000.idle_state == 0 )
|
if( tms7000.idle_state == 0 )
|
||||||
{
|
{
|
||||||
|
@ -1479,7 +1479,7 @@ static CPU_EXECUTE( tms99xx )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((Machine->debug_flags & DEBUG_FLAG_CALL_HOOK) != 0)
|
if ((device->machine->debug_flags & DEBUG_FLAG_CALL_HOOK) != 0)
|
||||||
{
|
{
|
||||||
#if 0 /* Trace */
|
#if 0 /* Trace */
|
||||||
logerror("> PC %4.4x :%4.4x %4.4x : R=%4.4x %4.4x %4.4x %4.4x %4.4x %4.4x %4.4x %4.4x %4.4x %4.4x%4.4x %4.4x %4.4x %4.4x %4.4x %4.4x :T=%d\n",I.PC,I.STATUS,I.WP,I.FR[0],I.FR[1],I.FR[2],I.FR[3],I.FR[4],I.FR[5],I.FR[6],I.FR[7],I.FR[8],I.FR[9],I.FR[10],I.FR[11],I.FR[12],I.FR[13],I.FR[14],I.FR[15],TMS99XX_ICOUNT);
|
logerror("> PC %4.4x :%4.4x %4.4x : R=%4.4x %4.4x %4.4x %4.4x %4.4x %4.4x %4.4x %4.4x %4.4x %4.4x%4.4x %4.4x %4.4x %4.4x %4.4x %4.4x :T=%d\n",I.PC,I.STATUS,I.WP,I.FR[0],I.FR[1],I.FR[2],I.FR[3],I.FR[4],I.FR[5],I.FR[6],I.FR[7],I.FR[8],I.FR[9],I.FR[10],I.FR[11],I.FR[12],I.FR[13],I.FR[14],I.FR[15],TMS99XX_ICOUNT);
|
||||||
@ -1506,7 +1506,7 @@ static CPU_EXECUTE( tms99xx )
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, I.IR);
|
debugger_instruction_hook(device->machine, I.IR);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (I.IDLE)
|
if (I.IDLE)
|
||||||
|
@ -406,7 +406,6 @@ STOP 01001000 10111011 12 stop
|
|||||||
|
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "upd7810.h"
|
#include "upd7810.h"
|
||||||
|
|
||||||
static UPD7810 upd7810;
|
static UPD7810 upd7810;
|
||||||
@ -1708,7 +1707,7 @@ static CPU_EXECUTE( upd7810 )
|
|||||||
{
|
{
|
||||||
int cc = 0;
|
int cc = 0;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, PC);
|
debugger_instruction_hook(device->machine, PC);
|
||||||
|
|
||||||
PPC = PC;
|
PPC = PC;
|
||||||
RDOP(OP);
|
RDOP(OP);
|
||||||
|
@ -971,7 +971,7 @@ static CPU_EXECUTE( v30mz )
|
|||||||
if (I.no_interrupt)
|
if (I.no_interrupt)
|
||||||
I.no_interrupt--;
|
I.no_interrupt--;
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, (I.sregs[CS]<<4) + I.ip);
|
debugger_instruction_hook(device->machine, (I.sregs[CS]<<4) + I.ip);
|
||||||
nec_instruction[FETCHOP]();
|
nec_instruction[FETCHOP]();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
// Portability fixes by Richter Belmont
|
// Portability fixes by Richter Belmont
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "v60.h"
|
#include "v60.h"
|
||||||
|
|
||||||
// memory accessors
|
// memory accessors
|
||||||
@ -428,7 +427,7 @@ static CPU_EXECUTE( v60 )
|
|||||||
v60_try_irq();
|
v60_try_irq();
|
||||||
while(v60_ICount >= 0) {
|
while(v60_ICount >= 0) {
|
||||||
v60.PPC = PC;
|
v60.PPC = PC;
|
||||||
debugger_instruction_hook(Machine, PC);
|
debugger_instruction_hook(device->machine, PC);
|
||||||
v60_ICount -= 8; /* fix me -- this is just an average */
|
v60_ICount -= 8; /* fix me -- this is just an average */
|
||||||
inc = OpCodeTable[OpRead8(PC)]();
|
inc = OpCodeTable[OpRead8(PC)]();
|
||||||
PC += inc;
|
PC += inc;
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
********************************************/
|
********************************************/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "v810.h"
|
#include "v810.h"
|
||||||
|
|
||||||
#define clkIF 3
|
#define clkIF 3
|
||||||
@ -976,7 +975,7 @@ static CPU_EXECUTE( v810 )
|
|||||||
while(v810_ICount>=0)
|
while(v810_ICount>=0)
|
||||||
{
|
{
|
||||||
v810.PPC=PC;
|
v810.PPC=PC;
|
||||||
debugger_instruction_hook(Machine, PC);
|
debugger_instruction_hook(device->machine, PC);
|
||||||
OP=R_OP(PC);
|
OP=R_OP(PC);
|
||||||
PC+=2;
|
PC+=2;
|
||||||
v810_ICount-= OpCodeTable[OP>>10]();
|
v810_ICount-= OpCodeTable[OP>>10]();
|
||||||
|
@ -77,7 +77,6 @@ Hitachi HD647180 series:
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "driver.h"
|
#include "driver.h"
|
||||||
#include "z180.h"
|
#include "z180.h"
|
||||||
#include "cpu/z80/z80daisy.h"
|
#include "cpu/z80/z80daisy.h"
|
||||||
@ -1902,7 +1901,7 @@ static CPU_INIT( z180 )
|
|||||||
{
|
{
|
||||||
Z180.daisy = NULL;
|
Z180.daisy = NULL;
|
||||||
if (device->static_config)
|
if (device->static_config)
|
||||||
Z180.daisy = z80daisy_init(Machine, Machine->config->cpu[cpunum_get_active()].tag, device->static_config);
|
Z180.daisy = z80daisy_init(device, device->static_config);
|
||||||
Z180.irq_callback = irqcallback;
|
Z180.irq_callback = irqcallback;
|
||||||
Z180.device = device;
|
Z180.device = device;
|
||||||
|
|
||||||
@ -2219,7 +2218,7 @@ again:
|
|||||||
if ((IO_DSTAT & Z180_DSTAT_DE0) == Z180_DSTAT_DE0 &&
|
if ((IO_DSTAT & Z180_DSTAT_DE0) == Z180_DSTAT_DE0 &&
|
||||||
(IO_DMODE & Z180_DMODE_MMOD) == Z180_DMODE_MMOD)
|
(IO_DMODE & Z180_DMODE_MMOD) == Z180_DMODE_MMOD)
|
||||||
{
|
{
|
||||||
debugger_instruction_hook(Machine, _PCD);
|
debugger_instruction_hook(device->machine, _PCD);
|
||||||
|
|
||||||
z180_dma0();
|
z180_dma0();
|
||||||
old_icount = handle_timers(z180_icount, old_icount);
|
old_icount = handle_timers(z180_icount, old_icount);
|
||||||
@ -2232,7 +2231,7 @@ again:
|
|||||||
Z180.after_EI = 0;
|
Z180.after_EI = 0;
|
||||||
|
|
||||||
_PPC = _PCD;
|
_PPC = _PCD;
|
||||||
debugger_instruction_hook(Machine, _PCD);
|
debugger_instruction_hook(device->machine, _PCD);
|
||||||
_R++;
|
_R++;
|
||||||
|
|
||||||
EXEC_INLINE(op,ROP());
|
EXEC_INLINE(op,ROP());
|
||||||
@ -2259,7 +2258,7 @@ again:
|
|||||||
Z180.after_EI = 0;
|
Z180.after_EI = 0;
|
||||||
|
|
||||||
_PPC = _PCD;
|
_PPC = _PCD;
|
||||||
debugger_instruction_hook(Machine, _PCD);
|
debugger_instruction_hook(device->machine, _PCD);
|
||||||
_R++;
|
_R++;
|
||||||
EXEC_INLINE(op,ROP());
|
EXEC_INLINE(op,ROP());
|
||||||
old_icount = handle_timers(z180_icount, old_icount);
|
old_icount = handle_timers(z180_icount, old_icount);
|
||||||
|
@ -99,7 +99,6 @@
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "driver.h"
|
#include "driver.h"
|
||||||
#include "z80.h"
|
#include "z80.h"
|
||||||
#include "z80daisy.h"
|
#include "z80daisy.h"
|
||||||
@ -3548,7 +3547,7 @@ static CPU_INIT( z80 )
|
|||||||
/* Reset registers to their initial values */
|
/* Reset registers to their initial values */
|
||||||
memset(z80, 0, sizeof(*z80));
|
memset(z80, 0, sizeof(*z80));
|
||||||
if (device->static_config != NULL)
|
if (device->static_config != NULL)
|
||||||
z80->daisy = z80daisy_init(Machine, Machine->config->cpu[cpunum_get_active()].tag, device->static_config);
|
z80->daisy = z80daisy_init(device, device->static_config);
|
||||||
z80->irq_callback = irqcallback;
|
z80->irq_callback = irqcallback;
|
||||||
z80->device = device;
|
z80->device = device;
|
||||||
IX = IY = 0xffff; /* IX and IY are FFFF after a reset! */
|
IX = IY = 0xffff; /* IX and IY are FFFF after a reset! */
|
||||||
@ -3624,7 +3623,7 @@ static CPU_EXECUTE( z80 )
|
|||||||
z80->after_ei = FALSE;
|
z80->after_ei = FALSE;
|
||||||
|
|
||||||
PRVPC = PCD;
|
PRVPC = PCD;
|
||||||
debugger_instruction_hook(Machine, PCD);
|
debugger_instruction_hook(device->machine, PCD);
|
||||||
R++;
|
R++;
|
||||||
EXEC_INLINE(z80,op,ROP(z80));
|
EXEC_INLINE(z80,op,ROP(z80));
|
||||||
} while( z80->icount > 0 );
|
} while( z80->icount > 0 );
|
||||||
|
@ -21,7 +21,7 @@ struct _z80_daisy_state
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
z80_daisy_state *z80daisy_init(running_machine *machine, const char *cputag, const z80_daisy_chain *daisy)
|
z80_daisy_state *z80daisy_init(const device_config *cpudevice, const z80_daisy_chain *daisy)
|
||||||
{
|
{
|
||||||
astring *tempstring = astring_alloc();
|
astring *tempstring = astring_alloc();
|
||||||
z80_daisy_state *head = NULL;
|
z80_daisy_state *head = NULL;
|
||||||
@ -32,7 +32,7 @@ z80_daisy_state *z80daisy_init(running_machine *machine, const char *cputag, con
|
|||||||
{
|
{
|
||||||
*tailptr = auto_malloc(sizeof(**tailptr));
|
*tailptr = auto_malloc(sizeof(**tailptr));
|
||||||
(*tailptr)->next = NULL;
|
(*tailptr)->next = NULL;
|
||||||
(*tailptr)->device = devtag_get_device(machine, daisy->devtype, device_inherit_tag(tempstring, cputag, daisy->devname));
|
(*tailptr)->device = devtag_get_device(cpudevice->machine, daisy->devtype, device_inherit_tag(tempstring, cpudevice->tag, daisy->devname));
|
||||||
if ((*tailptr)->device == NULL)
|
if ((*tailptr)->device == NULL)
|
||||||
fatalerror("Unable to locate device '%s'", daisy->devname);
|
fatalerror("Unable to locate device '%s'", daisy->devname);
|
||||||
(*tailptr)->irq_state = (z80_daisy_irq_state)device_get_info_fct((*tailptr)->device, DEVINFO_FCT_IRQ_STATE);
|
(*tailptr)->irq_state = (z80_daisy_irq_state)device_get_info_fct((*tailptr)->device, DEVINFO_FCT_IRQ_STATE);
|
||||||
|
@ -60,7 +60,7 @@ struct _z80_daisy_chain
|
|||||||
FUNCTION PROTOTYPES
|
FUNCTION PROTOTYPES
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
z80_daisy_state *z80daisy_init(running_machine *machine, const char *cputag, const z80_daisy_chain *daisy);
|
z80_daisy_state *z80daisy_init(const device_config *cpudevice, const z80_daisy_chain *daisy);
|
||||||
|
|
||||||
void z80daisy_reset(z80_daisy_state *daisy);
|
void z80daisy_reset(z80_daisy_state *daisy);
|
||||||
int z80daisy_update_irq_state(z80_daisy_state *chain);
|
int z80daisy_update_irq_state(z80_daisy_state *chain);
|
||||||
|
@ -44,7 +44,6 @@
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "z8000.h"
|
#include "z8000.h"
|
||||||
#include "z8000cpu.h"
|
#include "z8000cpu.h"
|
||||||
#include "osd_cpu.h"
|
#include "osd_cpu.h"
|
||||||
@ -486,7 +485,7 @@ static CPU_EXECUTE( z8000 )
|
|||||||
if (IRQ_REQ)
|
if (IRQ_REQ)
|
||||||
Interrupt();
|
Interrupt();
|
||||||
|
|
||||||
debugger_instruction_hook(Machine, PC);
|
debugger_instruction_hook(device->machine, PC);
|
||||||
|
|
||||||
if (IRQ_REQ & Z8000_HALT)
|
if (IRQ_REQ & Z8000_HALT)
|
||||||
{
|
{
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "driver.h"
|
#include "driver.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "z80pio.h"
|
#include "z80pio.h"
|
||||||
#include "cpu/z80/z80.h"
|
#include "cpu/z80/z80.h"
|
||||||
#include "cpu/z80/z80daisy.h"
|
#include "cpu/z80/z80daisy.h"
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "driver.h"
|
#include "driver.h"
|
||||||
#include "deprecat.h"
|
|
||||||
#include "z80sio.h"
|
#include "z80sio.h"
|
||||||
#include "cpu/z80/z80.h"
|
#include "cpu/z80/z80.h"
|
||||||
#include "cpu/z80/z80daisy.h"
|
#include "cpu/z80/z80daisy.h"
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
#include "inptport.h"
|
#include "inptport.h"
|
||||||
#include "profiler.h"
|
#include "profiler.h"
|
||||||
#include "render.h"
|
#include "render.h"
|
||||||
#include "deprecat.h"
|
|
||||||
|
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
|
Loading…
Reference in New Issue
Block a user