Indeed. Mini-assembler is disjoint from the rest of the monitor. '!$' feels so weird.
barrym95838 wrote:
but you are interested in mini-assemble, "L", ".", ":", and "G", and you're not interested in "S", "T", "R", "W", "ctrl-Y", "ctrl-E", "ctrl-B", "ctrl-C", "M", "V", "+" and "-", correct?
Even less
. WozMon itself already does examine and deposit with its own '.' and ':'.
I plan to catch Ctrl-C and map it to a jump to $ff00, by means of a virtual interrupt outside v6502 land. That means that it is easy to drop back into WozMon.
'!
addr:' (colon!) for assemble and '!
space' for assembling the next one are central for the experience.
'*
addrL' for disassemble is a bit nicer than the DrDobbs method, which is setting an address in ZP and then jumping to the disassembler. But it may be the only interesting *-command, and that becomes weird as well. Perhaps we should change it to '!
addrL' for this purpose.
'*
addrG' is only nice if code can return with RTS. WozMon-R doesn't do that. If 'G' also doesn't have that, there's no point. But like L, it might make more sense to bring this under the !-prompt as '!
addrG'
Summarising, I'm looking for no more than this:
Code:
!addrL
!addr:mnemonic...
! mnemonic...
!addrG