m6502/m6510.cpp: initialize CPU port to all output

Software list items promoted to working
---------------------------------------
c64_cart.xml: Pitfall II: The Lost Caverns [Angelo Salese]
This commit is contained in:
angelosa 2024-08-21 08:55:25 +02:00
parent e99a59e710
commit 4ad35cf43b
3 changed files with 8 additions and 10 deletions

View File

@ -3218,14 +3218,12 @@ Fails detecting [VIC] collsion detection at the end of stage 2 "the tunnel of fe
</part> </part>
</software> </software>
<software name="pitfall2" supported="no"> <software name="pitfall2" supported="yes">
<description>Pitfall II: The Lost Caverns</description> <description>Pitfall II: The Lost Caverns</description>
<year>1984</year> <year>1984</year>
<publisher>Activision</publisher> <publisher>Activision</publisher>
<notes><![CDATA[
Black screen, drives CPU port out of cart ROM during bootstrap at PC=8017
]]></notes>
<info name="serial" value="DC-007-04" /> <info name="serial" value="DC-007-04" />
<info name="usage" value="Requires joystick in port 1" />
<part name="cart" interface="c64_cart"> <part name="cart" interface="c64_cart">
<feature name="exrom" value="0" /> <feature name="exrom" value="0" />
<feature name="game" value="0" /> <feature name="game" value="0" />

View File

@ -73,9 +73,9 @@ void m4510_device::device_reset()
nomap = true; nomap = true;
m65ce02_device::device_reset(); m65ce02_device::device_reset();
dir = 0x00; dir = 0xff;
port = 0x00; port = 0xff;
drive = 0x00; drive = 0xff;
update_port(); update_port();
} }

View File

@ -64,9 +64,9 @@ void m6510_device::device_start()
void m6510_device::device_reset() void m6510_device::device_reset()
{ {
m6502_device::device_reset(); m6502_device::device_reset();
dir = 0x00; dir = 0xff;
port = 0x00; port = 0xff;
drive = 0x00; drive = 0xff;
update_port(); update_port();
} }