-psx.xml: Added Japanese title for Cheesy.

-taito/taitojc_v.cpp: Fixed my dumb build error.

-sfrj/pmp11.cpp: Put all the addressing stuff at the beginning of the line.
This commit is contained in:
Vas Crabb 2025-02-17 07:05:18 +11:00
parent 1c139c5a60
commit 7b24493c42
3 changed files with 6 additions and 4 deletions

View File

@ -37424,6 +37424,7 @@ The entries in this section are intended to replace the existing "low-grade" Jap
<description>Cheesy (Japan)</description>
<year>1997</year>
<publisher>Jaleco Entertainment</publisher>
<info name="alt_title" value="チージィー" />
<info name="developer" value="Ocean" />
<info name="language" value="Japanese" />
<info name="serial" value="SLPS 00893"/>

View File

@ -22,7 +22,8 @@ public:
, m_fdc(*this, "fdc")
{ }
void pmp11(machine_config &config);
void pmp11(machine_config &config) ATTR_COLD;
private:
void pdp11_mem(address_map &map) ATTR_COLD;
@ -39,8 +40,8 @@ void pmp11_state::pdp11_mem(address_map &map)
map(0xf000, 0xf7ff).rom();
map(0xf800, 0xfbff).ram();
// TODO: Not sure if these are mirrored, but no control_w on alternate address
map(0xff70, 0xff71).mirror(0x4).rw(m_uart1, FUNC(i8251_device::status_r), FUNC(i8251_device::control_w)).umask16(0x00ff);
map(0xff72, 0xff73).mirror(0x4).rw(m_uart1, FUNC(i8251_device::data_r), FUNC(i8251_device::data_w)).umask16(0x00ff);
map(0xff70, 0xff71).mirror(0x4).umask16(0x00ff).rw(m_uart1, FUNC(i8251_device::status_r), FUNC(i8251_device::control_w));
map(0xff72, 0xff73).mirror(0x4).umask16(0x00ff).rw(m_uart1, FUNC(i8251_device::data_r), FUNC(i8251_device::data_w));
}
/* Input ports */

View File

@ -99,7 +99,7 @@ void taitojc_state::draw_object(bitmap_ind16 &bitmap, const rectangle &cliprect,
if (BIT(w2, 14))
address |= 0x40000;
int x = util((w1 >> 0) & 0x3ff);
int x = ((w1 >> 0) & 0x3ff);
x = util::sext(x, 10); // sign-extend
int y = ((w1 >> 16) & 0x3ff);