cmd_complete466_sel.c
来自「基于FAS466的SCSI控制器的启动器模式的C源代码。」· C语言 代码 · 共 27 行
C
27 行
#define GLB extern
#include <stdio.h>
#include <conio.h>
#include <sys\types.h>
#include <sys\timeb.h>
#include <time.h>
#include <stdlib.h>
#include <string.h>
#include <dos.h>
#include "fas466defs.h"
#include "fas466regs.h"
#include "fas466globalvars.h"
void Cmd_Complete466_sel()
{
unsigned long Cmd_cmpt_stat = 0;
unsigned long CmdCmptLoopCount = 0;
do {
Cmd_cmpt_stat = RegRead(SC_Command_Interrupt_Status);
CmdCmptLoopCount = CmdCmptLoopCount + 1;
} while ((Cmd_cmpt_stat != 0x10) || (Cmd_cmpt_stat != 0x20) || (Cmd_cmpt_stat != 0x30));
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?