19 #define LINE_IMGEVEN1 7
20 #define LINE_IMGEVEN2 8
21 #define LINE_IMGODD1 9
22 #define LINE_IMGODD2 10
24 extern u8 ScanlineType[MAXLINE];
29 extern volatile int ScanLine;
30 extern volatile u32 Frame;
31 extern volatile int BufInx;
32 extern volatile Bool VSync;
35 extern ALIGNED u8 LineBuf1[DBUF_MAX];
36 extern ALIGNED u8 LineBuf2[DBUF_MAX];
37 extern int LineBufSize[LAYERS_MAX];
38 extern u32 LineBufHsBp[4];
40 extern u32 LineBufDark[2];
41 extern u32 LineBufSync[10];
48 extern ALIGNED u8 LineBuf0[BLACK_MAX];
51 extern u32 CtrlBuf1[CBUF_MAX];
52 extern u32 CtrlBuf2[CBUF_MAX];
54 extern int CtrlBufSize[LAYERS_MAX];
57 extern u32 RenderTextMask[512];
64 extern "C" u32* MemSet4(u32* buf, u32 data,
int num);
71 extern "C" void BlitKey(u8* dst, u8* src,
int w, u8 key);
77 extern "C" void RenderSprite(u8* dbuf,
int y,
sLayer* scr);
85 extern "C" u32* RenderFastSprite(u32* cbuf,
int y,
sLayer* scr, u8* buf);
91 extern "C" void RenderPersp(u8* dbuf,
int y,
sLayer* scr);
97 extern "C" void RenderPersp2(u8* dbuf,
int y,
sLayer* scr);
105 extern "C" u32* Render(u32* cbuf, u8* dbuf,
int line,
int pixnum);
108 void ScanlineTypeInit(
const sVmode* v);
111 void ScanlineTypePrint(
const u8* scan,
int lines);
115 void VgaInit(
const sVmode* vmode);
void Core1Wait()
Wait for core 1 finish executing remote function.
Definition: vga.cpp:1148
Bool Core1Busy()
Check if core 1 is busy executing remote function.
Definition: vga.cpp:1141
void Core1Exec(void(*fnc)())
Execute remote function on second core.
Definition: vga.cpp:1133
void VgaInitReq(const sVmode *vmode)
Request to initialize VGA videomode.
Definition: vga.cpp:1124
void StartVgaCore()
Start the VGA processing on core1.
Definition: vga.cpp:1115
Layer screen descriptor (on change update SLAYER_* in define.h)
Definition: vga_layer.h:195
Videomode table - used to setup video driver.
Definition: vga_vmode.h:119
void WaitVSync()
Wait for VSync scanline.
Definition: vga.cpp:1154