mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-23 00:30:17 +00:00
This commit is contained in:
parent
3d39698d2c
commit
9459ec261a
@ -142,11 +142,15 @@ static BYTE __stdcall PrintStatus(WORD, WORD, BYTE, BYTE, ULONG)
|
|||||||
}
|
}
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
static BYTE __stdcall PrintTransmit(WORD, WORD, BYTE, BYTE value, ULONG)
|
static BYTE __stdcall PrintTransmit(WORD, WORD address, BYTE, BYTE value, ULONG)
|
||||||
{
|
{
|
||||||
if (!CheckPrint())
|
if (!CheckPrint())
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
// only allow writes to the load output port (i.e., $C090)
|
||||||
|
if ((address & 0xF) != 0)
|
||||||
|
return 0;
|
||||||
|
|
||||||
BYTE c = value & 0x7F;
|
BYTE c = value & 0x7F;
|
||||||
|
|
||||||
if (IsPravets(GetApple2Type()))
|
if (IsPravets(GetApple2Type()))
|
||||||
|
Loading…
Reference in New Issue
Block a user