mirror of
https://github.com/holub/mame
synced 2025-10-06 09:00:04 +03:00
-vsmileb: Found the GPIO bit that boots into the on-board game. [Ryan Holtz]
This commit is contained in:
parent
49a50ae2ae
commit
d682a3c569
@ -52,10 +52,11 @@ DEFINE_DEVICE_TYPE(SPG28X, spg28x_device, "spg28x", "SPG280-series System-on-a-C
|
||||
#define LOG_PPU (LOG_PPU_READS | LOG_PPU_WRITES | LOG_UNKNOWN_PPU)
|
||||
#define LOG_ALL (LOG_IO | LOG_SPU | LOG_PPU | LOG_VLINES | LOG_SEGMENT | LOG_FIQ)
|
||||
|
||||
#define VERBOSE (LOG_ALL & ~LOG_SPU)
|
||||
//#define VERBOSE (LOG_ALL & ~LOG_SPU)
|
||||
#define VERBOSE (0)
|
||||
#include "logmacro.h"
|
||||
|
||||
#define SPG_DEBUG_VIDEO (1)
|
||||
#define SPG_DEBUG_VIDEO (0)
|
||||
#define SPG_DEBUG_AUDIO (0)
|
||||
|
||||
#define IO_IRQ_ENABLE m_io_regs[0x21]
|
||||
|
@ -336,7 +336,7 @@ DEVICE_IMAGE_LOAD_MEMBER(vsmileb_state, cart)
|
||||
|
||||
READ16_MEMBER(vsmileb_state::porta_r)
|
||||
{
|
||||
uint16_t data = 0x0300 | (m_io_logo->read() ? 0x0080 : 0x0000);
|
||||
uint16_t data = 0x0302 | (m_io_logo->read() ? 0x0080 : 0x0000);
|
||||
logerror("%s: GPIO Port A Read: %04x\n", machine().describe_context(), data);
|
||||
return data;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user