From: jhmeyers@miu.edu (John H Meyers)
Subject: Re: DISP for small font, 10-line screen
Date: 05 Nov 1997 00:00:00 GMT
Message-ID: <63qejs$5e9$1@news.iastate.edu>
References: <345f127f.8285144@news.tuwien.ac.at>,<63pqaa$u6m$1@news.iastate.edu>
Organization: MIU Computer Services,  Fairfield, IA 52557.  Not Approved.
Reply-To: jhmeyers@miu.edu
Newsgroups: comp.sys.hp48


[continuing previous post, re DISPX for small font, 10 lines on screen]

As an afterthought, if we drop each "line" down by 4 pixels, then
we can also optionally fit 8 full lines (line 3 thru line 10)
in the "stack+menu" area, without overlaying any part of the
"status" area of the display (in which case you would
do 6 FREEZE in your program, rather than 7 FREEZE,
to permit the status area to continue displaying normally).

In that case we would modify DISPX as follows:

%%HP: T(3); @ \-> is right-arrow, etc.
@ Object row ==> (display object in small font on row 1-10)
\<< DUP TYPE { 514 DOERR } IFT
    SWAP 1 \->GROB { #0 #0 } { #83h #6h } SUB @ limit grob to 131x6
    0 ROT 6 * 2 - #194F7h SYSEVAL ROT @ (this line was modified)
    #4E2CFh SYSEVAL #128B0h SYSEVAL \>>
@ Checksum: #3399h (new checksum)
@ Uses supported entry points: COERCE2, TURNMENUOFF, XYGROBDISP

Be sure to check the checksum!

An eight-level stack display program might then be:

%%HP: T(3); @ \-> is right-arrow, etc.
\<< CLLCD STD DEPTH 1 SWAP 8 MIN FOR n n PICK \->STR n ": " + SWAP +
  1 33 SUB @ limit string to average displayable length
  11 n - DISPX NEXT 6 FREEZE \>> @ Level 1 on line 10, etc.

( The only changes were 10 MIN -> 8 MIN and 7 FREEZE -> 6 FREEZE )

-----------------------------------------------------------
With best wishes from:   John H Meyers   <jhmeyers@mum.edu>
