Changeset fffab34 in buchla-emu
- Timestamp:
- 09/04/2017 04:32:56 PM (7 years ago)
- Branches:
- master
- Children:
- ca77925
- Parents:
- d021bbb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
emu/vid.c
rd021bbb rfffab34 50 50 #define OD0_CB 0x0800 51 51 52 #define AT_UND 0x0100 52 53 #define AT_CG 0x8000 53 54 … … 125 126 int32_t fg = (at & 0x00f0) >> 4; 126 127 127 uint16_t *cg = (at & AT_CG) != 0 ? cg0 : cg1; 128 int32_t bits = cg[256 * line + ch]; 128 int32_t bits; 129 130 if ((at & AT_UND) != 0 && line == 1) { 131 bits = 0xff; 132 } 133 else { 134 uint16_t *cg = (at & AT_CG) != 0 ? cg0 : cg1; 135 bits = cg[256 * line + ch]; 136 } 137 129 138 int32_t mask = 0x01; 130 139
Note:
See TracChangeset
for help on using the changeset viewer.