summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/stlforce.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-11-28 03:06:46 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-11-28 03:06:46 +0000
commit6bfe172c789792068f959376006a711f7a407d68 (patch)
tree9d5d5a20bf184d0732672678e43ddbde01d488b3 /src/mame/drivers/stlforce.c
parentb716ea8271047ca54465281c9d8f6a470a79b9a2 (diff)
Removed global videoram, colorram, paletteram, and spriteram.
Added equivalent pointers to machine->generic. Updated all references. Now that accessing these is more awkward, it is probably best to put these pointers in the driver data structures instead of using the generic pointers. The main reason to continue using generic pointers is to allow use of paletteram shortcuts and buffered spriteram handling.
Diffstat (limited to 'src/mame/drivers/stlforce.c')
-rw-r--r--src/mame/drivers/stlforce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/stlforce.c b/src/mame/drivers/stlforce.c
index 75a3ed2d76c..761ba9b6023 100644
--- a/src/mame/drivers/stlforce.c
+++ b/src/mame/drivers/stlforce.c
@@ -111,7 +111,7 @@ static ADDRESS_MAP_START( stlforce_map, ADDRESS_SPACE_PROGRAM, 16 )
AM_RANGE(0x103400, 0x1037ff) AM_RAM AM_BASE(&stlforce_mlow_scrollram)
AM_RANGE(0x103800, 0x103bff) AM_RAM AM_BASE(&stlforce_mhigh_scrollram)
AM_RANGE(0x103c00, 0x103fff) AM_RAM AM_BASE(&stlforce_vidattrram)
- AM_RANGE(0x104000, 0x104fff) AM_RAM_WRITE(paletteram16_xBBBBBGGGGGRRRRR_word_w) AM_BASE(&paletteram16)
+ AM_RANGE(0x104000, 0x104fff) AM_RAM_WRITE(paletteram16_xBBBBBGGGGGRRRRR_word_w) AM_BASE_GENERIC(paletteram)
AM_RANGE(0x105000, 0x107fff) AM_RAM /* unknown / ram */
AM_RANGE(0x108000, 0x108fff) AM_RAM AM_BASE(&stlforce_spriteram)
AM_RANGE(0x109000, 0x11ffff) AM_RAM
* Generic.Traceback */ .highlight .kc { color: #080; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #080; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #080; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #080 } /* Keyword.Pseudo */ .highlight .kr { color: #080; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #00D; font-weight: bold } /* Literal.Number */ .highlight .s { color: #D20; background-color: #FFF0F0 } /* Literal.String */ .highlight .na { color: #369 } /* Name.Attribute */ .highlight .nb { color: #038 } /* Name.Builtin */ .highlight .nc { color: #B06; font-weight: bold } /* Name.Class */ .highlight .no { color: #036; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555 } /* Name.Decorator */ .highlight .ne { color: #B06; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #06B; font-weight: bold } /* Name.Function */ .highlight .nl { color: #369; font-style: italic } /* Name.Label */ .highlight .nn { color: #B06; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #369; font-weight: bold } /* Name.Property */ .highlight .nt { color: #B06; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #369 } /* Name.Variable */ .highlight .ow { color: #080 } /* Operator.Word */ .highlight .w { color: #BBB } /* Text.Whitespace */ .highlight .mb { color: #00D; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #00D; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #00D; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #00D; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #00D; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #D20; background-color: #FFF0F0 } /* Literal.String.Affix */ .highlight .sb { color: #D20; background-color: #FFF0F0 } /* Literal.String.Backtick */ .highlight .sc { color: #D20; background-color: #FFF0F0 } /* Literal.String.Char */ .highlight .dl { color: #D20; background-color: #FFF0F0 } /* Literal.String.Delimiter */ .highlight .sd { color: #D20; background-color: #FFF0F0 } /* Literal.String.Doc */ .highlight .s2 { color: #D20; background-color: #FFF0F0 } /* Literal.String.Double */ .highlight .se { color: #04D; background-color: #FFF0F0 } /* Literal.String.Escape */ .highlight .sh { color: #D20; background-color: #FFF0F0 } /* Literal.String.Heredoc */ .highlight .si { color: #33B; background-color: #FFF0F0 } /* Literal.String.Interpol */ .highlight .sx { color: #2B2; background-color: #F0FFF0 } /* Literal.String.Other */ .highlight .sr { color: #080; background-color: #FFF0FF } /* Literal.String.Regex */ .highlight .s1 { color: #D20; background-color: #FFF0F0 } /* Literal.String.Single */ .highlight .ss { color: #A60; background-color: #FFF0F0 } /* Literal.String.Symbol */ .highlight .bp { color: #038 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #06B; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #369 } /* Name.Variable.Class */ .highlight .vg { color: #D70 } /* Name.Variable.Global */ .highlight .vi { color: #33B } /* Name.Variable.Instance */ .highlight .vm { color: #369 } /* Name.Variable.Magic */ .highlight .il { color: #00D; font-weight: bold } /* Literal.Number.Integer.Long */
// license:BSD-3-Clause
// copyright-holders:Olivier Galibert

#include "emu.h"
#include "emumem_hedw.ipp"


template class handler_entry_write_dispatch< 1, 0,  1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 1, 0,  1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 2, 0,  1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 2, 0,  1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 3, 0,  1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 3, 0,  1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 4, 0,  1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 4, 0,  1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 5, 0,  1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 5, 0,  1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 6, 0,  1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 6, 0,  1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 7, 0,  1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 7, 0,  1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 8, 0,  1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 8, 0,  1, ENDIANNESS_BIG>;

template class handler_entry_write_dispatch< 1, 0,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 1, 0,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 2, 0,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 2, 0,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 3, 0,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 3, 0,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 4, 0,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 4, 0,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 5, 0,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 5, 0,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 6, 0,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 6, 0,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 7, 0,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 7, 0,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 8, 0,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 8, 0,  0, ENDIANNESS_BIG>;

template class handler_entry_write_dispatch< 1, 1,  3, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 1, 1,  3, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 2, 1,  3, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 2, 1,  3, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 3, 1,  3, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 3, 1,  3, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 4, 1,  3, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 4, 1,  3, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 5, 1,  3, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 5, 1,  3, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 6, 1,  3, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 6, 1,  3, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 7, 1,  3, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 7, 1,  3, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 8, 1,  3, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 8, 1,  3, ENDIANNESS_BIG>;

template class handler_entry_write_dispatch< 1, 1,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 1, 1,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 2, 1,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 2, 1,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 3, 1,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 3, 1,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 4, 1,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 4, 1,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 5, 1,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 5, 1,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 6, 1,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 6, 1,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 7, 1,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 7, 1,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 8, 1,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 8, 1,  0, ENDIANNESS_BIG>;

template class handler_entry_write_dispatch< 1, 1, -1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 1, 1, -1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 2, 1, -1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 2, 1, -1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 3, 1, -1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 3, 1, -1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 4, 1, -1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 4, 1, -1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 5, 1, -1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 5, 1, -1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 6, 1, -1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 6, 1, -1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 7, 1, -1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 7, 1, -1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 8, 1, -1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 8, 1, -1, ENDIANNESS_BIG>;

template class handler_entry_write_dispatch< 2, 2,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 2, 2,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 3, 2,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 3, 2,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 4, 2,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 4, 2,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 5, 2,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 5, 2,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 6, 2,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 6, 2,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 7, 2,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 7, 2,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 8, 2,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 8, 2,  0, ENDIANNESS_BIG>;

template class handler_entry_write_dispatch< 2, 2, -1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 2, 2, -1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 3, 2, -1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 3, 2, -1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 4, 2, -1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 4, 2, -1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 5, 2, -1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 5, 2, -1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 6, 2, -1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 6, 2, -1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 7, 2, -1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 7, 2, -1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 8, 2, -1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 8, 2, -1, ENDIANNESS_BIG>;

template class handler_entry_write_dispatch< 2, 2, -2, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 2, 2, -2, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 3, 2, -2, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 3, 2, -2, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 4, 2, -2, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 4, 2, -2, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 5, 2, -2, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 5, 2, -2, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 6, 2, -2, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 6, 2, -2, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 7, 2, -2, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 7, 2, -2, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 8, 2, -2, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 8, 2, -2, ENDIANNESS_BIG>;

template class handler_entry_write_dispatch< 3, 3,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 3, 3,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 4, 3,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 4, 3,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 5, 3,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 5, 3,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 6, 3,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 6, 3,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 7, 3,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 7, 3,  0, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 8, 3,  0, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 8, 3,  0, ENDIANNESS_BIG>;

template class handler_entry_write_dispatch< 3, 3, -1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 3, 3, -1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 4, 3, -1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 4, 3, -1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 5, 3, -1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 5, 3, -1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 6, 3, -1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 6, 3, -1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 7, 3, -1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 7, 3, -1, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 8, 3, -1, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 8, 3, -1, ENDIANNESS_BIG>;

template class handler_entry_write_dispatch< 3, 3, -2, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 3, 3, -2, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 4, 3, -2, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 4, 3, -2, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 5, 3, -2, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 5, 3, -2, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 6, 3, -2, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 6, 3, -2, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 7, 3, -2, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 7, 3, -2, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 8, 3, -2, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 8, 3, -2, ENDIANNESS_BIG>;

template class handler_entry_write_dispatch< 3, 3, -3, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 3, 3, -3, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 4, 3, -3, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 4, 3, -3, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 5, 3, -3, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 5, 3, -3, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 6, 3, -3, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 6, 3, -3, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 7, 3, -3, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 7, 3, -3, ENDIANNESS_BIG>;
template class handler_entry_write_dispatch< 8, 3, -3, ENDIANNESS_LITTLE>;
template class handler_entry_write_dispatch< 8, 3, -3, ENDIANNESS_BIG>;