trunk/src/mame/machine/3do.c
| r20263 | r20264 | |
| 51 | 51 | 00022ba4 - init exp bus, write 17x 00 to the selection register to let all expansion devices determine their id on the bus. |
| 52 | 52 | 00022bd0 - write 0x8f to the selection register to determine if there are too many devices attached. |
| 53 | 53 | |
| 54 | (11-jan-2013) |
| 55 | "Error, could not open cdrom device" |
| 56 | - ARM finally uploads a program to DSPP, wants something back out of it (reads EO 0xee and unmasks DSPP irq). |
| 57 | |
| 54 | 58 | */ |
| 55 | 59 | |
| 56 | 60 | #include "emu.h" |
| r20263 | r20264 | |
| 611 | 615 | case 0x05d0/4: case 0x05d4/4: case 0x05d8/4: case 0x05dc/4: |
| 612 | 616 | case 0x05e0/4: case 0x05e4/4: case 0x05e8/4: case 0x05ec/4: |
| 613 | 617 | case 0x05f0/4: case 0x05f4/4: case 0x05f8/4: case 0x05fc/4: |
| 618 | printf("%08x %08x\n",offset*4,data); |
| 614 | 619 | m_madam.dma[(offset/4) & 0x1f][offset & 0x03] = data; |
| 615 | 620 | return; |
| 616 | 621 | |
| r20263 | r20264 | |
| 935 | 940 | m_clio.slack = data & 0x000003ff; |
| 936 | 941 | break; |
| 937 | 942 | |
| 943 | case 0x0304/4: |
| 944 | if(data) |
| 945 | printf("DMA %08x\n",data); |
| 938 | 946 | |
| 947 | break; |
| 948 | |
| 939 | 949 | case 0x0308/4: |
| 940 | 950 | m_clio.dmareqdis = data; |
| 941 | 951 | break; |
trunk/src/mess/drivers/smc777.c
| r20263 | r20264 | |
| 190 | 190 | |
| 191 | 191 | if(blink && machine().primary_screen->frame_number() & 0x10) //blinking, used by Dragon's Alphabet |
| 192 | 192 | color = bk_pen; |
| 193 | else |
| 194 | color+=m_pal_mode; |
| 193 | 195 | |
| 194 | 196 | for(yi=0;yi<8;yi++) |
| 195 | 197 | { |
| r20263 | r20264 | |
| 197 | 199 | { |
| 198 | 200 | int pen; |
| 199 | 201 | |
| 200 | | pen = ((gfx_data[tile*8+yi]>>(7-xi)) & 1) ? (color+m_pal_mode) : bk_pen; |
| 202 | pen = ((gfx_data[tile*8+yi]>>(7-xi)) & 1) ? (color) : bk_pen; |
| 201 | 203 | |
| 202 | | if ((pen != -1) && (pen < SMC777_NUMPENS)) |
| 204 | if (pen != -1) |
| 203 | 205 | bitmap.pix16(y*8+CRTC_MIN_Y+yi, x*8+CRTC_MIN_X+xi) = machine().pens[pen]; |
| 204 | 206 | } |
| 205 | 207 | } |
| r20263 | r20264 | |
| 1083 | 1085 | MCFG_SCREEN_VISIBLE_AREA(0, 660-1, 0, 220-1) //normal 640 x 200 + 20 pixels for border color |
| 1084 | 1086 | MCFG_SCREEN_UPDATE_DRIVER(smc777_state, screen_update_smc777) |
| 1085 | 1087 | |
| 1086 | | MCFG_PALETTE_LENGTH(SMC777_NUMPENS) |
| 1088 | MCFG_PALETTE_LENGTH(SMC777_NUMPENS) |
| 1087 | 1089 | MCFG_GFXDECODE(smc777) |
| 1088 | 1090 | |
| 1089 | 1091 | MCFG_MC6845_ADD("crtc", H46505, MASTER_CLOCK/2, mc6845_intf) /* unknown clock, hand tuned to get ~60 fps */ |