home *** CD-ROM | disk | FTP | other *** search
- ;**********************************************************
- ; ZREMOTE driver for AMSBIOS
- ;**********************************************************
-
- EXTRN VRCI
- EXTRN VRCIS
- EXTRN VRCO
- EXTRN VRCOS
- EXTRN VLCOS
-
- ;.....
- ; AUX INPUT/OUTPUT AND STATUS ROUTINES
-
- PUBLIC AUXIN
-
- AUXIN:
-
- PUBLIC AUXOUT
-
- AUXOUT:
-
- PUBLIC AUXIST
-
- AUXIST:
-
- PUBLIC AUXOST
-
- AUXOST: XOR A ; Dummy routine
- RET
-
- ;.....
- ; CONSOLE OUTPUT STATUS ROUTINE
-
- PUBLIC CONOST
-
- CONOST: CALL VLCOS
- AND A
- RET Z ; If local not ready, none are ready
- CALL CKREM ; See if remote on line
- LD A,0FFH
- RET Z ; If not
- JP VRCOS ; Local is ready, check remote
-
- ;.....
- ; CHECK REMOTE ACTIVE
-
- PUBLIC CKREM
-
- CKREM: LD A,(REMACT) ; Get remote active flag
- AND A
- RET NZ ; If active
- CALL VRCIS ; Else see if we have anything yet
- AND A
- RET Z ; Exit if nothing
- LD (REMACT),A
- RET
-
- REMACT: DB 0
- end