Shop OBEX P1 Docs P2 Docs Learn Events
Bs2 debug command ACTUAL output — Parallax Forums

Bs2 debug command ACTUAL output

sumdawgysumdawgy Posts: 167
edited 2010-04-14 15:35 in BASIC Stamp
Ok so....the Bs1 Debug stream carries all of the current Ram memory data.
(Information taken from Wading the BS1 Debug Stream.)

Using the source code I found HERE·on the forum...
it was·very easy to draft·a custom VB5 powered debug terminal.

Just·one debug command at end of loop...
Allows me to look at a properly green/red lighted status screen indicating active·modes & statuses
This is really handy for just plugging in laptop to debug port & checking on unit details.

Having been spoiled by this & NOT having a Bs2 avail for testing...

I am asking if anyone could point me to a reference on the bs2's debug output.

[noparse][[/noparse]Edited to correct VB source link]

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Before you criticize someone, walk a mile in his shoes. That way if he gets angry, he'll be a mile away and barefoot. - unknown

Post Edited (sumdawgy) : 4/14/2010 3:14:15 PM GMT

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2010-04-14 15:23
    Unlike the BS1, the BS2 DEBUG statement is just a special form of the SEROUT statement. The chapter in the Stamp Manual on the DEBUG (and DEBUGIN) statement is pretty thorough.
  • sumdawgysumdawgy Posts: 167
    edited 2010-04-14 15:35
    AHA...
    I now remember what confused me origionally on the use of debugin (bs1..impossible)
    And that also pointed me to the Quick Facts in the Programing enviormnet's help!

    Which defines all BSx protocols.......ty mike!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Before you criticize someone, walk a mile in his shoes. That way if he gets angry, he'll be a mile away and barefoot. - unknown
Sign In or Register to comment.