z80_intf.[cpp/.h]: fix ZetSetHL(), add ZetSetSP()
This commit is contained in:
parent
42fcf24f48
commit
d358141ae5
|
@ -774,6 +774,11 @@ void ZetSetBUSREQLine(INT32 nStatus)
|
|||
}
|
||||
|
||||
void ZetSetHL(INT32 n, UINT16 value)
|
||||
{
|
||||
ZetCPUContext[n]->reg.hl.w.l=value;
|
||||
}
|
||||
|
||||
void ZetSetSP(INT32 n, UINT16 value)
|
||||
{
|
||||
ZetCPUContext[n]->reg.sp.w.l=value;
|
||||
}
|
||||
|
|
|
@ -51,6 +51,7 @@ INT32 ZetIdle(INT32 nCycles);
|
|||
INT32 ZetSegmentCycles();
|
||||
INT32 ZetTotalCycles();
|
||||
void ZetSetHL(INT32 n, UINT16 value);
|
||||
void ZetSetSP(INT32 n, UINT16 value);
|
||||
|
||||
//#define ZetRaiseIrq(n) ZetSetIRQLine(n, ZET_IRQSTATUS_AUTO)
|
||||
//#define ZetLowerIrq() ZetSetIRQLine(0, Z80_CLEAR_LINE)
|
||||
|
|
Loading…
Reference in New Issue