src/mess/drivers/socrates.c
| r5329 | r5330 | |
| 174 | 174 | #define CHROMA_COL_2 0.125125, 0.27525, 0.230225, 0.384875, 0.125125, 0.27525, 0.230225, 0.384875, 0.125125, 0.27525, 0.230225, 0.384875, 0.125125, 0.27525, 0.230225, 0.384875, |
| 175 | 175 | #define CHROMA_COL_5 0.1235, 0.2695, 0.22625, 0.378, 0.1235, 0.2695, 0.22625, 0.378, 0.1235, 0.2695, 0.22625, 0.378, 0.1235, 0.2695, 0.22625, 0.378, |
| 176 | 176 | // gamma: this needs to be messed with... may differ on different systems... attach to slider somehow? |
| 177 | | #define GAMMA 2.2 |
| 177 | #define GAMMA 2.0 |
| 178 | 178 | |
| 179 | 179 | static rgb_t socrates_create_color(UINT8 color) |
| 180 | 180 | { |
| r5329 | r5330 | |
| 260 | 260 | return composedcolor; |
| 261 | 261 | } |
| 262 | 262 | |
| 263 | | static rgb_t socrates_palette[256] = { |
| 264 | | }; |
| 263 | static rgb_t socrates_palette[256]; |
| 265 | 264 | |
| 266 | 265 | PALETTE_INIT( socrates ) |
| 267 | 266 | { |
| r5329 | r5330 | |
| 356 | 355 | resulting screen line is one of 512 total offsets on 128-byte boundaries in the whole 64k ram |
| 357 | 356 | */ |
| 358 | 357 | AM_RANGE(0x30, 0x30) AM_NOP /* unknown, write only */ |
| 359 | | AM_RANGE(0x40, 0x40) AM_RAM AM_MIRROR(0xF)/* unknown, read and write low 4 bits plus bit 5, bit 7 seems to be fixed at 0, bit 6 and 4 are fixed at 1? is this some sort of control register for timers perhaps? */ |
| 360 | | AM_RANGE(0x50, 0x50) AM_RAM AM_MIRROR(0xE) /* unknown, read and write (bits?) */ |
| 361 | | AM_RANGE(0x51, 0x51) AM_RAM AM_MIRROR(0xE) /* unknown, read and write (bits?) */ |
| 358 | AM_RANGE(0x40, 0x40) AM_RAM AM_MIRROR(0xF)/* unknown, read and write low 4 bits plus bit 5, bit 7 seems to be fixed at 0, bit 6 and 4 are fixed at 1? is this some sort of control register for timers perhaps? gets a slew of data written to it a few times during startup, may be IR related? */ |
| 359 | AM_RANGE(0x50, 0x50) AM_RAM AM_MIRROR(0xE) /* unknown, read and write (bits?) reads serially shift 1 bit somewhere? */ |
| 360 | AM_RANGE(0x51, 0x51) AM_RAM AM_MIRROR(0xE) /* unknown, read and write (bits?) reads serially shift 1 bit somewhere? */ |
| 362 | 361 | AM_RANGE(0x60, 0x60) AM_NOP AM_MIRROR(0xF) /* unknown, write only */ |
| 363 | 362 | ADDRESS_MAP_END |
| 364 | 363 | |