[comp.sys.handhelds] POSSIBLE BUG IN HP48 MODES BROWSER

peraino@gmuvax2.gmu.edu (Bob Peraino) (02/06/91)

POSSIBLE BUG IN HP48 MODES BROWSER

Here's what I did:

1. Archived machine to PC.
   (Yes, I do this even if it's Dr. Wickes who wrote the code!)

2. Downloaded the ASC encoded modes browser. No problems.

3. Brought string to stack, and ran ASC->    No problems.

4. Stored it in the name MODES. 


     Here's where things get interesting. If I invoke MODES by pressing
the menu key, everything seems fine. However, if I invoke the browser
by typing out that name, and then I change the state of the clock flag,
when I press on/attn to exit the little hourglass appears and never
goes away. ON-C time. Everything's normal. I try going back into MODES by
pressing the menu key, and modify the clock flag, and it works fine.
I try again by typing out the name, and when I modify the clock flag,
it locks up again on exit.
     So, I then copied the program to a new name, AA. When I start the
browser by pressing AA and modify the clock flag, it's fine. When I
type out AA and modify the clock flag, when I exit, my menu line gets
trashed (static type garbage), I get Insufficient memory error (when I
actually have 127k free), and then the machine runs REAL slow, like
someone cranked down the clock speed. ON-C time again. This appears
to straighten everything out. I try this test one more time, and
the last time, the screen flashed, blanked out, and system-halted
by itself. Me-thinks it's time to restore my machine from that
prudent backup I made.
     I have a 128k card in port 0  (The hp variety)
and an EQ library card in port 1.

Any ideas?

peraino@gmuvax.gmu.edu

billw@hpcvra.cv.hp.com. (William C Wickes) (02/08/91)

One of Murphy's lesser-known laws is that when you have an old, faulty
version of software, and think you have purged all copies thereof, one
will remain somewhere.  Furthermore, when you post that software for
others to use, it is the old, faulty version that gets posted.  @#$%@#$!@ !!!

What follows is (I hope) the correct version of the modes browser. 

I apologize for the screw-up.  I don't recall that the old version actually
corrupted memory, but then I also thought I had posted the correct version.

Bill Wickes

                     ***********************

Below is the code for modes browser I demonstrated at the Philly meeting.
Executing this object creates an interactive modes display that
displays most HP-48 flag-controlled modes and their current states.  The
display shows seven modes at a time, with a pointer in the leftmost
column that "selects" one mode and moves through the catalog.  You
can move the selection pointer with the arrow keys, or by pressing
one of the menu keys

               MATH   PLOT   I/O   TIME   DISP   SYS

each of whichs jumps to a block of modes related to the key label.

Other keys are defined as follows:

    [down-arrow]   Moves the pointer to the next mode.

    [up-arrow]     Moves the pointer to the previous mode.

    [left][down] Moves the pointer down one page.

    [right][down] Moves the pointer to the last entry.

    [left][up] Moves the pointer up one page.

    [right][up] Moves the pointer to the first entry.

    [ENTER] Enters the (first) flag number of the selected mode, tagged with
	    the mode name (visible when you exit the browser).

    [+/-]    Toggles the selected mode to its next state.

    [right][OFF] Turns the 48 off.

    [ATTN]  Exits the browser.

After downloading the string to your HP 48, use ASC-> to create the executable
object.

%%HP: T(3)A(R)F(.);
"D9D20E1A81CB983E5E40D9D2079E60D9D2000D1155621FEF307E316476269761
1B213047A20C2A20F1000052796E636E2026516C65756379FF309FF30C2A20D1
0003597D626E20234F6E63747E2119202010030040C2A20F1000E457D6562796
3602546716C6E2D0040D0040C2A207100055E646562766C6F677D9D207B04048
7358DA16C2A20F0000542727F627C2A20D0000A55627F6B21307B040C2A20510
00F467562766C6F677D9D201C040487358DA16C2A20F0000542727F627C2A20D
0000D4148525B21301C040C2A20B100094E666E20225563757C647D9D20BC040
487358DA16C2A20D0000D4148525C2A20F0000542727F627B2130BC040C2A209
1000452796760214E676C656D9D2099040487358DA16C2A20310002516469616
E637D9D203A040487358DA16C2A20F00007427164637C2A20310004456762756
5637B2130B2130D9D2099040487358DA16D9D203A040167359904016735B2130
D9D203A040487358DA16D9D2099040137353A04016735B2130D9D203A0401373
5B2130B2130B2130C2A20B100097D3668287920205C6F647D9D20B1140487358
DA16C2A203100097C20266828792C2A20D000066828792B2130B1140C2A20910
0005C6F647023657276756D9D2052140487358DA16C2A2031000E4F6026496C6
C6C2A20D00006496C6C6B213052140C2A201100034572737F627D9D20F214048
7358DA16C2A20B000085F425C2A2090000F425B2130F2140C2A201100094F2F4
0247F6D9D2093140487358DA16C2A20B000094F225C2A20110003556279616C6
B213093140C2A2051000052796E6470247F6D9D2034140487358DA16C2A20110
003556279616C6C2A20B000094F225B213034140C2A2051000452716E6376656
27D9D20D4140487358DA16C2A20110002496E6162797C2A20F00001435349494
B2130D4140C2A20D10002554346502255607C61636567514075140C2A20F1000
052796E6475627023507163656D9D2016140487358DA16C2A201100044F65726
C656C2A20110003596E676C656B213016140C2A2051000C496E65666565646D9
D20B6140487358DA16C2A2011000D416E65716C6C2A20D0000145747F6B2130B
6140C2A20D1000155796564702B45627D696475714057140C2A20F000034C6F6
36B6F7140F7140C2A20310002343D284F657279814098140C2A20B1000441647
560264F627D61647D9D2039140487358DA16C2A20B000044D495C2A20B0000D4
4495B213039140C2A20910002556373686564657C65611920B2100D9140C2A20
91000F4C6460214C61627D637D9D2021B46487358DA16C2A20D000035166756C
2A203100044963736162746B213021B46C2A209100014C61627D602265656071
19209310049B46C2A20F100034F6F62746E2023597374756D6D9D20F80404873
58DA16D9D2058040487358DA16C2A20F00003507865627C2A20310003497C696
E64627B2130C2A20D000025563647B2130D9D20F8040487358DA16D9D2058040
487358DA16D9D205804016735F804016735B2130D9D205804013735B2130B213
0D9D20F8040137355804016735B2130B2130C2A209100005275636564656E636
56C6B46C6B46C2A20F1000642716364796F6E602D41627B6D9D2085B46487358
DA16C2A2070000C2C2A2070000E2B213085B46C2A2031000C4566756C60213D9
D2026B46487358DA16C2A20110001302C496E656C2A20F0000D457C64796B213
026B46C2A20310000527F6D607473711920A3100E9B46C2A203100034164716C
6F676D9D208AB46487358DA16C2A20D000064163747C2A20D000035C6F677B21
308AB46C2A20900002344D9D20DA040487358DA16C2A203100034F6D607C6568
7C2A201100065563647F627B2130DA040C2A2031000C41435451425741192073
10008B46C2A2091000542727F62702265656071192083100A8B46C2A2011000C
802C4F636B6D9D202BB46487358DA16C2A20D0000F4E63656C2A20F000045779
63656B21302BB46C2A20710005535542502C4F636B6D9D20CBB46487358DA16C
2A20D0000F4E63656C2A20F00004577963656B2130CBB46C2A20710005535542
502D6F646566CB466CB46C2A2011000C854E44554250DB460DB46B2130B05367
9E60D9D20881307E31691D30CB916D9D20C2A207000068C8416E8F60B2130C74
166B31604736D00402CE30FED30CA130C9B26C2A20B100002020202020202020
20202391509FF30B70403375000D1155621B2040E52164762697611FED30C9B2
6A21268DA16D9D201192000100CA1301BE36D9D200ED30487352FA30B2130D9D
204423048735B21308DA16C2A2090000F4E6C2A20B0000F46666B2130E8F60C2
A2011000020202020202391509FF30530403375000D115562111920A5000BBF0
64762697611B213079E60D9D2045256C8416E8F600E51618A3052616FEF300F5
16B2130CF14662D2588130F12500D47079E60D9D20C5416CB916D9D20530403C
3701227083416E8F60433708E1A30CA3052616B2130B213079E60D9D209FF303
D816D9D2078636A6536D5040B1FF3D9D208870488E04D5040D9D207E31698E36
D9D206B316698161DDF345256C8416E8F606B316E0E300E516CCD20240008FB9
7608082450000D83401100D3C3CD5BF1FB5507147D534410008DE2B21FEF3083
416E8F60B2130D9D2045256C8416E8F607E316E0E30881300F51683416E8F60B
2130B2130B213099040B1FF3D9D208870488E0499040D9D207E316B2040D2C26
D9D206B31611140C68161DDF345256C8416E8F606B316FED300E516CCD209300
08FB9760D2305DA1BB5507146D53441000C913434421008DC3A21B204083416E
8F60B2130D9D2045256C8416E8F607E316FED30881300F51683416E8F60B2130
B2130B21303F040B1FF3D9D2088704C74166B3167E316CBD30D00402CE30A652
6C9B26A21268DA162ADE3E8F607E31683416E8F60B21309E040B1FF3D9D20887
04C74166B3167E316CBD30D00402CE30CA130D2E30C9B267E126CB9169805011
92000100CA1301BE360ED3044230FBD81029A2CAF06FED30C9B265F52251A81B
2130C1B46B1FF3D9D208870418A3053616B2130D414074536F71407453644230
21EF3B2130300403D816D9D20D5040B1FF3D9D20887046B316698161DDF36B31
653040D9E36FEF30D9D206B316530400ED30B21300E51618A305261645256C84
16E8F60B213099040B1FF3D9D20887046B31611140C68161DDF36B31653040CB
D3011140AB4260E51618A305261645256C8416E8F60B2130D414074536F71407
45364423021EF3B2130D00403D816D9D20D5040B1FF3D9D2088704FEF30E0416
E8F60B213099040B1FF3D9D208870411140E0416E8F60B20400F516B2130D414
074536C1B4674536F7140745364423021EF3B21308523021EF3B2130DEBB079E
60D9D2047A2047A20C2A20D0000D4144584FEF30B213047A20C2A20D000005C4
F44553040B213047A20C2A20D000094F2F40235040B213047A20C2A20D000045
94D45499040B213047A20C2A20D0000449435055D040B213047A20C2A20D0000
3595350211140B2130B213079E60D9D20E0416E8F60B2130E00F3B2130335367
9E60C641655136875A31359346A83BEA8379470B21308BE4077B8309B8344193
B2130E2B4"

akcs.wilsonpm@hpcvbbs.UUCP (Pete M. Wilson) (02/10/91)

For reasons I'm not sure I understand, I am unable to receive this on the
HP BBS without it trashing a line in the middle of the ascii listing (!).
I have the pager turned on. Can this be reposted, or is there something I
can do to prevent it
Thanks
 Pete