├── RACK42-001.pgm ├── RACK42-002.pgm ├── examples ├── DEQ.s ├── STAT.s ├── SUM.s ├── AP_NAV.s ├── Area =.s ├── CHART.s ├── LOGIC.s ├── LinInt.s ├── MATRIX.s ├── CALCULUS.s ├── rack42help.bmp ├── print.txt ├── TEXT.txt ├── DRAW.d └── rack42help.htm ├── offimg └── DM42_OFF.bmp ├── LICENSE └── README.md /RACK42-001.pgm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zooxo/rack42/HEAD/RACK42-001.pgm -------------------------------------------------------------------------------- /RACK42-002.pgm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zooxo/rack42/HEAD/RACK42-002.pgm -------------------------------------------------------------------------------- /examples/DEQ.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zooxo/rack42/HEAD/examples/DEQ.s -------------------------------------------------------------------------------- /examples/STAT.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zooxo/rack42/HEAD/examples/STAT.s -------------------------------------------------------------------------------- /examples/SUM.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zooxo/rack42/HEAD/examples/SUM.s -------------------------------------------------------------------------------- /examples/AP_NAV.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zooxo/rack42/HEAD/examples/AP_NAV.s -------------------------------------------------------------------------------- /examples/Area =.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zooxo/rack42/HEAD/examples/Area =.s -------------------------------------------------------------------------------- /examples/CHART.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zooxo/rack42/HEAD/examples/CHART.s -------------------------------------------------------------------------------- /examples/LOGIC.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zooxo/rack42/HEAD/examples/LOGIC.s -------------------------------------------------------------------------------- /examples/LinInt.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zooxo/rack42/HEAD/examples/LinInt.s -------------------------------------------------------------------------------- /examples/MATRIX.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zooxo/rack42/HEAD/examples/MATRIX.s -------------------------------------------------------------------------------- /examples/CALCULUS.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zooxo/rack42/HEAD/examples/CALCULUS.s -------------------------------------------------------------------------------- /offimg/DM42_OFF.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zooxo/rack42/HEAD/offimg/DM42_OFF.bmp -------------------------------------------------------------------------------- /examples/rack42help.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zooxo/rack42/HEAD/examples/rack42help.bmp -------------------------------------------------------------------------------- /examples/print.txt: -------------------------------------------------------------------------------- 1 | F | ++++++ ______ 2 | N | ++ + /| | 3 | - |+ + / | SINE | 4 | P +-----------+--|______|-+- 5 | L | ++ + 6 | O | + + 7 | T | ++++++ 8 | -------------------------------------------------------------------------------- /examples/TEXT.txt: -------------------------------------------------------------------------------- 1 | Title of this Document 2 | 3 | # Header1 - Intro 4 | This Text uses the markdown language to prepare the text for reading with a html browser. 5 | The first line provides the document title. 6 | The first characters in a line decide if the line is interpreted as header or bullet point. 7 | 8 | ## Header2 - 3 Headers 9 | * # ... Starts header1 10 | * ## .. Starts header2 11 | * ### . Starts header3 12 | 13 | ### Header3 - Lists 14 | - Bullet points can be "*" 15 | - Bullet points can be "-" 16 | -------------------------------------------------------------------------------- /examples/DRAW.d: -------------------------------------------------------------------------------- 1 | ||FN-PLOT --SINE/- -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | BSD 3-Clause License 2 | 3 | Copyright (c) 2022, deetee 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions are met: 8 | 9 | 1. Redistributions of source code must retain the above copyright notice, this 10 | list of conditions and the following disclaimer. 11 | 12 | 2. Redistributions in binary form must reproduce the above copyright notice, 13 | this list of conditions and the following disclaimer in the documentation 14 | and/or other materials provided with the distribution. 15 | 16 | 3. Neither the name of the copyright holder nor the names of its 17 | contributors may be used to endorse or promote products derived from 18 | this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 24 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 28 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # RACK42 - A Spreadsheet Application for the DM42 2 | ## "The unique (RPN) Spreadsheet (and more) for/in your Pocket!" 3 | 4 | --- 5 | 6 | See a short video of RACK42 at: https://youtu.be/5BZ6oYsfi6w 7 | 8 | See a short video of version 1 of RACK42 at: https://youtu.be/_lt0Zoqh0og 9 | 10 | --- 11 | ![ss0](https://user-images.githubusercontent.com/16148023/205289206-24746b7f-fe7a-42c6-8655-905f69a798ec.png) 12 | ![ss1](https://user-images.githubusercontent.com/16148023/205289208-8f8e965a-9877-480c-b9cd-e64c71259ea9.png) 13 | ![ss2](https://user-images.githubusercontent.com/16148023/205289211-d1adec6b-a240-4fdd-851a-af32182c37d2.png) 14 | ![ss3](https://user-images.githubusercontent.com/16148023/205289213-161b4a33-5394-463b-a10a-46e9b27f7ab2.png) 15 | ![ss4](https://user-images.githubusercontent.com/16148023/205289214-d6a82795-dc8f-4c48-a298-fe17334a02ff.png) 16 | ![sshex](https://user-images.githubusercontent.com/16148023/205289218-783b67e6-2fb9-47b9-8d03-3a6bffa65cfa.png) 17 | ![bar](https://user-images.githubusercontent.com/16148023/205289195-2096b464-ec0e-45da-ab49-7563f32cb34f.png) 18 | ![fnplot](https://user-images.githubusercontent.com/16148023/205289198-8ad1610a-3f67-4cea-b390-9fd1bfc74606.png) 19 | ![ted](https://user-images.githubusercontent.com/16148023/205289220-097c3e33-d7bf-41d2-af7c-099853a2e3b5.png) 20 | ![draw](https://user-images.githubusercontent.com/16148023/205289197-7fec0331-7a62-4a8f-9efa-f3d2615b84ac.png) 21 | ![hp1](https://user-images.githubusercontent.com/16148023/205289203-2935f120-bf67-4619-b24d-d038d829b11b.png) 22 | ![hp2](https://user-images.githubusercontent.com/16148023/205289204-6450635e-6875-4579-b646-afb419dafe18.png) 23 | ![game1](https://user-images.githubusercontent.com/16148023/205289199-7326f89f-af08-4b47-a844-4e4abe78ea63.png) 24 | ![game2](https://user-images.githubusercontent.com/16148023/205289201-43c426c7-11de-4aa3-a310-96cf0ef4bbfc.png) 25 | 26 | 27 | ``` 28 | 29 | 30 | ____________________ 31 | 32 | PREAMBLE 33 | ____________________ 34 | 35 | The DM42 calculator is a genuine device. A brilliant LCD display, good keys, a 36 | USB disk and a powerful processor - all low powered by a single battery cell. 37 | On the very stable operating system (DMCP) runs Free42 - a perfect simulator of 38 | the legendary HP42 calculator. 39 | 40 | As the DM42 is an "open system" it is possible to run other software on top of 41 | the operating system (DMCP). And that is, where RACK42 comes in. 42 | 43 | RACK42 is primarily a mobile, small, fast, simple, convenient and powerful 44 | spreadsheet application using RPN as mathematical notation. But RACK42 evolved 45 | to a multifunctional productive system because of useful add on applications 46 | like a convenient calculator mode, a text file editor, an object oriented ASCII 47 | drawing program, an emulator of the legendary HP-35 calculator and finally the 48 | first game (?) on the DM42 (2048 like). 49 | 50 | Have fun! 51 | deetee 52 | 53 | 54 | ____________________ 55 | 56 | MODES 57 | ____________________ 58 | 59 | With MODES (SHIFT+CHS) you can almost any time select one of the following 60 | modes/applictions: 61 | F1 SHEET Standard spreadsheet calculation 62 | F2 CAL Calculator mode (fades out the spreadsheet) 63 | F3 TED Text file editor 64 | F4 DRAW Simple ASCII drawing 65 | F5 HP35 Emulates the legendary HP35 calculator 66 | F6 GAME 2048-like game 67 | 68 | Please note that you can also select a mode with XEQ, when you are in the 69 | spreadsheet navigation mode. 70 | 71 | The following subchapters explain all different modes, while all other 72 | chapters refer to the standard spreadsheet application: 73 | 74 | ____________________ 75 | _CALCULATOR_________ 76 | 77 | With MODES and CAL you can enter (or leave) a simple calculator mode 78 | (indicated with a 'CAL' in the status line) that 'fades out' the presentation 79 | of the spreadsheet. 80 | 81 | When pressing STO the current value on the stack will be stored an can be 82 | recalled anytime with RCL. 83 | 84 | Please note that some functions or features (ie those regarding references) 85 | are disabled. 86 | 87 | ____________________ 88 | _TED________________ 89 | 90 | With TED you can create or edit text files. The top 4 rows of the keys are used 91 | to simulate a standard keyboard. The keyboard layout can be assigned by the user 92 | by editing the file "/RACK42/kbd.txt". 93 | To change for instance the default keyboard (QWERTY) to a german keyboard 94 | (QWERTZ) you can (after saving the default keyboard with SHIFT+F6 to the USB 95 | disk) edit /RACK/kbd.txt with your PC text file editor and change y and z (and 96 | of course Y and Z). 97 | 98 | TED keys: 99 | SHIFT F1 QUIT TED without saving 100 | SHIFT F2 NEW file 101 | SHIFT F5 HTML view of (markdown) text 102 | SHIFT F6 KBD^ save current keyboard to file /RACK/kbd.txt 103 | / * - + Text buffer (mark1, mark2, delete, paste) 104 | UP Save text to "/RACK42/tmp.txt" 105 | DOWN Load text file from USB disk 106 | 107 | Please note that when you are leaving TED (with MODES) the current text will be 108 | saved to "/RACK42/tmp.txt". 109 | 110 | Please note that TED uses the same procedure as the spreadsheet application to 111 | save a textfile with a specific file name - "SAVE AS" (enter the file name in 112 | a selected cell of the spreadsheet application and press UP after returning to 113 | TED). Files opened (loaded) with a specific file name are still saved under 114 | this name (when pressing UP or automatically when leaving TED). 115 | 116 | Keyboard (top 4 rows of keys): 117 | FLIP q w e r t 118 | ALT a s d f g 119 | SHIFT z x c v b 120 | ENTER SPC SPC SPC BSP 121 | 122 | Default keyboard: 123 | ___________ALT___________ 124 | ___SHIFT___ ___SHIFT___ 125 | FLIP FLIP FLIP FLIP 126 | qwert yuiop QWERT YUIOP 12345 67890 !@#$% ^&*() 127 | asdfg hjkl- ASDFG HJKL- *+-/= ,456. '"`/\ <=>[] 128 | zxcvb nm,./ ZXCVB NM,./ \$%() -123+ .,:;~ ?|_{} 129 | 130 | HTML view: 131 | With SHIFT F5 TED offers a html view of the edited file using the internal 132 | web browser of the DM42 (help file viewer). TED uses some markdown signs to 133 | produce a html file and saves it to RACK42/ted.htm. 134 | Please note that so far TED supports 3 headers (lines starting with #, ## 135 | and ###) and simple not nested unordered lists (lines starting with * or -). 136 | 137 | ____________________ 138 | _DRAW_______________ 139 | 140 | With DRAW you can draw simple ASCII objects (line, rectangle, horizontal and 141 | vertical text as well as a function plot from the spreadsheet application) 142 | on a sheet with 7x28 characters. The objects can be treated with 143 | cut/copy/paste later on. The final picture can be saved (PRINT) to a simple 144 | text file (print.txt) for later use (ie with a text editor like TED). 145 | 146 | Possible keys are: 147 | 1~9 Cursorpad (see below, 5 centers cursor) 148 | F1 Draw line object 149 | F2 Draw rectangle object 150 | F3 Draw horizontal text object 151 | F4 Draw vertical text object 152 | F5 Draw last function plot from spreadsheet 153 | F6 Save picture to a file (print.txt) 154 | UP Save DRAW file (new.d) to USB disk (see SAVE AS option below) 155 | DOWN Load DRAW file (*.d) from USB disk 156 | BSP Delete (at "hot spot") marked object 157 | / * Copy draw object to clipboard (grab "hot spot" of object) 158 | - Delete clipboard 159 | + Paste clipboard to current cursor position 160 | 161 | ____________________ 162 | _HP-35______________ 163 | 164 | In the HP35 mode you can use an emulation of the legendary HP35 calculator. 165 | 166 | Please note that HP35 doesn't use shifted keys. To EXIT HP35 (and return to 167 | the standard spreadsheet calculation) simply press F1 (QUIT). 168 | 169 | 170 | Original HP35 display and keyboard layout: 171 | _________________________ 172 | | | 173 | | -1.234567890-12 | 174 | |_________________________| 175 | | | 176 | | X^Y log ln e^X CLR | 177 | | SQRT arc sin cos tan | 178 | | 1/X X> (cursor right) CursorPad is active 221 | 1 (Formula) Edit mode - NumPad is active 222 | SQRT (Formula) Edit mode - Extra math menu is active 223 | @ (Formula) Edit mode - Reference selection 224 | " (Text) Edit mode 225 | x HEXmode1 (status line shows cell value in hex format) 226 | X HEXmode2 (only status line shows cell value decimal) 227 | 228 | 229 | ____________________ 230 | 231 | PRIOR KEYS 232 | ___________________ 233 | 234 | SETUP Quit RACK42 to operating system (DMCP) 235 | EXIT On/Off (Suspend) 236 | SHIFT Toggle shift key 237 | MODES Modes menu (Spreadsheet, Calculator, Ted, Draw, HP-35) 238 | ASSIGN Screenshot 239 | SHOW Shows date/time or specific information in the status line 240 | DISP Toggle grid display 241 | BASE HEX mode (no HEXmode, HEXmode1 or HEXmode2) 242 | SST View help image (/RACK42/RACK42help.bmp) 243 | BST View html help file (/RACK42/RACK42help.htm) 244 | 245 | ____________________ 246 | 247 | NAVIGATION MODE 248 | ____________________ 249 | 250 | When starting RACK42 you are in the navigation mode. The number keys work as 251 | cursor pad (see below). You can select and edit a specific cell, recalculate the 252 | entire spreadsheet, save or load specific files or copy and paste a cell. 253 | The navigation mode is also active when you refer in a formula to a specific 254 | cell (see edit mode). 255 | 256 | Navigation Numpad/Cursorpad: 257 | 7 Home 8 Up 9 PgUp 258 | 4 Left 5 Enter 6 Right 259 | 1 End 2 Down 3 PgDn 260 | 261 | Keys in navigation mode: 262 | 1~9 Navigation - cursor pad 263 | ALPHA STO Define and edit a new text cell 264 | EDIT/F1 ENTER 5 Edit selected cell 265 | CALC/F2 XEQ (Re-)Calculate spreadsheet 266 | SAVE/F3 ^ Save recent spreadsheet to file new.s (dir RACK42 exists) *) 267 | LOAD/F4 v Load spreadsheet from USB disk (dir RACK42 exists) 268 | COPY/F5 Copy selected cell to clipboard 269 | PASTE/F6 Paste cell from clipboard 270 | BACKSPACE Delete cell content 271 | CLEAR Clears complete sheet 272 | DISP Show grid 273 | XEQ Enter mode menu 274 | PRINT Print graphic (see chapter GRAPHICS) 275 | PGM.FCN Function plot (see chapter CALCULUS) 276 | ASSIGN Make a screenshot 277 | 278 | *) Please note that if the selected cell is a text cell, RACK42 saves the file 279 | under the filemname of this cell's text ("SAVE AS"). 280 | 281 | **) BASE/HEXmode: 282 | noHEXmode HEXmode1 HEXmode2 283 | Indicator none x X 284 | Input/CellValue decimal decimal hex 285 | Status value decimal hex decimal 286 | 287 | 288 | ____________________ 289 | 290 | EDIT MODE (FORMULA) 291 | ____________________ 292 | 293 | When in (formula) edition mode you can type a formula in RPN mode. The formula 294 | will be evaluated instantly and the value is shown in the cell (or with big 295 | letters as stack if with CUSTOM demanded) or (if with DISP 296 | demanded) in the status line with better precision ("Calculator Mode"). 297 | 298 | Edit keys: 299 | ENTER/F1 5 Enter formula and exit edit mode (to navigation mode) 300 | Sep/F2 R/S Separate numbers 301 | REF/F3 RCL Insert reference cell (select: ENTER/F1, escape: ESC/F3) 302 | CLR/F4 Clear complete formula 303 | <-/F5 Edit cursor left 304 | ->/F6 Edit cursor right 305 | 306 | 1...9. Insert number 307 | Shift+F1~F6 Insert hex digit A~F 308 | + - * / Basic operation 309 | BACKSPACE Delete command 310 | X<>Y Swap stack register 311 | LASTx Duplicate TOS (DUP) 312 | CLEAR Delete TOS (DROP) 313 | +/- Negate TOS (NEG) 314 | E Push 10^TOS to the stack 315 | Rv Rotate (3 top stack register) 316 | MATH 1/X SQRT LOG LN POW SQR 10^X e^X 317 | TRIG SIN COS TAN ASIN ACOS ATAN 318 | SUM+ Sum of range 319 | SUM- Count of range 320 | SLOPE SLOPE (fncell, xcell, xvalue) 321 | SOLVER SOLVE (fncell, xcell, xstartvalue) 322 | INTEGRAL INTEGRAL(fncell, xcell, fromvalue, tovalue) 323 | DEQ DIFFERENTIAL EQUATION (fncell, xcell, ycell, tovalue) 324 | MATRIX Matrix function menu 325 | FLAGS Physical constants 326 | CUSTOM Show cell value in grid or as stack (big numbers) 327 | 328 | CATALOG XEQ Extended math menu (see below) 329 | PROB Probability math menu 330 | COND Conditions menu (no nesting) 331 | STAT STAT Statistics menu 332 | CONV CONVERT Conversions menu 333 | MISC Miscellaneous menu 334 | 335 | 336 | ____________________ 337 | 338 | EXTENDED MATH MENU 339 | ____________________ 340 | 341 | When in edit mode XEQ or CATALOG (Shift +) offers an expanded math menu to 342 | insert ie hyperbolic functions. 343 | Please note that some functions deliver more than one result. Try to extract 344 | the appropriate result with SWAP, CLEAR/DROP. For instance "41 C|F" yields 345 | 5 (C, Y) and 105.8 (F, X). If you wanted to convert 41F to 5C add CLEAR/DROP 346 | (Shift+BACKSPACE) or if you wanted to convert 41C to 105.8F add SWAP and 347 | CLEAR/DROP to calculate on. 348 | 349 | HYP Hyperbolic functions (SINH, COSH, TANH, ASINH, ACOSH, ATANH) 350 | PROB Probability functions (nP|Cr, LN!, P|CDF, NAND, INT) 351 | COND Conditions (<, =, >, IF, ELSE, THEN)) 352 | STAT Statistics (COUNT, SUM, AVG|STDDEV, MIN|MAX, LRa|b) 353 | CONV Conversions (P|R, HMS|H, kg|lb, °C|°F, cm|in, l|gal)) 354 | MISC Miscellaneous (MAT, VAL, DEQ, SLOPE, SOLVE, INTEGRAL) 355 | 356 | Please note that VAL copies the recent value of the cell as plain value to 357 | this cell. The recent formula of this cell will be deleted. 358 | 359 | 360 | ____________________ 361 | 362 | EDIT MODE (TEXT) 363 | ____________________ 364 | 365 | When defining (ALPHA or STO) or editing (EDIT, ENTER/F1) a text cell all 366 | possible characters will be shown an can be selected using the navigtion pad. 367 | Please note that the number of characters per cell is limited to 9. 368 | 369 | ENTER/F1 STO Enter text and exit text mode (to navigation mode) 370 | INS/F2 5 Insert selected character to text 371 | CLR/F4 Clear complete text 372 | <-/F5 Edit cursor left 373 | ->/F6 Edit cursor right 374 | BSPC Delete character 375 | NAVIGATE Use navigation pad to select character 376 | 377 | 378 | ____________________ 379 | 380 | CALCULUS 381 | ____________________ 382 | 383 | The PLOT, SLOPE, SOLVER and INTEGRAL functions evaluate a cell containing a 384 | function (fncell) which depends itself of a referenced cell (xcell). 385 | Additionally PLOT and INTEGRAL demand two range x-values (values only no 386 | references). 387 | To see the function plot navigate to the cell containing the PLOT command 388 | (don't edit) and press PGM.FCN. 389 | SOLVER tries to find the root of the fncell variating the xcell using Newton's 390 | secant method. As start value SOLVER uses the value of xcell. 391 | INTEGRAL uses the Simpson's formula and divides the range into 10 stripes. 392 | 393 | Please note that DEQ solves a differential equation y'=f(x,y) with given 394 | start value y(x0) due to Runge-Kutta with 4th order (RK4). As arguments DEQ 395 | needs fncell, xcell, ycell and a x-value for the calculated y-value of the 396 | function that solves the differential equation. 397 | 398 | 399 | ____________________ 400 | 401 | MATRIX 402 | ____________________ 403 | 404 | In edit mode you can enter matrix functions using MATRIX or the math menu (XEQ). 405 | A reference to a matrix references to the first matrix cell (1|1). 406 | Please note that RACK42 deals with 3x3 matrices only - smaller matrices can be a 407 | subset. 408 | Matrix functions that create a new matrix write 3x3 (hard coded) values to the 409 | spreadsheet at the target cell (to) if there is sufficient room on the 410 | spreadsheet. Please be careful using these commands without a target cell to not 411 | overwrite existing contents of the spreadsheet. 412 | 413 | DET Determinant (from) 414 | TRANS Transpose (from, to) 415 | INV Inverse (from, to) 416 | MULT Multiply (from1, from2, to) 417 | SUB Substract (from1, from2, to) 418 | ADD Add (from1, from2, to) 419 | 420 | 421 | ____________________ 422 | 423 | BAR GRAPHIC 424 | ____________________ 425 | 426 | RACK42 can display a simple bar graphic. Enter the desired text (optional) and 427 | the related data in two colums. Define in another cell the range of the data 428 | column (references to first and last data cell). Navigate to this "reference 429 | cell" and press PRINT to view a simple bar chart. As the bars are scaled the 430 | maximum value will be printed in the first line. Please note that bars with 431 | negative values are not printed. 432 | 433 | Please note that RACK42 supports function plots (see chapter CALCULUS). 434 | 435 | 436 | ____________________ 437 | 438 | SPECIFICATIONS 439 | ____________________ 440 | 441 | Spreadsheet, Calculator: 442 | 6 15 Number of columns and rows 443 | 3 5 Number of columns and rows to be displayed 444 | 8 Size of calculation stack 445 | 5 Size of stack for reference addresses 446 | 40 Number of commands per cell 447 | 9 Cell width; max. number of letters of text cell 448 | 30 50 Pixel size of function plot 449 | 100 Maximal number of iterations (solver) 450 | 1E-8 Differential step (slope, solver) 451 | 100 Number of stripes (integration, differential equation) 452 | 453 | TED: 454 | 8192 Maximal size of text files 455 | 7 Number of displayed text lines 456 | 457 | DRAW: 458 | 7 28 Size of character drawing board 459 | 30 Maximal number of drawing objects 460 | 25 Maximal length of text objects 461 | 462 | ____________________ 463 | 464 | PHYSICAL CONSTANTS 465 | ____________________ 466 | 467 | To enter a physical constant (2018 CODATA) press FLAGS in edit mode and the 468 | the appropriate F-key. 469 | 470 | c 299792458 Speed of light 471 | g 9.80665 Acceleration of gravity 472 | G 6.67430e-11 Newton constant of gravity 473 | Vm 0.02271095464 Molar volume of ideal gas 474 | NA 6.02214076e23 Avogadro constant 475 | Rinf 10973731.568160 Rydberg constant 476 | h 6.62607015e-34 Planck constant 477 | Phi0 2.067833848e-15 Magnetic flux quantum 478 | a0 5.29177210903e-11 Bohr radius 479 | k 1.380649e-23 Boltzmann constant 480 | R 8.314462618 Molar gas constant 481 | F 96485.33212 Faraday constant 482 | t 273.15 Celsius temperature 483 | atm 101325 Standard atmosphere 484 | e 1.602176634e-19 Elementary charge 485 | eps0 8.8541878128e-12 Vacuum electric permittivity 486 | mu0 1.25663706212e-6 Vacuum magnetic permeability 487 | Z0 376.730313668 Impedance of vacuum 488 | mU 1.6605390666e-27 Atomic mass constant 489 | re 2.8179403262e-15 Electron radius 490 | me 9.1093837015e-31 Electron mass 491 | mp 1.67262192369e-27 Proton mass 492 | mn 1.67492749804e-27 Neutron mass 493 | mmu 1.883531627e-28 Muon mass 494 | muB 9.2740100783e-24 Bohr magneton 495 | muN 5.0507837461e-27 Nuclear magneton 496 | mue -9.2847647043e-24 Electron magnetic moment 497 | mup 1.41060679736e-26 Proton magnetic moment 498 | mun -9.6623651e-27 Neutron magnetic moment 499 | mumu -4.4904483e-26 Muon magnetic moment 500 | alph 7.2973525693e-3 Fine structure constant 501 | sigm 5.670374419e-8 Stefan-Boltzmann constant 502 | G0 7.748091729 Conductance quantum 503 | gamp 2.6752218744e8 Proton gyromagnetic ratio 504 | C1 3.741771852e-16 First radiation constant 505 | C2 1.438776877e-2 Second radiation constant 506 | 507 | 508 | ____________________ 509 | 510 | ASCII TABLE 511 | ____________________ 512 | 513 | DEC | 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 514 | HEX | 0 1 2 3 4 5 6 7 8 9 a b c d e f 515 | ------------------------------------------ 516 | 032 20 | ! " # $ % & ' ( ) * + , - . / 517 | 048 30 | 0 1 2 3 4 5 6 7 8 9 : ; < = > ? 518 | 064 40 | @ A B C D E F G H I J K L M N O 519 | 080 50 | P Q R S T U V W X Y Z [ \ ] ^ _ 520 | 096 60 | ` a b c d e f g h i j k l m n o 521 | 112 70 | p q r s t u v w x y z { | } ~ 522 | 128 80 | D M S I G S T P Q L L G N E D R 523 | | I U Q N R I A I M E F E E N O I 524 | | V L R T E G B T W G 525 | | T T Y M E N H 526 | | 1 A R T 527 | 144 90 | L M P G A N A A E A 3 E O U G S 528 | | E U O R O T U N E D S U U R Q 529 | | F U A I M G O C M M E A 530 | | T N D L L L T L L Y R 531 | | D D E S 2 E 532 | 160 A0 | T T 533 | | R R 534 | | I I 535 | | D U 536 | 537 | 538 | ``` 539 | -------------------------------------------------------------------------------- /examples/rack42help.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | IV42 - DOCUMENTATION 4 | 5 | 6 | 7 | 8 | 9 | 10 |

Navigation


11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
F1 Exit     F2 →Home
ENTER Link ÷ Page Up
Previous × Page Down
Next       - Line Up
EXIT Exit  + Line Down

19 | 20 | 21 |

Contents

22 | 23 | 36 | 37 | 38 | 39 |

MODES

40 | 48 | 49 |

CALCULATOR

50 | With MODES and CAL you can enter (or leave) a simple calculator mode 51 | (indicated with a 'CAL' in the status line) that 'fades out' the presentation 52 | of the spreadsheet.
53 | When pressing STO the current value on the stack will be stored an can be 54 | recalled anytime with RCL.
55 | Please note that some functions or features (ie those regarding references) 56 | are disabled.
57 | 58 |

TED

59 | With TED you can create or edit text files. The top 4 rows of the keys are used 60 | to simulate a standard keyboard. The keyboard layout can be assigned by the user 61 | by editing the file "/RACK42/kbd.txt".
62 |
63 | TED keys: 64 |
73 | 74 | Please note that TED uses the same procedure as the spreadsheet application to 75 | save a textfile with a specific file name - "SAVE AS" (enter the file name in 76 | a selected cell of the spreadsheet application and press UP after returning to 77 | TED). Files opened (loaded) with a specific file name are still saved under 78 | this name (when pressing UP or automatically when leaving TED).
79 |
80 | 81 | HTML view:
82 | With SHIFT F5 TED offers a html view of the edited file using the internal 83 | web browser of the DM42 (help file viewer). TED uses some markdown signs to 84 | produce a html file and saves it to RACK42/ted.htm.
85 | Please note that so far TED supports 3 headers (lines starting with #, ## 86 | and ###) and simple not nested unordered lists (lines starting with * or -). 87 |
88 | 89 |

DRAW

90 | With DRAW you can draw simple ASCII objects (line, rectangle, horizontal and 91 | vertical text as well as a function plot from the spreadsheet application) 92 | on a sheet with 7x28 characters. The objects can be treated with 93 | cut/copy/paste later on. The final picture can be saved (PRINT) to a simple 94 | text file (print.txt) for later use (ie with a text editor like TED).
95 |
96 | 97 | Possible keys are: 98 | 113 | 114 |

HP-35

115 | In the HP35 mode you can use an emulation of the legendary HP35 calculator. 116 | Please note that HP35 doesn't use shifted keys. To EXIT HP35 (and return to 117 | the standard spreadsheet calculation) simply press F1 (QUIT).
118 | 119 |

GAME

120 | In this 2048-like game you have to shift and merge equal numbers in a 4x4 grid.
121 |
122 | 123 | Possible keys are: 124 | 132 | 133 |
→Top →Contents
134 | 135 | 136 | 137 |

SCREEN

138 | The top line of the screen (status line) shows the selected cell address, the 139 | value of this cell (if demanded with SHOW) or the date, some indicators (ie 140 | shift) and the battery status (0...9).
141 | The second line (edit line) shows the content (formula or text) of the selected 142 | cell.
143 | The third part of the screen swows the spreadsheet (with a cell width of 9), or 144 | two top registers of the stack or (when editing a text) all available ascii 145 | characters.
146 | At the bottom of the screen the function keys are shown. 147 | Please note that in case of printing a chart (see chapter Graphics) the whole 148 | screen is used by the chart.
149 |
150 | 151 | Indicators:
152 | 163 | 164 |
→Top →Contents
165 | 166 | 167 | 168 |

PRIOR KEYS

169 | 181 | 182 |
→Top →Contents
183 | 184 | 185 | 186 |
187 | When starting RACK42 you are in the navigation mode. The number keys work as 188 | cursor pad (see below). You can select and edit a specific cell, recalculate the 189 | entire spreadsheet, save or load specific files or copy and paste a cell.
190 | The navigation mode is also active when you refer in a formula to a specific 191 | cell (see edit mode).
192 | 193 |
Navigation Numpad/Cursorpad:
194 | 7 Home 8 Up 9 PgUp
195 | 4 Left 5 Enter 6 Right
196 | 1 End 2 Down 3 PgDn
197 |
198 | 199 | Keys in navigation mode:
200 |
217 | 218 | Please note that if the selected cell is a text cell, RACK42 saves the file 219 | under the filemname of this cell's text ("SAVE AS").
220 | 221 |
→Top →Contents
222 | 223 | 224 | 225 |

EDIT MODE

226 | When in (formula) edition mode you can type a formula in RPN mode. The formula 227 | will be evaluated instantly and the value is shown in the cell (or with big 228 | letters as stack if with CUSTOM demanded) or (if with DISP demanded) in the 229 | status line with better precision ("Calculator Mode"). 230 |
231 |
Edit keys:
232 | 267 | 268 |
→Top →Contents
269 | 270 | 271 | 272 |

EXTENDED MATH MENU

273 | When in edit mode XEQ or CATALOG (Shift +) offers an expanded math menu to 274 | insert ie hyperbolic functions.
275 | Please note that some functions deliver more than one result. Try to extract 276 | the appropriate result with SWAP, CLEAR/DROP. For instance "41 C|F" yields 277 | 5 (C, Y) and 105.8 (F, X). If you wanted to convert 41F to 5C add CLEAR/DROP 278 | (Shift+BACKSPACE) or if you wanted to convert 41C to 105.8F add SWAP and 279 | CLEAR/DROP to calculate on.
280 |
281 |
289 | 290 | Please note that VAL copies the recent value of the cell as plain value to 291 | this cell. The recent formula of this cell will be deleted.
292 | 293 |
→Top →Contents
294 | 295 | 296 | 297 |

TEXT EDIT MODE

298 | When defining (ALPHA or STO) or editing (EDIT, ENTER/F1) a text cell all 299 | possible characters will be shown an can be selected using the navigtion pad. 300 | Please note that the number of characters per cell is limited to 9.
301 |
302 | 303 | 312 | 313 |
→Top →Contents
314 | 315 | 316 | 317 |

CALCULUS

318 | The PLOT, SLOPE, SOLVER and INTEGRAL functions evaluate a cell containing a 319 | function (fncell) which depends itself of a referenced cell (xcell). 320 | Additionally PLOT and INTEGRAL demand two range x-values (values only no 321 | references).
322 | To see the function plot navigate to the cell containing the PLOT command 323 | (don't edit) and press PGM.FCN.
324 | SOLVER tries to find the root of the fncell variating the xcell using Newton's 325 | secant method. As start value SOLVER uses the value of xcell.
326 | INTEGRAL uses the Simpson's formula and divides the range into 10 stripes. 327 |
328 | Please note that DEQ solves a differential equation y'=f(x,y) with given 329 | start value y(x0) due to Runge-Kutta with 4th order (RK4). As arguments DEQ 330 | needs fncell, xcell, ycell and a x-value for the calculated y-value of the 331 | function that solves the differential equation. 332 |
333 | 334 |
→Top →Contents
335 | 336 | 337 | 338 |

MATRIX

339 | In edit mode you can enter matrix functions using MATRIX or the math menu (XEQ). 340 | A reference to a matrix references to the first matrix cell (1|1).
341 | Please note that RACK42 deals with 3x3 matrices only - smaller matrices can be a 342 | subset.
343 | Matrix functions that create a new matrix write 3x3 (hard coded) values to the 344 | spreadsheet at the target cell (to) if there is sufficient room on the 345 | spreadsheet. Please be careful using these commands without a target cell to not 346 | overwrite existing contents of the spreadsheet.
347 |
348 | 349 | 357 | 358 |
→Top →Contents
359 | 360 | 361 | 362 |

BAR GRAPHIC

363 | RACK42 can display a simple bar graphic. Enter the desired text (optional) and 364 | the related data in two colums. Define in another cell the range of the data 365 | column (references to first and last data cell). Navigate to this "reference 366 | cell" and press PRINT to view a simple bar chart. As the bars are scaled the 367 | maximum value will be printed in the first line. Please note that bars with 368 | negative values are not printed.
369 | Please note that RACK42 supports function plots (see chapter CALCULUS). 370 |
371 | 372 |
→Top →Contents
373 | 374 | 375 | 376 |

SPECIFICATIONS

377 | Spreadsheet, Calculator:
378 | 390 |
391 | 392 | TED:
393 | 397 |
398 | 399 | DRAW:
400 | 405 | 406 |
→Top →Contents
407 | 408 | 409 | 410 |

PHYSICAL CONSTANTS

411 | To enter a physical constant (2018 CODATA) press FLAGS in edit mode and the 412 | the appropriate F-key.
413 |
414 | 452 | 453 |
→Top →Contents
454 | 455 | 456 | 457 | --------------------------------------------------------------------------------