Shop OBEX P1 Docs P2 Docs Learn Events
TAQOZ and Monitor listing/dump out format - Page 2 — Parallax Forums

TAQOZ and Monitor listing/dump out format

2»

Comments

  • Cluso99Cluso99 Posts: 18,069
    As an exercise, try this
    000- 11 22 33 44 55 66 <cr>
    000L<cr>
    and
    00000- 11 22 33 44 55 66 <cr>
    00000L<cr>
    Now explain why the difference?
  • Cluso99Cluso99 Posts: 18,069
    edited 2018-05-19 19:14
    Slight change...

    The command to list longs will be "LL" not "X".
  • jmgjmg Posts: 15,145
    Cluso99 wrote: »
    Slight change...
    The command to list longs will be "LL" not "X".

    Someone mentioned endian change before, can there be (eg) LL and LH to list in the two possible endian choices ?
    Byte listings are incrementing-address, so an invisible flip to big-endian is just another thing to confuse users.


  • <cr> to continue list would be good.
  • TonyB_TonyB_ Posts: 2,125
    edited 2018-05-21 00:46
    Cluso99 wrote: »
    1. Commands cannot be A-F. Otherwise how do you know it's not a hex character?
    L= List, X= heX, G= Goto, -= store/download, R= Run
    ...
    I'd like to put back the use of just <cr> to carry on the next List command. This used to work on the original monitor.

    A-F can be used as commands if they come first on the line! :)
    How many bytes are displayed with just <cr>? 64? 128?
    Cluso99 wrote: »
    Slight change...
    The command to list longs will be "LL" not "X".

    "LL" is certainly much better than "X". It's good that L for Long could be accommodated, thank you. Will just <cr> remember whether the last list was "L" or "LL"?
    jmg wrote: »
    Someone mentioned endian change before, can there be (eg) LL and LH to list in the two possible endian choices ?
    Byte listings are incrementing-address, so an invisible flip to big-endian is just another thing to confuse users.

    With the extra space after every four bytes, I think little-endian longs are easy enough to see with plain "L". Is there room and the need for a "LW" for listing words? (Already available in TAQOZ.)
    Cluso99 wrote: »
    P2-MONITOR V1.0
    *100.180ll
      100- F40E8E00 5D647A50 5D647850 AD65FE28  '....Pzd]Pxd](.e.'
      104- AB040000 FD647659 FB4C7603 3D900664  '....Yvd..vL.d..='
      108- FD90041C FD63EC58 FD643C1F FD63EC50  '....X.c..<d.P.c.'
      10C- FD652C1F 0D73EC40 F607EC08 FD647A59  '.,e.@.s.....Yzd.'
      110- F027EE18 FD647A58 F037EE01 FD64765A  '..'.Xzd...7.Zvd.'
      114- FD647859 FD647858 0B6FEDFB FCDC0808  'Yxd.Xxd...o.....'
    

    Other programs, such as enhanced Debug, don't show any ASCII chars for words or longs because they don't match the order of the displayed hex values, e.g. 'Y' is not FD.

    Is it possible to have the option of a space to separate start and end addresses?
  • Cluso99Cluso99 Posts: 18,069
    TonyB_ wrote: »
    Cluso99 wrote: »
    1. Commands cannot be A-F. Otherwise how do you know it's not a hex character?
    L= List, X= heX, G= Goto, -= store/download, R= Run
    ...
    I'd like to put back the use of just <cr> to carry on the next List command. This used to work on the original monitor.

    A-F can be used as commands if they come first on the line! :)
    It's not the way I wrote the monitor, so A-F are invalid.

    How many bytes are displayed with just <cr>? 64? 128?
    ???
    Cluso99 wrote: »
    Slight change...
    The command to list longs will be "LL" not "X".

    "LL" is certainly much better than "X". It's good that L for Long could be accommodated, thank you. Will just <cr> remember whether the last list was "L" or "LL"?
    If/when it will recall the settings
    jmg wrote: »
    Someone mentioned endian change before, can there be (eg) LL and LH to list in the two possible endian choices ?
    Byte listings are incrementing-address, so an invisible flip to big-endian is just another thing to confuse users.

    With the extra space after every four bytes, I think little-endian longs are easy enough to see with plain "L". Is there room and the need for a "LW" for listing words? (Already available in TAQOZ.)
    Just remember, if you are looking at bytes, they are the actual way they look in hub. For the same data in cog, they will look identical even though you cannot actually read cog/lut bytes.
    If you are looking at longs, they represent the way you fetch a long (little endian in the P2). In this case, hub and cog/lut have the same access.
    No, there will not be word even though you can actually enter words IIRC.
    Cluso99 wrote: »
    P2-MONITOR V1.0
    *100.180x
      100- F40E8E00 5D647A50 5D647850 AD65FE28  '....Pzd]Pxd](.e.'
      104- AB040000 FD647659 FB4C7603 3D900664  '....Yvd..vL.d..='
      108- FD90041C FD63EC58 FD643C1F FD63EC50  '....X.c..<d.P.c.'
      10C- FD652C1F 0D73EC40 F607EC08 FD647A59  '.,e.@.s.....Yzd.'
      110- F027EE18 FD647A58 F037EE01 FD64765A  '..'.Xzd...7.Zvd.'
      114- FD647859 FD647858 0B6FEDFB FCDC0808  'Yxd.Xxd...o.....'
    

    Other programs, such as enhanced Debug, don't show any ASCII chars for words or longs because they don't match the order of the displayed hex values, e.g. 'Y' is not FD.
    The ascii helps to see what's there. If you don't want to see it, don't look ;)

    Is it possible to have the option of a space to separate start and end addresses?
    ???
  • TonyB_TonyB_ Posts: 2,125
    edited 2018-05-21 01:05
    Cluso99 wrote: »
    I'd like to put back the use of just <cr> to carry on the next List command. This used to work on the original monitor.

    What does that mean and do?
    Cluso99 wrote: »
    P2-MONITOR V1.0
    *100.180ll
      100- F40E8E00 5D647A50 5D647850 AD65FE28  '....Pzd]Pxd](.e.'
      104- AB040000 FD647659 FB4C7603 3D900664  '....Yvd..vL.d..='
      108- FD90041C FD63EC58 FD643C1F FD63EC50  '....X.c..<d.P.c.'
      10C- FD652C1F 0D73EC40 F607EC08 FD647A59  '.,e.@.s.....Yzd.'
      110- F027EE18 FD647A58 F037EE01 FD64765A  '..'.Xzd...7.Zvd.'
      114- FD647859 FD647858 0B6FEDFB FCDC0808  'Yxd.Xxd...o.....'
    

    I think most people would prefer 100 180ll instead of 100.180ll as they will be far more familiar with space than '.' as a separator. Why make space optional so it can't then be used as a separator?
  • Yes, even a comma is better as using a decimal point seems to go against the grain. I am used to using a dp as part of a number.
  • Cluso99Cluso99 Posts: 18,069
    edited 2018-05-21 04:06
    IIRC when Chip did a very basic monitor for the original P2, he used the "." and therefore so did I.
    It is what it is.

    Postedit
    Now I remember...
    xxx.yyy was for an address range and
    xxx,zzz was for an address plus line count
  • Cluso99 wrote: »
    IIRC when Chip did a very basic monitor for the original P2, he used the "." and therefore so did I.
    It is what it is.

    Was that a full stop you put at the end of your sentence or should we expect another parameter? ;):);)

  • potatohead wrote: »
    <cr> to continue list would be good.

    Seconded. Hopefully they can find some room
  • Cluso99Cluso99 Posts: 18,069
    I have coded it.Test tonight. Nothing comes for free and we are over the ROM limits :(
    I don't even know what Peter has added :(

  • Cluso99 wrote: »
    I have coded it.Test tonight. Nothing comes for free and we are over the ROM limits :(
    I don't even know what Peter has added :(

    Nothing yet, I will probably add more but use less. I have my DE2-115 board running and I can see that it would be helpful to add some DAC support to TAQOZ, or at least allow machine code to be integrated easily.

Sign In or Register to comment.