-vsmileb: Found the GPIO bit that boots into the on-board game. [Ryan Holtz]

This commit is contained in:
MooglyGuy 2019-01-20 19:46:37 +01:00
parent 49a50ae2ae
commit d682a3c569
2 changed files with 4 additions and 3 deletions

View File

@ -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]

View File

@ -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;
}