Import backup from 2004-03-08

This commit is contained in:
josh committed 2017-07-25 22:23:46 -04:00
1 parent 0b9d7fde22
commit 8d0e6de040
45 files changed
+243 -219

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
//fdc.c
//Author: Josh Holtrop
//Created: 10/30/03
//Modified: 02/26/04
#include "fdc.h"
+23
View File
@@ -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