Skip to content

Commit

Permalink
-taito/taito_f2.cpp: Added note about alternate qcrayon sprite ROM.
Browse files Browse the repository at this point in the history
-jaleco/bestleag.cpp: Screen update functions aren't cold.

-machine/sc16is741.cpp: Actually assert IRQ output on CTS/RTS interrupt.
  • Loading branch information
cuavas committed Oct 4, 2024
1 parent 3ac7132 commit 7155457
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
7 changes: 4 additions & 3 deletions src/devices/machine/sc16is741.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,10 @@ void sc16is741a_device::device_post_load()
inline void sc16is741a_device::update_irq()
{
bool const pending(
(IER_LINE_STATUS_INT() && (m_interrupts & INTERRUPT_LINE_STATUS)) ||
(IER_MODEM_STATUS_INT() && (m_interrupts & INTERRUPT_MODEM_STATUS)) ||
(IER_RHR_INT() && (m_interrupts & (INTERRUPT_RX_TIMEOUT | INTERRUPT_RHR))));
(IER_LINE_STATUS_INT() && (m_interrupts & INTERRUPT_LINE_STATUS)) ||
(IER_MODEM_STATUS_INT() && (m_interrupts & INTERRUPT_MODEM_STATUS)) ||
(IER_RHR_INT() && (m_interrupts & (INTERRUPT_RX_TIMEOUT | INTERRUPT_RHR))) ||
((IER_CTS_INT() || IER_RTS_INT()) && (m_interrupts & INTERRUPT_CTS_RTS)));
if (pending != (ASSERT_LINE == m_irq))
{
LOG(pending ? "asserting IRQ\n" : "deasserting IRQ\n");
Expand Down
4 changes: 2 additions & 2 deletions src/mame/jaleco/bestleag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class bestleag_state : public driver_device
, m_spriteram(*this, "spriteram")
{ }

void bestleag(machine_config &config);
void bestleag(machine_config &config) ATTR_COLD;

protected:
tilemap_t *m_tx_tilemap = nullptr;
Expand Down Expand Up @@ -82,7 +82,7 @@ class bestleaw_state : public bestleag_state
{ }

protected:
virtual uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) override ATTR_COLD;
virtual uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) override;
};


Expand Down
2 changes: 2 additions & 0 deletions src/mame/taito/taito_f2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5386,6 +5386,8 @@ ROM_START( qcrayon ) /* Quiz Crayon */
ROM_REGION( 0x200000, "sprites", 0 ) /* OBJ */
ROM_LOAD16_BYTE( "d55-05", 0x000000, 0x100000, CRC(f0e59902) SHA1(44d93e0e9622a98796a128a0273065947f586a1d) )
ROM_LOAD16_BYTE( "d55-04", 0x000001, 0x100000, CRC(412975ce) SHA1(32058a87947d6b6cdc8b147ddfcf359792f9c9fc) )
// also seen with a single mask ROM containing the same content:
//ROM_LOAD( "d55-06", 0x000000, 0x200000, CRC(26db21b3) SHA1(78dab15a585b7180acd170f618947728a2ca022d) )

ROM_REGION( 0x10000, "audiocpu", 0 ) /* sound cpu */
ROM_LOAD( "d55-15", 0x00000, 0x10000, CRC(ba782eff) SHA1(ce24654db49b9694e444e93b9a8d529a86729e03) )
Expand Down

0 comments on commit 7155457

Please sign in to comment.