1 extern INT32 atarivad_scanline_timer;
2 extern INT32 atarivad_scanline_timer_enabled;
3 extern INT32 atarivad_scanline; // external
4 
5 void AtariVADReset();
6 void AtariVADInit(INT32 tmap_num0, INT32 tmap_num1, INT32 bgtype, void (*sl_timer_cb)(INT32), void (*palette_write)(INT32 offset, UINT16 data));
7 void AtariVADExit();
8 void AtariVADMap(INT32 startaddress, INT32 endaddress, INT32 shuuz);
9 INT32 AtariVADScan(INT32 nAction, INT32 *pnMin);
10 void AtariVADSetPartialCB(void (*partial_cb)(INT32));
11 
12 void AtariVADEOFUpdate(UINT16 *eof_data); // call after last scanline
13 void AtariVADTimerUpdate(); // call after each scanline
14 void AtariVADTileRowUpdate(INT32 scanline, UINT16 *alphamap_ram); // each scanline, only if alpha map is present!
15 void AtariVADDraw(UINT16 *pDestDraw, INT32 use_categories);
16 void AtariVADRecalcPalette();
17