Import backup from 2004-03-08
This commit is contained in:
1 parent
0b9d7fde22
commit
8d0e6de040
45 files changed
+243
-219
No files matched your search
@@ -0,0 +1,9 @@
|
||||
//fdc.c
|
||||
//Author: Josh Holtrop
|
||||
//Created: 10/30/03
|
||||
//Modified: 02/26/04
|
||||
|
||||
#include "fdc.h"
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
//fdc.h
|
||||
//Author: Josh Holtrop
|
||||
//Date: 10/30/03
|
||||
//Modified: 02/26/04
|
||||
|
||||
#ifndef __HOS_FDC__
|
||||
#define __HOS_FDC__ __HOS_FDC__
|
||||
|
||||
#include "sys/io.h"
|
||||
|
||||
#define FDC_DOR 0x3f2
|
||||
#define FDC_MSR 0x3f4
|
||||
|
||||
inline void fdc_sendDOR(byte dor);
|
||||
|
||||
inline void fdc_sendDOR(byte dor)
|
||||
{
|
||||
outportb(FDC_DOR, dor);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user