Mercurial > repos > blastem
comparison vdp.h @ 1322:b1423d432c0e
Initial stab at implementing the output disable/layer selection bits of the VDP test register
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 18 Apr 2017 19:27:10 -0700 |
parents | bfdd450e7dea |
children | 58bfbed6cdb5 |
comparison
equal
deleted
inserted
replaced
1321:0849e9356bfe | 1322:b1423d432c0e |
---|---|
116 //Mode reg 4 | 116 //Mode reg 4 |
117 #define BIT_H40 0x01 | 117 #define BIT_H40 0x01 |
118 #define BIT_HILIGHT 0x8 | 118 #define BIT_HILIGHT 0x8 |
119 #define BIT_DOUBLE_RES 0x4 | 119 #define BIT_DOUBLE_RES 0x4 |
120 #define BIT_INTERLACE 0x2 | 120 #define BIT_INTERLACE 0x2 |
121 | |
122 //Test register | |
123 #define TEST_BIT_DISABLE 0x40 | |
121 | 124 |
122 typedef struct { | 125 typedef struct { |
123 uint16_t address; | 126 uint16_t address; |
124 int16_t x_pos; | 127 int16_t x_pos; |
125 uint8_t pal_priority; | 128 uint8_t pal_priority; |