From: Joerg Sauer <sauer@akela.informatik.rwth-aachen.de>
Subject:  v05i041:  jstkv_js - Just another Stack View v1.0, Part01/01
Newsgroups: comp.sources.hp48
Organization: Rechnerbetrieb Informatik  /  RWTH Aachen
Followup-To: comp.sys.hp48
Summary: Displays up to 10 stack-levels & scrolling feature v1.0
Approved: spell@seq.uncwil.edu

Checksum: 2860566353 (verify with brik -cv)
Submitted-by: Joerg Sauer <sauer@akela.informatik.rwth-aachen.de>
Posting-number: Volume 5, Issue 41
Archive-name: jstkv_js/part01


BEGIN_DOC jstkv.doc

Hi folks,
some time ago I got a program which was able to display up to ten levels
of the stack. It was nice and satisfied me for some time, but some day
I needed to display a lot of data at once, so I got into the program and added
some scrolling features. But then, unfortunately, it was up to 1600 Bytes large
and very slow. So I decided to become a HP Guru and started my first System-RPL
project. The program was short --- just about 100 Bytes bigger than the first
User-RPL programm --- (<- Hello, to all TeXperts ;-) and reasonable fast.
There was just one problem left. If I have more than 10 levels of stack, the
display Grob is bigger than 131x64 Pixels. I wanted the HP to display the Grob
at a variable windowcorner, I tried this with XYGrobDisplay. But all I got was,
that the upper left corner of my Grob moves down and down out of the display.
So I asked for help about 4 month ago, and I got an address of an function from
Detlef Mueller (Thanks Detlef), but it didn't work. I had some trouble with my
usenet access during the last four month, so I decided to post this program now.
The efect of not having the missing function is that I used the scrollup and
scrolldown functions in loops. So you have really nice smooth page-scrolling.
I think if someone could help me with the address of the function I need, I can
save some (just a few) more bytes. Ok, ok I'm going on with a description now.
no more small-talk anymore ;-)

How it works:

If there is something on the stack it will display it. Up to 10 levels at once.
If there are more then 10 levels you can scroll the display.

The Up- and Down-keys scroll just one level up or down.

Left-shifted Up- and Down-keys scroll 10 levels (Pagewise smooth :-) scrolling)

Right-shifted Up- and Down-keys jump to the top or the bottom of the stack.

<On> terminates the program.

As I know there are no bugs (I'm using it very frequently)
If you have some suggestions improving it or something else I would be very
glad to hear from you.
                       So long Joerg

PS: I finaly got my 128KB Ram-Card (jump :-) so I can go deeper into material
    since I own no MesS-Dos PC to use the HP SysRpl software.
