mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
video/ef9365.cpp: moved the charset rom inside of the device, fixes missing required object in various commodore drivers. (nw)
This commit is contained in:
parent
d8968d4c87
commit
3f13334e37
@ -123,6 +123,21 @@ const char * commands_names[]=
|
||||
|
||||
// devices
|
||||
const device_type EF9365 = &device_creator<ef9365_device>;
|
||||
|
||||
ROM_START( ef9365 )
|
||||
ROM_REGION( 0x1E0, "ef9365", 0 )
|
||||
ROM_LOAD( "charset_ef9365.rom", 0x0000, 0x01E0, CRC(8d3053be) SHA1(0f9a64d217a0f7f04ee0720d49c5b680ad0ae359) )
|
||||
ROM_END
|
||||
|
||||
//-------------------------------------------------
|
||||
// rom_region - return a pointer to the device's
|
||||
// internal ROM region
|
||||
//-------------------------------------------------
|
||||
|
||||
const rom_entry *ef9365_device::device_rom_region() const
|
||||
{
|
||||
return ROM_NAME( ef9365 );
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// default address map
|
||||
@ -160,7 +175,7 @@ ef9365_device::ef9365_device(const machine_config &mconfig, const char *tag, dev
|
||||
device_memory_interface(mconfig, *this),
|
||||
device_video_interface(mconfig, *this),
|
||||
m_space_config("videoram", ENDIANNESS_LITTLE, 8, 18, 0, nullptr, *ADDRESS_MAP_NAME(ef9365)),
|
||||
m_charset(*this, DEVICE_SELF),
|
||||
m_charset(*this, "ef9365"),
|
||||
m_palette(*this),
|
||||
m_irq_handler(*this)
|
||||
{
|
||||
|
@ -65,6 +65,7 @@ protected:
|
||||
virtual void device_start() override;
|
||||
virtual void device_reset() override;
|
||||
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
|
||||
virtual const rom_entry *device_rom_region() const override;
|
||||
|
||||
// device_config_memory_interface overrides
|
||||
virtual const address_space_config *memory_space_config(address_spacenum spacenum = AS_0) const override;
|
||||
|
@ -844,9 +844,6 @@ ROM_START( squale )
|
||||
ROMX_LOAD( "sqmon_2r1.bin", 0x0000, 0x2000, CRC(ed57c707) SHA1(c8bd33a6fb07fe7f881f2605ad867b7e82366bfc), ROM_BIOS(1) )
|
||||
|
||||
// place ROM v1.2 signature here.
|
||||
|
||||
ROM_REGION( 0x1E0, "ef9365", 0 )
|
||||
ROM_LOAD( "charset_ef9365.rom", 0x0000, 0x01E0, CRC(8d3053be) SHA1(0f9a64d217a0f7f04ee0720d49c5b680ad0ae359) )
|
||||
ROM_END
|
||||
|
||||
/* Driver */
|
||||
|
Loading…
Reference in New Issue
Block a user