Previous 199869 Revisions Next

r41622 Friday 6th November, 2015 at 18:28:07 UTC by hap
pasted some comment headers
[src/mame/includes]equites.h
[src/mame/video]champbas.c equites.c

trunk/src/mame/includes/equites.h
r250133r250134
11// license:BSD-3-Clause
22// copyright-holders:Acho A. Tang, Nicola Salmoria
3/*************************************************************************
4
5    Equites, Splendor Blast driver
6
7*************************************************************************/
8
39#include "machine/alpha8201.h"
410#include "sound/samples.h"
511#include "sound/msm5232.h"
trunk/src/mame/video/champbas.c
r250133r250134
129129
130130
131131
132/*************************************
133 *
134 *  Callbacks for the TileMap code
135 *
136 *************************************/
137
132138TILE_GET_INFO_MEMBER(champbas_state::champbas_get_bg_tile_info)
133139{
134140   int code = m_vram[tile_index] | (m_gfx_bank << 8);
r250133r250134
147153
148154
149155
156/*************************************
157 *
158 *  Video system start
159 *
160 *************************************/
161
150162VIDEO_START_MEMBER(champbas_state,champbas)
151163{
152164   m_bg_tilemap = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(champbas_state::champbas_get_bg_tile_info),this), TILEMAP_SCAN_ROWS, 8, 8, 32, 32);
r250133r250134
159171
160172
161173
174/*************************************
175 *
176 *  Memory handlers
177 *
178 *************************************/
179
162180WRITE8_MEMBER(champbas_state::tilemap_w)
163181{
164182   m_vram[offset] = data;
r250133r250134
189207
190208
191209
210/*************************************
211 *
212 *  Video update
213 *
214 *************************************/
215
192216void champbas_state::champbas_draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect)
193217{
194218   gfx_element* const gfx = m_gfxdecode->gfx(1);
r250133r250134
267291}
268292
269293
270
271294UINT32 champbas_state::screen_update_champbas(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
272295{
273296   m_bg_tilemap->draw(screen, bitmap, cliprect, 0, 0);
trunk/src/mame/video/equites.c
r250133r250134
11// license:BSD-3-Clause
22// copyright-holders:Acho A. Tang, Nicola Salmoria
3/*************************************************************************
4
5    Equites, Splendor Blast driver
6   
7    functions to emulate the video hardware
8
9*************************************************************************/
10
311#include "emu.h"
412#include "includes/equites.h"
513
r250133r250134
236244}
237245
238246
247
239248/*************************************
240249 *
241250 *  Video update


Previous 199869 Revisions Next


© 1997-2024 The MAME Team