branches/alto2/src/emu/cpu/alto2/alto2.c
| r26204 | r26205 | |
| 1491 | 1491 | return "???"; |
| 1492 | 1492 | } |
| 1493 | 1493 | |
| 1494 | #if ALTO2_DEBUG |
| 1494 | 1495 | void alto2_cpu_device::watch_read(UINT32 addr, UINT32 data) |
| 1495 | 1496 | { |
| 1496 | 1497 | LOG((LOG_MEM,0,"mem: rd[%06o] = %06o\n", addr, data)); |
| r26204 | r26205 | |
| 1500 | 1501 | { |
| 1501 | 1502 | LOG((LOG_MEM,0,"mem: wr[%06o] = %06o\n", addr, data)); |
| 1502 | 1503 | } |
| 1504 | #endif |
| 1503 | 1505 | |
| 1504 | 1506 | /** @brief fatal exit on unitialized dynamic phase BUS source */ |
| 1505 | 1507 | void alto2_cpu_device::fn_bs_bad_0() |
branches/alto2/src/emu/cpu/alto2/a2disp.c
| r26204 | r26205 | |
| 218 | 218 | word1 ^= m_dsp.curdata & 0177777; |
| 219 | 219 | if (word1 != m_dsp.raw_bitmap[y * ALTO2_DISPLAY_SCANLINE_WORDS + x]) { |
| 220 | 220 | m_dsp.raw_bitmap[y * ALTO2_DISPLAY_SCANLINE_WORDS + x] = word1; |
| 221 | | m_dsp.scanline_dirty[y] = 0; |
| 221 | m_dsp.scanline_dirty[y] = 1; |
| 222 | 222 | } |
| 223 | 223 | x++; |
| 224 | 224 | if (x < ALTO2_DISPLAY_VISIBLE_WORDS) { |
| r26204 | r26205 | |
| 229 | 229 | word2 ^= m_dsp.curdata & 0177777; |
| 230 | 230 | if (word2 != m_dsp.raw_bitmap[y * ALTO2_DISPLAY_SCANLINE_WORDS + x]) { |
| 231 | 231 | m_dsp.raw_bitmap[y * ALTO2_DISPLAY_SCANLINE_WORDS + x] = word2; |
| 232 | | m_dsp.scanline_dirty[y] = 0; |
| 232 | m_dsp.scanline_dirty[y] = 1; |
| 233 | 233 | } |
| 234 | 234 | x++; |
| 235 | 235 | } |
| r26204 | r26205 | |
| 241 | 241 | word ^= m_dsp.curdata & 0177777; |
| 242 | 242 | if (word != m_dsp.raw_bitmap[y * ALTO2_DISPLAY_SCANLINE_WORDS + x]) { |
| 243 | 243 | m_dsp.raw_bitmap[y * ALTO2_DISPLAY_SCANLINE_WORDS + x] = word; |
| 244 | | m_dsp.scanline_dirty[y] = 0; |
| 244 | m_dsp.scanline_dirty[y] = 1; |
| 245 | 245 | } |
| 246 | 246 | x++; |
| 247 | 247 | } |
| r26204 | r26205 | |
| 451 | 451 | return 0; |
| 452 | 452 | } |
| 453 | 453 | |
| 454 | | #define BLACK 0 |
| 455 | | #define WHITE 1 |
| 454 | #define BLACK 1 |
| 455 | #define WHITE 0 |
| 456 | 456 | |
| 457 | 457 | //! update the internal bitmap to the MAME bitmap.pix16 |
| 458 | 458 | void alto2_cpu_device::screen_update(bitmap_ind16 &bitmap, const rectangle &cliprect) |
branches/alto2/src/mess/drivers/alto2.c
| r26204 | r26205 | |
| 251 | 251 | |
| 252 | 252 | /* video hardware */ |
| 253 | 253 | MCFG_SCREEN_ADD("screen", RASTER) |
| 254 | | MCFG_SCREEN_RAW_PARAMS(XTAL_20_16MHz, 768, 0, 606, 875, 150, 958) |
| 254 | MCFG_SCREEN_RAW_PARAMS(XTAL_20_16MHz, 768, 0, 606, 875, 0, 808) |
| 255 | 255 | MCFG_SCREEN_UPDATE_DRIVER(alto2_state, screen_update) |
| 256 | 256 | MCFG_SCREEN_VBLANK_DRIVER(alto2_state, screen_eof_alto2) |
| 257 | 257 | |