mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-10 13:29:56 +00:00
Add log msg for power-cycle, and improve debug-check for U1 $Csnn I/O access.
This commit is contained in:
parent
12d1a0e1fe
commit
51149083e6
@ -341,7 +341,7 @@ pcap_t * TfePcapOpenAdapter(const std::string & interface_name)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(g_fh) fprintf(g_fh, "PCAP: Succesfully opened adapter: '%s'\n", TfePcapDevice->name);
|
if(g_fh) fprintf(g_fh, "PCAP: Successfully opened adapter: '%s'\n", TfePcapDevice->name);
|
||||||
|
|
||||||
tfe_arch_enumadapter_close();
|
tfe_arch_enumadapter_close();
|
||||||
return TfePcapFP;
|
return TfePcapFP;
|
||||||
|
@ -970,7 +970,9 @@ void Uthernet1::tfe_transmit(
|
|||||||
static BYTE __stdcall TfeIoCxxx (WORD programcounter, WORD address, BYTE write, BYTE value, ULONG nCycles)
|
static BYTE __stdcall TfeIoCxxx (WORD programcounter, WORD address, BYTE write, BYTE value, ULONG nCycles)
|
||||||
{
|
{
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
if (!IS_APPLE2)
|
const UINT slot = (address >> 8) & 0xf;
|
||||||
|
|
||||||
|
if (!IS_APPLE2 && slot == SLOT3)
|
||||||
{
|
{
|
||||||
// Derived from UTAIIe:5-28
|
// Derived from UTAIIe:5-28
|
||||||
//
|
//
|
||||||
|
@ -532,6 +532,8 @@ void GetAppleWindowTitle()
|
|||||||
// todo: consolidate CtrlReset() and ResetMachineState()
|
// todo: consolidate CtrlReset() and ResetMachineState()
|
||||||
void ResetMachineState()
|
void ResetMachineState()
|
||||||
{
|
{
|
||||||
|
LogFileOutput("Apple II power-cycle\n");
|
||||||
|
|
||||||
GetCardMgr().Reset(true);
|
GetCardMgr().Reset(true);
|
||||||
g_bFullSpeed = 0; // Might've hit reset in middle of InternalCpuExecute() - so beep may get (partially) muted
|
g_bFullSpeed = 0; // Might've hit reset in middle of InternalCpuExecute() - so beep may get (partially) muted
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user