1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
// license:BSD-3-Clause
// copyright-holders:Phil Stroffolino
/* namcoic.h
Custom Chips: Final Lap Assault LuckyWld System21 NA1/2 NB1/2
C45 Land Generator * *
C65 I/O Controller * *
C68 * *
C70 *
C95 * *
C102 ROZ:Memory Access Control *
C106 OBJ:X-Axis Zoom Control * *
C107 Land Line Buffer *
C116 Screen Waveform Generator * * * *
C121 Yamaha YM2151 Sound Gen * * *
C123 GFX:Tile Mem Decoder * * * *
C134 OBJ:Address Generator * *
C135 OBJ:Line matching * *
C137 Clock Generator IC * * * * *
C138 *
C139 Serial I/F Controller * * * *
C140 24 Channel PCM * * *
C145 GFX:Tile Memory Access * * * *
C146 OBJ:Line Buf Steering * *
C148 CPU Bus Manager * * * *
C149 Mouse/Trackball Decoder * * * *
C156 Pixel Stream Combo * * * *
C160 Control *
C165 *
C169 ROZ(B) * *
C187 * * *
C210 *
C215 *
C218 *
C219 *
C329 CPU? *
C347 GfxObj *
C352 PCM *
C355 Motion Obj(B) * * *
C373 LAND-related *
C382 *
C383 *
C384 GFX(3) *
C385 *
C390 Key Custom *
General Support
---------------
C65 - This is the I/O Microcontroller, handles all input/output devices. 63705 uC, CPU4 in Namco System2.
C137 - Takes System clock and generates all sub-system clocks, doesnt need emulation, not accessed via CPU
C139 - Serial Interface Controller
C148 - Does some Memory Decode, Interrupt Handling, 3 bit PIO port, Bus Controller
C149 - Does decoding of mouse/trackball input streams for the I/O Controller. (Offset Square wave)
Tile Fields Static/Scrolled
---------------------------
Combination of these two devices and associated RAM & TileGFX produces a pixel stream that is fed
into the Pixel stream decoder.
C145 - Tile Screen Memory Access controller
C123 - Tile Memory decoder Part 1, converts X,Y,Tile into character ROM address index
Pixel Stream Decode
-------------------
These two devices take the pixel streams from the tilefield generator and the associated graphics board
and combine them to form an RGB data stream that is fed to the monitor.
C156 - Pixel stream combiner
Takes tile field & graphics board streams and generates the priorisied pixel, then does the lookup to
go from palettised to 24bit RGB pixel.
C116 - Screen Waveform Generator
Takes RGB24 pixel stream from C156 and generates the waveform signals for the monitor, also generates
the line interrupt and controls screen blanking,shift, etc.
Object Control
--------------
C106 - Generates memory output clocks to generate X-Axis Zoom for Line Buffer Writes
C134 - Object Memory Address Generator. Sequences the sprite memory contents to the hardware.
C135 - Checks is object is displayed on Current output line.
C146 - Steers the Decode Object Pixel data to the correct line buffer A or B
ROZ
---
C102 - Controls CPU access to ROZ Memory Area.
*/
/***********************************************************************************/
#pragma once
#ifndef __NAMCOIC_H__
#define __NAMCOIC_H__
/*----------- defined in drivers/namcoic.c -----------*/
void namco_tilemap_draw( screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int pri );
void namco_tilemap_invalidate( void );
/***********************************************************************************/
#endif
|