| Previous | 199869 Revisions | Next |
| r19962 Monday 31st December, 2012 at 01:04:26 UTC by Angelo Salese |
|---|
| My version of the compile fix |
| [src/emu/video] | pc_vga.c |
| [src/mess/includes] | odyssey2.h |
| [src/mess/video] | odyssey2.c |
| r19961 | r19962 | |
|---|---|---|
| 381 | 381 | int height = vga.crtc.maximum_scan_line * (vga.crtc.scan_doubling + 1); |
| 382 | 382 | UINT32 *bitmapline; |
| 383 | 383 | pen_t pen; |
| 384 | int pel_shift = (vga.attribute.pel_shift); | |
| 384 | int pel_shift = (vga.attribute.pel_shift & 7); | |
| 385 | 385 | |
| 386 | 386 | // popmessage("%08x %02x",EGA_START_ADDRESS,pel_shift); |
| 387 | 387 |
| r19961 | r19962 | |
|---|---|---|
| 137 | 137 | bool m_g7400; |
| 138 | 138 | |
| 139 | 139 | inline UINT16 ef9340_get_c_addr(UINT8 x, UINT8 y); |
| 140 | ||
| 140 | // inline UINT16 ef9340_get_c_addr() { return ef9340_get_c_addr( m_ef9340.X, m_ef9340.Y ); }; | |
| 141 | 141 | inline void ef9340_inc_c(); |
| 142 | 142 | // Calculate the external chargen address for a character and slice |
| 143 | 143 | inline UINT16 external_chargen_address(UINT8 b, UINT8 slice); |
| r19961 | r19962 | |
|---|---|---|
| 808 | 808 | { |
| 809 | 809 | if ( b ) |
| 810 | 810 | { |
| 811 | UINT16 addr = ef9340_get_c_addr() & 0x3ff; | |
| 811 | UINT16 addr = ef9340_get_c_addr( m_ef9340.X, m_ef9340.Y ) & 0x3ff; | |
| 812 | 812 | |
| 813 | 813 | m_ef9341.TB = data; |
| 814 | 814 | m_ef9341.busy = 0x80; |
| Previous | 199869 Revisions | Next |