mirror of
https://github.com/holub/mame
synced 2025-04-21 16:01:56 +03:00
(nw) sorcerer: added back F4 display of PCG.
This commit is contained in:
parent
1dc7f42006
commit
de7916d677
@ -178,7 +178,7 @@ void sorcerer_state::sorcerer_mem(address_map &map)
|
||||
map(0xe000, 0xefff).rom().region("maincpu", 0).nopw(); // bios
|
||||
map(0xf000, 0xf7ff).ram(); // screen ram
|
||||
map(0xf800, 0xfbff).rom().region("chargen", 0).nopw(); // inbuilt characters
|
||||
map(0xfc00, 0xffff).ram(); // PCG
|
||||
map(0xfc00, 0xffff).ram().share("pcg"); // PCG
|
||||
}
|
||||
|
||||
void sorcerer_state::sorcererb_mem(address_map &map)
|
||||
@ -369,7 +369,7 @@ INPUT_PORTS_END
|
||||
|
||||
/**************************** F4 CHARACTER DISPLAYER ******************************************************/
|
||||
|
||||
static const gfx_layout sorcerer_charlayout =
|
||||
static const gfx_layout charlayout =
|
||||
{
|
||||
8, 8, /* 8 x 8 characters */
|
||||
128, /* 256 characters */
|
||||
@ -384,7 +384,8 @@ static const gfx_layout sorcerer_charlayout =
|
||||
|
||||
/* This will show the 128 characters in the ROM + whatever happens to be in the PCG */
|
||||
static GFXDECODE_START( gfx_sorcerer )
|
||||
GFXDECODE_ENTRY( "chargen", 0x0000, sorcerer_charlayout, 0, 1 )
|
||||
GFXDECODE_ENTRY( "chargen", 0x0000, charlayout, 0, 1 )
|
||||
GFXDECODE_RAM ( "pcg", 0x0000, charlayout, 0, 1 )
|
||||
GFXDECODE_END
|
||||
|
||||
uint32_t sorcerer_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
|
||||
|
@ -51,6 +51,7 @@ public:
|
||||
: driver_device(mconfig, type, tag)
|
||||
, m_maincpu(*this, "maincpu")
|
||||
, m_rom(*this, "maincpu")
|
||||
, m_pcg(*this, "pcg")
|
||||
, m_cassette1(*this, "cassette1")
|
||||
, m_cassette2(*this, "cassette2")
|
||||
, m_uart(*this, "uart")
|
||||
@ -115,6 +116,7 @@ protected:
|
||||
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
|
||||
required_device<z80_device> m_maincpu;
|
||||
required_region_ptr<u8> m_rom;
|
||||
required_shared_ptr<u8> m_pcg;
|
||||
required_device<cassette_image_device> m_cassette1;
|
||||
required_device<cassette_image_device> m_cassette2;
|
||||
required_device<ay31015_device> m_uart;
|
||||
|
Loading…
Reference in New Issue
Block a user