Menu

#1182 Command stacking - doesn't work for Bank.

v3.6
closed-fixed
nobody
None
2021-12-30
2019-12-22
Pontus Berg
No

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"

Discussion

  • Greg King

    Greg King - 2019-12-23

    registers is another command that doesn't like semicolons.

    P.S., You don't need to use the command command, to see the bug. You can see it when you type multiple-command lines at the monitor's prompt.

     
  • Pontus Berg

    Pontus Berg - 2020-01-07

    Should also be moved to general I guess. Requests defaults to SDL2x.

     
  • gpz

    gpz - 2020-01-12

    will adapt this.... i didnt even know you can use semicolon like this =)

     
  • gpz

    gpz - 2020-01-12

    fixed in r37356, thanks for the patch

    leaving this open for the time being - please test the other commands :)

     
  • gpz

    gpz - 2020-05-19

    can we close this?

     
    • Pontus Berg

      Pontus Berg - 2020-05-19

      Works for me as far as I remember.

       

      Last edit: gpz 2020-05-20
  • gpz

    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.

     
    • Pontus Berg

      Pontus Berg - 2020-05-20

      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:

      ok, so i will close.

      and would you please not always full quote the messages? it makes the
      tickets very tedious to read

       
  • gpz

    gpz - 2020-05-20
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB