Article 5143 of comp.sys.handhelds: Path: wuarchive!uunet!tut.cis.ohio-state.edu!snorkelwacker.mit.edu!ai-lab!rice-chex!bson From: bson@rice-chex.ai.mit.edu (Jan Brittenson) Newsgroups: comp.sys.handhelds Subject: HP-48 Constants Message-ID: <12623@life.ai.mit.edu> Date: 5 Jan 91 23:03:15 GMT Sender: news@ai.mit.edu Organization: nil Lines: 533 Thanks Jake for forwarding the internals. I noticed a certain lack of constants - here's whatever I have found. Is someone else active disassembling the Alarm catalog browser? If so, please send me e-mail, this is hairy stuff and any and all help is appreciated! Specifically, I'm interested in what the meaning is of the vectors and what it expects on the stack. Also, I'm working on the representation/handling of the internal menus. If you think there's something to be contributed, please send me mail! Notice that the Menu_xxxx stuff below are of the internal format of these menus. They are lists like the CST menu, but contain some special stuff, the most nostable of which is that the first element (string/grob in CST) is evaluated, and is expected to return a GROB which is then used as a label. (Which explains how the little check squares come and go.) I think it's important for us to be able to take full advantage of this - the possibilities are endless! Try SYSEVALing these addresses to see what they look like. I will post more on both of these topics when I know anything more substantial. Happy hacking, -- Jan Brittenson bson@ai.mit.edu O / \/ /\ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ O \ 211b4:Global_CST 'CST' 52d26:List_of_4_locals { '' '' '' '' } 54624:Local_fcls 'fcls' 5460e:Local_tcls 'tcls' 23754:Locals_noname_stop { ''noname' ''stop' } 549db:Local_dvar 'dvar' 409df:Global_betaENTER 3a337:Grob_lineseg Line segment - line above menu entry 3a399:Grob_lineseg_square Same, but with check square 3a45d:Grob_inverse_menu Solver-type menu box 3a3fb:Grob_dot_space_lineseg 2a4b1:"Real_-1E-499" -1e-499 2a49c:"Real_1E-499" 1e-499 2a487:"Real_-9.99999999999E499" 2a472:Real_9.99999999999E499 650d2:"Real_-5E-99" 650bd:"Real_5E-99" 2a443:Real_3.14159265359 650a8:Real_2.71828182846 2a42e:"Real_-9" -9 2a419:"Real_-8" -8 2a404:"Real_-7" -7 2a3ef:"Real_-6" -6 2a3da:"Real_-5" -5 2a3c5:"Real_-4" -4 2a3b0:"Real_-3" -3 2a39b:"Real_-2" -2 2a386:"Real_-1" -1 6513b:Real_400 GRAD circle 65126:Real_360 DEG circle 65111:Real_200 GRAD half-circle 650fc:Real_180 DEG half-circle f042:Real_4954521600 Ticks per week f02d:Real_707788800 Ticks per day f018:Real_29491200 Ticks per hour f003:Real_491520 Ticks per minute efee:Real_8192 Ticks per second 1cd8d:Real_27 1cd73:Real_26 1cd20:Real_25 1cd01:Real_24 1cce2:Real_23 1ccc3:Real_22 1cca4:Real_21 1cc6b:Real_20 1ce07:Real_19 1cdf2:Real_18 1cd54:Real_17 1cd3a:Real_16 1cc85:Real_15 1cc51:Real_14 1cc37:Real_13 1cc1d:Real_12 1cc03:Real_11 650e7:Real_10 2a371:Real_9 2a35c:Real_8 2a347:Real_7 2a332:Real_6 2a31d:Real_5 2a308:Real_4 2a2f3:Real_3 2a2de:Real_2 2a2c9:Real_1 2a2b4:Real_0 65414:Short_72fe6h <72fe6h> 6540a:Short_72281h <72281h> 65400:Short_7260ah <7260ah> 653f6:Short_7232ch <7232ch> 653ec:Short_736f9h <736f9h> 653e2:Short_72f1eh <72f1eh> 653d8:Short_72dcfh <72dcfh> 653ce:Short_72704h <72704h> 653c4:Short_726a5h <726a5h> 1f038:Short_7dda4h <7dda4h> 1f02e:Short_7d8eah <7d8eah> 1f024:Short_7d9dfh <7d9dfh> 1a494:Short_7dddbh <7dddbh> 1a48a:Short_7dac5h <7dac5h> 5176:Short_fffffh 41125:Short_ffffbh 65094:Short__RAM_base <70000h> 6508a:Short_e00h 65080:Short_dffh 1e460:Short_c5ch 1c87a:Short_c55h 1e47e:Short_c2ch 1c889:Short_c22h 65076:Short_c0bh 6506c:Short_c0ah 65062:Short_c08h 65058:Short_c07h 6504e:Short_c06h 65044:Short_aaah 6503a:Short_aa2h 65030:Short_aa1h 65026:Short_a6eh 6501c:Short_a65h 65012:Short_a62h 65008:Short_a61h 64ffe:Short_a2ah 64ff4:Short_a22h 64fea:Short_a21h 64fe0:Short_a1ah 64fd6:Short_a12h 64fcc:Short_a11h 64fc2:Short_a03h 64fb8:Short_86eh <86eh> 64fae:Short_865h <865h> 64fa4:Short_862h <862h> 64f9a:Short_861h <861h> 1e49c:Short_85ch <85ch> 1c898:Short_855h <855h> 1e4ba:Short_82ch <82ch> 1c8a7:Short_822h <822h> 64f90:Short_700h <700h> 64f86:Short_650h <650h> 64f7c:Short_610h <610h> 64f72:Short_550h <550h> 1c93f:Short_515h <515h> 64f68=Short_511h <511h> 64f5e:Short_510h <510h> 64f54:Short_452h <452h> 64f4a:Short_451h <451h> 64f40:Short_444h <444h> 64f36:Short_412h <412h> 64f2c:Short_411h <411h> 1c930:Short_313h <313h> 64f22=Short_311h <311h> 64f18=Short_205h <205h> 64f0e:Short_200h <200h> 64f04:Short_151h <151h> 64efa:Short_13eh <13eh> 64ef0:Short_13dh <13dh> 64ee6:Short_13bh <13bh> 64edc:Short_13ah <13ah> 64ed2:Short_139h <139h> 64ec8:Short_138h <138h> 64ebe:Short_137h <137h> 64eb4:Short_136h <136h> 64eaa:Short_135h <135h> 64ea0:Short_134h <134h> 64e96:Short_133h <133h> 64e8c:Short_132h <132h> 64e82:Short_131h <131h> 64e78:Short_124h <124h> 64e6e:Short_123h <123h> 64e64:Short_111h <111h> 64e5a:Short_110h <110h> 64e50:Short_107h <107h> 64e46:Short_106h <106h> 64e3c:Short_102h <102h> 64e32:Short_100h <100h> 64e28:Short_ffh 64e1e:Short_fdh 64e14:Short_f0h 64e0a=Short_eeh 64e00:Short_eah 64df6:Short_e1h 64dec:Short_d0h 64de2:Short_cch 64dd8:Short_c0h 64dce:Short_bbh 64dc4:Short_b1h 1cd69:Short_afh 64dba:Short_aeh 64db0:Short_aah 64da6:Short_a9h 64d9c:Short_a7h 64d92:Short_a6h 64d88:Short_a5h 64d7e:Short_a2h 64d74:Short_a1h 64d6a:Short_a0h 64d60:Short_9fh <9fh> 64d56:Short_9eh <9eh> 64d4c:Short_9ah <9ah> 64d42:Short_92h <92h> 64d38:Short_91h <91h> 64d2e:Short_8fh <8fh> 64d24:Short_83h <83h> 64d1a:Short_82h <82h> 64d10:Short_80h <80h> 1cd16:Short_7fh <7fh> 64d06:Short_7ah <7ah> 64cfc:Short_75h <75h> 64cf2:Short_74h <74h> 64ce8:Short_73h <73h> 64cde:Short_72h <72h> 64cd4:Short_71h <71h> 64cca:Short_70h <70h> 1ccf7:Short_6fh <6fh> 64cb6:Short_65h <65h> 64cac:Short_64h <64h> 64ca2:Short_62h <62h> 64c98:Short_61h <61h> 64c8e:Short_60h <60h> 1ccd8:Short_5fh <5fh> 64c84:Short_5bh <5bh> 64c7a:Short_57h <57h> 64c70:Short_56h <56h> 64c66:Short_55h <55h> 64c5c:Short_54h <54h> 64c52:Short_53h <53h> 64c48:Short_52h <52h> 64c3e:Short_51h <51h> 64c34:Short_50h <50h> 1ccb9:Short_4fh <4fh> 64c20:Short_4ah <4ah> 64c16:Short_46h <46h> 64c0c:Short_45h <45h> 64c02:Short_44h <44h> 64bf8:Short_43h <43h> 64bee:Short_42h <42h> 64be4:Short_41h <41h> 64bda:Short_40h <40h> 64bd0:Short_3fh <3fh> 64bc6:Short_3eh <3eh> 64bbc:Short_3dh <3dh> 64bb2:Short_3ch <3ch> 64ba8:Short_3bh <3bh> 64b9e:Short_3ah <3ah> 64b94:Short_39h <39h> 64b8a:Short_38h <38h> 64b80=Short_37h <37h> 64b76:Short_36h <36h> 64b6c:Short_35h <35h> 64b62:Short_34h <34h> 64b58=Short_33h <33h> 64b4e:Short_32h <32h> 64b44:Short_31h <31h> 64b3a=Short_30h <30h> 64b30:Short_2fh <2fh> 64b26:Short_2eh <2eh> 64b1c=Short_2dh <2dh> 64b12:Short_2ch <2ch> 419d:Short_2bh <2bh> 4193=Short_2ah <2ah> 4189:Short_29h <29h> 417f:Short_28h <28h> 4175:Short_27h <27h> 416b:Short_26h <26h> 4161:Short_25h <25h> 4157:Short_24h <24h> 414d:Short_23h <23h> 4143=Short_22h <22h> 4139=Short_21h <21h> 412f:Short_20h <20h> 4125:Short_1fh <1fh> 411b=Short_1eh <1eh> 4111:Short_1dh <1dh> 4107:Short_1ch <1ch> 40fd=Short_1bh <1bh> 40f3=Short_1ah <1ah> 40e9:Short_19h <19h> 40df:Short_18h <18h> 40d5:Short_17h <17h> 40cb:Short_16h <16h> 40c1:Short_15h <15h> 40b7:Short_14h <14h> 40ad:Short_13h <13h> 40a3=Short_12h <12h> 4099=Short_11h <11h> 408f:Short_10h <10h> 4085:Short_0fh <0fh> 407b=Short_0eh <0eh> 4071:Short_0dh <0dh> 4067:Short_0ch <0ch> 405d=Short_0bh <0bh> 4053=Short_0ah <0ah> 4049:Short_9 <9> 403f:Short_8 <8> 4035=Short_7 <7> 402b=Short_6 <6> 4021=Short_5 <5> 4017=Short_4 <4> 400d=Short_3 <3> 4003=Short_2 <2> 3ff9:Short_1 <1> 3fef:Short_0 <0> 3fe5:Short__type_Unit 3fdb:Short__type_LReal 3fd1:Short__type_Lname 3fc7:Short__type_Directory 3fbd:Short__type_Algebraic 3fb3:Short__type_Program 3fa9:Short__type_Gname 3f9f:Short__type_List 3f95:Short__type_Complex 3f8b:Short__type_Real 1f00e:Binary_1234250h 1a471:Binary_526260410 1a9f9:Binary_0108 1acfb:Binary_0108 55d5:Binary_null Template for Binaries 55f3:Alg_empty Template for Algebraics 55e9:List_empty Template for Lists (empty list) 55df:String_null Template for Strings 505b2:GROB_null Template for GROBs 526ae:Complex_0_m1 (0, -1) 5267f:Complex_0_1 (0, 1) 2a596:Long_10 2a57c:Long_0.5 2a562:Long_0.1 2a548:Long_5 2a52e:Long_4 2a514:Long_3 2a4fa:Long_2 2a4e0:Long_1 2a4c6:Long_0 2a458:Long_3.14159265358979 653b8:String_9 "9" 653ac:String_8 "8" 653a0:String_7 "7" 65394:String_6 "6" 65388:String_5 "5" 6537c:String_4 "4" 65370:String_3 "3" 65364:String_2 "2" 65358:String_1 "1" 6534c:String_0 "0" 15442:"String_': '" ": " 6533e:"String_C$" "C$" 6532c:String_GROB "GROB" 65320:"String_'\210'" 65314:"String_'\203'" 65308:"String_'='" "=" 652fc:"String_'-'" "-" 652f0:"String_'+'" "+" 652e4:"String_'/'" "/" 652d8:"String_'*'" "*" 652cc:"String_'^'" "^" 652c0:"String_')'" ")" 652b4:"String_'('" ")" 652a8:"String_';'" ";" 6529c:"String_'.'" "." 65290:"String_','" "," 65284:"String_'''" "'" 65278:"String_'"'" "\"" 65260:String_UNKNOWN "UNKNOWN" 65254:String_1_blank " " 65244:String_der "der" 65238:"String_'\012'" LF 65212:String_14_blanks " " 65206:"String_'|'" "|" 651fa:"String_'\205'" 651ee:"String_'\200'" 651e2:"String_E" "E" 651d6:"String_'\253'" 651ca:"String_'\273'" 651be:"String_'\033'" 651b2:"String_'&'" "&" 651a6:"String_'$'" "$" 6519a:"String_'_'" "_" 6518e:"String_'#'" "#" 65182:"String_'}'" "}" 65176:"String_'{'" "{" 6516a:"String_'['" "[" 6515c:"String_'[ '" "[ " 65150:"String_']'" "]" 657a7:String_GRAD "GRAD" 65797:String_RAD "RAD" 6577b:String_Undefined "Undefined" 65769:String_EXIT "EXIT" 65757:String_ECHO "ECHO" 65749:"String_'""'" "\"\"" 6573b:"String_'()'" "()" 6572d:"String_'::'" "::" 6571f:"String_''''" "''" 65711:"String_'[]'" "[]" 65703:"String_'{}'" "{}" 656f5:"String_'\253\273'" 656e5:String_XYZ "XYZ" 656d5:"String_'R\200Z'" 656c5:"String_'R\200\200'" 656be:Char_213 656b7:Char_212 656b0:Char_211 656a9:Char_RAngBracket > 656a2:Char_LAngBracket < 6569b:Char_RBracket ] 65694:Char_LBracket [ 6568d:Char__ _ 65686:Char_space 6567f:Char_205 65678:"Char_RParen ) 65663:"Char_LParen ( 65671:Char_207 6566a:Char_012 LF 6565c:Char_204 65655:Char_210 6564e:Char_200 65647:Char_273 65640:Char_253 65639:Char_215 65632:Char_z 6562b:Char_y 65624:Char_x 6561d:Char_w 65616:Char_v 6560f:Char_u 65608:Char_t 65601:Char_s 655fa:Char_r 655f3:Char_q 655ec:Char_p 655e5:Char_o 655de:Char_n 655d7:Char_m 655d0:Char_l 655c9:Char_k 655c2:Char_j 655bb:Char_i 655b4:Char_h 655ad:Char_g 655a6:Char_f 6559f:Char_e 65598:Char_d 65591:Char_c 6558a:Char_b 65583:Char_a 6557c:Char_Z 65575:Char_Y 6556e:Char_X 65567:Char_W 65560:Char_V 65559:Char_U 65552:Char_T 6554b:Char_S 65544:Char_R 6553d:Char_Q 65536:Char_P 6552f:Char_O 65528:Char_N 65521:Char_M 6551a:Char_L 65513:Char_K 6550c:Char_J 65505:Char_I 654fe:Char_H 654f7:Char_G 654f0:Char_F 654e9:Char_E 654e2:Char_D 654db:Char_C 654d4:Char_B 654cd:Char_A 654c6:Char_rightAngle 654bf:Char_equal 654b8:Char_leftAngle 654b1:Char_semicolon 654aa:Char_colon 654a3:Char_9 6549c:Char_8 65495:Char_7 6548e:Char_6 65487:Char_5 65480:Char_4 65479:Char_3 65472:Char_2 6546b:Char_1 65464:Char_0 6545d:Char_div / 65456:Char_period . 6544f:Char_sub - 65448:Char_comma , 65441:Char_add + 6543a:Char_mul * 65433:Char_hash # 6542c:Char_double_quote " 65425:Char_037 6541e:Char_000 NUL 3b293:Menu_Math Internal-format MTH menu 3b36c:Menu_Math_Parts MTH PARTS menu 3b3e4:Menu_Math_Prob MTH PROB menu 3b420:Menu_Math_Hyp MTH HYP menu 3b452:Menu_Math_Matrx MTH MATRX menu 3b489:Menu_Math_Vectr MTH VECTR menu 3b4ca:Menu_Math_Base MTH BASE menu 3e71a=Menu_IO_Setup IO SETUP menu 3bb46:Menu_Modes MODES menu 3bd46:Menu_blue_Memory [blue] MEMORY menu 3c039:Menu_Plot_Ptype PLOT PTYPE menu