| Previous | 199869 Revisions | Next |
| r29273 Friday 4th April, 2014 at 16:24:13 UTC by hap |
|---|
| fixed firewave: "And here's a few MESS/core ones I overlooked yesterday: s:\svn\mame\src\emu\cpu\dsp16\dsp16ops.inc(365) : warning C6316: Incorrect operator: tested expression is constant and non-zero. Use bitwise-and to determine whether bits are set. s:\svn\mame\src\emu\cpu\es5510\es5510.c(608) : warning C6201: Index '255' is out of valid index range '0' to '254' for possibly stack allocated buffer 'is_written'. s:\svn\mame\src\emu\cpu\es5510\es5510.c(608) : warning C6201: Index '255' is out of valid index range '0' to '254' for possibly stack allocated buffer 'is_read'. s:\svn\mame\src\emu\cpu\es5510\es5510.c(609) : warning C6201: Index '255' is out of valid index range '0' to '254' for possibly stack allocated buffer 'name'. s:\svn\mame\src\emu\cpu\es5510\es5510.c(666) : warning C6201: Index '255' is out of valid index range '0' to '254' for possibly stack allocated buffer 'name'. s:\svn\mame\src\emu\cpu\m68000\m68kcpu.c(681) : warning C6314: Incorrect order of operations: bitwise-or has higher precedence than the conditional-expression operator. Add parentheses to clarify intent. " |
| [src/emu/cpu/dsp16] | dsp16ops.inc |
| [src/emu/cpu/es5510] | es5510.c |
| [src/emu/cpu/m68000] | m68kcpu.c |
| r29272 | r29273 | |
|---|---|---|
| 600 | 600 | LOG(("ES5501: Starting!\n")); |
| 601 | 601 | |
| 602 | 602 | char buf[1024]; |
| 603 | bool is_written[0xff], is_read[0xff]; | |
| 604 | char name[0xff][16]; | |
| 603 | bool is_written[0x100], is_read[0x100]; | |
| 604 | char name[0x100][16]; | |
| 605 | 605 | int addr; |
| 606 | 606 | |
| 607 | 607 | for (int i = 0; i < 0x100; i++) { |
| r29272 | r29273 | |
|---|---|---|
| 677 | 677 | static void m68k_postload(m68000_base_device *m68k) |
| 678 | 678 | { |
| 679 | 679 | m68ki_set_sr_noint_nosp(m68k, m68k->save_sr); |
| 680 | m68k->stopped = m68k->save_stopped ? STOP_LEVEL_STOP : 0 | |
| 681 | | m68k->save_halted ? STOP_LEVEL_HALT : 0; | |
| 680 | m68k->stopped = (m68k->save_stopped ? STOP_LEVEL_STOP : 0) | (m68k->save_halted ? STOP_LEVEL_HALT : 0); | |
| 682 | 681 | m68ki_jump(m68k, REG_PC(m68k)); |
| 683 | 682 | } |
| 684 | 683 |
| r29272 | r29273 | |
|---|---|---|
| 361 | 361 | // TODO |
| 362 | 362 | |
| 363 | 363 | // LMV (mathematical overflow) |
| 364 | if ((result | U64(0xf00000000)) != U64(0xf00000000) && | |
| 365 | (result | U64(0xf00000000)) != U64(0x000000000)) | |
| 364 | if ((result & U64(0xf00000000)) != U64(0xf00000000) && | |
| 365 | (result & U64(0xf00000000)) != U64(0x000000000)) | |
| 366 | 366 | m_psw |= 0x1000; |
| 367 | 367 | else |
| 368 | 368 | m_psw &= (~0x1000); |
| Previous | 199869 Revisions | Next |