From 903393be7e738804d403174687970f3add2ad43b Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Mon, 6 Mar 2017 00:23:35 -0800 Subject: Initial stab at horizontal border emulation. Only works for H40 and still has a few minor holes to fill --- vdp.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'vdp.h') diff --git a/vdp.h b/vdp.h index 72b45c5..e51a3fa 100644 --- a/vdp.h +++ b/vdp.h @@ -14,7 +14,10 @@ #define CRAM_SIZE 64 #define VSRAM_SIZE 40 #define VRAM_SIZE (64*1024) -#define LINEBUF_SIZE (320+27) //H40 + full border +#define BORDER_LEFT 13 +#define BORDER_RIGHT 14 +#define HORIZ_BORDER (BORDER_LEFT+BORDER_RIGHT) +#define LINEBUF_SIZE (320+HORIZ_BORDER) //H40 + full border #define BORDER_BOTTOM 13 //TODO: Replace with actual value #define MAX_DRAWS 40 #define MAX_DRAWS_H32 32 -- cgit v1.2.3