mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-23 00:30:17 +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;
|
||||
}
|
||||
|
||||
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();
|
||||
return TfePcapFP;
|
||||
|
@ -970,7 +970,9 @@ void Uthernet1::tfe_transmit(
|
||||
static BYTE __stdcall TfeIoCxxx (WORD programcounter, WORD address, BYTE write, BYTE value, ULONG nCycles)
|
||||
{
|
||||
#ifdef _DEBUG
|
||||
if (!IS_APPLE2)
|
||||
const UINT slot = (address >> 8) & 0xf;
|
||||
|
||||
if (!IS_APPLE2 && slot == SLOT3)
|
||||
{
|
||||
// Derived from UTAIIe:5-28
|
||||
//
|
||||
|
@ -532,6 +532,8 @@ void GetAppleWindowTitle()
|
||||
// todo: consolidate CtrlReset() and ResetMachineState()
|
||||
void ResetMachineState()
|
||||
{
|
||||
LogFileOutput("Apple II power-cycle\n");
|
||||
|
||||
GetCardMgr().Reset(true);
|
||||
g_bFullSpeed = 0; // Might've hit reset in middle of InternalCpuExecute() - so beep may get (partially) muted
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user