home *** CD-ROM | disk | FTP | other *** search
- ;*********************************************************
- ;
- ; SWIND Windowing Library Demo
- ; Eugene Nolan
- ;
- ; For the users of non-Z3 systems, this
- ; file is an overlay for the SWIND demo
- ; program that allows you to specify to the
- ; demo your terminal capabilities
- ;
- ; It is meant to be assembled to a .HEX file and
- ; overlayed upon the Demo .COM file.
- ;
- ; Mload Demo=Demo.com,systcp.hex
- ;
- ; The only capabilities that the demo require is
- ; the cursor move and clear screen. If your terminal
- ; has some sort of standout video mode, that will be
- ; made use of, but is not required.
- ;
- ; Terminal Capabilities Data
- ;
- org 10bh
-
- db 10 ;Proc speed in MHZ
- wtcap:
- DB 'NOLAN ' ;Name of Terminal, EXACTLY 16 long
- DB 'E'-'@' ;Cursor UP Not used
- DB 'X'-'@' ;Cursor DOWN by
- DB 'S'-'@' ;Cursor RIGHT the
- DB 'D'-'@' ;Cursor LEFT windowing library
-
- ; The next three bytes specify the delay in ms after giving the
- ; terminal the given command
-
- DB 00 ;Delay for clear screen
- DB 00 ;Delay for cursor move
- DB 00 ;Delay for clear to end of line
-
- ;terminate the next entries with a 0
-
- DB 1bh,'H',1bh,'J',0 ;CLear screen String
- DB 1bh,'Y%+ %+ ',0 ;Cursor Move String
- DB 1bh,'K',0 ;Clear to Eol String
- DB 1bh,5,0 ;Start standout String
- DB 1bh,6,0 ;Stop standout String
- DB 0 ;Terminal Init String
- DB 0 ;Terminal dEinit String
-
-
- ds 80H-($-wtcap) ; make exactly 80H bytes long
- ; End of Environment Descriptor
- ;
- end