| Previous | 15994 Revisions | Next |
| r15804 Wednesday 8th August, 2012 at 11:27:34 UTC by Miodrag Milanović |
|---|
| Some VS code analysis warnings fixed (no whatsnew) |
| [src/mess/machine] | 3c503.c micropolis.c rmnimbus.c |
| r15803 | r15804 | |
|---|---|---|
| 42 | 42 | // TODO: This is wrong, fix if anything actually uses it |
| 43 | 43 | // DMA can change in runtime |
| 44 | 44 | int chan = 0, idcfr = m_regs.idcfr & 0x0f; |
| 45 | if((m_regs.streg | |
| 45 | if((m_regs.streg & 0x08)) { | |
| 46 | 46 | while(idcfr) { |
| 47 | 47 | chan++; |
| 48 | 48 | idcfr >>= 1; |
| r15803 | r15804 | |
|---|---|---|
| 180 | 180 | READ8_DEVICE_HANDLER( micropolis_status_r ) |
| 181 | 181 | { |
| 182 | 182 | micropolis_state *w = get_safe_token(device); |
| 183 | static | |
| 183 | static int | |
| 184 | 184 | |
| 185 | 185 | if (offset) |
| 186 | 186 | return w->status | w->drive_num; |
| r15803 | r15804 | |
|---|---|---|
| 2947 | 2947 | { |
| 2948 | 2948 | state->m_reg0a4 &= 0xF0; |
| 2949 | 2949 | state->m_reg0a4 |= ( mxb & 0x01) << 3; // XB |
| 2950 | state->m_reg0a4 |= (!mxb & 0x01) << 2; // XA | |
| 2951 | state->m_reg0a4 |= (!myb & 0x01) << 1; // YA | |
| 2950 | state->m_reg0a4 |= (~mxb & 0x01) << 2; // XA | |
| 2951 | state->m_reg0a4 |= (~myb & 0x01) << 1; // YA | |
| 2952 | 2952 | state->m_reg0a4 |= ( myb & 0x01) << 0; // YB |
| 2953 | 2953 | } |
| 2954 | 2954 |
| Previous | 15994 Revisions | Next |