pal.cpp
来自「一个嵌入式系统的C代码」· C++ 代码 · 共 24 行
CPP
24 行
//*************************************************************************// MODULE : Pal - Program Abstraction Layer for the RCOS system *// AUTHOR : Ron Chernich *// PURPOSE: Definition of a class to provide platform dependant services *// for timer interrupts, raw keyboard buffer access and low *// level mouse events. *// HISTORY: *// 22-MAR-93 ISR made a friend to beat Borland compiler quirk *// 08-APR-93 Start/Stop added and GetTicks adjusted for 1mS (hah!) *// 14-MAY-93 Sentinal to prevent starting a stopped timer *// 29-OCT-93 Created to make "Timer" more platform independant *// 04-FEB-94 Timer class body moved here from "timer" *//*************************************************************************#include "pal.hpp"#ifdef DOS_ENV #include "paldos.cpp"#endif#ifdef UNIX #include "palunix.cc"#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?