Commodore 64: outputs set to read-only on the 6510 IO port are always high
This commit is contained in:
parent
3e16802382
commit
f504a9a4de
|
@ -197,7 +197,8 @@ namespace BizHawk.Emulation.Computers.Commodore64.MOS
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
byte result = 0x00;
|
//byte result = 0x00;
|
||||||
|
byte result = (byte)(~portDir & 0xEF);
|
||||||
|
|
||||||
result |= pinLoram ? (byte)0x01 : (byte)0x00;
|
result |= pinLoram ? (byte)0x01 : (byte)0x00;
|
||||||
result |= pinHiram ? (byte)0x02 : (byte)0x00;
|
result |= pinHiram ? (byte)0x02 : (byte)0x00;
|
||||||
|
|
Loading…
Reference in New Issue