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

📄 stdio.inc

📁 VRTX 商用嵌入式实时操作系统
💻 INC
字号:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
;		Copyright (c) 1993 READY SYSTEMS CORPORATION.
;
;	All rights reserved. READY SYSTEMS' source code is an unpublished
;	work and the use of a copyright notice does not imply otherwise.
;	This source code contains confidential, trade secret material of
;	READY SYSTEMS. Any attempt or participation in deciphering, decoding,
;	reverse engineering or in any way altering the source code is
;	strictly prohibited, unless the prior written consent of
;	READY SYSTEMS is obtained.
;
;
;	Module Name:		%M%
;
;	Identification:		%Z% %I% %M%
;
;	Date:			%G%  %U%
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;

; FILE -- standard buffered I/O structure

FILE		STRUC 
FIO_FLAGS     DW   1   ; $00 miscellaneous flags (see below)
FIO_CHANNEL   DW   1   ; $02 IOX channel number or zero if VRTX I/O
FIO_BUFFER    DB   6 DUP(?)   ; $04 pointer to start of buffer
FIO_NEXT      DW   1   ; $0A offset to next character in buffer (input)
FIO_SIZE      DW   1   ; $0C total size of buffer in bytes
FIO_COUNT     DW   1   ; $0E number of characters in buffer
FILE		ENDS

FIOB          EQU   16   ; $0E total size in bytes

FIO_READ      EQU    1   ; reading is allowed
FIO_WRITE     EQU    2	 ; writing is allowed
FIO_ASCII     EQU    4	 ; expand \n to \r\n, control-Z is EOF
FIO_LINEBUF   EQU    8	 ; line buffered, so flush after \n
FIO_EOF       EQU   16	 ; end-of-file has occurred
FIO_UNBUF     EQU   32	 ; stream is not buffered
FIO_MYBUF     EQU   64	 ; user-allocated buffer
FIO_MYFILE    EQU  128	 ; statically allocated FILE structure
FIO_FLUSH     EQU  256	 ; buffer contains data to be flushed
FIO_ERROR     EQU  512	 ; error has occurred

⌨️ 快捷键说明

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