mirror of
https://github.com/digarok/gsplus.git
synced 2024-05-28 13:41:31 +00:00
disassemble prodos mli calls.
This commit is contained in:
parent
62dcf4f9d2
commit
6dd598be0c
|
@ -497,6 +497,21 @@ word32 do_list(word32 address, int lines) {
|
|||
}
|
||||
}
|
||||
break;
|
||||
case 0x20: /* jsr */
|
||||
if (operand == 0xbf00) {
|
||||
unsigned num = get_memory_c(address, 0);
|
||||
const char *name = debug_tool_name(num, operand);
|
||||
if (name) {
|
||||
opcode_string = name;
|
||||
unsigned parms = get_memory16_c(address + 1, 0);
|
||||
sprintf(buffer, "$%04x", parms);
|
||||
|
||||
for (i = 0; i < 3; ++i) {
|
||||
buffer2[bsize++] = get_memory_c(address++, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
n = printf("%02x/%04x: %s %s",
|
||||
|
|
Loading…
Reference in New Issue
Block a user