home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
ZSYS
/
SIMTEL20
/
SYSLIB
/
SLIB1.LBR
/
SBIST.Z80
< prev
next >
Wrap
Text File
|
2000-06-30
|
384b
|
27 lines
;
; SYSLIB Module Name: BIST
; Author: Richard Conn
; SYSLIB Version Number: 3.6
; Module Version Number: 1.1
public bist
BDOS EQU 5
;
; GET CON CHAR STATUS IN A VIA BDOS CALL
; AFFECT ONLY PSW
;
BIST:
PUSH HL ; SAVE REGS
PUSH DE
PUSH BC
LD C,11 ; GET STATUS
CALL BDOS
OR A ; SET FLAGS
POP BC ; RESTORE REGS
POP DE
POP HL
RET
END