Post Reply 
Hide soft menus?
08-14-2016, 01:34 PM
Post: #15
RE: Hide soft menus?
(08-14-2016 05:55 AM)JDW Wrote:  David, I typed in the following code on my 48GX:

Code:

<<
   #21d #8d BLANK "" 2 →LIST
   DUP DUP DUP DUP DUP
   6 →LIST
   TMENU
>>

(To input that right-arrow to the left of LIST, I pressed the blue/green right-shift key followed by the 0 key.)

When I pressed ENTER the 21 and 8 decimal values changed to binary (10101b and 1000b).

The 21 and 8 values changed because your current base display mode is set to binary. The values compiled into your program are still the same, they are simply being displayed using base 2 instead of base 10 (or hex, or octal).

(08-14-2016 05:55 AM)JDW Wrote:  I then saved it as "MENu" using STO and then tapped that new softmenu to run it, but that results in the following error:

Code:

→LIST Error:
Too Few Arguments
{ Graphic 21 x 8 "" }
{ Graphic 21 x 8 "" }
{ Graphic 21 x 8 "" }
6

Please advise.

My first guess is that you may have missed a DUP (there should be 5 of them). The evidence would suggest that there are less than 6 of the '{ Graphic 21 x 8 "" }' objects on the stack at that point in the running code, which shouldn't have happened if all the DUPs are in place.

I don't have a 48GX to test this on, but I have successfully run the code as supplied on both a 48SX and 50g with no problems. It also ran on an emulated 48GX without issue, so I'd look for a typo as the culprit.

(08-14-2016 07:19 AM)JDW Wrote:  Accutron,

Thank you for the specifics. I have the newest "R" revision ROM in my 48GX, ...

The menus flickered off and back on in perhaps 100ms. They didn't stay off.

I then tried #4E347h, but with the menus already showing that did nothing at all.

Looks like a no-go.

That's exactly what should have happened. TURNMENUOFF only works within the context of a running SysRPL program; the menu disappears, and the ABUFF "text grob" is expanded into that area for your program to be able to draw into it as a contiguous part of the screen. All of that is reset as soon as the program stops, however. At your program's conclusion, the calculator's normal stack display is resumed.

Attempting to use that area for stack display for normal calculator operations really is a no-go. The 48-50 series systems don't provide any built-in support for that, and you'd really have to hack the system to get that to work.

