	title	BUFBLK
	subttl	Module from library C_1 : BUFBLK
	maclib	SYSEQU.LIB

; FILE:	BUFBLK.MAC
; DATE:	820819:1211
; FOR:	Channel allocation and buffer defs.

; Buffer definition blocks for disk i/o;
; Also contains channel tables.

	entry	chanls,bufbls

	dseg

chanls:
	rept 16
	dw	0
	endm

; BUFBLS block constructed as follows:

; Byte 1,2	End of buffer
; Byte 3,4	Buffer pointer (-len to 0)
; Byte 5,6	Buffer size (-len)
; Byte 7,8	FCB address
; Byte  9	Buffer size in sectors
; Byte 10	Read-write flag (w=0ffh)

bufbls:
	rept 15
	dw	0,0,0,0
	db	0ffh,0
	endm

	end

