|
|
| version 1.7, 2003/11/24 09:14:01 | version 1.8, 2003/11/28 08:01:32 |
|---|---|
| Line 125 I286_F6 _call_ea16(UINT op) { | Line 125 I286_F6 _call_ea16(UINT op) { |
| I286_F6 _call_far_ea16(UINT op) { | I286_F6 _call_far_ea16(UINT op) { |
| UINT32 seg; | UINT32 seg; |
| UINT16 ad; | UINT ad; |
| I286_WORKCLOCK(16); | I286_WORKCLOCK(16); |
| if (op < 0xc0) { | if (op < 0xc0) { |
| Line 133 I286_F6 _call_far_ea16(UINT op) { | Line 133 I286_F6 _call_far_ea16(UINT op) { |
| REGPUSH0(I286_CS) // ToDo | REGPUSH0(I286_CS) // ToDo |
| REGPUSH0(I286_IP) | REGPUSH0(I286_IP) |
| I286_IP = i286_memoryread_w(seg + ad); | I286_IP = i286_memoryread_w(seg + ad); |
| ad += 2; | I286_CS = i286_memoryread_w(seg + LOW16(ad + 2)); |
| I286_CS = i286_memoryread_w(seg + ad); | |
| CS_BASE = I286_CS << 4; | CS_BASE = I286_CS << 4; |
| } | } |
| else { | else { |
| Line 157 I286_F6 _jmp_ea16(UINT op) { | Line 156 I286_F6 _jmp_ea16(UINT op) { |
| I286_F6 _jmp_far_ea16(UINT op) { | I286_F6 _jmp_far_ea16(UINT op) { |
| UINT32 seg; | UINT32 seg; |
| UINT16 ad; | UINT ad; |
| I286_WORKCLOCK(11); | I286_WORKCLOCK(11); |
| if (op < 0xc0) { | if (op < 0xc0) { |
| ad = GET_EA(op, &seg); | ad = GET_EA(op, &seg); |
| I286_IP = i286_memoryread_w(seg + ad); | I286_IP = i286_memoryread_w(seg + ad); |
| ad += 2; | I286_CS = i286_memoryread_w(seg + LOW16(ad + 2)); |
| I286_CS = i286_memoryread_w(seg + ad); | |
| CS_BASE = I286_CS << 4; | CS_BASE = I286_CS << 4; |
| } | } |
| else { | else { |