File tree Expand file tree Collapse file tree 4 files changed +344
-341
lines changed Expand file tree Collapse file tree 4 files changed +344
-341
lines changed Original file line number Diff line number Diff line change @@ -70,11 +70,11 @@ u8 r800_device::r800_sll(u8 value)
70
70
const u8 res = u8 (value << 1 );
71
71
{
72
72
QT = 0 ;
73
- m_f.sign_val = m_f.zero_val = res;
74
- m_f.parity_overflow_val = !0 ;
73
+ m_f.s_val = m_f.z_val = res;
74
+ m_f.pv_val = !0 ;
75
75
m_f.yx_val = res;
76
- m_f.half_carry_val = m_f.subtract = 0 ;
77
- m_f.carry = value & 0x80 ;
76
+ m_f.h_val = m_f.n = 0 ;
77
+ m_f.c = value & 0x80 ;
78
78
}
79
79
80
80
return res;
@@ -86,11 +86,11 @@ void r800_device::mulub(u8 value)
86
86
{
87
87
QT = 0 ;
88
88
// keep HN
89
- m_f.sign_val = 0 ;
90
- m_f.zero_val = HL != 0 ;
91
- m_f.parity_overflow_val = !0 ;
89
+ m_f.s_val = 0 ;
90
+ m_f.z_val = HL != 0 ;
91
+ m_f.pv_val = !0 ;
92
92
m_f.yx_val = 0 ;
93
- m_f.carry = H;
93
+ m_f.c = H;
94
94
}
95
95
}
96
96
@@ -102,11 +102,11 @@ void r800_device::muluw(u16 value)
102
102
{
103
103
QT = 0 ;
104
104
// keep HN
105
- m_f.sign_val = 0 ;
106
- m_f.zero_val = res != 0 ;
107
- m_f.parity_overflow_val = !0 ;
105
+ m_f.s_val = 0 ;
106
+ m_f.z_val = res != 0 ;
107
+ m_f.pv_val = !0 ;
108
108
m_f.yx_val = 0 ;
109
- m_f.carry = DE;
109
+ m_f.c = DE;
110
110
}
111
111
}
112
112
You can’t perform that action at this time.
0 commit comments