general_0.imp
上传用户:upcnvip
上传日期:2007-01-06
资源大小:474k
文件大小:1k
源码类别:

编译器/解释器

开发平台:

C/C++

  1. {IncludeFrom=general_0 <p2c/general_0.h>}
  2. {*VarStrings=0} {*ExportSymbol=P_%s} {*Export_Symbol=%s}
  3. MODULE GENERAL_0;
  4. IMPORT  iodeclarations; 
  5. EXPORT
  6.    VAR
  7.       kbd_crt_drivers : drv_table_type;
  8.       dummy_drivers   : drv_table_type;
  9.    FUNCTION  ioread_word ( select_code: type_isc ; register   : io_word ): io_word ;
  10.    PROCEDURE iowrite_word( select_code: type_isc ; register   : io_word ;
  11.                            value      : io_word);
  12.    FUNCTION  ioread_byte ( select_code: type_isc ; register   : io_word ): io_byte ;
  13.    PROCEDURE iowrite_byte( select_code: type_isc ; register   : io_word ;
  14.                            value      : io_byte);
  15.    FUNCTION  iostatus    ( select_code: type_isc ; register   : io_word ): io_word ;
  16.    PROCEDURE iocontrol   ( select_code: type_isc ; register   : io_word ;
  17.                            value      : io_word);
  18.    PROCEDURE kernel_initialize;
  19.    PROCEDURE io_system_reset;
  20. end.