Also, please be aware that the SYSEVAL command is potentially very dangerous. You are essentially telling your calculator to start running whatever code happens to be at a specific memory address, which it will do without consideration for what's there. Data loss and corruption can result if you supply an address that isn't what you originally intended (such as what happens when you use an address meant for a different platform). It sounds like you may have run into this situation. If you plan on using that command, make frequent backups and be prepared to restore your calculator after problems occur.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Hide soft menus? - JDW - 08-12-2016, 09:41 AM
RE: Hide soft menus? - Accutron - 08-12-2016, 01:10 PM
RE: Hide soft menus? - DavidM - 08-12-2016, 08:27 PM
RE: Hide soft menus? - JDW - 08-12-2016, 11:36 PM
RE: Hide soft menus? - Claudio L. - 08-13-2016, 12:44 AM
RE: Hide soft menus? - DavidM - 08-13-2016, 01:07 AM
RE: Hide soft menus? - BartDB - 08-15-2016, 04:02 PM
RE: Hide soft menus? - Logan - 08-12-2016, 01:52 PM
RE: Hide soft menus? - Accutron - 08-13-2016, 12:41 AM
RE: Hide soft menus? - JDW - 08-14-2016, 05:55 AM
RE: Hide soft menus? - Accutron - 08-14-2016, 06:39 AM
RE: Hide soft menus? - JDW - 08-14-2016, 07:19 AM
RE: Hide soft menus? - RMollov - 08-14-2016, 10:32 AM
RE: Hide soft menus? - DavidM - 08-14-2016 01:34 PM
RE: Hide soft menus? - JDW - 08-14-2016, 02:13 PM
RE: Hide soft menus? - DavidM - 08-14-2016, 02:44 PM
RE: Hide soft menus? - JDW - 08-14-2016, 03:03 PM
RE: Hide soft menus? - JDW - 08-14-2016, 11:19 AM
RE: Hide soft menus? - JDW - 08-15-2016, 10:51 PM
RE: Hide soft menus? - Lithium - 08-18-2016, 05:32 AM
RE: Hide soft menus? - Software49g - 08-28-2016, 05:13 PM
RE: Hide soft menus? - JDW - 08-29-2016, 12:20 AM
RE: Hide soft menus? - DavidM - 11-17-2016, 08:43 PM
RE: Hide soft menus? - Software49g - 11-17-2016, 11:46 PM
RE: Hide soft menus? - DavidM - 11-18-2016, 10:11 PM
RE: Hide soft menus? - Software49g - 11-20-2016, 07:33 AM
RE: Hide soft menus? - DavidM - 11-20-2016, 05:54 PM
RE: Hide soft menus? - JDW - 12-01-2016, 02:39 AM
RE: Hide soft menus? - Software49g - 12-06-2016, 01:41 PM
RE: Hide soft menus? - Software49g - 12-06-2016, 02:28 PM
RE: Hide soft menus? - DavidM - 12-08-2016, 02:30 AM
RE: Hide soft menus? - JDW - 12-09-2016, 01:12 AM
RE: Hide soft menus? - Joe Horn - 12-09-2016, 04:44 AM
RE: Hide soft menus? - rprosperi - 12-10-2016, 01:25 AM
RE: Hide soft menus? - DavidM - 12-10-2016, 02:39 AM
RE: Hide soft menus? - Software49g - 12-09-2016, 08:36 PM
RE: Hide soft menus? - JDW - 12-09-2016, 11:50 PM
RE: Hide soft menus? - JDW - 12-10-2016, 02:00 AM
RE: Hide soft menus? - DavidM - 12-10-2016, 02:14 AM
RE: Hide soft menus? - JDW - 12-10-2016, 02:35 AM
RE: Hide soft menus? - rprosperi - 12-10-2016, 03:09 PM
RE: Hide soft menus? - Software49g - 12-10-2016, 10:02 AM
RE: Hide soft menus? - JDW - 12-10-2016, 11:31 AM
RE: Hide soft menus? - matthiaspaul - 12-10-2016, 10:59 PM
RE: Hide soft menus? - Software49g - 12-10-2016, 10:08 PM
RE: Hide soft menus? - Software49g - 12-10-2016, 11:12 PM
RE: Hide soft menus? - JDW - 12-10-2016, 11:22 PM
RE: Hide soft menus? - DavidM - 12-11-2016, 12:42 AM
RE: Hide soft menus? - BartDB - 01-12-2017, 01:15 PM
RE: Hide soft menus? - DavidM - 01-12-2017, 03:55 PM
RE: Hide soft menus? - Software49g - 12-10-2016, 11:46 PM
RE: Hide soft menus? - Software49g - 01-12-2017, 09:51 AM
RE: Hide soft menus? - BartDB - 01-24-2017, 12:55 PM
RE: Hide soft menus? - Software49g - 01-24-2017, 03:48 PM
RE: Hide soft menus? - BartDB - 01-24-2017, 04:17 PM
RE: Hide soft menus? - JDW - 01-27-2017, 08:03 AM
RE: Hide soft menus? - DavidM - 01-28-2017, 01:41 PM
RE: Hide soft menus? - Software49g - 01-27-2017, 02:09 PM
RE: Hide soft menus? - JDW - 01-28-2017, 01:55 AM
RE: Hide soft menus? - Software49g - 01-29-2017, 07:30 PM
RE: Hide soft menus? - JDW - 01-30-2017, 12:06 AM
RE: Hide soft menus? - JDW - 08-28-2017, 12:12 AM
RE: Hide soft menus? - Software49g - 08-28-2017, 06:14 PM
RE: Hide soft menus? - pier4r - 08-28-2017, 06:51 PM
RE: Hide soft menus? - Software49g - 08-28-2017, 07:05 PM
RE: Hide soft menus? - Software49g - 09-21-2017, 03:25 PM
RE: Hide soft menus? - Software49g - 09-30-2017, 12:08 AM
RE: Hide soft menus? - JDW - 10-21-2017, 02:56 AM
RE: Hide soft menus? - franz.b - 09-30-2017, 03:16 PM
RE: Hide soft menus? - Software49g - 10-03-2017, 10:25 AM
RE: Hide soft menus? - Software49g - 10-26-2017, 10:11 AM
RE: Hide soft menus? - Mark Hardman - 10-27-2017, 11:13 PM
RE: Hide soft menus? - brickviking - 10-28-2017, 10:15 AM
RE: Hide soft menus? - Software49g - 10-29-2017, 10:50 PM
RE: Hide soft menus? - Mark Hardman - 10-30-2017, 01:08 AM



User(s) browsing this thread: 2 Guest(s)