⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tc180vcu.h

📁 十七种模拟器源代码 非常有用的作课程设计不可缺少的
💻 H
字号:
/******************************************************************************//*                                                                            *//*                  tc0180vcu: TAITO VIDEO CHIP (B-SYSTEM)                    *//*                                                                            *//******************************************************************************/#include "deftypes.h"int tc0180vcu_layer_count;			// Init this to 0 each screen update.typedef struct TC0180VCU			// Information about 1 chip{   UINT8 *RAM;					// Layer RAM address   UINT8 *GFX_BG0;				// GFX BG0 and BG1   UINT8 *GFX_BG0_MSK;				// GFX MASK BG0 and BG1   UINT8 *GFX_BG2;				// GFX BG2   UINT8 *GFX_BG2_MSK;				// GFX MASK BG2   UINT32 tile_mask;				// Mask for tile number   UINT32 bmp_x,bmp_y;				// Game screen offset (32,32)   UINT32 bmp_w,bmp_h;				// Game screen size (320,224)   UINT32 scr_x,scr_y;				// Scroll offset add (0,16)   UINT8 col_mask;				//   UINT8 col_bank[4];				//   UINT8 *RAM_2;				// Further RAM address} TC0180VCU;struct TC0180VCU tc0180vcu;void vcu_make_col_bankmap(UINT8 mask, UINT8 ofs_0, UINT8 ofs_1, UINT8 ofs_2, UINT8 ofs_3);void vcu_debug_info(void);void vcu_render_bg0(void);void vcu_render_bg1(void);void vcu_render_bg2(void);void vcu_render_obj(UINT32 num);void vcu_render_bg0_r270(void);void vcu_render_bg1_r270(void);void vcu_render_bg2_r270(void);void vcu_render_obj_r270(int pri);/*video_info interface*/extern struct VIDEO_INFO b_system_video;extern struct VIDEO_INFO b_system_r180_video;void draw_b_system(void);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -