Mercurial > repos > blastem
diff vdp.h @ 1267:3772bb926be5
Initial stab at horizontal border emulation. Only works for H40 and still has a few minor holes to fill
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 06 Mar 2017 00:23:35 -0800 |
parents | e758ddbf0624 |
children | bfdd450e7dea |
line wrap: on
line diff
--- a/vdp.h Sat Mar 04 21:34:15 2017 -0800 +++ b/vdp.h Mon Mar 06 00:23:35 2017 -0800 @@ -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