# HG changeset patch # User Michael Pavone # Date 1488822884 28800 # Node ID ff8e29eeb1ecbc4e86160b0aea188085572bcb6f # Parent eca01056a9158439980e91573aaf451714742a73 Render horizontal border in H32 mode as well. Both modes still need some minor work to deal with inactive/active transition diff -r eca01056a915 -r ff8e29eeb1ec vdp.c --- a/vdp.c Mon Mar 06 09:46:50 2017 -0800 +++ b/vdp.c Mon Mar 06 09:54:44 2017 -0800 @@ -2042,9 +2042,15 @@ case 129: external_slot(context); CHECK_LIMIT - case 130: + case 130: { external_slot(context); + uint32_t bg_color = context->colors[context->regs[REG_BG_COLOR] & 0x3F]; + for (int i = 256+BORDER_LEFT; i < 256+HORIZ_BORDER; i++) + { + context->output[i] = bg_color; + } CHECK_LIMIT + } //sprite render to line buffer starts case 131: context->cur_slot = MAX_DRAWS_H32-1;