Hello Everyone
I'm looking for a way to modify Darrel's program but I don't understand the ASM portion of his code. I've managed to modify parts of the PBP portion of the program and it works like a charm. Has anyone here used Darrel Taylor's STRINGS.PBP? http://www.pbpgroup.com/modules/wfse...p?articleid=10 It's a great routine that saves heaps of code space when printing to an Lcd. I'm using it in a program for printing multiple instructions (over 150 prints @ 18 words ea) to the Lcd which explains to the user how the program functions and how to program the different variables needed to have the program operate efficiently. Probably as good as having a printed manual but one that you can't loose. I'm also using it for each button press to display (while the button is pressed) where the program is going and what's happening, which I think makes it easier to navigate all the user functions.
The strings.pbp code is set up (thanks to Darrel's help) with two pushbuttons to control the instruction functions, one to view the first print then each additional press of the same pushbutton prints the next screen. The other pushbutton ends the viewing and returns to the main program loop.
What I'd like to be able to do, is to implement in the asm code portion of the routine, additional code so that a third pushbutton could be used to view the previous print in the Inst1: subroutine if that's possible? Having a "view previous print pushbutton" would be the icing on the cake for my program! Can anyone help me out with this one? I've included some parts of my program that relates to Darrel's code in an attachment below that shows how my pushbuttons are set up to use Darrel's code.
Thanks
jessey
Bookmarks