summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/pcfx.c
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2012-08-21 23:27:27 +0000
committer Angelo Salese <angelosa@users.noreply.github.com>2012-08-21 23:27:27 +0000
commit691df884f7b8a6c477b0d1abb026f7e60eb4999e (patch)
treeb50600f7b16f895f8b0c3cbc5cb002527313be81 /src/mess/drivers/pcfx.c
parent9fd6c9cb53e26f6593ed83871c8ce2c6cc8069fd (diff)
(MESS) Hooked up SCSI ROM
Diffstat (limited to 'src/mess/drivers/pcfx.c')
-rw-r--r--src/mess/drivers/pcfx.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mess/drivers/pcfx.c b/src/mess/drivers/pcfx.c
index 892b7619acb..c23e5f74f86 100644
--- a/src/mess/drivers/pcfx.c
+++ b/src/mess/drivers/pcfx.c
@@ -6,7 +6,7 @@
- BIOS error codes (guesses):
- Blue screen = MCU pad communication error
- - Cyan screen = ?
+ - Cyan screen = SCSI communication error (current one)
***************************************************************************/
@@ -152,6 +152,7 @@ static ADDRESS_MAP_START( pcfx_io, AS_IO, 32, pcfx_state )
AM_RANGE( 0x00000C80, 0x00000C83 ) AM_NOP
AM_RANGE( 0x00000E00, 0x00000EFF ) AM_READWRITE16( irq_read, irq_write, 0xffff ) /* Interrupt controller */
AM_RANGE( 0x00000F00, 0x00000FFF ) AM_NOP
+ AM_RANGE( 0x00780000, 0x007FFFFF ) AM_ROM AM_REGION("scsi_rom", 0 )
AM_RANGE( 0x80500000, 0x805000FF ) AM_NOP /* HuC6273 */
ADDRESS_MAP_END
@@ -287,12 +288,12 @@ inline void pcfx_state::set_irq_line(int line, int state)
{
if ( state )
{
-//printf("Setting irq line %d\n", line);
+printf("Setting irq line %d\n", line);
m_irq_pending |= ( 1 << ( 15 - line ) );
}
else
{
-//printf("Clearing irq line %d\n", line);
+printf("Clearing irq line %d\n", line);
m_irq_pending &= ~( 1 << ( 15 - line ) );
}
check_irqs();
@@ -408,6 +409,8 @@ ROM_END
ROM_START( pcfxga )
ROM_REGION( 0x100000, "user1", 0 )
ROM_LOAD( "pcfxga.rom", 0x000000, 0x100000, CRC(41c3776b) SHA1(a9372202a5db302064c994fcda9b24d29bb1b41c) )
+
+ ROM_REGION( 0x80000, "scsi_rom", ROMREGION_ERASEFF )
ROM_END