Previous 199869 Revisions Next

r32679 Sunday 12th October, 2014 at 06:07:09 UTC by Fabio Priuli
(MESS) apf: removed RAM options from APF M1000, which had no other
RAM outside the 1K videoram (this was added when space distroyer was
using internal RAM for the on-cart memory, but it is not needed anymore :) ). nw.
[src/mess/drivers]apf.c

trunk/src/mess/drivers/apf.c
r32678r32679
3131- A very few games need 16K which requires hacking the pcb (-ram 16K)
3232- Basic will work with 8K or 16K.
3333
34- On the M1000, ram options (8K and 16K) are ignored.
35- On the IMAG, ram options (8K and 16K) work.
3634
37
3835Status of cart-based games
3936--------------------------
4037backgammon - works, needs offset of 0x120, bottom line is coming from 0x3E0, should be 0x380
r32678r32679
126123   virtual void machine_start();
127124   virtual void machine_reset();
128125   required_device<m6800_cpu_device> m_maincpu;
129   required_device<ram_device> m_ram;
126   optional_device<ram_device> m_ram;
130127   required_device<mc6847_base_device> m_crtc;
131128   required_device<speaker_sound_device> m_speaker;
132129   required_device<pia6821_device> m_pia0;
r32678r32679
261258   m_portb = 0;
262259   m_ca2 = 0;
263260
264   if (m_cass) // apfimag only
265   {
261   // apfimag only
262   if (m_cass)
266263      m_cass->change_state(CASSETTE_MOTOR_DISABLED, CASSETTE_MASK_MOTOR);
267264
265   // apfimag only
266   if (m_ram)
267   {
268268      /* if we specified 8K of RAM, delete the extended RAM */
269269      if (m_ram->size() < 16*1024)
270270         space.unmap_readwrite(0xc000, 0xdfff);
r32678r32679
551551   MCFG_PIA_IRQA_HANDLER(DEVWRITELINE("maincpu", m6800_cpu_device, irq_line))
552552   MCFG_PIA_IRQB_HANDLER(DEVWRITELINE("maincpu", m6800_cpu_device, irq_line))
553553
554   /* internal ram */
555   MCFG_RAM_ADD(RAM_TAG)
556   MCFG_RAM_DEFAULT_SIZE("8K")
557   MCFG_RAM_EXTRA_OPTIONS("16K")
558
559554   MCFG_APF_CARTRIDGE_ADD("cartslot", apf_cart, NULL)
560555
561556   /* software lists */
r32678r32679
566561   MCFG_CPU_MODIFY( "maincpu" )
567562   MCFG_CPU_PROGRAM_MAP( apfimag_map)
568563
564   /* internal ram */
565   MCFG_RAM_ADD(RAM_TAG)
566   MCFG_RAM_DEFAULT_SIZE("8K")
567   MCFG_RAM_EXTRA_OPTIONS("16K")
568
569569   MCFG_SOUND_WAVE_ADD(WAVE_TAG, "cassette")
570570   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.15)
571571

Previous 199869 Revisions Next


© 1997-2024 The MAME Team