Previous 199869 Revisions Next

r26699 Monday 23rd December, 2013 at 03:42:04 UTC by smf
movbi_mi second parameter is 8 bit signed & MSVC complains that 0xff is truncated unless you explicitly cast it. (nw)
[src/emu/cpu/i8089]i8089_channel.c

trunk/src/emu/cpu/i8089/i8089_channel.c
r26698r26699
698698
699699      lpd(PP, CP, m_r[CP].w + 2);
700700      movp_pm(TP, PP, m_r[PP].w);
701      movbi_mi(CP, 0xff, 1);
701      movbi_mi(CP, (INT8) 0xff, 1);
702702      m_r[TP].t = 1;
703703
704704      m_r[PSW].w |= 1 << 2;
r26698r26699
728728
729729      lpd(PP, CP, m_r[CP].w + 2);
730730      lpd(TP, PP, m_r[PP].w);
731      movbi_mi(CP, 0xff, 1);
731      movbi_mi(CP, (INT8) 0xff, 1);
732732
733733      m_r[PSW].w |= 1 << 2;
734734
r26698r26699
755755      // restore task pointer and parameter block
756756      movp_pm(TP, PP, m_r[PP].w);
757757      movb_rm(PSW, PP, m_r[PP].w + 3);
758      movbi_mi(CP, 0xff, m_r[CP].w + 1);
758      movbi_mi(CP, (INT8) 0xff, m_r[CP].w + 1);
759759
760760      m_r[PSW].w |= 1 << 2;
761761

Previous 199869 Revisions Next


© 1997-2024 The MAME Team