// seg001:0981 void __pascal far remove_flash() { // stub if (graphics_mode == gmMcgaVga) { set_bg_attr(0, 0); } else { // ... } }
// seg001:0908 void __pascal far do_flash(short color) { // stub if (color) { if (graphics_mode == gmMcgaVga) { set_bg_attr(0, color); if (color != 0) delay_ticks(2); // give some time to show the flash } else { // ... } } }
// seg001:0908 void __pascal far do_flash(short color) { // stub if (color) { if (graphics_mode == gmMcgaVga) { reset_timer(timer_2); set_timer_length(timer_2, 2); set_bg_attr(0, color); if (color != 0) do_simple_wait(timer_2); // give some time to show the flash } else { // ... } } }
// This flashes the background with the color specified, but does not add delay to show the flash void do_flash_no_delay(short color) { if (color) set_bg_attr(0, color); }