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
/
SLIB2.LBR
/
SFWRITE.Z80
< prev
next >
Wrap
Text File
|
2000-06-30
|
512b
|
28 lines
;
; SYSLIB Module Name: SFWRITE
; Author: Richard Conn
; SYSLIB Version Number: 3.6
; Module Version Number: 1.2
public f$write
;
; F$WRITE -- WRITE BLOCK TO FILE WHOSE FCB IS PTED TO BY DE
; RET W/A=0 IF OK AND FLAGS
;
EXT BDOS
F$WRITE:
PUSH HL ; SAVE HL
PUSH BC ; SAVE BC
LD C,B$RECW
CALL BDOS
OR A ; SET FLAGS (Z FLAG)
POP BC ; RESTORE BC
POP HL ; RESTORE HL
RET
B$RECW EQU 21 ; WRITE RECORD
END