Mercurial > repos > blastem
comparison 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 |
comparison
equal
deleted
inserted
replaced
1266:a4fa897c99ce | 1267:3772bb926be5 |
---|---|
12 | 12 |
13 #define VDP_REGS 24 | 13 #define VDP_REGS 24 |
14 #define CRAM_SIZE 64 | 14 #define CRAM_SIZE 64 |
15 #define VSRAM_SIZE 40 | 15 #define VSRAM_SIZE 40 |
16 #define VRAM_SIZE (64*1024) | 16 #define VRAM_SIZE (64*1024) |
17 #define LINEBUF_SIZE (320+27) //H40 + full border | 17 #define BORDER_LEFT 13 |
18 #define BORDER_RIGHT 14 | |
19 #define HORIZ_BORDER (BORDER_LEFT+BORDER_RIGHT) | |
20 #define LINEBUF_SIZE (320+HORIZ_BORDER) //H40 + full border | |
18 #define BORDER_BOTTOM 13 //TODO: Replace with actual value | 21 #define BORDER_BOTTOM 13 //TODO: Replace with actual value |
19 #define MAX_DRAWS 40 | 22 #define MAX_DRAWS 40 |
20 #define MAX_DRAWS_H32 32 | 23 #define MAX_DRAWS_H32 32 |
21 #define MAX_DRAWS_H32_MODE4 8 | 24 #define MAX_DRAWS_H32_MODE4 8 |
22 #define MAX_SPRITES_LINE 20 | 25 #define MAX_SPRITES_LINE 20 |