static SCREEN_UPDATE_IND16( cardline ) { cardline_state *state = screen.machine().driver_data<cardline_state>(); int x,y; bitmap.fill(0, cliprect); for(y=0;y<32;y++) { for(x=0;x<64;x++) { int index=y*64+x; if(state->m_video&1) { DRAW_TILE(screen.machine(),0,0); DRAW_TILE(screen.machine(),0x800,1); } if(state->m_video&2) { DRAW_TILE(screen.machine(),0x1000,0); DRAW_TILE(screen.machine(),0x1800,1); } } } return 0; }
static VIDEO_UPDATE( cardline ) { int x,y; fillbitmap(bitmap,machine->pens[0],cliprect); for(y=0;y<32;y++) { for(x=0;x<64;x++) { int index=y*64+x; if(cardline_video&1) { DRAW_TILE(0,0); DRAW_TILE(0x800,1); } if(cardline_video&2) { DRAW_TILE(0x1000,0); DRAW_TILE(0x1800,1); } } } return 0; }
static VIDEO_UPDATE( cardline ) { int x,y; bitmap_fill(bitmap,cliprect,0); for(y=0;y<32;y++) { for(x=0;x<64;x++) { int index=y*64+x; if(cardline_video&1) { DRAW_TILE(screen->machine,0,0); DRAW_TILE(screen->machine,0x800,1); } if(cardline_video&2) { DRAW_TILE(screen->machine,0x1000,0); DRAW_TILE(screen->machine,0x1800,1); } } } return 0; }
static void MAKENAME(NAME1, SubS1_2_, NAME2) (ARGS) { #define MATH(A, B, C) MATHS1_2(SUB, A, B, C) DRAW_TILE(); #undef MATH }
static void MAKENAME(NAME1, Sub_, NAME2) (ARGS) { #define MATH(A, B, C) REGMATH(SUB, A, B, C) DRAW_TILE(); #undef MATH }
static void MAKENAME(NAME1, AddF1_2_, NAME2) (ARGS) { #define MATH(A, B, C) MATHF1_2(ADD, A, B, C) DRAW_TILE(); #undef MATH }
static void MAKENAME(NAME1, _, NAME2) (ARGS) { #define MATH(A, B, C) NOMATH(x, A, B, C) DRAW_TILE(); #undef MATH }