SORD M5 Creative Computer

 

     

 

SORD Japan logo

 

SYSVAR - 1 - CONTENT ======= 1. Introduction ..................................................... 2 2. System variables for MONITOR ROM ................................. 3 2.1. System's page .................................................... 3 2.2. Informative page of the keyboard ................................. 4 2.3. Interrupt vectors handling ....................................... 6 2.4. Printer handling ................................................. 8 2.5. Music handling ................................................... 8 2.6. Tape handling ( ACMT page ) ...................................... 9 2.7. Process screen page .............................................. 9 2.8. Page of hidden screen ............................................ 11 2.9. FUNC page ........................................................ 11 2.10. Buffers page ..................................................... 11 2.11. Sprites page (BI used for system variables) ...................... 12 2.12. The page of Sprite informations .................................. 12 2.13. Special page of MONITOR ROM ...................................... 13 3. System variables of BASIC ........................................ 14 3.1. BASIC-I system variables ......................................... 14 3.2. BASIC-G system variables ......................................... 14 3.3. BASIC-F system variables ......................................... 15 4. List of System Variables by Alphabet ............................. 23 4.1. System variables MONITOR ROM ..................................... 23 <FF>
SYSVAR - 2 - 1. INTRODUCTION *************** The memory region from & 7000 to & 7300 is reserved for so-called system-variables, that is, for variables that inform about the system activity and determine do some system activities. Variables are determined by location (hexadecimal-address) and a name, such as is used in MONITOR HANDLING MANUAL. Variables have their initialization values for individual languages BASIC (I, G, F possibly D) and system (S). BASIC language interpreters individually use this same area like MONITOR ROM. This area is linked to the area of system variables. <FF>
SYSVAR - 3 - 2. System variables for MONITOR ROM *********************************** 2.1. System's page ================== address value name attribute ------- | ------- | ------- | -------------------------- ---------------------------- 7000 186C IVCTC0 Address for interrupt from channel 0 of the Z80 CTC circuit. It is used for the Z80 SIO circuit when the module is connected SI-5. Otherwise it is free and can be used 7002 1861 IVCTC1 Address for interrupt from channel 1 of the Z80 CTC circuit the most frequent use of sound generator (SML interpreter and BG at PLAY). It is often used for timing peripherals 7004 186C IVCTC2 Z80 CTC circuit breakout address 2. It is used as the CLOCK for the Z80 SIO circuit, if module SI-5 is connected. Otherwise it is free and can be used 7006 01DF IVCTC3 Address for interrupts from channel 3 of the Z80 CTC.Used for contact with the VDP video-processor, user- interrupts, keyboards, joypads, ... It is always used 7008 C30000 IVCTC6 Instructions in the machine code (JP 0000) to ensure execution operation RST 6. It is defined by the user for the easier working with the system 700B C30000 IVCTC7 see IVCTC6, but for RST 7 700E BI: 14CD SCCDTA The address for the CTRL / key jump table. BG: 4E2E Two tables are sequentially assigned to this table BF: 61D2 addresses matching CTRL / A, B, ..., *, ... S: 14CD 7010 7000 SMEMTA The address of the RAM memory of the system. This address is determined after turning on the RAM memory test finds its justice 7012 BI: 8000 SMEMEA System memory address end. The value is determined BG: 9000 after turning on the Memory Test BF: 9000 S: 8000 7014 7300 SUMMTA Address of user memory initiation 7016 BI: 8000 SUMMEA User Memory End Address BG: 9000 BF: 9000 S: 8000 <FF>
SYSVAR - 4 - 7018 00 SVSSW Changes the status of screens in the system. BIT: 7,6,5,4: ..... without meaning 3 - LAYOUT ... VRAM Memory Organization: 0: GI 1: GII 2 - DSPPGE ... display page number (visible) 1 - DSPTBL ... display screen: 0: process 1: hidden 0 - WRTPGE ... number of the page (process) 7019 21 STDLY Defines the transfer speed to the cassette recorder. At back to computer to the computer automatically adjust the speed. Speed ??can be calculated: B: = (1 / (D1 + N1) + 2 / (D2 + 2 * N1)) / 3 where N1 .... N * 8.929 E-6 N is the value in STDLY D1 .... 35.36 E-6 D2 .... 49.71 E-6 2.2 Informative page of the keyboard ==================================== 701A BI: 90 KINFLG Define the keyboard entry properties. BIT: BG: 90 7 - sound when the key is pressed BF: 90 6 - roller S: 94 5 - 1 = is pressed the RESET key 4 - Writing with use keyboard buffer (allows FUNC keys) 3 - not used 2 - mod has not been changed yet 1 and 0 - input mode setting: 00: LETTER 01: CAPS 10: GRAPHIC 11: undefined 701B 09E7 KBCTET The address of the conversion table for the keyboard is shown in this table the symbolic equivalents are gradually stored they have to show when the keyboard is pressed 701D 00 ASWN01 Information about the state of the ATTACK keypad on the first joypad 701E 00 JOYDR1 Status information on the first joypad 701F 00 ASWN02 Information about ATTACK status on second joypad 7020 00 JOYDR2 Information about the status of the second joypad 7021 002E JOYPRC Interrupt address when pressed directional keys on joypad <FF>
SYSVAR - 5 - 7023 002E ASWPRC Interrupt address when pressed ATTACK 7025 BI: 3AA6 RSTPRC Address at SHIFT + RESET BG: 2FE9 BF: 26A8 S: 021B 7027 BI: 3AAF HLTPRC Interrupt address at CTRL + RESET BG: 2FF2 BF: 26CA S: 021B 7029 00 PSHKAD Address of the last push-button. Kodove responds INKEY (0) 702A 00 LSKYST Informs about last keypress SHIFT, FUNC, and CTRL keys. BIT: 7 - special CTRL flag. It is <FUNC> + <1>, <2> and <3> 6 -? 5 -? 4 -? 3 - right SHIFT 2 - left SHIFT 1 - FUNC 0 - CTRL 702B 00 LKYADR Address of the last approved button. Button is approved only after a certain period of time 702C 05 CHATIT Counter to prevent a key push error (ie, unwanted touch of a button) 702D 1E ARPSTI Initializing value for cycles to begin autorepeat 702E - ARPSTW Counter for autorepeat. Countdown from the value in ARPSTI to zero. If the button is still pressed, it will occur to autorepeat 702F 04 ARPITI Initialization value for cycles in autorepeat 7030 - ARPITW Quote in autorepeat. The time is quoted queues between character listings in autorepeat 7031 70DF KBUFTA Address memory equalizer keypad. To this space-equalizing memory when writing in a transparent manner store individual codes by pressing keys 7033 - KDTPPT Counter additions (entry) to the buffer of the keyboard 7034 - KDTGPT Counter read (output) from the baptismal keypad 7035 3F KBFSIZ Delta Keyboard Balancer <FF>
SYSVAR - 6 - 7036 0000 KINWTM The number of periods for the WAIT keyboard status. I.e. for status forbid reading 7038 32 KINWTH Standard length of time for WAIT 7039 - TERMAL Terminal code for data input. Related with the ACELN routine in MONITOR ROM 703A 04 BELKF Frequency of keystroke sound 703B 02 BELKLF The sound of the keystroke 2.3. Interrupt vectors handling =============================== 703C BI: 27 EVMGFG Determines the status of the debugging system. For simplicity it is BG: 67 preruction system called EVENT system, one interruption BF: 67 is one EVENT. S: 23 BIT: 7 - DWNDFG flag of the descending quote 6 - UESW process EVENT user 5 - KEYSW Process KEY Keyboard 4 - JOYSW process JOY drivers 3 - DWCTSW descending DWCNT quote 2 - UPCTSW forward the UPCNT quotation 1 - CLOCKSW process CLOCK hours 0 - SPRSW process SPRITE movement 703D BI: 00 EVMXNO Maximum number of EVENTS (cancellations can be made BG: 02 at least a few) BF: 02 S: 00 703E BI: 0000 EVIFTA The address of the table with information on individual EVENTS (if available) BG: 72F2 equals 0000, are not running in the event). BF: 72D5 Shape of an item in the table, BYTE: S: 0000 +00 +01 - SUPDLY interruption interval +02 - SUPITV the initialization value of the interruption interval +03 - counter interval +04 +05 - EVPRC routine address for event EVENT +06 - ... the next item in the table 7040 00 UEVMGF User EVENT flag operation (bit 0: 0 = No, 1 = YES) 7041 32 UPCTBI Initial time for forwarding time - UP COUNTER. It's basically the time counter. 7042 - UPCTBW Cite for the next few hours <FF>
SYSVAR - 7 - 7043 - UPCNT Next cit. Raises value by 1 per unit time designated UPCTBI. They are derived values Provides a TIME function in I, G, F 7045 32 DWCTBI Initializing time for DOWN COUNTER 7046 - DWCTBW Quotation for descending quoted hours 7047 0000 DWCNT Descending counter. It reduces its value per value determined by DWCTBI 7049 - CLKBTW Standard system clock Interval 704A 00 CLOCKS System clock - seconds 704B 00 CLOCKM System clock - minutes 704C 00 CLOCKH System clock - hours 704D FF ALMTM Alarm time - minutes 704E FF ALMTH Alarm clock - hours 704F BI: 002E ALMPRC The interrupt address for the ALARM execution BG: 3031 BF: 002E S: 002E 7051 002E EVHPRC The address of the so-called bottom process, 23:59:59 7053 BI: 002E SPRPRC The address for the routine to handle the interrupt BG: 5765 for sprites BF: 002E S: 002E 7055 - SPSTUS Copy STATUS of the VDP Registry for Sparta. BIT: 7 - flag interrupt (always = 1) 6 - flag five sprites in row (1 = are) 5 - flag of collision of sprites (1 = collision) 4,3,2,1,0 - the number of the sprite, which is the fifth in row 7056 02 SPSTEP Specifies the X axis sprite step 7057 01 SPSTPC Specifies the Y axis sprite step 7058 00 BELKC Counter for determining the length of the key sound 7059 00 BELC Counter for determining the length of the BEL sound <FF>
SYSVAR - 8 - 2.4. Printer handling ===================== 705A BI: 03 POUTFG Set Output Characteristics. BIT: BG: 03 2 - tabulator valid BF: 03 1 - autonewline S: 07 0 - 0 = CR, 1 = CR + LF 705B 50 PMXCLM to determine the maximum number of characters per line 705C __ PHDPOS Informative position of the print head 2.5. Music handling =================== 705D 1854 SEXTA The address of the routine for sound generators 705F 1A79 SEXPA Address of table for the instrument in the sound generator 7061 1F TMPOD Constant for speed initialization constant (tempo) of music 7062 __ TMPOC counter for speed (tempo) of music 7063 00 MSCAL Transposition data for sound generators 7064 14 Byte SGSYT1 Interpreter - Table for 1st Channel 7072 14 Byte SGSYT2 Interpreter - Table for 2nd Channel 7080 14 Byte SGSYT3 Interpreter - Table for 3rd Channel Shape of 14 bytes sound tables (address ... content): ----------------------------------------------------- +00 +01 ... the address of buffer for the respective channel (1-715F; 2-717F; 3-719F) +02 ... buffer length 20 +03 ... output counter 00 +04 ... input counter 00 +05 ... HOLD time - gap time 07 +06 ... volume 00 +07 ... octave 02 +08 ... default length of tone 10 +09 + 0A ... address of data 0000 + 0B ... data output counter 10 + 0C ... counter length of tone 00 + 0D ... counter for HOLD time 00 <FF>
SYSVAR - 9 - 2.6. Tape handling ( ACMT page ) ================================ 708E 00 SYSFMT Transmission parameter settings. BIT: 2 - OPNFMT 1 = Flag OPEN 1 - LDMONT 0 = OLD 1 = VERIFY 0 - BUFSMT where to upload: 0 = RAM 1 = VRAM 708F __ PUTPMT Data pointer for PUT and GET GETPMT 7090 __ AVILMT Length of readed block 7091 __ BSIZMT Length of memory buffer 7092 ____ RWBFMT Address of memory buffer 2.7. Process screen page ======================== 7094 00 DIFLGA Set the screen parameter. BIT: 7,6,5 - MODE ... screen mode 000 ... GI 001 ... GII 010 ... Multicolor 100 ... Text 4 - CUROUT ... cursor outside VIEW 3 - CURON ... the cursor is visible 2 - SRLOC ... screen is locked 1 - DMODE1 ... 0 CTRL codes are executed 1 CTRL codes appear 0 - DMODE0 ... 0 mod keyboard is in overwrite modewritten 1 mod keyboard is in insert mode 7095 3800 CODTLA Address of beginning of screen 7097 3B80 CCOTLA The character color table address 7099 2800 CPATLA The address of the original table (Gr. mode I) of the character 709B 3B00 SATTLA Address of Sprite Properties Table 709D 2000 SPATLA Address of shapes of Sprites 709F E1 BDCOLA Screen background color 70A0 00 UPRMVA Upper dimension of VIEW 70A1 00 LFTMVA Left dimension of VIEW 70A2 18 HEITVA Bottom dimension of VIEW <FF>
SYSVAR - 10 - 70A3 20 WIDTVA Right dimension of VIEW 70A4 18 HITDA Bottom screen size 70A5 20 WIDTDA The right screen size 70A6 00 CURSYA Cursor coordinate - Y 70A7 00 CURSXA Cursor coordinate - X 70A8 3800 CURADA The address of the cursor in VRAM memory 70AA 00 CCUCRA Character on Cursor Position 70AB 10 DISPCA The duration of the cursor is visible 70AC 10 ERSECA The time for which the cursor can not be seen 70AD 08 BELFA BEL sign sound frequency 70AE 0E BELFLA Length of BEL sign sound 70AF BI: 09 GRFLA Information about the graphical parameters of the screen. BIT: BG: 08 B7 - Sprite size (0 = 8 * 8; 1 = 16 * 16) BF: 08 6 - Increased Sprite size (0 = 1x; 1 = 2x) S: 09 5,4,3 - informative sprite size: 100 ... 32 * 32 010 ... 16 * 16 001 ... 8 * 8 2,1,0 - graphic mode: 100 ... XOR 010 ... AND 001 ... OR 000 ... exchange 70B0 0000 GCURYA Graphics cursor coordinates - Y 70B2 0000 GCURXA Graphic Cursor Coordinate - X 70B4 BI: 0000 GIMPRA Address for serving the user process in GII BG: 4ED4 BF: 628C S: 0000 70B6 BI: 0000 MPLPRA MULTICOLOR process address BG: 4ED4 F: 628C S: 0000 <FF>
SYSVAR - 11 - 2.8. Page of hidden screen ========================== 70B8 DIFLGP The meaning is like a process page screen. They only have a P terminus instead of A 70DA MPLPRP ...... 2.9. FUNC page ============== 70DC BI: 1A FKMGFG Set FCTN parameter. BIT: BG: 1A 7 - format with or without counter (0 or 1) BF: 1A 4 to 0 - the number of keys defined by FUNC S: 00 70DD BI: 3FAE FKIFTA address table for text decryption by FUNC. BG: 4DD1 Table Format: BF: 5D05 +00 +01 ... address for FUNC + A S: 0000 +02 +03 ... address for FUNC + B etc ... Format of saved data: address with counter without counter counter: 04 'B' 'M' 'C' 'O' 'O' 'V' 'L' 'E' 00 2.10. Buffers page ================== 70DF 64 bytes KEYBUF Keyboard buffer 711F 64 Bytes ACMBTF Memory Buffer for Cassette Recorder (and "FX:") 715F 32 Bytes SGPBF1 Buffer for sound channel 1 717F 32 byte SGPBF2 Buffer for sound channel 2 719F 32 Bytes SGPBF3 Buffer for sound channel 3 <FF>
SYSVAR - 12 - 2.11. Sprites page (BI used for system variables) ================================================= 71BF BG: 0C MXPSNO The maximum number of POSTs - SPRITES that can move. BF: 00 The quantity is limited by the capacity of the table information S: 00 on the movement of the sprites 71C0 71E2 SPIFTA Address of Sprite movements information table 71C2 32 Byte SPLINK Sprite Link table. For each sprite 1 byte is reserved. Bit meaning: 7,6,5 - joint shape: 000 - unconnected 001 - in the same position 010 - right 100 - down 011 - left 101 - Up 110 - undefined 111 - undefined 2.12. The page of Sprite informations ===================================== 71E2 60 Bytes SPIFTB 721D ... end of the table Here are information about the movement of sprites numbers 0 to 11. For each sprite there is 5 bytes of information. First byte is Sprite Data - SPIFLG. BIT: 7 - validity of the data 6,5 - determine what type of motion sprite have and what the next 4 bytes looks like 4,3,2,1,0 - the number of the sprite whose information relates There are three possible data formats: -------------------------------------- Type A: byte 1 - R 0 0 number and sprite type byte 2 - Movement speed byte 3 - Counter for the speed of movement byte 4 - motion vector in the X axis byte 5 - motion vector in the Y axis Type B: byte 1 - R 0 1 sprite number and sprite type byte 2 - Movement speed byte 3 - Counter for the speed of movement byte 4 - Where to reach the X axis byte 5 - Where to reach the Y axis Type C: byte 1 - R 1 0 sprite number and sprite type byte 2 - objective X positions byte 3 - counter for X byte 4 - objective Y positions byte 5 - counter for Y Note: In BG, type A ... MOVE STEP type B ... MOVE TO and type C ... MOVE ON <FF>
SYSVAR - 13 - 2.13. Special page of MONITOR ROM ================================= 7223 __ UEVCT Additional Counter for EVENT 7224 __ UEVPT Supplementary Indicator for EVENT 7226 40 byte LNBUF Row buffer 724E ---- SCRDFR Rolling Data - Rolling Step 7250 ---- SCRCOR Rolling Data 7252 ---- CURPSV Cursor position X, Y - used for compilation 7254 - SCRLCH Roll flag 7255 3 Byte AVRHL Lengths of times when reading from a tape recorder 7258 32 byte ACHBTF Recording memory of the tape recorder identification block 7278 72 bytes NOTUSE Do not used space reserved for someone of the BASIC system 72C0 64 byte SYSTKL System tray. (in BI, BG, BF is used for BASIC) 7300 SYSTAK From this address, user space for programs begins <FF>
SYSVAR - 14 - 3. System variables of BASIC **************************** 3.1. BASIC-I system variables ============================= 71BF 7383 the address of the program in the BASIC language 71C1 ____ address of the end of the program in the BASIC and other languages the address of the start of the BASIC language variables 71C3 ____ address of the end of storing the BASIC language variables 71C5 7FFF RAM End Address 71CB ____ address of the reserved area for the user 71CD ____ the number just performs the rows 71CF ____ address of the executed code 71D7 13 LEN X 71D8 20 code of the character printed on the number 7203 32 byte space for recording file header from tape recorder (IDT) 3.2. BASIC-G system variables ============================= 7259 ____ address of the beginning of the program section 726A 745A address of program start 726C ____ address of the program end and the address of the start address storing BASIC language variables 726E ____ address end of variable storage 7270 ____ end of memory RAM usable for BASIC-G 7278 ____ the number just performs the rows 7282 13 LEN X 7288 ____ bottom for GOSUB 729A 8FFF last RAM address 72A9 relationship with TRACE 730A 4 byte default sound length for 1st channel SGC 730E 4 byte default sound length for 2nd channel SGC 7312 4 byte default sound length for 3th channel SGC 731A 32 byte space for recording file header from tape recorder (IDT) <FF>
SYSVAR - 15 - 3.3. BASIC-F system variables ============================= 711F __ NMBTRC drive number "FX:" (start 32 bytes) 7120 __ ATRCMT starts the space for the ID block of the attribute - attribute 7121 9 byte NAMCMT record name 712A ____ ADRCMT address for storing the record 712C ____ LENCMT record length 712E ____ STRCMT autostart record 7130 16 byte rest block ID (7131 IDENTC here is "BF" for SAVE) 721E 6357 MSKPOI address table for point creation in graph 7220 FF MSKPNT spot mask, typically 0FFH 7221 00 GMDPRM 2nd GMODE parameter (0 or 1) 7222 00 PMDEXC 2nd PMODE parameter. BIT: 0 - parameter order 1 - bit print order 7223 to 7225 see 2.13 7226 ____ Intergraphic Y coordinate of the graphic cursor at PAINT 7228 ____ Interfaces of the X Graphics Cursor at PAINT 722A to 7261 see 2.13 7262 ____ REGAF here is the AF register after RET from the machine code 7264 ____ REGBC register BC 7266 ____ REGDE register DE 7268 ____ REGHL register HL 726A BF: 77F2 ADRPRG program limits - program start BD: 945F 726C BF: 77F4 ADRVAR program end, start of variables BD: 9461 726E BF: 77F4 ENDVAR End of variables BD: 9461 7270 !!!! USRSPA address of the beginning of user space (SUMMEA-256). From USRSPA there are shuttle and operational spaces. Position is defined implicitly CLEAR n (n = 256) <FF>
SYSVAR - 16 - 7272 ____ STRTOM address of the beginning of the operating space, complete arithmetic 7274 ____ TOPTOM address of the operating area, identification of values STRTOM and TOPTOM reset the operating area 7276 !!!! TOPSYS the last byte of user space shows SP, initiates CLEAR 7278 ____ AKTNMB number is actually executed 727A ____ LASTLB address of last used vessel 727C ____ AKTCHR address of the executed code 727E ____ NXTADT address of another command (line) 7280 ____ ERRSP address of the emergency SP. Set to CLEAR TOPSYS + 1 7282 FFFE ERRGSP address of the emergency SP for GOSUB / RETURN 7284 00 ERR code last error 7285 00 not to use 7286 0000 ERRL The last error 7288 306A ERRL $ address last error 728A 77F1 RSTORE data reader address (RSTORE-1) 728C ____ LSTDTA address of the last DATA read 728E 02 INTYPE default input type (0 - INT, 2 - DBL, 4 - STR) 728F 02 OTTYPE default output type (0 - INT, 2 - DBL, 4 - STR) 7290 12 LENTXT length of newly declared chains (LEN X) 7291 __ FLAGA byte of the compilation flag. BIT: 4 - full row, 5 - active AUTO 7 - Existence of numeric range commands 7292 02 the maximum number of basics interruptions 7293 __ INTLVT EVENT BASIC, momentum allowed interference, compare with new. BIT: 0 - COINC 3 - EVENT 5 - STEP 7 - STOP 1 - KEY 4 - ON ERROR 6 - TRACE 7294 __ FLAGE Auxiliary Interrupting Registry. BIT: 7 - is ON ERROR ... / there was an error 6 - is ON EVENT ... <FF>
SYSVAR - 17 - 7295 ____ ADRERR relay address at ON ERROR ... 7297 ____ ADREVT rebound address at ON EVENT ... 7299 ____ rebound address at ON KEY ... 729B ____ return address at ON COINC ... 729D ____ return address at ON ALARM ... (?) 729F ____ ADRCNT redemption address for CONT (back to CONT) 72A1 ____ auxiliary variable 72A3 __ INTRGC copy of the debug registry at STOP for CONT (7293) 72A4 00 FLAGC sail at IF, EXE, CALC ... BIT: 0 - is a valid ELSE, otherwise it was valid THEN 4 - is EXE (CALC), not allowed 72A5 __ FLGVAR determine the validity of address variables in a program (00 - invalid, FF - platinum) 72A6 __ FLGADR specifies the validity of the jump and forward address in the program 72A7 00 CHNA Channel Number for Console Direct Modes - READY, AUTO ... 72A8 00 DEVA device number for direct console mod 72A9 00 CHNB Channel Number for Console Indirect Modes - LIST Function, FILES, PUT, GET, RECORD ... 72AA 00 DEVB device number for indirect console mode 72AB __ OPENCH open channel number 72AC ____ LAUTO number for AUTO 72AE ____ This step is for AUTO 72B0 73F3 TXTHD text address to create header. Text then shifts to 7133 72B2 BF: 57 NMBCMD command number in the command table BD: 6F 72B3 BF: 2786 CODCMD address of the conversion table of the command table - executable table BD: 8D34 addresses 72B5 BF: 5924 ASCCMD command table address - ASCII table shape BD: 8820 72B7 BF: 2A NMBFNC function count in table function BD: 3F 72B8 BF: 2DD2 CODFNC Conversion Table Address Function - Exercise Table BD: 8E14 addresses 72BA BF: 5B24 ASCFNC Address Conversion Table Function - Table in ASCII BD: 8ABB shape <FF>
SYSVAR - 18 - 72BC 02 MAXINT maximum number of interruptions in basics 72BD BF: 21C3 KOMPVR user routine for compiling variables. (FN) BD: 7923 Always 3 bytes: JP xxxx 72C0 24CF LISTVR user routine for listing variables 72C3 BF: 24CC STORVR user routine for input variables (FN count) BD: 7961 72C6 BF: 21C3 RUNNVR custom routine for setting up variables BD: 7961 72C9 BF: 21C3 CLRVAR user routine for resetting variables BD: 79C2 72CC BF: 21C3 ERSVAR user routine after resetting variable variables BD: 79D5 72CF BF: 24CC ENDCHR user routine of other termination characters (even 4) BD: 79B5 72D2 BF: 21C3 LREADY user routine to perform "Ready" BD: 7B80 Here are two table breaks by system EVENT: ------------------------------------------ 72D5 8000 SUPDLY item of EVENT operator table in basics 72D7 ____ SUPITV long to wait until next interruption + quote 72D9 BF: 26D9 ADREVP address of the EVENT process BD: 7881 72DB 8000 SUPDLY EVENT table entry - SLEEP operator 72DD ____ SUPITV long to wait until next interruption + quote 72DF 3072 ADRSLP SLEEP process address 72E1 6 bytes free space for the next operator table 72E7 4000 PSLEEP the number of periods for SLEEP 72E9 __ FSLEEP flag SLEEP (active / inactive) 72EA 6739 RPAINT address of the PAINT routine for the border character <FF>
SYSVAR - 19 - 72EC 00 parameter GCOPY, display value 72ED 68C3 PRICLM address of character routine printing (column printing fine-grained graphics for "PRI:") 72EF 6879 INIPRI Routine Address to Initialize "PRI:". According to the system prints the string according to INIPR and sends the BC content as a count point to "PRI:" 72F1 6944 Printers (0,1 - routine) 72F3 67C1 INCH6 text address that sets the printer to 6 INCH 72F5 5 bytes TINCH6 space for text definition of the definition 6 / i. Standardly a string is defined: DB 03,1B, 'A', 0C, 0. The BD changes command PMODE ,,,, <string> 72FA 67C8 INCH9 text address that sets the printer to 9 INCH 72FC 5 byte TINCH9 text DB 03,1B,'A',08,0 7301 67CF INIPR text for initialization "PRI:" 7303 3 bytes TINIPR space for initialization text "PRI:", by default is defined a string: DB 02,1B,'K' 7306 ____ ABUF Buffer Buffer: GOSUB Tray Indicator; address of variables stored in CHAIN ??ALL; address ukla- tax on DIM variables; save the character at LIST 7307 __ ADLIST (20) - LIST, (00) - CLIST 7308 ____ CHADDB pointer for COMPILE and pointer link in the program 730A __ LNLEN in COMPILE total length of the translated line 730B 8 byte BUF main arithmetic buffer 7313 8 Byte BUFPOM Auxiliary Buffer 731B 8 byte BUF2 auxiliary buffer arithmetic 7323 15 byte NUMBUF buffer 7332 __ NUMEXP expands the exponent when printing a number 7333 __ NUMFP number of decimal places at NUM $ 7334 8 byte MBUF1 secondary buffer arithmetic 733C 8 byte MBUF2 7344 8 byte MBUF3 734C 7 byte MBUF4 the number in binary form <FF>
SYSVAR - 20 - 7353 8 byte BUF1 arithmetic buffer 735B 741A ADRDBL Buffer Address for DBL Number Printing 735D __ FLAGT flag for printing numbers. BIT: 7 - DBL printing in EXP shape 6 - rounding allowed 5 - Mantis print only 735E __ FLAGB flag operation DBL. BIT: 0 - the buffer is a platinum number 735F __ THETA type of angular mire (as in Basque) 7360 7 bytes DBLRND random number mantissa 7367 ____ INTRND source number for RND 7369 96 byte TBLCHN channel table 0 to 15 by 6 bytes. BYTE: 0 - Device type 1 - driver number (A-H FD-5) 2 - channel number (inside the FD-5) 3,4 - Device table address 5 - position in the device (head position in "PRT:") The types of equipment are: 00 - CNS, 01 - GRP, 02 - PRT, 03 - PRI, 04 - CMT, 05 - FX, 06 - SIO, FF - CLOSE. (7369-CHN00, 73C3-CHN15) 73C9 04 IMOPEN default attribute OPEN (04 => data) 73CA 84 IMLIST default attribute LIST (84 => LIST) 73CB 04 IMPDEV default system device number 73CC 00 IMPDRV Implicit Driver Number (A-H FD-5) 73CD 00 IMPTRK default drive number (0-7 in one FD-5) 73CE 80 USER to continue the table of the device. Value with set 7 bits - the table is invalid 73CF 0000 USRDVA address of the user's device 73D1 00 FNDATA code searches for recordings 73D2 00 device status "FX:". BIT: 6 - a break on the FD-5 device "FX:" 3 - action text on "FX:" 2,1,0 - driver number (device "FX:") 73D3 00 Action Direction of Communication 1. Gradually, routine (from 0 to 3). BIT: 3 - registers return from "FX:" 2 - data from "FX:" 1 - date to "FX:" 0 - the action text is transmitted <FF>
SYSVAR - 21 - 73D4 __ action direction of communication 2. See 73D3 73D5 0B Row length for "FX:" 73D6 73E1 Raising Text Address for "FX:" 73D8 40 Exit Buffer Length for "FX:" 73D9 711F Output Buffer Address for "FX:" 73DB 40 input buffer length for "FX:" 73DC 715F Input Buffer Address for "FX:" 73DE 08 registry buffer length of "FX:" (reverse) 73DF 7262 address for the backspace buffer from "FX:" 73E1 3 bytes of space for lift text for "FX:" 73E4 ____ space for registers for operations with "FX:" 73E6 ____ length of the recorded record from "FX:" (record) 73E8 ____ kind of operation with "FX:". 0 = only header 73EA ____ address of the start of the data block 73EC __ copy SYSFMT - tape recorder 73ED __ memory type when operating with "FX:" 73EE ____ time constants that determine waiting for the answer from "FX:" 73F0 ____ Interstitial SP when communicating with "FX:" 73F2 0A Counter for RESET keypress 73F3 26 byte HEADTX text for header creation see 72B0 740D 256 bytes LINBUF for row buffer while: 740D ____ RENMST number for RENUM and NOLIST and X point coordinates ends of PAINT of the valid pixel 740F ____ The RENMSS ROW step for RENUM and NOLIST and the X coordinate of the new of the PAINT test point 7411 ____ RENMIS address of the original line for RENUM and NOLIST and buffers the X coordinate of the PAINT point of the valid pixel <FF>
SYSVAR - 22 - 7413 __ interrupted PAINT 7414 __ motion direction dyed in the Y axis. 00 down, FF up 7415 ____ Store X axis of the new test point at PAINT 7317 ____ Store SP at PAINT 7419 ____ lower VIEW value expressed in graphical coordinates 741E __ NMBCLR number of border colors for PAINT 741F 16 byte PAICLR Border Columns for PAINT 744D __ flag "PRI:". BIT: 0 - indicates whether the character is one or two lines (set by print routine) 6 - the first print character 7 - the last print line 744E ____ the number of points (character column) per line + 2 points (s) on a "PRI:" frame 750E 256 byte BUFKOM buffer for ASCII line compilation to internal representation 7630 256 byte BUFDAT buffer for OLD array compilation from LIST; CALC, EXE 7751 159 byte buffer for block entry when operating with "CMT:" 77F2 (BD:945F) from this address starts the space for user programs <FF>
SYSVAR - 23 - 4. List of System Variables by Alphabet *************************************** 4.1. System variables MONITOR ROM ================================= ACHBTF 7258 DWCTBI 7045 MSCAL 7063 UPCTBW 7042 ACMBTF 711F DWCTBW 7046 MXPSNO 71BF UPRMVA 70A0 ALMPRC 704F ERSECA 70AC NOTUSE 7278 UPRMVP 70C4 ALMTH 704E ERSECP 70D0 PHDPOS 705C WIDTDA 70A5 ALMTM 704D EVHPRC 7051 PMXCLM 705B WIDTDP 70C9 ARPITI 702F EVIFTA 703E POUTFG 705A WIDTVA 70A3 ARPITW 7030 EVMGFG 703C PSHKAD 7029 WIDTVP 70C7 ARPSTI 702D EVMXNO 703D PUTPMT 708F ARPSTW 702E FKIFTA 70DD RSTPRC 7025 ASWN01 701D FKMGFG 70DC RWBFMT 7092 ASWN02 701F GCURXA 70B1 SATTLA 709B ASWPRC 7023 GCURXP 70D5 SATTLP 70BF AVILMT 7090 GCURYA 70B0 SCCDTA 700E AVRHL 7255 GCURYP 70D4 SCRCOR 7250 BDCOLA 709F GIMPRA 70B4 SCRDFR 724E BDCOLP 70C3 GIMPRP 70D8 SCRLCH 7254 BELC 7059 GPLPRA 70B2 SEXPA 705F BELFA 70AD GPLPRP 70D6 SEXTA 705D BELFLA 70AE GRFLA 70AF SGPBF1 715F BELFLP 70D2 GRFLP 70D3 SGPBF2 717F BELFP 70D1 HEITVA 70A2 SGPBF3 719F BELKC 7058 HEITVP 70C6 SGSYT1 7064 BELKF 703A HITDA 70A4 SGSYT2 7072 BELKLF 703B HITDP 70C8 SGSYT3 7080 BSIZMT 7091 HLTPRC 7027 SMEMEA 7012 CCOTLA 7097 IVCTC0 7000 SMEMTA 7010 CCOTLP 70BB IVCTC1 7002 SPATLA 709D CCUCRA 70AA IVCTC2 7004 SPATLP 70C1 CCUCRP 70CE IVCTC3 7006 SPIFTA 71C0 CHATIT 702C IVCTC6 7008 SPIFTB 71E2 CLKBTW 7049 IVCTC7 700B SPLINK 71C2 CLOCKS 704A JOYDR1 701E SPRPRC 7053 CLOCKH 704C JOYDR2 7020 SPSTEP 7056 CLOCKM 704B JOYPRC 7021 SPSTPC 7057 CODTLA 7095 KBCTET 701B SPSTUS 7055 CODTLP 70B9 KBFSIZ 7035 STDLY 7019 CPATLA 7099 KBUFTA 7031 SUMMEA 7016 CPATLP 70BD KDTGPT 7034 SUMMTA 7014 CURADA 70A8 KDTPPT 7033 SVSSW 7018 CURADP 70CC KEYBUF 70DF SYSFMT 708E CURPSV 7252 KINFLG 701A SYSTAK 7300 CURSXA 70A7 KINWTH 7038 SYSTKL 72C0 CURSXP 70CB KINWTM 7036 TERMAL 7039 CURSYA 70A6 LFTMVA 70A1 TMPOC 7062 CURSYP 70CA LFTMVP 70C5 TMPOD 7061 DIFLGA 7094 LKYADR 702B UEVCT 7223 DIFLGP 70B8 LNBUF 7226 UEVMGF 7040 DISPCA 70AB LSKYST 702A UEVPT 7224 DISPCP 70CF MPLPRA 70B6 UPCNT 7043 DWCNT 7047 MPLPRP 70DA UPCTBI 7041 <FF>
SYSVAR - 24 - S Y S V A R According to different materials and based on their own experience composed and wrote LZR Soft. In Kladno 1988. Issue 9, number of copies as needed. Printed on LA120 printer. 14-OCT-91 <FF>

Original version of the manual

Original form of the manual (in Czech): SYSVAR.SM5 (35KB, plain text including escape sequences for the LA120 DECWriter III) from LZR Soft.

Translated version of Handbook: SYSVAR_ENG.SM5 (38KB, plain text including escape sequences for the LA120 DECWriter III) from LZR Soft /translation: Henrich Raduška/.