home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / jsage / znode3 / z3doc / nzenvadd.txt < prev    next >
Encoding:
Text File  |  1993-06-07  |  6.1 KB  |  101 lines

  1. NZCOM  offsets from ENV address.  Under 'Item,' those in
  2. lower case are the labels as used in *.ZCM.  Page numbers refer to
  3. the NZCOM manual.
  4.  
  5. Offset    Bytes    Item                Description                              
  6.                                                                               
  7. 0000    1    C3        ; Jump instruction
  8. 0002    2    cbios        ; CBIOS address
  9. 0003    5       'Z3ENV'         ; Environment ID                              
  10. 0008    1       envtyp          ; Environment class
  11. 0009    2       expath          ; external path address                       
  12. 000B    1       expaths         ; number of 2-byte elements in path           
  13. 000C    2       rcp             ; RCP address                                 
  14. 000E    1       rcps            ; number of 128-byte blocks in RCP            
  15. 000F    2       iop             ; IOP address                                 
  16. 0011    1       iops            ; number of 128-byte blocks in IOP            
  17. 0012    2       fcp             ; FCP address                                 
  18. 0014    1       fcps            ; number of 128-byte blocks in FCP            
  19. 0015    2       z3ndir          ; NDR address                                 
  20. 0017    1       z3ndirs         ; number of 18-byte entries in NDR            
  21. 0018    2       z3cl            ; ZCPR3 Command Line                          
  22. 001A    1       z3cls           ; number of bytes in Command Line             
  23. 001B    2       z3env           ; ZCPR3 Environment Descriptor                
  24. 001D    1       z3envs          ; number of 128-byte blocks in Descriptor     
  25. 001E    2       shstk           ; Shell Stack address                         
  26. 0020    1       shstks          ; number of shsize-byte entires in Shell Stack
  27. 0021    1       shsize          ; size of a Shell Stack entry                 
  28. 0022    2       z3msg           ; ZCPR3 Message buffer                        
  29. 0024    2       extfcb          ; ZCPR3 External FCB                          
  30. 0026    2       extstk          ; ZCPR3 External Stack                        
  31. 0028    1       quiet           ; quiet flag (1=quiet, 0=not quiet)           
  32. 0029    2       z3whl           ; address of Wheel Byte                       
  33. 002B    1       speed           ; Processor Speed in MHz                      
  34. 002C    1       maxdrv          ; maximum drive
  35. 002D    1       maxusr          ; maximum user
  36. 002E    1       duok            ; 1=OK to accept DU, 0=not OK                 
  37. 002F    1       crt             ; CRT selection (MUST BE LEFT AS 0000!)
  38. 0030    1       prt             ; Printer selection (MUST BE LEFT AS 0000!)
  39. 0031    1       cols            ; width of CRT                                
  40. 0032    1       rows            ; number of lines on CRT                      
  41. 0033    1       lins            ; number of lines of text on CRT              
  42. 0034    2    drvec        ; drive vector (see p. 44 in manual)
  43. 0036    1    spar1        ; (fills in space from Z3 SYSENV)
  44. 0037    1    pcol        ; width of printer
  45. 0038    1    prow        ; number of lines on printer
  46. 0039    1    plin        ; number of lines of text on printer
  47. 003A    1    form        ; form feed flag (0=can't formfeed, 1=can)
  48. 003B    1    spar2        ; (fills in space from Z3 SYSENV)
  49. 003C     1    spar3        ; (fills in space from Z3 SYSENV)
  50. 003D    1    spar4        ; (fills in space from Z3 SYSENV)
  51. 003E    1    spar5        ; (fills in space from Z3 SYSENV)
  52. 003F    2    ccp        ; address of CCP    
  53. 0041    1    ccps        ; CCP size
  54. 0042    2    dos        ; address of DOS
  55. 0044    1    doss        ; DOS size
  56. 0045    2    bio        ; address of BIOS (NZCOM's - not CBIOS)
  57. 0047    8       'SH      '      ; shell variable filename                     
  58. 004F    3       'VAR'           ; shell variable filetype                     
  59. 0052    8       '        '      ; filename 1                                  
  60. 005A    3       '   '           ; filetype 1                                  
  61. 005D    8       '        '      ; filename 2                                  
  62. 0065    3       '   '           ; filetype 2                                  
  63. 0068    8       '        '      ; filename 3                                  
  64. 0070    3       '   '           ; filetype 3                                  
  65. 0073    8       '        '      ; filename 4                                  
  66. 007B    3       '   '           ; filetype 4                                  
  67. 007E    1    pubdrv        ; drive location of public files (p. 46)
  68. 007F    1    pubusr        ; user location of public files (p. 46)
  69.  
  70.      (tcap info starts below - shown for my configuration)
  71.  
  72. 0080            'KP10 Kaypro 4/10'      ; Name of Terminal                     
  73. 0090            'K'-'@'                 ; 0B, Cursor UP                   
  74. 0091            'J'-'@'                 ; 0A, Cursor DOWN                  
  75. 0092            'L'-'@'                 ; 0C, Cursor RIGHT    
  76. 0093            'H'-'@'                 ; 08, Cursor LEFT                    
  77. 0094            50                      ; CL Delay     ;clear screen delay     
  78. 0095            00                      ; CM Delay     ;cursor motion "        
  79. 0096            00                      ; CE Delay     ;clear to eol  "        
  80. 0097            'Z'-'@',0               ; 1A, CL String    ;clear screen 
  81. 0099            1bh,'=%+ %+ ',0         ; CM String    ;cursor motion          
  82. 00A2            'X'-'@',0               ; CE String    ;clear to end of line   
  83. 00A4            1bh,'B0',1bh,'B1',0     ; SO String    ;standout on 
  84. 00AB            1bh,'C0',1bh,'C1',0     ; SE String    ;standout off           
  85. 00B2            0                       ; TI String    ;term init              
  86. 00B3            0                       ; TE String    ;term deinit            
  87.  
  88.  
  89. *******************************************************************
  90.  
  91. Perhaps I've invented the same round, rolling object that someone else
  92. has offered, but I've not seen it.  This listing of the offsets from
  93. the ENV address in a NZCOM system of its labels and their values 
  94. or addresses in its *.ZCM files I find quite useful.  One can poke to
  95. his heart's content and produce any number of the marvelous effects of
  96. which NZCOM is capable.
  97.  
  98. Phil Newman
  99. Glenview, IL
  100. 11/9/88
  101.