@@ -125,6 +125,8 @@ void seoul88_state::attribute_ram_w(offs_t offset, uint8_t data)
125
125
126
126
uint32_t seoul88_state::screen_update (screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
127
127
{
128
+ bitmap.fill (rgb_t::black (), cliprect);
129
+
128
130
m_tilemap->draw (screen, bitmap, cliprect, 0 , 0 );
129
131
130
132
return 0 ;
@@ -146,15 +148,17 @@ void seoul88_state::program_map(address_map &map)
146
148
void seoul88_state::io_map (address_map &map)
147
149
{
148
150
map.global_mask (0xff );
151
+ map.unmap_value_high ();
149
152
150
- map (0x00 , 0x00 ).portr (" DSW1" );
151
- map (0x01 , 0x01 ).portr (" DSW2" );
152
- map (0x02 , 0x02 ).portr (" DSW3" );
153
153
map (0x10 , 0x10 ).portr (" IN0" );
154
154
map (0x11 , 0x11 ).portr (" IN1" );
155
+ // map(0x1f, 0x1f).portr(""); some dips in test mode are read from here, but test mode doesn't seem to match what's on PCB
156
+ map (0xb8 , 0xb8 ).portr (" DSW1" );
157
+ map (0xb9 , 0xb9 ).portr (" DSW2" );
158
+ map (0xba , 0xba ).portr (" DSW3" );
155
159
}
156
160
157
- static INPUT_PORTS_START ( seoul88 )
161
+ static INPUT_PORTS_START ( seoul88 ) // there are 3 8-dip banks on PCB but test mode shows 5 (probably remnant of other previous games)
158
162
PORT_START(" IN0" )
159
163
PORT_BIT( 0x01 , IP_ACTIVE_LOW, IPT_UNKNOWN )
160
164
PORT_BIT( 0x02 , IP_ACTIVE_LOW, IPT_UNKNOWN )
@@ -167,13 +171,13 @@ static INPUT_PORTS_START( seoul88 )
167
171
168
172
PORT_START(" IN1" )
169
173
PORT_BIT( 0x01 , IP_ACTIVE_LOW, IPT_UNKNOWN )
170
- PORT_BIT( 0x02 , IP_ACTIVE_LOW, IPT_UNKNOWN )
174
+ PORT_BIT( 0x02 , IP_ACTIVE_LOW, IPT_SERVICE )
171
175
PORT_BIT( 0x04 , IP_ACTIVE_LOW, IPT_UNKNOWN )
172
176
PORT_BIT( 0x08 , IP_ACTIVE_LOW, IPT_UNKNOWN )
173
- PORT_BIT( 0x10 , IP_ACTIVE_LOW, IPT_UNKNOWN )
177
+ PORT_BIT( 0x10 , IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT )
174
178
PORT_BIT( 0x20 , IP_ACTIVE_LOW, IPT_UNKNOWN )
175
- PORT_BIT( 0x40 , IP_ACTIVE_LOW, IPT_UNKNOWN )
176
- PORT_BIT( 0x80 , IP_ACTIVE_LOW, IPT_UNKNOWN )
179
+ PORT_BIT( 0x40 , IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE )
180
+ PORT_BIT( 0x80 , IP_ACTIVE_LOW, IPT_GAMBLE_BOOK )
177
181
178
182
PORT_START(" DSW1" )
179
183
PORT_DIPUNKNOWN_DIPLOC(0x01 , 0x01 , " SW1:1" )
0 commit comments