Advertisement
atreyu187

Dreamcast Guides : Hardware Specification Outline

Jan 4th, 2013
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 56.53 KB | None | 0 0
  1.  
  2.  
  3.  
  4.  
  5. Dreamcast
  6. Hardware
  7. Specification Outline
  8.  
  9.  
  10.  
  11. 1999?10?25? 17:31??Sega Enterprises Development Department
  12.  
  13.  
  14.  
  15. Contents
  16.  
  17. 1 Dreamcast Outline 3
  18. 1.1 Outline 3
  19. 1.2 System Specification 3
  20. 1.3 System Block 4
  21. 2 CPU:SH4 8
  22. 2.1 Features of SH4 8
  23. 2.2 SH4 Settings 8
  24. 2.3 Main Memory 9
  25. 2.3.1 Configuration of the memory 9
  26. 2.3.2 SDRAM control 10
  27. 2.4 Mapping of the system memory 10
  28. 2.5 Interface of CPU bus 11
  29. 2.6 Interrupt 11
  30. 2.7 PIO i/f 12
  31. 2.8 SCI i/f 12
  32. 3 Image drawing processor: HOLLY 13
  33. 3.1 HOLLY sub system 13
  34. 3.2 Chip specification 15
  35. 3.3 Pin list 15
  36. 3.4 Texture(Texture /Frame Buffer)memory 18
  37. 3.5 Internal configuration 19
  38. 3.5.1 System Bus 19
  39. 3.5.2 Core 19
  40. 3.6 Outline of drawing images 22
  41. 3.7 Internal configuration 20
  42. 3.7.1 PVR block 20
  43. 3.7.2 Tile Accelerator (TA)Block 20
  44. 3.7.3 System Bus Block 20
  45. 3.8 External interface specification 25
  46. 3.9 Data path 26
  47. 3.10 HOLLY?interrupt?? 27
  48. �4 Audio processor?AICA 30
  49. 4.1 AICA peripheral connection 30
  50. 4.2 Chip Specification 30
  51. 4.3 Pin specification 31
  52. 4.4 Main configuration and spec 32
  53. 4.5 Audio memory 33
  54. 4.6 RTC(Real Time Clock) 33
  55. 4.7 audio in/output 33
  56. 4.8 Image mode settings 33
  57. 4.9 MIDI interface 33
  58. 4.10 Interrupt 33
  59. 5 Boot ROM 34
  60. 5.1 Boot ROM configuration 34
  61. 5.2 Assigning the ROM 34
  62. 5.3 About the access cycle to the ROM 34
  63. 6 GD-ROM 35
  64. 6.1 Specification Outline 35
  65. 6.2 Interface 36
  66. 6.3 GD-ROM audio 36
  67. 7 Other 37
  68. 7.1 Control pad 37
  69. 7.2 Backup media 37
  70. 7.3 Modem 37
  71. 7.4 The setting method of the video output and the image mode 38
  72. 7.5 Dreamcast Clock Tree 38
  73. 7.5.1 PLL 39
  74. 7.6 Power supply 39
  75. 7.7 Reset Sequence 39
  76.  
  77.  
  78.  
  79. 1 Outline of Dreamcast
  80. This section is an outline of the Dreamcast system. For individual details please refer to the appropriate sections.
  81. ?Additionally with regards to the details of the various sections that follow this section, please refer to other material.
  82.  
  83. 1.1 Outline
  84. ?A feature of Dreamcast is that it is a system with high quality graphics capability, thanks to its PVR2 core, and superb quality audio which has been produced at a low cost and has a retail price of under $200. Additionally by including a modem as a standard specification, it allows the easy development of network/internet business.
  85.  
  86. 1.2 System Specification
  87. ?These are the hardware specifications of the basic Dreamcast system.
  88.  
  89. * CPU: Hitachi SH4 200MHz , Super Scalar RISC Processor , 360MIPs, 1.4GFLOPs
  90. * ASIC: Image drawing VL/NEC HOLLY 100MHz , Audio YAMAHA AICA
  91. * Polygon performance : At peak 3 million polygons/sec ( triangle / quadrilateral ) , 1.5 million polygons/sec visible
  92. * Polygon functions: shadow , tri-linear MIPMAP , edge anti-aliasing, fog, ? buffering etc.
  93. * 16MB Main memory(Can expand to a maximum of 32MB)
  94. * 8MBTexture memory(Can expand to a maximum of 16MB)
  95. * 2MB Boot ROM
  96. * 128KB Flash memory
  97. * 2MB audio memory(Can expand to a maximum of 8MB)
  98. * Audio function: 64ch PCM / ADPCM / FM , 44.1KHz
  99. * 4x?12x CAV-type GD-ROM drive(built-in 128KB buffer RAM)
  100. * 4 Game ports (adapted for the optional light gun, storage device etc.)
  101. * 4 port backup media (optional device)
  102. * RTC(Real Time Clock) that has capability of battery backup
  103. * 33.6kbps modem card
  104. * Adapted for NTSC/PAL, VGA monitor image output
  105.  
  106. �1.1
  107. 1.3 System Block
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118. Figure 1-1?Dreamcast Block Diagram
  119.  
  120.  
  121. Figure 1-1 is the system block diagram. A simple explanation of each block is below.
  122. CPU
  123. The main CPU is a Hitachi SH4 with an internal performance of 1.8V / 200MHz and external performance of 3.3V / 100MHz. The frequency of the clock (where the operation is based) is 33.3MHz output from the external PLL. SH4 processes game sequence, AI, 3D operation and 3D image drawing commands. Also the PIO i/f, which allows external I/O access, is used in video mode selection. (Explained later)
  124.  
  125. Main memory
  126. In order to take advantage of SH4 performance, the SDRAM (which is the main memory) is directly connected to SH4. The bus width is 64bit with a movement frequency of 100MHz and at burst, it has a maximum transfer quantity of 800MB/s (a theoretical value) Additionally, SH4 does not share the texture data/audio data and the main memory SDRAM. There is 16MB of base system space.
  127. The access speed is -7ns or an equivalent speed.
  128.  
  129. HOLLY
  130. This has a built-in PVR2 core and supports image drawing. In other words HOLLY, which is the core of the interface supports CPU i/f, texture memory i/f and/ or the peripheral devices G1/G2 bus i/f and the Maple i/f.
  131. HOLLY uses SH4 and the SH4 DMA to read the display list created in the main memory to generate 3D graphics internally. When using texture mappings, the texture data is read from the texture memory.
  132. From SH4, it is accessed via the multiplexed 64bit address/data interface mode.
  133. From HOLLY, each RGB 8bit image data is accessed via the video DAC/ encoder.
  134.  
  135. Texture (texture/frame buffer) memory
  136. As a base system it has an area of 8MB(which can be expanded to a maximum of 16MB)and HOLLY occupies 4 16M bit SDRAM(8 when expanded).The data bus width is 16bit�4 and 16/32/64 bit access is possible. The memory is accessed from HOLLY at 100MHz using -7ns or equivalent.
  137.  
  138. G1 bus
  139. The GD-ROM drive, Boot ROM and flash memory are buses in parallel connection and the bus has a multiplexed EIDE-like i/f and Boot ROM i/f. Part of the Boot ROM address line, the 8 bit of code that contains the system data, is multiplexed. The data bus width is 16 bit at the time of GD-ROM access and 8 bit for Boot ROM and Flash memory access. It is also subject to type 1 interrupted entry from the GD-ROM.
  140. GD-ROM access uses an ATAPI like protocol. For details of the protocol, refer to a separate document.
  141. In order to prevent hardware reconstruction and Illegal copies, this bus is not external on commercially produced Dreamcast hardware. In the case of the SET5 set for software Development, the Crossproducts Company debugging adapter base is connected to this and thus allows software debugging. In that case, the downloading of data occurs through this bus.
  142.  
  143. G2 bus
  144. The G2 bus is a multiplexed clock bus and supports the audio IC, AICA ,and supports the connection of optional devices like the card-in unit (modem) and the externally connected debugging tool.
  145. The bus clock is 25MHz and the bus width is 16bit. It is subject to interruptions from AICA, the modem and external devices.
  146. With commercially produced Dreamcast hardware, this bus is on the outside and has is used as an expansion bus.
  147.  
  148.  
  149. 4x-12xGD-???
  150. The drive reads using a CAV method and the data reading speed is 4x for normal space and 12x for high-density space. The drive has a 128KB buffer RAM and data is transferred through HOLLY. It delivers GD-DA (high-density digital audio) as opposed to AICA that is an audio IC.
  151.  
  152. Boot ROM
  153. The system/boot ROM used by SH4 is connected to the G1 bus. There are 2MB of ROM space and a data bus width of 8 bit. The access time of the Dreamcast is set at 100ns.
  154.  
  155. Flash ROM
  156. Information such as the Dreamcast system administration number is stored here.
  157.  
  158. Modem
  159. It is a modem card featured as standard on the Dreamcast system as a card type unit and is connected to the G2 bus. The communication speed is 33.6Kbps and is equipped with a modular terminal.
  160.  
  161. AICA
  162. AICA is a YAMAHA audio IC. It is a chip that has the primary objective of being in charge of the Dreamcast audio and reproduces 64ch PCM/ADPCM/FM stereo sound. Starting from the GD ROM it picks up audio signals or 33.8688MHz from the audio clock. Stereo sound generated within AICA becomes output from the external audio DAC/AMP.
  163. As an internal configuration it is divided into an audio block and G2 bus i/f block and has a shared audio memory. The internal chip of the CPU uses an ARM7 core. A RTC (Real Time Clock) is also built-in. The audio block frequency is 22.5792MHz and the G2 bus i/f block frequency is 25MHz. As a peripheral i/f it supports audio memory i/f as well as MIDI i/f. The RTC has a 3V Lithium battery for backup purposes and a 32.768KHz x�tal.
  164. Also, unlike video DAC/encoder, it allows video mode settings (switching) access.
  165.  
  166. Audio memory
  167. AICA is connected to an audio memory occupying the 16M bit SDRAM (space is 2MB but can be expanded to a maximum of 8MB). The memory bus width is 16bit and access is at 67.7MHz.
  168.  
  169. External connection device
  170. This is a device just like AICA and the modem that is located on the G2 bus and connected to a debugging tool etc.
  171.  
  172. Maple i/f
  173. This is an original Sega peripheral interface supported by HOLLY that is a serial-type control pad interface. The Dreamcast console supports up to 4 ports. Additionally, this port supports the control pad (Light Gun) as well as connected backup media (which is explained later). The maximum port transferring rate is 2Mbps.
  174.  
  175. Backup media (B/U)
  176. Backup media is optional support used for saving application data. It is connected through the Maple port and HUB (control pad) and a maximum of 4 can be connected.
  177.  
  178. MIDI i/f
  179. This supports MIDI IN/OUT for the purpose of audio development.
  180.  
  181. Video output
  182. Image information generated by HOLLY passes through the video DAC/encoder (Digital-Video-Encoder) and becomes output compatible with general NTSC/PAL monitors as well as a VGA. NTSC/PAL video signal output from a Video DAC/encoder and stereo sound output from AICA becomes output from the RCA connector. The cable connected to the RCA connector can be a multi-purpose commercial product. Opposed to the VGA monitor, analogue RGB/ synchronised signal etc will become output from the expansion VGA connector. The NTSC/PAL, VGA etc. video modes depend on the type of cable connected to the connector and that information is reflected in the SH4 I /O. This can be switched from SH4 to HOLLY using the AICA image register settings.
  183.  
  184. Audio output
  185. Stereo sound generated by AICA passes through the audio DAC/AMP and video output generated by HOLLY and becomes output from the RCA connector and/or the expansion VGA connector.
  186.  
  187. PLL
  188. This is for creating each clock in the system and has an attached 13.5MHz x�tal. The frequency of the output clock (or the output destination) is 33.3MHz(SH4) and 54MHz(HOLLY)
  189.  
  190. Other
  191. The power unit has 100?120V AC, 50/60Hz input and supplies DC3.3V or DC5.0V to the system. The DC1.8V, DC2.4V for the SH4 interior / HOLLY internal power supply are created by a separate electrical power source IC.
  192.  
  193. ----End of Outline----
  194. 2 CPU: SH4
  195. ?The CPU used in the Dreamcast system is a SH4 (HITACHI) and with respect to 3D game programming it is mainly responsible for the processing of the game sequence, AI, physical calculations and 3D conversions. Below is an explanation of the SH4 settings and peripherals.
  196. 2.1 Features of SH4
  197. ?Table 2-1 describes the main functions of SH4.
  198.  
  199. Core Instruction core 32bit RISC, 16bit Instruction Pipe line 5 stage FPU single/ double accuracy IEEE754 Clock Internal 200 MHz, external 100 MHz, peripheral clock 50MHz Performance 360MIPS (core), 1.4GFLOP (matrix multiplication) Super Scalar 2 Cache I$: 8KB, D$: 16KB (Both are direct mapping). There are index / RAM functions Other high-speed packet transfer through the store queue function is possible ( 32B) Peripherals calculation Matrix multiplication, 1/? DMAC 4 channel, DDT mode Memory i/f SDRAM i/f, Multiplex i/f MMU Page Size: 1KB, 4KB, 64KB, 1MB UBC 2 Break Point SCI synchronised clock, synchronised pace Timer 3 Channel RTC Real Time Clock, Alarm, calendar Process and package Electrical power consumed 1.8W Voltage External: 3.3 VDC, Internal1.8 VDC Process 0.25um, 2.4V / 3.3V Package 256 BGA Die Size 49mm2 Table 2-1?Features of SH4
  200. 2.2 SH4 Settings
  201. ?With respect to the Dreamcast system, SH4 uses the settings described in table 2-2. (Note that it is slightly endian)
  202. ?The operational mode, described in table 2-3, is dependent on the MD [7:0] pin and these pins can be used as other functions and is internally sampled when the reset is cancelled. The clock mode is the same except that after booting, the software can be used for further settings.
  203.  
  204. Category Setting External clock 100 MHz (Cycle Time: 10ns) Internal clock 200 MHz (Cycle Time: 5ns) Endian Little Endian (Intel-style) Table 2-2?Configuration of SH4
  205.  
  206. Mode pin Setting Operation MD7 0 SH4 is master mode operation MD6 1 area0 is MPX operation MD5 1 All the buses are little endian MD4 0 64 bit bus width operation MD3 0 64 bit bus width operation MD2 1 Clock mode MD1 0 Clock mode MD0 1 Clock mode Table 2-3?SH4 operation mode settings
  207. 2.3 Main memory
  208. ?The main memory of the system is directly connected to the CPU: SH4 and used as the SH4 program code and work memory. The supported memory size depends on the memory cost. The main memory specification is described in table 2-4. The basic configuration is an SDRAM with 16MB of space and two 64M bit (bus width 32bit).
  209.  
  210. Memory size 16MB Technology 2 64Mbit SDRAM (4bank x 512k word x 32bit) Total bus width 64 bit Burst sequence Sequential Number of internal banks 4 Bus width of 1 chip 32 bit Frequency 100MHz BBW 800MB/s Table 2-4?The main memory base specification
  211. 2.3.1 The memory configuration
  212. ?Table 2-5 is the configuration details and figure 2-1 is the memory configuration.
  213.  
  214. Space Number Each RAM CLOAD (Addr/Ctrl/Data) Fig. 16MB �base 2 4 x 512k x 32bit?SDRAM (64Mbit) 5 pF / 5 pF / 7 pF 2-1 Table 2-5?The main memory configuration
  215.  
  216.  
  217. Figure 2-1 Configuration of 16MB SDRAM�Uses 2 64Mbit (4 x 512k x 32bit)
  218. 2.3.2 SDRAM Control
  219. ?The BSC (Bus State Controller) in SH4 controls the SDRAM, all of the SDRAM control signals, refreshing and pre-charging.
  220. ?The SDRAM needs to be set after the point when the power has just been switched on but before the SDRAM has yet to be accessed.
  221. SH4 uses the software to generate the SDRAM configuration cycle. Writing in the SH4 register generates the configuration cycle.
  222.  
  223. ?The settings are cited below.
  224. * The SDRAM burst length is set as 4. Only this setting is possible.
  225. Also the CAS latency is set as 3.
  226. The burst sequence is set as sequential access.
  227. * The SH4 internal refresh counter is set as 2048 times per 32msec.
  228. * SH4 is set as ??down mode.
  229. This is to speed up access when using the same row address. (However in this mode, you are prohibited from having the WAIT function on for a long time.)
  230.  
  231. ?SH4 is the only SDRAM access master. Access from HOLLY to the SDRAM uses the SH4 DMA cycle. Due to SH4 DDT mode DMA, 1 external device can become the logical bus master.
  232. ?With channel 0, an On Demand DMA (ODD) protocol is possible. Due to the ODD, the external device can program the SH4 DMAC channel0. From this HOLLY is able access the SDRAM efficiently.
  233.  
  234. 2.4 System memory mapping
  235. ?The external SH4 bus is a 64-bit data bus that allows a 26-bit address bus and 1 byte access. The internal address is 32 bit. Additionally SH4 has a multiplex data/address mode (MPX). It is directly connected to the SDRAM and uses CS3# for chip selection. CS3#area can be accessed in ??down mode.
  236. ?The SH4 system memory map is divided into 7 areas. Each area is defined by an address and 7 decoded external chip selections become (CS#[6:0]) output.
  237. ?Table 2-6 is the memory map and area configuration. For details on each function, refer to the relevant section.
  238.  
  239. Area Physical Address Type Function Size Access Note 0 (CS1) $00000000 - $001FFFFF
  240. $00200000 - $0021FFFF
  241. $005F6800 - $005F69FF
  242. $005F6C00 - $005F6CFF
  243. $005F7000 - $005F70FF
  244. $005F7400 - $005F74FF
  245. $005F7800 - $005F78FF
  246. $005F7C00 - $005F7CFF
  247. $005F8000 - $005F9FFF
  248. $00600000 - $006007FF
  249. $00700000 - $00707FFF
  250. $00710000 - $00710007
  251. $00800000 - $009FFFFF
  252. $01000000 - $01FFFFFF MPX Boot ROM
  253. Flash Memory
  254. System Control Reg.
  255. Maple Control Reg.
  256. GD-ROM
  257. G1 Control Reg.
  258. G2 Control Reg.
  259. PVR Control Reg.
  260. TA/PVR Core Reg.
  261. MODEM
  262. AICA sound Reg.
  263. AICA RTC Reg.
  264. AICA Memory
  265. G2 External area 2MB
  266. 128KB
  267. 512B
  268. 256B
  269. 256B
  270. 256B
  271. 256B
  272. 256B
  273. 8KB
  274. 2KB
  275. 32KB
  276. 8B
  277. 2MB
  278. 16MB 1/2/4/32B
  279. 1/2/4/32B
  280. 4B
  281. 4B
  282. 1/2B
  283. 4B
  284. 4B
  285. 4B
  286. 4/32B
  287. 1B
  288. 4B
  289. 4B
  290. 4B
  291. 1/2/4/32B 1 (CS1) $04000000 - $047FFFFF
  292. $05000000 - $057FFFFF MPX Texture Mem.(64bit)
  293. Texture Mem. (32bit) 8MB
  294. 8MB 2/4/32B
  295. 2/4/32B (RD/WR)
  296. (RD/WR) 2 (CS2) $08000000 - $0BFFFFFF - Unassigned 64MB - Reserve 3 (CS3) $0C000000 - $0C7FFFFF SDRAM Work SDRAM 16MB 1/2/4/32B Main Memory 4 (CS4) $10000000 - $107FFFFF
  297. $10800000 - $10FFFFFF
  298. $11000000 - $117FFFFF MPX Polygon Converter
  299. YUV Converter
  300. Texture Mem. (WR) 8Mbyte
  301. 8Mbyte
  302. 8Mbyte 32B
  303. 32B
  304. 32B TA FIFO
  305. TA FIFO
  306. (WR only) 5 (CS5) $14000000 - $17FFFFFF MPX Ex. Device 64MB 1/2/4/32B 6 (CS6) $18000000 - $1BFFFFFF - Unassigned 64MB 64MB reserve Table 2-6?memory mapping
  307. 2.5 CPU bus interface
  308. ?SH4 uses 2 different bus protocols depending on the area of the CPU bus. Depending on which memory area is accessed, one of the 2 choices below is selected.
  309.  
  310. 1)?Direct operation to the SDRAM
  311. 2)?MPX operation to HOLLY
  312.  
  313. ?The MPX interface is an interface for the multiplex address/data. With respect to areas 0,1,4 and 5 of SH4, MPX operation is possible.
  314.  
  315. <1> area 0 ? Boot ROM, GD-ROM, modem, HOLLY/AICA control register, external device area
  316. <2> area 1 ? Texture memory access
  317. <3> area 4 ? TA area within HOLLY (FIFO, YUV converter, texture memory access)
  318. <4> area 5 ? external device area on the G2 bus.
  319.  
  320. ?With regards to direct operations involving the SDRAM, please refer to the previous section titled SDRAM control.
  321.  
  322. 2.6 Interrupt
  323. ?With regards to interruptions from the exterior of SH4, the following exist.
  324.  
  325. * NMI interrupt
  326. * SH4 external interrupt(Level Trigger)
  327.  
  328. ?The debugging adapter controls JTAG interruptions.
  329. (The debugging adapter is a software development tool that allows the reset of the Dreamcast system and JTAG interruptions etc.)
  330. ?NMI is not used.
  331. ?SH4 external interruptions (as a signal it is CIRL [2:1]) are controlled by HOLLY. Interruptions from HOLLY to SH4 are from HOLLY internally and from each device on the G1/G2 bus.
  332.  
  333. * HOLLY internally (PVR2 core, DMA part) interrupt�level trigger
  334. * GD-ROM interruption (interruption from the G1 bus)
  335. * AICA interruption (interruption from the G2 bus)
  336. * MODEM interruption (interruption from the G2 bus)
  337. * Reserve (interruption from external device connected to the G2 bus)
  338.  
  339. ?The outline of the connection is described in diagram 2-2 below.
  340. ?If an interruption occurs from within HOLLY, GD-ROM, AICA, RESERVE etc., HOLLY will maintain the status in its internal register and record the interrupt signal as level �L�. (It allows signal level changes of IRL#[2:1]. With regards to the other IRL#0,3 signals, it is connected to the �H� level) When the interrupt signal becomes level �L�, SH4 will read the HOLLY internal interruption register and jump to the appropriate vector routine interruption.
  341.  
  342.  
  343. Figure 2-2?interruption outline
  344. 2.7 PIO i/f
  345. ?The SH4 PIO interface is used in the reading of the Dreamcast system image mode settings. The allocation of each signal line of the PIO interface (PIO [9:0]) is described in figure 2-3 and table 2-7.
  346.  
  347.  
  348. Figure 2-3?Allocation of PIO[9:0]
  349.  
  350.  
  351.  
  352. 2.8 SCI i/f
  353. ?SH4 has 2 serial interfaces (SCI) . With regard to the Dreamcast system, only one of these is a multi-purpose serial port in the console that is supported.
  354.  
  355. --End of CPU--
  356.  
  357. 3 Draw image processor: HOLLY
  358. The HOLLY chip is a product-version Dreamcast graphics processor with a built-in PowerVR2 core, which is part of the Power VR family and the next generation game console version after the PC PowerVR PCX2.
  359. The internal part of HOLLY is divided into the system bus and core.
  360. The system bus is an interface between the SH4 and Core, G1, G2, game pad and especially controls DMA movements.
  361. The core is only used to draw images. From SH4 it is accessed through the system bus. Additionally with PCX2, flat parameter generation and tile parameter generation which was perofrmed by Pentium(R) has completely become converted to hardware and made faster.
  362.  
  363. 3.1 HOLLY subsystem
  364. Figure 3-1 is the HOLLY sub system.
  365. * With regards to an explanation about the pin, refer to the pin list 0.
  366.  
  367. Figure 3-1?Block diagram of the HOLLY sub system
  368.  
  369. 3.2 Chip specification
  370. ?The main chip specifications for HOLLY are described below.
  371.  
  372. * Package 500pin ??BGA
  373. * Process 0.2?m
  374. * SH4 i/f clock 100MHz
  375. * Draw image clock 100MHz
  376. * Pixel clock 13.5MHz (Input 54Hz from the external PLL is internally ?? before use.)
  377. * Power supply DC2.4/3.3?(core 2.4V, all signal pins 3.3V. 5V pressure-withstanding pins are not supported)
  378.  
  379. 3.3 List of pins
  380. The pin list of the HOLLY chip is below.
  381. If the first letter of the signal name is �C�, it is a CPU bus related signal while ones starting with �L� are texture memory related signals.
  382. Additionally the texture memories of blocks C and D are only connected when the texture memory is at 16MB. Normally (at 8MB), nothing will be connected.
  383. Pin name i/o Explanation System-related signals SYSRESN input Resets whole of HOLLY VCLK input Displayed clock(13.5MHz) Not synchronised with the draw image clock TESTN input The test pin of the chip
  384. 0:chip testing mode 1: normal operation Pin name i/o Explanation CPU related signal CCKIO input The operational clock of the chip. Connects the CPU clock CCs[5,4,1,0]N input Connects SH4 /CS n CFRAMEN input Connects SH4 /FRAME CRDWR input Connects the SH4 /RDWR 0:write 1:read CIRL[2:1]N output Interrupts the CPU CRDYN output CPU /READY CDBREQN output CPU /Data Bus Request CBAVLN input CPU /Bus Availability CTRN output DMA-Transfer Request CTDACKN input DMA-Transfer Data Acknowledge CID[1:0] input DMA-Channel number CAD[63:0] In/output CPU address/data multiplex bus Pin name i/o Details Texture memory related signals SDACLK Output Blocks A and C (32 bit) texture memory clock
  385. ** C is only used in 16MB expansion. SDBCLK Output B and D (32bit) texture memory clock
  386. ** D is only used in 16MB expansion. SDACS0N Output Block A- chip selection SDBCS0N Output Block B- chip selection SDACS1N output Block C- chip selection (only used in 16MB expansion) SDBCS1N output Block D- chip selection (only used in 16MB expansion) SDARASN output Blocks A and C- RAS SDBRASN output Blocks B and D- RAS SDACASN output Blocks A and C- CAS SDBCASN output Blocks B and D- CAS SDA[1:0]DQM output Block A- DQM SDB[1:0]DQM output Block B- DQM SDAWEN output Blocks A and C- write SDBWEN output Blocks B and D- write SDA0A[10:0] output Blocks A and C- address0 SDA1A[10:0] output Blocks A and C- address1 SDB0A[10:0] output Blocks B and D - address0 SDB1A[10:0] output Blocks B and D- address1 SDAA11 output Blocks A and C- address SDBA11 output Blocks B and D- address SDA0D[15:0] In/output Blocks A and C- lowest data[15:0] SDA1D[31:16] In/output Blocks A and C- highest data[31:16] SDB0D[15:0] In/output Blocks B and D- lowest data[15:0] SDB1D[31:16] In/output Blocks B and D- highest data[31:16] Pin name i/o Explanation Common Signals GRESN output Reset for device Pin name i/o Explanation ?1 bus related signals G1D[7:0] In/output G1 data bus-lowest 8bit G1RAD[15:8] In/output G1data bus- highest 8bit
  387. Adapted to ROM address[7:0] G1RAL[10:8] Output ROM address[10:8] G1MRA[18:11] In/output Mode
  388. ROM address[18:11] G1RAH[20:19] Output ROM address[20:19] G1CS[1:0]N Output GD-ROM chip selection G1ROMCSN Output Boot ROM chip selection G1FMCSN output Flash memory chip selection G1RDN output Boot ROM read signal G1WRN output Boot ROM light signal (for Flash ROM, normally not connected) G1IORDY input GD-ROM IO ready G1DREQ input GD-ROM DMA request G1DACKN output GD-ROM DMA acknowledge G1INTRQ input GD-ROM interrupt Pin name i/o Explanation ?2 bus related signals G2AD[15:0] In/output Address/data multiplex bus G2BHN output Highest data(G2AD[15:8]) valid G2BLN output Lowest data(G2AD[7:0]) valid G2FRN output Frame signal G2CLK output G2bus/clock G2TRN input /TargetReady G2DSN In/output /DeviceSelect G2STN Input /Stop G2RQAICN Input AICA /TransferRequest G2RQEX0N Input External Device0 /TransferRequest G2RQEX1N Input External Device1 /TransferRequest G2RQDEVN Input Debugger /TransferRequest G2MDMCSN Output Modem chip select G2IRAICN Input AICA interruption G2IRMDMN Input Modem interruption G2IREXTN Input External device interrupt Pin name i/o Explanation Video related signal HSYNC In/output Horizontally synchronised TV signal
  389. Becomes slave (input) due to the register signals
  390. Just after reset, it is slave mode VSYNC In/output Vertically synchronised TV signals
  391. Becomes slave (input) due to the register settings
  392. Just after reset, it is slave mode PCLK Output Pixel clock BLANK Output Blanking signal 0:blanking CHROMA output Chroma key fix signal 0: transparent pixel RGB[11:0] output Highest or the lowest �bit� of pixel data
  393. 1 pixel is 24 bit Pin name i/o Explanation ?1 bus related signal MSDCKA[3:0] In/output Game pad/ bus A side MSDCKB[3:0] In/output Game pad/ bus B side Table 31
  394.  
  395. 3.4 Texture (Texture/Frame Buffer) Memory
  396. ?HOLLY is connected to a 16Mbit SDRAM�4 memory 8MB(can expand up to 16MB) memory which is accessed at 100MHz and allows 16/32/64 bit data access. 1 byte access is not supported. 32 bit SDRAM does not allow specification.
  397. Table 3-1 below describes details of the used memory in the Dreamcast base system.
  398.  
  399. Memory space 8 MB(16Mbit�4) Technology 16 M bit SDRAM (2 x 256k x 16bit) x 4 Total bus width 64bit(16/32 bit access possible but 8 bit is not) Bus width of 1 chip 16 bit Frequency 100 MHz BBW 800 MB/s Figure 3-1?HOLLY texture/frame buffer memory specification
  400.  
  401.  
  402. 3.5 Internal configuration- Part1
  403. The interior of HOLLY is divided into the following 2 parts.
  404.  
  405.  
  406. 3.5.1 System Bus
  407. Access from the CPU, with some exceptions, occurs through the system bus block.
  408. The system bus is suitable for the DMA of the CPU. It is also suitable for single access of the CPU but due to its transfer capabilities, use from the DMA is recommended.
  409.  
  410.  
  411. 3.5.2 Core
  412. The drawing of images occur through this block.
  413. Access to the core block is through the system bus block. (Described earlier)
  414. The types of access are described below.
  415. * transfer of the polygon list (draw image)
  416. * writing texture data
  417. * reading texture RAM
  418. * Reading and writing of the core register
  419.  
  420. 3.6 Internal configuration- Part 2
  421. ?The 3 blocks described below basically configure HOLLY.
  422.  
  423. 3.6.1 PVR block
  424. ?This is a rendering engine and includes the PVR 2 core as well as the texture memory arbiter.
  425.  
  426. 3.6.2 Tile Accelerator(TA) block
  427. This is a block that converts writing from the CPU or polygon data transferred from the main memory through the DMA, and uses the hardware to convert it into PowerVR format and includes YUV conversion, FPU etc.
  428.  
  429. 3.6.3 System bus block
  430. ?This is a block that transfers data from each block inside HOLLY to the internal bus. Transfer between the main memory and each device connected to HOLLY uses the SH4 DMA (DDT mode).
  431. ?Below is an explanation of the bus configuration and each interface block.
  432.  
  433. The configuration is such that each interface block within the system bus block sandwiches the root bus , and access between each device is via the root bus. The root bus has a bus width of 32bit and an operational clock of 50MHz. The data transferring speed including arbitration is 123MHz (13clk/32B).
  434. ?Each interface block connected to the root bus is described below.
  435.  
  436. * SH4 i/f
  437. ?The HITACHI SH4 (internal 200MHz operation), which is the CPU, is an interface for accessing the root bus and connected to the 64 bit A/D (MPX) bus. It is accessed from areas CS0, CS1, CS5 where wait control is possible
  438.  
  439. * DDT i/f
  440. ?This uses the SH4 DDT function to access the CPU main memory. The device on the root bus becomes the master bus and if you use DMA transferring to the main memory, DDT i/f becomes the target of each device from and is transferred to the main memory. Additionally it controls DMA access from the main memory .
  441.  
  442. * PVR i/f
  443. ?This is the master/target device of the root bus and performs transfers between the PVR block and the TA block (access register). The data transfer is in units of 32B. There is also a DMA function.
  444.  
  445. * Maple i/f
  446. This is a root bus master/ target device that transfers between the control pad etc. and maple device. The data is transferred in units of 32B. There is also a DMA function.
  447.  
  448. *
  449. G1 bus i/f
  450. This is the master/ target device of the root bus and performs the transfer between the GD-ROM drive connected to the bus and the ROM/FLASH. The data is transferred in units of 32B. There is also a DMA function.
  451.  
  452. * G2 bus i/f
  453. ?This is a master/ target device on the root bus and performs the transfer between the audio chip AICA, that is connected to the bus, the modem and the optional external device. The data is transferred in units of 32B. There is also a DMA function.
  454.  
  455. The � Bus Arbiter � (connected to the root bus) performs the arbitration of the root bus and is set from SH4. It is connected to the SH4 i/f.
  456. 3.7 Outline of drawing images
  457. ?HOLLY�s image drawing specifications are described below.
  458.  
  459. * Tile data generation by the hardware
  460. * Removal of the backface polygon due to the hardware (select from register)
  461.  
  462. * draw image primitive: triangle (can strip) and quadrilateral (can not strip)
  463. * Triangle strip (1??)
  464. * Flat shading
  465.  
  466. * Texture colour?ARGB1555,565,4444
  467. * On-chip palette: 2K byte
  468. * YUV420,422
  469. * Quantumise shrink texture: can shrink up to 1/4 ~1/8
  470. * Rectangular texture, twiddle texture
  471. * Cramp texture co-ordinates , flipping (mirroring)
  472. * Chroma key fix
  473.  
  474. * Perspective texture mapping
  475. * MIP map
  476. * texture filtering?
  477. - point sampling
  478. � bilinear filtering
  479. � trilinear filtering
  480. � unisotropic filtering (Unisotropic)
  481. * grow shading (RGBA specification /intensity specification can be selected)
  482. * Specular Highlight
  483. * Shadow (within shadow volume it displays separate texture)
  484. * Simple reduce brightness shadow (1/4,1/2,3/4 simple shadow)
  485. * 4x4 dithering
  486. * rectangular clipping of pixel unit or tile unit
  487. * colour cramp
  488. * Fog?LUT method, linear/Exp.
  489. * Fog colour settings are possible.
  490. * Interpolation of the maxima ?
  491. * ?blending: Open GL compatible
  492. * automatic sorting of ?polygon possible
  493. * Depth comparison: Open GL compatible
  494. * Edge anti-aliasing
  495. * BAMP mapping
  496.  
  497. * 16.7 million colours displayed
  498. * Flicker filtering
  499.  
  500. * Internal 3D pixel format: 32BPP RGBA (16bit texture is expanded 24bit internally, then used.)
  501. * CPU co-ordinate data format: 32bit , minimum number of fluctuations(IEEE754)
  502. * Texture cache size: 128 entry
  503.  
  504. Etc.
  505.  
  506.  
  507. ?Table 3-2 describes the NTSC/PAL modes suites to HOLLY.
  508. ?With regard to the interlace mode, �single density� displays the same image as the EVEN/ ODD field and �double density� displays a different image to the EVEN/ODD field. Double density is better for the vertical resolution when viewing but the �flicker� phenomenon occurs. In this case, if you use the mode where you assign part of HOLLY�s texture memory as the frame buffer, flickers are reduced.
  509.  
  510. Resolution Refresh rate and interlace mode Reference 320x240 60 Hz non-interlace NTSC low-res non-interlace 320x240 30 Hz interlace NTSC low-res single density interlace 640x240 60 Hz non-interlace NTSC high-res. Non-interlace 640x240 30 Hz interlace NTSC high-res. single density interlace 640x480 30 Hz interlace NTSC double density interlace (Flicker free possible) 320x240 50 Hz non-interlace PAL low-res non-interlace 320x240 25 Hz interlace PAL low-res single density interlace 640x240 50 Hz non-interlace PAL high-res. non-interlace 640x240 25 Hz interlace PAL high-res. single density interlace 640x480 25 Hz interlace PAL double density interlace (Flicker free possible)
  511. Table 3-2?NTSC/PAL resolution display
  512.  
  513. The texture memory stores the data below in the shared memory. Although it does not have the transfer capability of the system memory, the CPU can be used as a work area.
  514. * texture data
  515. * frame buffer
  516.  
  517. When displaying the interlace, depending on what colour is displayed, the flickering lustre may be annoying. This is called �flicker� and the Dreamcast system supports the flicker filtering functions that are described below.
  518.  
  519.  
  520. Diagram 3-2 Flicker filtering
  521.  
  522. ?Apart from the NTSC/PAL display mode, HOLLY uses settings from SH4 to display the VGA resolution that you can select from table 3-3. Additionally VGA monitor output from the Dreamcast console is not adapted for the A/ V connector but for another special connector.
  523.  
  524. Resolution Refresh rate and interlace mode Note 640x480 60Hz non interlace VGA Table 3-3?VGA Resolution
  525.  
  526. 3.8 External interface specification
  527. ?The interface specifications of HOLLY and each supported device are described below.
  528.  
  529. G1 bus
  530. ?The G1 bus is connected to the GD-ROM drive and the ROM/ FLASH (space 2MB and bus width 8bit). Access to the GD-ROM uses an interface similar to EIDE (similar to ATA) but part of the bus signal line has multiplexed signal lines that are used for ROM/FLASH access. Additionally part of the address line to ROM/FLASH has multiplexed MODE signals which are incorporated in the system information. The bus operation is not synchronised and at the time of GD-ROM access the data bus width is 16 bit although at the time of ROM/FLASH access, it is 8 bit. The real transfer speed at the time of GD-ROM access is 10MB/s (2880ns/32B).
  531.  
  532. G2 bus
  533. ?G2 bus is a bus like PCI that has an operational 25MHz clock and a bus width of 16 bit and is in parallel connection to the audio IC AICA, the modem and the optional external device. The real transfer speed is 40MB/s (19 clk/32B).
  534.  
  535. Maple
  536. ?This is an original Sega peripheral interface that supports the connection of peripheral devices such as the control pad and backup media. Up to 4 ports can be connected. Data transmission occurs by the synchronised serial method. The maximum data transfer rate is 2Mbps and the real transfer speed of the port is 128KB/s. With regard to details on specifications, refer to Appendix. Maple i/f or other material.
  537.  
  538.  
  539. 3.9 Data path
  540. ?The data path between HOLLY and each device is described below.
  541.  
  542. ?1) The following types of access are possible from SH4 to each block or device.
  543.  
  544. * write (only) from the (SH4)?to the (TA block(data FIFO))
  545. (Add �It goes through SH4i/f and � to the beginning of the next 4 lines.)
  546. PVR i/f then reads/writes to the (texture memory), (PVR2 core) and (TA block (register))
  547. Maple i/f then reads/writes to the (Maple Device)
  548. G1 bus i/f then reads/writes to the (ROM/FLASH) and (GD-ROM drive)
  549. G2 bus i/f then reads/writes to the (AICA (register/memory)), (MODEM) and (optional external device)
  550.  
  551. ?2) The main paths supporting DMA transfer access from each device other than SH4 are described below.
  552.  
  553. * write (only) from (main memory) to (TA block (data FIFO))
  554. * read/write from (Maple device) to (main memory), (PVR2 core) and (each G2 device)
  555. * read/write from (each G1 device) to (main memory), (PVR2 core) and (each G2 device)
  556. * read/write from (each G2 device) to (main memory) and (PVR2 core)
  557.  
  558. For details on the G1/G2 bus cycle, timing etc and the bus specifications, refer to the material on each bus. Also, for details on the specifications of each device on the bus, refer to each relevant section. Regarding the locations of each G1/G2 device from SH4 (address: memory) map, refer to the section (CPU: SH4) titled memory map.
  559. 3.10 Interruption processing by HOLLY
  560. ?HOLLY is the interrupt master for SH4 and is subject to interruption signals from each block or from each device connected to the interface and has a INTERRUPT CONTROLLER which generates interruptions to SH4. When interruptions are generated from each block, HOLLY will internally store the status of each interruption on the interrupt register and assign a change in level for SH4 IRL1, 2. Each type of interruption can be masked and the INTERRUPT CONTROLLER performs masks or clears.
  561. As stated before, there are 2 types of interruptions- ones from the interior of HOLLY such as the PVR2 core block and ones from each device connected to the G1/G2 bus. With regards to the reasons for these interruptions, please read the descriptions for each block below. (For the processing of SH4 interruptions please refer to the section (CPU: SH4). It will be under Interruptions.)
  562.  
  563. ?Below are the interruptions for each interface block within the �System Bus Block�.
  564. * PVR i/f
  565. * DMA End (Completion of DMA transfer: same for below )
  566. * PVR Illegal address set
  567. * DMA over run
  568. * Maple i/f
  569. * DMA End
  570. * V Blank over
  571. * DMA over run
  572. * Write FIFO Overflow
  573. * Illegal command
  574. * Illegal addressing
  575. * G1 bus i/f
  576. * DMA End
  577. * Illegal Address set
  578. * DMA over run
  579. * ROM/FLASH access at DMA
  580. * From GD-ROM drive (Interruption from the GD-ROM)
  581. * G2 bus i/f
  582. * DMA(AICA)End
  583. * DMA(Ex0)End
  584. * DMA(Ex1)End
  585. * DMA(Dev)End
  586. * DMA(AICA)Illegal address set
  587. * DMA(Ex0)Illegal Address set
  588. * DMA(Ex1)Illegal Address ???
  589. * DMA(Dev)Illegal Address ???
  590. * DMA(AICA)over run
  591. * DMA(Ex0)over run
  592. * DMA(Ex1)over run
  593. * DMA(Dev)over run
  594. * Time out
  595. * From AICA( Interruption from the sound chip AICA)
  596. * From Modem ( interruption from the modem)
  597. * From ExDEV( interruption from the optional external device)
  598. * DDT i/f
  599. * DMA(ch2) completed
  600. * Sort DMA Command Error
  601. * SH4 i/f
  602. * Time out
  603. * Accessing to inhibited area
  604. * Bus Arbiter
  605. * Root Bus Reset Time Out
  606.  
  607. ?Interruptions from the �PVR core block� are described below.
  608. * V blank in (Once at the starting point)
  609. * V blank out (1line before that display starts)
  610. * H Blank In: each H, several H and/or select from the specified line of the register
  611. * End of Render ISP
  612. * End of Render TSP
  613. * End of Render Video
  614. * Hazard Processing (This occurs when you are using Strip Buffer and draw image does not occur on time.)
  615. * ISP Out of Cache(Overflow of ISP Buffer )
  616.  
  617. ?Interruptions from the � Tile Accelerator Block � are described below.
  618. * End?of Opaque (Transfer of Opaque Polygon complete)
  619. * End of Translucent ( Transfer of Translucent Polygon complete)
  620. * End of Opaque Modifier ( Transfer of Opaque Modifier Volume complete)
  621. * End of Translucent Modifier ( Transfer of Translucent Modifier Volume complete)
  622. * End of YUV Transfer ( Transfer of YUV422 data complete)
  623. * ISP/TSP Parameter Over?low ISP or overflow of TSP parameter)
  624. * Object ???? Overflow( Object List Pointer Overflow)
  625. * FIFO Overflow (FIFO Overflow)
  626. * Illegal Parameter ( Occurrence of abnormal data)
  627.  
  628.  
  629. 4 Audio processor?AICA
  630. AICA which is a YAMAHA made audio IC, is a refined version of the audio IC SCSP used in the Sega Saturn. With respect to the Dreamcast system it generates 64ch PCM / ADPCM /stereo sound.
  631.  
  632. 4.1 AICA peripheral connection
  633. ?Figure 4-1 is a connection diagram of AICA peripherals.
  634.  
  635.  
  636. Figure 4-1?AICA peripheral connection diagram
  637.  
  638. 4.2 Chip specification
  639. ?The main chip specifications for AICA are described below.
  640.  
  641. ? Package ?128pin TQFP
  642. ? Process ?0.35?m
  643. ? sound source clock ?22.5792MHz
  644. ? system i/f clock ?25.0MHz
  645. ? Power supply ?3.3V
  646.  
  647. 4.3 pin specification
  648. ?Table 4-1 below contains the specifications of the signal pin.
  649.  
  650. PIN?NAME I/O FREQ. DESCRIPTION I/F level VDD3 System�s 3.3V power supply VRTC Power supply pin to RTCpin VSS System�s GND pin G2CLK I 25M Clock signal used by the HOLLY I/F(G2 BUS) block LVTTL G2AD[15:0] I/O 25M Address signal pin used by the HOLLY I/F(G2 BUS) LVTTL G2BHN I 25M Signal pin used by the HOLLY I/F(G2BUS) and represents the �High Enable� of data or the bus mode LVTTL G2BLN I 25M Signal pin used by the HOLLY I/F (G2BUS) and represents the �Low Enable� of data or the bus mode. LVTTL G2FRN I 25M With respect to the G2 BUS I/F, it is a signal pin that represents the start or completion of a cycle. LVTTL G2TRN O 25M With respect to the G2 BUS I/F, it is used to control the cycle LVTTL G2DSN O 25M With respect to the G2 BUS I/F, it is used to control the cycle LVTTL G2RQAICN O 25M This is a signal pin used by the HOLLY I/F (G2 BUS) and is a DMA request signal. LVTTL GRESETN I This is a system reset signal from HOLLY(G2 BUS) LVTTL G2IRAICN O interrupt signal from AICA LVTTL MACK I 1024Fs Sound block clock( Fs = 44.1KHz ) LVTTL ESD1 I 1024Fs Digital Audio Data #1 from outside LVTTL EBCK1 I 1024Fs Digital Audio Clock #1 from outside LVTTL LRCK1 I 1024Fs Digital Audio LR Clock #1 from outside LVTTL ESD2 I 1024Fs Digital Audio Data #2 from outside LVTTL EBCK2 I 1024Fs Digital Audio Clock #2 from outside LVTTL LRCK2 I 1024Fs Digital Audio LR Clock #2 from outside LVTTL DSCK O 256Fs clock signal to external DAC LVTTL DSD O 44.1K Digital Audio Data to external DAC LVTTL DBCK O 44.1K Digital Audio Clock to external DAC LVTTL DLRCK O 44.1K Digital Audio LR Clock to external DAC LVTTL MIDIIN I MIDI interface signal LVTTL MIDIOUT O MIDI interface signal LVTTL SD[15:0] I/O 67.8M Wave Memory(external SDRAM)Data LVTTL SA[13:0] O 67.8M Wave Memory Address output LVTTL SDQML O 67.8M Control signal to Wave Memory LVTTL SDQMU O 67.8M Control signal to Wave Memory LVTTL SDCLK O 67.8M Clock signal to Wave Memory LVTTL SDCKE O 67.8M Clock enable signal to Wave Memory LVTTL SDWEN O 67.8M control signal(write) to wave memory LVTTL SDCSN O 67.8M control signal(chip select) to wave memory LVTTL SDCASN O 67.8M control signal(CAS) to wave memory LVTTL SDRASN O 67.8M control signal(RAS) to wave memory LVTTL RTCKI I 32K Clock pin for RTC LVTTL RTCKO O 32K clock pin for RTC LVTTL TCK I Clock signal for JTAG I/F LVTTL VMODE0/TMS I Mode signal to DVE(VideoDAC.Encoder) / JTAG Mode Selection LVTTL VMODE1/TRST I mode signal to DVE / JTAG reset signal LVTTL VMODE2/TDI I mode signal to DVE / JTAG data input signal LVTTL VMODE3/TDO O mode signal to DVE / JTAG data output signal LVTTL TEST I mode signal to DVE and JTAG I/F switching signal LVTTL Table 4-1?AICA signal pin list
  651. 4.4 Main configuration and spec
  652. ?Figure 4-2 is a block diagram of the interior of AICA.
  653.  
  654.  
  655. Figure 4-2?block diagram of the interior of AICA
  656.  
  657. ?The main block configuration of AICA is divided into the sound block (sound source part) and internal CPU and secondly the memory i/f block. The sound block is a block that includes the interface part, sound source part and the DSP part. The interface part is a block that is an interface of exchange with the Dreamcast system, through the internal CPU and the HOLLY G2 bus i/f, including SH4, RTC and MIDI. The internal CPU uses ARM7DI. The step of DSP is 128 step. The external memory uses the SDRAM (explained later). The sound block and the the internal CPU has a 22.5792MHz clock supplied from the GD-ROM drive and just like the memory i/f, it is 67.7376MHz from the GD-ROM drive clock. The HOLLY i/f is a 25 MHz clock supplied from the G2 bus.
  658. ?With regard to external sound input, there are 2 types of audio signal input. With the Dreamcast system, there is 1 type of input from the GD-ROM drive GD-DA (LRCK, BCK, and SDATA). As stated before, the 33.8688 MHz clock supplied from the GD-ROM drive is converted to the sampling frequency 44.1KHz in the internal PLL, operational sound block clock as well as the memory i/f clock.
  659. ?Apart from the memory i/f shared by each block (external SDRAM), AICA has 2, 3V Lithium batteries attached which allows the support of RTC (Real Time Clock) with backup and the MIDI i/f used for development. The internal CPU supports the JTAG i/f.
  660.  
  661. ?The specification of the sound source part is displayed in table 4-2 and represents the main sound source specs for AICA. The maximum number of simultaneous sounds is 64 sounds and each slot has an independent LFO. The ADPCM is a maximum of 1oct and the pitch can be changed. The PCM format is 8/16bit Liner, 4bit ADPCM.
  662.  
  663. PCM channel 64ch ADPCM and combined use PCM format 16bit / 8bit ADPCM decoder 64ch PCM and combined use, 4bit ->16bit Time fluctuation filter 64ch Features 64Ch 4 segment EG suitable for time fluctuation filter Monaural MIX Hard Volume adjusted by using the master volume Loop Forward Sampling frequency 44.1KHz Table 4-2?main sound source spec
  664.  
  665. 4.5 Audio Memory
  666. The (audio) memory that is externally connected to AICA is shared by the internal CPU and/or the sound source within the sound block, DSP and the external i/f. Table 4-2 shows the details used by the memory.
  667.  
  668. Memory space 2MB (can be expanded to a maximum of 8MB) Technology 16Mbit SDRAM
  669. (2 bank x 512kword x 16bit) Number of memory chips used 1 Bus Width of chip 16 bit Operational specification CLT 2(fixed) Operational specification BL Full Page (fixed) Frequency 67.7376MHz Table 4-2?AICA audio memory specification
  670. 4.6 RTC (Real Time Clock)
  671. AICA has an internal chip with a RTC (Real Time Clock) operating at 2.0~3.5V. AICA has 3V lithium battery for the RTC that can be used for battery back up. The 32.768 kHz x�tal used as the clock source is also attached. The power consumed is less than 10? A and the battery backup period is approximately 270 days. (Battery equivalent to ML3032 when recharging.)
  672.  
  673. 4.7 Audio In/Output
  674. Digital audio signals created by AICA can be mixed with the digital audio signal input from the GD-ROM drive 48Fs(=2.1168MHz) and the output passes through the external analogue DAC and/or the encoder and becomes output from the RCA connector and the expansion VGA connector. The external analogue DAC has 256Fs(=11.2896MHz) clock and/or 64Fs(=2.8224MHz) Digital Audio (DSD, DBCK, DLRCK) output.
  675. (AICA has 2 types of Digital Audio input but the Dreamcast system only uses the one from the GD-ROM drive.)
  676.  
  677. 4.8 Setting the image mode
  678. ?AICA has a register that sets the various types of Dreamcast image (video) modes such as NTSC/PAL and VGA that are accessed from SH4. The content of that register reflects the image mode set by the draw image processor HOLLY from SH4. From AICA the image mode depending on the register value becomes mode signal(VMODE0?3) output from the D.V.E (Digital Video Encoder).
  679. With regards to image mode settings please refer to 7.4 (video output and/or image mode setting method)
  680.  
  681. 4.9 MIDI interface
  682. ?The MIDI interface (MIDI IN/OUT) is supported for audio development.
  683. ?MIDI interface becomes a 3.3V signal output to G2 i/f.
  684.  
  685. 4.10 Interrupt
  686. ?Interruptions are generated through the G2 bus and against HOLLY. Interruptions from the sound block are a type of interruption generated by AICA internally.
  687. ?For details on interruptions refer to the sections (CPU: SH4) and (draw image processor HOLLY)
  688.  
  689.  
  690. -- End of AICA --
  691. 5 Boot ROM
  692. ?The Boot ROM is mapped to area0of SH4 and is accessed by the CPU. With respect to its location on the system, it is connected to the multiplexed G1 bus from the HOLLY ROM i/f. The G1 bus only has an 8 bit ROM interface when the SH4 Boot ROM is accessed.
  693.  
  694. 5.1 Boot ROM configuration
  695. The Boot ROM stores the data described below.
  696. ?There are 2MB of ROM space. Table 5-1 contains estimates for the amounts of space used for data within the Boot ROM.
  697.  
  698. Details of the data Necessary space IPL 0.25MB Multi player (includes draw image/audio data) 0.75MB Kanji Font 1MB TOTAL 2MB Table 5-1?Details of the ROM data
  699.  
  700. 5.2 Specifying a ROM
  701. ?The ROM is a 16M bit (2MB) mask ROM with a 8 bit bus width and has an access time of 100~240ns.
  702. ?The table below is the specified ROM details used by the Dreamcast system.
  703.  
  704. ROM type Mask ROM ROM size 16Mbit Bus width 8 bit Access time 100ns?240ns Table 5-2?Specifying ROM
  705.  
  706. 5.3 About the access cycle to the ROM
  707. ?As stated previously the Boot ROM is located on the G1bus. With regards to the bus cycle set-up or hold of an address, reading and writing is possible. The pulse width can be specified through the HOLLY register. Regarding the number of access cycles, 1 byte, 2 byte and 4-byte access is possible.
  708.  
  709.  
  710. -- End of Boot ROM--
  711. 6 GD-ROM
  712. The GD-ROM drive incorporated in the Dreamcast system is connected to the G1 bus which has HOLLY as the master and the GD-ROM data goes through HOLLY before it is read by the CPU. The reading of data is by the CAV method and the transferring of data is approximately 4 times the speed in the normal area and approximately 6~12 times the speed in the high-density area. It is stored in the drive�s 128KB corrected memory.
  713. ?Opposed to the Audio IC AICA, it supplies the digital audio playback signal and the 33.8688MHz clock that is the audio clock source. Additionally there is a 33.8688MHz x�tal built into the drive.
  714.  
  715. 6.1 Specification outline
  716. ?The specification outline is below.
  717.  
  718. (Functions)
  719. ? adapted to GD-ROM (Giga Byte Disc: Sega original)
  720. ? Replay of CD-DA and GD-DA, stop ,pause ,both directions jump ,both directions scan replay
  721. ? Open and close door
  722. ? Compatible with various CD formats�CD-DA, CD-ROM XA, Photo CD, Video CD, CD Extra
  723.  
  724. (Performance)
  725. ? Digital Audio output 48Fs (Fs?44.1 kHz)
  726. ? Read method CAV
  727. ? Correction memory space 128KB?(buffering, DA shock proof and shared)
  728. ? data transfer speed
  729. Single density area approx. 600KB/s (4x speed)
  730. Double density area approx. 900 (6x speed)?1800 KB/s (12x speed)
  731. From the buffer approx. 11.1 MB/s?(PIO Mode3)
  732. Approx. 13.3 MB/s?(Multi word DMA Mode2)
  733. ? 1/3 stroke average access time
  734. ? Less than 350ms (when first shipped)
  735. ? Full stroke average access time
  736. Less than 600ms (when first shipped)
  737. ? Error rate
  738. CD-ROM Mode1 ? less than 1�10?12
  739. CD-ROM Mode2 form1 less than 1�10?12
  740. CD-ROM Mode2 form2 less than 1�10?9?
  741. CD-DA less than 1�10?9?
  742. GD-ROM Mode1 less than 1�10?12
  743. GD-DA less than 1�10?9?
  744. ? Disc data space
  745. General CD approx. 656MB(CD-ROM Mode1)
  746. GD approx. 1020MB(GD-ROM Mode1)
  747.  
  748. (Power)
  749. ? 3.3V � 5%
  750. ? 5.0V � 5%
  751. ? 12.0V � 10%
  752.  
  753. (Possible operational temperature)
  754. 0? ~ 55? 20? ~ 85?RH
  755. 6.2 Interface
  756. With regards to the Dreamcast console and the GD-ROM drive interface protocol, please refer to the separate document �GD-ROM protocol SPI specification design�.
  757.  
  758. 6.3 Digital audio
  759. Audio signals from the GD-ROM (BCK, LRCK, SDATA) are clock synchronised 48Fs(Fs=44.1KHz) and input into the AICA external audio input pin then digitally mixed with audio generated from AICA internally before it becomes output.
  760.  
  761.  
  762. -- End of GD-ROM --
  763. 7 Other
  764. Options, peripheral devices and settings that have not been explained yet, are described below.
  765.  
  766. 7.1 Control Pad
  767. The Dreamcast system control pad is accessed through the HOLLY Maple i/f and supports up to 4 pads. Additionally this port is adapted for the use of the light gun as well as the backup media described later.
  768. ?With regard to the Maple interface, please refer to separate documentation or the section (draw image processor: HOLLY), Appendix and the description of the Maple interface.
  769.  
  770. 7.2 Backup media
  771. This is used to backup (save etc) game data and is connected to the control pad sharing the HUB connected to the HOLLY Maple i/f. The Dreamcast console can directly support up to 4 media. With regard to details of the backup media please refer to other documents.
  772.  
  773.  
  774. 7.3 Modem
  775. The communication speed is 33.6Kbps and the card has a LINE terminal. The compression of data, correcting of errors etc. is performed by SH4. With respect to details on the modem, please refer to separate documents.
  776.  
  777.  
  778.  
  779. 7.4 Video output/ image mode settings method
  780. As stated in the section (draw image processor: HOLLY), the Dreamcast system can use various video modes to display graphics. Since the Dreamcast console is compatible with various types of monitors, there are many types of connectors that are supported. Below are the various supported connectors and the signals from the connector.
  781.  
  782. * RCA connector : Audio signal( L,R ), composite video signal
  783. * S image connector : S image signal( imageY+S signal , Chroma signal )
  784. * Expansion VGA connector : Audio signal( L,R ),analogue RGB, composite,sync (H,V),mode signal, power
  785. * (5V,12V)
  786. ( * Expansion connector is an optional connector for RF converter, RGB cable, and VGA cable)
  787.  
  788. The selection of the image display mode is through the insertion and removal of the monitor�s expansion VGA connector and that information is reflected in the SH4 PIO interface (PIO [1:0]). Setting occurs from SH4 to HOLLY or each image mode register of AICA. RGB signal and/or the image mode signal output is from each individual chip.
  789. Table 7-1 shows the relationship between SH4: PIO and the image mode. Figure 7-1 shows the image mode setting method.
  790.  
  791. PIO1 PIO0 MODE 1 1 TV(NTSC/PAL) 1 0 VBS/Y+S/C 0 1 RGB 0 0 VGA Table 7-1?SH4:PIO image mode settings
  792.  
  793.  
  794. Figure7-1?image mode settings method
  795.  
  796. From HOLLY, the 24bit RGB image information (each RGB 8bit) is sent in units of 12 bit to the Digital-Video-Encoder (video DAC/encoder). The original 24 bit image data is divided into 12bit(RGB [11:0]) of MSB (RGB [11:0] = R [7:0], G [7:4]) and 12 bit of LSB (RGB [11:0] = G [3:0], B [7:0]). Then it is sent to the 54 Hz clock (which is double the 27Hz VGA pixel-clock) in a synchronised manner where it alternates between MSB and LSB. For details refer to a separate specification design document.
  797.  
  798. PLL
  799. This is a main clock source device that does not include the system RTC and sound. Its 1 x�tal allows it to supply each clock. The clock supplies SH4 and HOLLY.
  800. Each output from this PLL is unified regardless whether or not the video spec of the image mode is NTSC/PAL etc. Below is the list (units are <MHz>)
  801.  
  802. x�tal To SH4 To HOLLY/pixel 13.5 33.33333 54.0 Table 7-2?output clock list
  803.  
  804. 7.5 Power Supply
  805. The console has a built-in unit which has a domestic power supply of 100 ~120V AC which is directly inputted. Each of the 3.3 / 5.0 / 12.0V DC power supplies supply the main /GD-ROM power supply which includes the CPU, graphic chip, memory IC, peripheral IC etc. The 1.8V DC or 2.4V DC internal power supply from SH4/HOLLYis supplied from a separate power supply IC rather than 3.3V DC.
  806.  
  807. 7.6 Reset Sequence
  808. ?The reset sequence of Dreamcast is described below.
  809.  
  810.  
  811.  
  812.  
  813. -- End of other--
  814.  
  815. Appendix . Maple i/f
  816. Supplementary explanation of the Maple i/f is below. With respect to the details of the Maple i/f specifications, please refer to separate material.
  817.  
  818. ?Maple i/f is an original Sega peripheral interface and is a serial interface that supports the connection of the control pad and backup media (B/U) etc. The Dreamcast console supports a maximum of 4 ports and devices can be connected to a maximum of 4 ports. With regards to the backup media, they are connected to the control pad that shares the HUB connected to the console�s Maple port.
  819.  
  820. (Port 0) (Port 1) (Port 2) (Port 3) Signal line SDCKA0 SDCKA1 SDCKA2 SDCKA3 Signal line SDCKB0 SDCKB1 SDCKB2 SDCKB3 power cable common to each port VCC VCC VCC VCC power cable common to each port GND GND GND GND Table C-1?Signal lines used by Maple i/f
  821.  
  822. ?Table C-1 is a list of signal lines used by the Maple i/f. The data transmission uses the synchronised serial method and talking in terms of 1 port, there are a total of 4 lines- the power cable (VCC, GND), SDCKA (both directions) data cable and SDCKB (both directions). The sending of data in both directions is ?2? and the data transfer rate is a maximum of 2Mbps or a minimum of 250Kbps. Data transmission occurs in the units of frames (smallest unit) and the content of the frame starts from the START pattern which signifies the start of data transmission. A 1024 byte long (DATA) pattern, (parity) and (END) pattern configure it. (Parity) is horizontal and 8bit and is automatically added by the hardware when sending and deleted upon receiving.
  823. The configuration of the controller consists of a 32 bit system register(SYSREG), sent data table Address Register(AREG), Status register(SREG), Assigned Parameter Clear Register(IREG), received data store address boundary setting Register(BREG) and a 32bit�8 word sent FIFO (TxD FIFO) from the received FIFO(RxD FIFO).
  824.  
  825. ?The basic operations are described below.
  826. The peripheral controllers are synchronised to the V_BLANK signal (can be set to be postponed by the system register) and the sent data on the main memory which is described by the sent data table address register and is loaded to the sent FIFO (master operation)
  827. Sent data is configured by the command+sent data store address+sent out data. Commands are to the peripheral controller, and set the length of command completion output port and sent out data. If there is no indication that the command is complete then as soon as the sent FIFO becomes empty, sent data in the main memory is loaded in 32 byte units by the sent FIFO. The sent data store address has a lead address for storing sent data. Sent data is data that is administered by the Maple protocol and is transferred to the peripheral devices in units of 4 bytes. Sent data from the peripheral device are in 4 byte units and is transferred to the main memory as soon as the sent FIFO becomes full. However, even if FIFO isn�t full, as soon as sending is complete it forces 32-byte transfer. (valid data?invalid data)
  828. If the peripheral device is not connected and time out, frame error etc. occurs, the 32bit value of 0xffffffff is written into the sent data store address that is appropriate for the command. (The lead data for the sent data store address is guaranteed except when the data is 0xffffffff because of the software protocol)
  829. ?Once the string of operations has finished, the peripheral controller will stop operating and reflect the situation in the status register.
  830.  
  831.  
  832. ------------End-------------
  833. Dreamcast_doc_for_stb(Rev.0819)
  834.  
  835. 18
  836.  
  837.  
  838. 1
  839. 25/10/1999 17:31:00
  840.  
  841. Dreamcast_doc_for_stb(Rev.0819)
  842.  
  843.  
  844.  
  845. 18
  846.  
  847.  
  848. 18
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement