(15C) Operating System: mzOS
|
04-08-2018, 11:07 PM
(This post was last modified: 04-09-2018 09:23 AM by Michael Zinn.)
Post: #1
|
|||
|
|||
(15C) Operating System: mzOS
About
mzOS is an operating system that allows you to define program mappings for the five user keys A, B, C, D and E that you can then switch easily with just two keystrokes. This is an improvement over having to move labels A-E around in the program whenever you want to remap A-E. Example Program Label Layout Suppose you have these programs installed (internal labels are used by the program preceeding it): Code: 0: xth root of y mzOS reads register 19 as the mapping of the user keys. E.g. if you store 1615141312 in R19 you will have the "Cash Register" programs on A through E available (Read the number as 5 separate 2 digit numbers). Whenever you want to remap your User keys just store a new mapping number in register 19. The Remap Program Instead of storing 10 digit mapping numbers into register 19 manually you can use the Remap program. Put GTO 18 in line 001 of program memory to make it possible to use the R/S key to start the Remap program easily. That way you won't have to assign Remap to one User key in every mapping. Put your favorite mappings into registers 10 and up. Example: Code: Mapping Comment Register Value A B C D E You can now do 1 R/S to switch to Math mode, then do 42 B to convert 42 to binary, then do 2 R/S and use your calculator as a cash register and finally switch to utility mode with 0 R/S to figure out how much days September has using 9 C. The idea is that you put programs that you use together in the same mapping. That way, you don't have to remap too often and can start your programs with just one key stroke. Editing Mapping with vSTO If you have vSTO installed (gives you five times as many two digit virtual registers) you can store program numbers into virtual registers. Virtual memory map: Code: Virtual Register Content Notice that editing the active mapping is only temporary, it will be overwritten by Remap. mzOS Source Code This is the minimal version, you can use this by storing mappings in register 19 manually: Code: ; loader Remap Source Code Not needed to use mzOS, but it makes remapping a lot more convenient. Either put 18 in every mapping or put GTO 18 in line 001 and start it with R/S. Code: LBL .8 This whole thing is a work in progress so please comment and give me feedback. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(15C) Operating System: mzOS - Michael Zinn - 04-08-2018 11:07 PM
RE: (15C) Operating System: mzOS - grsbanks - 04-09-2018, 04:58 AM
RE: (15C) Operating System: mzOS - Michael Zinn - 04-09-2018, 09:13 AM
RE: (15C) Operating System: mzOS - grsbanks - 04-09-2018, 09:15 AM
RE: (15C) Operating System: mzOS - Michael Zinn - 04-09-2018, 09:24 AM
RE: (15C) Operating System: mzOS - gardel - 04-09-2018, 01:05 PM
RE: (15C) Operating System: mzOS - Michael Zinn - 04-09-2018, 02:52 PM
RE: (15C) Operating System: mzOS - rprosperi - 04-09-2018, 09:33 PM
RE: (15C) Operating System: mzOS - Gerson W. Barbosa - 04-10-2018, 03:18 AM
RE: (15C) Operating System: mzOS - Michael Zinn - 04-10-2018, 01:27 PM
RE: (15C) Operating System: mzOS - Michael Zinn - 04-11-2018, 06:47 PM
|
User(s) browsing this thread: 1 Guest(s)