⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 queues.inc

📁 这是DOS系统的源代码,汇编写的,值得看看,对开发操作系统的人员有价值
💻 INC
字号:
;***
;queues.inc - 20-Mar-86
;***
	.XLIST
;***
;
;	Copyright <C> 1986, Microsoft Corporation
;
;Purpose:
;*      queues.inc - contains all the needed definitions to use queues as
;*                   defined in GWQUE.ASM
;*      should be included in the 'CODE' segment for the externals to
;*      be in the right place
;
;******************************************************************************

	EXTRN	B$INITQ:NEAR
	EXTRN	B$GETQ:NEAR
	EXTRN	B$PUTQ:NEAR
	EXTRN	B$NUMQ:NEAR
	EXTRN	B$LFTQ:NEAR

QUEUE	STRUC

QUEPUT	DW	1 DUP(?)	;queue put pntr
QUEGET	DW	1 DUP(?)	;queue get pntr
QUEBOT	DW	1 DUP(?)	;bot of queue location
QUETOP	DW	1 DUP(?)	;top of queue location
QUELEN	DW	1 DUP(?)	;length of queue = max q-able bytes + 1
QUENUM	DW	1 DUP(?)	;number of bytes in que

QUEUE	ENDS

QUE_HEADER_SIZE = SIZE QUEUE

	.LIST

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -