Previous 15994 Revisions Next

r9931 Wednesday 5th January, 2011 at 16:38:35 UTC by Curt Coder
[VIXEN] Fixed ports.
[src/mess/drivers]vixen.c

src/mess/drivers/vixen.c
r9930r9931
229229   ADDRESS_MAP_UNMAP_HIGH
230230   ADDRESS_MAP_GLOBAL_MASK(0xff)
231231   AM_RANGE(0x00, 0x03) AM_DEVREADWRITE_LEGACY(FDC1797_TAG, wd17xx_r, wd17xx_w)
232   AM_RANGE(0x04, 0x04) AM_MIRROR(0x03) AM_WRITE(ctl_w)
233   AM_RANGE(0x08, 0x08) AM_DEVREADWRITE(P8155H_TAG, i8155_device, read, write)
232   AM_RANGE(0x04, 0x04) AM_MIRROR(0x03) AM_READWRITE(status_r, cmd_w)
233   AM_RANGE(0x08, 0x08) AM_MIRROR(0x01) AM_DEVREADWRITE(P8155H_TAG, i8155_device, read, write)
234234   AM_RANGE(0x0c, 0x0d) AM_DEVWRITE(P8155H_TAG, i8155_device, ale_w)
235235   AM_RANGE(0x10, 0x10) AM_MIRROR(0x07) AM_DEVREAD_LEGACY(IEEE488_TAG, ieee488_dio_r)
236236   AM_RANGE(0x18, 0x18) AM_MIRROR(0x07) AM_READ_PORT("IEEE488")
r9930r9931
239239   AM_RANGE(0x30, 0x30) AM_MIRROR(0x06) AM_DEVREADWRITE_LEGACY(P8251A_TAG, msm8251_data_r, msm8251_data_w)
240240   AM_RANGE(0x31, 0x31) AM_MIRROR(0x06) AM_DEVREADWRITE_LEGACY(P8251A_TAG, msm8251_status_r, msm8251_control_w)
241241   AM_RANGE(0x38, 0x38) AM_MIRROR(0x07) AM_READ(port3_r)
242   AM_RANGE(0xf0, 0xf0) AM_MIRROR(0x0f) AM_READWRITE(status_r, cmd_w)
242//   AM_RANGE(0xf0, 0xff) Hard Disk?
243243ADDRESS_MAP_END
244244
245245
r9930r9931
433433            {
434434               int color = (BIT(char_data, 7 - x) ^ reverse) & !blank;
435435               
436               *BITMAP_ADDR16(&bitmap, (txadr * 10) + scan, chadr * 8 + x) = color;
436               *BITMAP_ADDR16(&bitmap, (txadr * 10) + scan, (chadr * 8) + x) = color;
437437            }
438438         }
439439      }

Previous 15994 Revisions Next


© 1998-2018 The MESS Team