mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-02 06:05:49 +00:00
Implement Direct Addressing mode for SheepShaver.
This commit is contained in:
parent
3ace37f4eb
commit
7533cac203
@ -388,7 +388,7 @@ void ADBInterrupt(void)
|
||||
r.a[0] = ReadMacInt32(mouse_base + 4);
|
||||
r.d[0] = mx;
|
||||
r.d[1] = my;
|
||||
Execute68k((uint32)proc, &r);
|
||||
Execute68k(Host2MacAddr((uint8 *)proc), &r);
|
||||
#else
|
||||
WriteMacInt16(0x82a, mx);
|
||||
WriteMacInt16(0x828, my);
|
||||
|
@ -633,7 +633,7 @@ int16 SoundInStatus(uint32 pb, uint32 dce)
|
||||
0x70, 0x01, // moveq #1,d0
|
||||
M68K_RTS >> 8, M68K_RTS & 0xff
|
||||
};
|
||||
Execute68k((uint32)proc, &r);
|
||||
Execute68k(Host2MacAddr((uint8 *)proc), &r);
|
||||
if (r.d[0]) {
|
||||
param[0] = 4; // Length of returned data
|
||||
param[1] = r.a[2]; // Handle to icon suite
|
||||
|
Loading…
Reference in New Issue
Block a user