Command stacking - doesn't work for Bank.
Versatile Commodore Emulator
Brought to you by:
blackystardust,
gpz
Stacking commands, to have multiple things happening at a breakpoint, is my new favourite. However I ran into an issue with the bank command. Naturally I want to store the RAM, why I want to issue the bank ram before a save.
When I issue the below marked as failing, the parser stops at the b in bank and says it's not valid (Unexpected token). My general conclusion is that bank works here if it's the last command, but not if it's somewhere else.
break 4000
Works: Command 1 "bank ram"
Works: Command 1 "log off;bank ram"
Fails: Command 1 "log off;bank ram;f 51f1 5fff 00;s \"intro.prg\" 0 0400 83ff"
Fails: Command 1 "log off;bank ram;f 51f1 5fff 00"
Works: Command 1 "log off;f 51f1 5fff 00;bank ram"
registersis another command that doesn't like semicolons.P.S., You don't need to use the
commandcommand, to see the bug. You can see it when you type multiple-command lines at the monitor's prompt.Should also be moved to general I guess. Requests defaults to SDL2x.
Can be fixed with this 2-line patch:
https://bitbucket.org/markusC64/vice_3.2/commits/df34edbc4c4106af2340ed337af3e233cd164f31?at=10sids
Any wother command except "bank" and "registers" to fix?
will adapt this.... i didnt even know you can use semicolon like this =)
fixed in r37356, thanks for the patch
leaving this open for the time being - please test the other commands :)
can we close this?
Works for me as far as I remember.
Last edit: gpz 2020-05-20
ok, so i will close.
and would you please not always full quote the messages? it makes the tickets very tedious to read.
I do try to remove the history but the mobile client hides it so I need to
actively remember to view it and remove it...
On Wed, 20 May 2020, 10:50 gpz, gpz@users.sourceforge.net wrote: