You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
This is not a problem as such, but more of an annoyance.
Describe the solution you'd like
Currently, when doing a disassembly ('D' command) in the kernal monitor, it will disassemble 32 bytes - if no range is given. In some situations the top most code will therefore be scrolled off the screen. The solution I think is to disassemble no more than a full screen. So, instead of disassembling a certain number of bytes, disassembling 24 lines would be better.
Describe alternatives you've considered
The patch included in this feature request will print 24 lines of code if no range is given. Regardless of the op sizes. The ranges will however still behave as before.
Examples: D will disassemble 24 lines of code from the last address. New behaviour.
D xxxx will do the same as above, but from address xxxx. New behaviour.
D xxxx yyyy still disassembles from xxxx through yyyy. No change in behaviour.
So, for disassembling now, you can just do a 'D xxxx' and then subsequent 'D' commands. I find this much more efficient and to the point than the old behaviour.
Additional context
In reference to ROM 920409 code. Patch included.
That's a great point, gurcei! There's the $D07B (DISPROWS) register that should be set to either 24 or 49, I guess. I could have a look at that. If there's no weird behaviour or so, it is dead simple to use as a line comparison.
Is your feature request related to a problem? Please describe.
This is not a problem as such, but more of an annoyance.
Describe the solution you'd like
Currently, when doing a disassembly ('D' command) in the kernal monitor, it will disassemble 32 bytes - if no range is given. In some situations the top most code will therefore be scrolled off the screen. The solution I think is to disassemble no more than a full screen. So, instead of disassembling a certain number of bytes, disassembling 24 lines would be better.
Describe alternatives you've considered
The patch included in this feature request will print 24 lines of code if no range is given. Regardless of the op sizes. The ranges will however still behave as before.
Examples:
D
will disassemble 24 lines of code from the last address. New behaviour.D xxxx
will do the same as above, but from address xxxx. New behaviour.D xxxx yyyy
still disassembles from xxxx through yyyy. No change in behaviour.So, for disassembling now, you can just do a 'D xxxx' and then subsequent 'D' commands. I find this much more efficient and to the point than the old behaviour.
Additional context
In reference to ROM 920409 code. Patch included.
disasm.patch
The text was updated successfully, but these errors were encountered: