~ubuntu-branches/debian/sid/mame/sid

« back to all changes in this revision

Viewing changes to src/mame/drivers/sg1000a.c

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Emmanuel Kasper, Jordi Mallach
  • Date: 2012-06-05 20:02:23 UTC
  • mfrom: (0.3.1) (0.1.4)
  • Revision ID: package-import@ubuntu.com-20120605200223-gnlpogjrg6oqe9md
Tags: 0.146-1
[ Emmanuel Kasper ]
* New upstream release
* Drop patch to fix man pages section and patches to link with flac 
  and jpeg system lib: all this has been pushed upstream by Cesare Falco
* Add DM-Upload-Allowed: yes field.

[ Jordi Mallach ]
* Create a "gnu" TARGETOS stanza that defines NO_AFFINITY_NP.
* Stop setting TARGETOS to "unix" in d/rules. It should be autodetected,
  and set to the appropriate value.
* mame_manpage_section.patch: Change mame's manpage section to 6 (games),
  in the TH declaration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
 *
135
135
 *************************************/
136
136
 
137
 
static ADDRESS_MAP_START( program_map, AS_PROGRAM, 8 )
 
137
static ADDRESS_MAP_START( program_map, AS_PROGRAM, 8, sg1000a_state )
138
138
        AM_RANGE(0x0000, 0x7fff) AM_ROM // separate region needed for decrypting
139
139
        AM_RANGE(0x8000, 0xbfff) AM_ROM
140
140
        AM_RANGE(0xc000, 0xc3ff) AM_RAM AM_MIRROR(0x400)
141
141
ADDRESS_MAP_END
142
142
 
143
 
static ADDRESS_MAP_START( io_map, AS_IO, 8 )
 
143
static ADDRESS_MAP_START( io_map, AS_IO, 8, sg1000a_state )
144
144
        ADDRESS_MAP_GLOBAL_MASK(0xff)
145
 
        AM_RANGE(0x7f, 0x7f) AM_DEVWRITE("snsnd", sn76496_w)
146
 
        AM_RANGE(0xbe, 0xbe) AM_DEVREADWRITE_MODERN("tms9928a", tms9928a_device, vram_read, vram_write)
147
 
        AM_RANGE(0xbf, 0xbf) AM_DEVREADWRITE_MODERN("tms9928a", tms9928a_device, register_read, register_write)
148
 
        AM_RANGE(0xdc, 0xdf) AM_DEVREADWRITE_MODERN("ppi8255", i8255_device, read, write)
 
145
        AM_RANGE(0x7f, 0x7f) AM_DEVWRITE_LEGACY("snsnd", sn76496_w)
 
146
        AM_RANGE(0xbe, 0xbe) AM_DEVREADWRITE("tms9928a", tms9928a_device, vram_read, vram_write)
 
147
        AM_RANGE(0xbf, 0xbf) AM_DEVREADWRITE("tms9928a", tms9928a_device, register_read, register_write)
 
148
        AM_RANGE(0xdc, 0xdf) AM_DEVREADWRITE("ppi8255", i8255_device, read, write)
149
149
ADDRESS_MAP_END
150
150
 
151
151
/*************************************