Previous 15994 Revisions Next

r9941 Thursday 6th January, 2011 at 11:28:33 UTC by Robbbert
[ACE] Changed to use RAM_TAG instead of "ram". Renamed jupiter.a to cantab.a
[src/mess]mess.mak
[src/mess/drivers]ace.c
[src/mess/includes]ace.h
[src/mess/machine]ace.c

src/mess/machine/ace.c
r9940r9941
99
1010#include "emu.h"
1111#include "cpu/z80/z80.h"
12#include "machine/ram.h"
1312#include "imagedev/snapquik.h"
1413#include "includes/ace.h"
1514
r9940r9941
3635   unsigned char ace_repeat, ace_byte, loop;
3736   int done=0, ace_index=0x2000;
3837
39   if (ram_get_size(image.device().machine->device("ram")) < 16*1024)
38   if (ram_get_size(image.device().machine->device(RAM_TAG)) < 16*1024)
4039   {
4140      image.seterror(IMAGE_ERROR_INVALIDIMAGE, "At least 16KB RAM expansion required");
4241      image.message("At least 16KB RAM expansion required");
src/mess/includes/ace.h
r9940r9941
77#ifndef ACE_H_
88#define ACE_H_
99
10#include "machine/ram.h"
1011#define Z80_TAG         "z0"
1112#define AY8910_TAG      "ay8910"
1213#define SPEAKER_TAG      "speaker"
r9940r9941
2122        m_maincpu(*this, Z80_TAG),
2223        m_speaker(*this, SPEAKER_TAG),
2324        m_cassette(*this, CASSETTE_TAG),
24        m_ram(*this, "ram")
25        m_ram(*this, RAM_TAG)
2526    { }
2627
2728   required_device<cpu_device> m_maincpu;
src/mess/mess.mak
r9940r9941
277277   $(MESSOBJ)/booth.a \
278278   $(MESSOBJ)/camputers.a \
279279   $(MESSOBJ)/canon.a \
280   $(MESSOBJ)/cantab.a \
280281   $(MESSOBJ)/capcom.a \
281282   $(MESSOBJ)/casio.a \
282283   $(MESSOBJ)/cbm.a \
r9940r9941
326327   $(MESSOBJ)/interact.a \
327328   $(MESSOBJ)/interton.a \
328329   $(MESSOBJ)/intv.a \
329   $(MESSOBJ)/jupiter.a \
330330   $(MESSOBJ)/kaypro.a \
331331   $(MESSOBJ)/koei.a \
332332   $(MESSOBJ)/kyocera.a \
r9940r9941
480480   $(MESS_MACHINE)/rp5c01a.o   \
481481   $(MESS_MACHINE)/rp5c15.o   \
482482   $(MESS_MACHINE)/rs232.o      \
483   $(MESS_MACHINE)/scsibus.o   \
483   $(MESS_MACHINE)/scsibus.o   \
484484   $(MESS_MACHINE)/serial.o   \
485485   $(MESS_MACHINE)/smartmed.o   \
486486   $(MESS_MACHINE)/smc92x4.o   \
r9940r9941
702702   $(MESS_DRIVERS)/cat.o      \
703703   $(MESS_DRIVERS)/x07.o      \
704704
705$(MESSOBJ)/cantab.a:         \
706   $(MESS_DRIVERS)/ace.o      \
707   $(MESS_MACHINE)/ace.o      \
708   $(MESS_FORMATS)/ace_tap.o   \
709
705710$(MESSOBJ)/capcom.a:         \
706711   $(MESS_DRIVERS)/cpschngr.o   \
707712   $(MESS_VIDEO)/cpschngr.o   \
r9940r9941
10341039   $(MESS_AUDIO)/intv.o      \
10351040   $(MESS_DRIVERS)/intv.o      \
10361041
1037$(MESSOBJ)/jupiter.a:         \
1038   $(MESS_DRIVERS)/ace.o      \
1039   $(MESS_MACHINE)/ace.o      \
1040   $(MESS_FORMATS)/ace_tap.o   \
1041
10421042$(MESSOBJ)/kaypro.a:         \
10431043   $(MESS_DRIVERS)/kaypro.o   \
10441044   $(MESS_MACHINE)/kaypro.o   \
src/mess/drivers/ace.c
r9940r9941
4545#include "cpu/z80/z80.h"
4646#include "imagedev/cassette.h"
4747#include "imagedev/snapquik.h"
48#include "machine/ram.h"
4948#include "sound/ay8910.h"
5049#include "sound/speaker.h"
5150#include "sound/wave.h"
r9940r9941
410409   MCFG_SNAPSHOT_ADD("snapshot", ace, "ace", 1)
411410
412411   /* internal ram */
413   MCFG_RAM_ADD("ram")
412   MCFG_RAM_ADD(RAM_TAG)
414413   MCFG_RAM_DEFAULT_SIZE("1K")
415414   MCFG_RAM_EXTRA_OPTIONS("16K,48K")
416415MACHINE_CONFIG_END

Previous 15994 Revisions Next


© 1998-2018 The MESS Team