| Previous | 199869 Revisions | Next |
| r29226 Thursday 3rd April, 2014 at 20:16:50 UTC by Oliver Stöneberg |
|---|
| disabled some Visual Studio analysis warnings / fixed some obvious errors based on analysis output (-video gdi works again) (nw) |
| [src/mess/drivers] | ql.c |
| [src/mess/machine] | swtpc09.c |
| [src/osd/windows] | drawgdi.c windows.mak |
| r29225 | r29226 | |
|---|---|---|
| 166 | 166 | endif |
| 167 | 167 | |
| 168 | 168 | ifdef MSVC_ANALYSIS |
| 169 | CCOMFLAGS += /analyze /wd6011 /wd6328 /wd6204 /wd6244 /wd6385 /wd6308 /wd6246 /wd6031 /wd6326 /analyze:stacksize384112 | |
| 169 | CCOMFLAGS += /analyze /wd6011 /wd6328 /wd6204 /wd6244 /wd6385 /wd6308 /wd6246 /wd6031 /wd6326 /wd6255 /wd6330 /wd28251 /wd6054 /wd6340 /wd28125 /wd6053 /wd6001 /wd6386 /wd28278 /wd6387 /wd6297 /wd28183 /wd28159 /wd28182 /analyze:stacksize384112 | |
| 170 | 170 | endif |
| 171 | 171 | |
| 172 | 172 | # enable exception handling for C++ |
| r29225 | r29226 | |
|---|---|---|
| 82 | 82 | static int drawgdi_window_init(win_window_info *window) |
| 83 | 83 | { |
| 84 | 84 | gdi_info *gdi; |
| 85 | | |
| 85 | int i; | |
| 86 | 86 | |
| 87 | 87 | // allocate memory for our structures |
| 88 | 88 | gdi = global_alloc_clear(gdi_info); |
| r29225 | r29226 | |
|---|---|---|
| 369 | 369 | m_fdc->set_drive(1); |
| 370 | 370 | |
| 371 | 371 | m_fdc->set_side((data & SANDY_SIDE_MASK) >> SANDY_SIDE_SHIFT); |
| 372 | if ((data & SANDY_SIDE_MASK) & (LOG_DISK_READ | LOG_DISK_WRITE)) | |
| 372 | if ((data & SANDY_SIDE_MASK) && (LOG_DISK_READ | LOG_DISK_WRITE)) | |
| 373 | 373 | { |
| 374 | 374 | logerror("Accessing side 1\n"); |
| 375 | 375 | } |
| r29225 | r29226 | |
|---|---|---|
| 41 | 41 | |
| 42 | 42 | m_pia_counter++; |
| 43 | 43 | //pia_counter = pia_counter && 0xff; |
| 44 | if (m_pia_counter & | |
| 44 | if (m_pia_counter & 0x80) pia->ca1_w(1); | |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | WRITE8_MEMBER( swtpc09_state::ptm_o3_callback ) |
| r29225 | r29226 | |
| 720 | 720 | |
| 721 | 721 | /* a read here clears the DMA end flag */ |
| 722 | 722 | m_m6844_channel[offset - 0x10].control &= ~0x80; |
| 723 | if (m_m6844_interrupt & | |
| 723 | if (m_m6844_interrupt & 0x80) // if interrupt is active, then clear | |
| 724 | 724 | { |
| 725 | 725 | swtpc09_irq_handler(0x01, CLEAR_LINE); |
| 726 | 726 | m_m6844_interrupt &= 0x7f; // clear interrupt indication bit 7 |
| Previous | 199869 Revisions | Next |