📄 hwint.h
字号:
// HWINT.H
// Copyright (c) 1995, Vireo Software, Inc.
#include <vtoolsc.h> // primary include for VtoolsD
#include "cmosio.h"
// Device Parameters
#define HWINT_Major 1
#define HWINT_Minor 0
#define HWINT_DeviceID UNDEFINED_DEVICE_ID
#define HWINT_Init_Order UNDEFINED_INIT_ORDER
#define RTC_IRQ 8 // IRQ (not vector number) used by real
// time clock
// Forward declarations for functions
BOOL __stdcall RTCInt_Handler(VMHANDLE hVM, IRQHANDLE hIRQ);
VOID __stdcall SecondEventService(VMHANDLE hVM, PVOID Refdata, PCLIENT_STRUCT pRegs);
// Macro to convert a byte of binary coded decimal (BCD) to int
#define BCDtoInt(x) (((x) & 0xf) + ((((x) & 0xf0) >> 4) * 10))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -