2 * Hyper Operating System Application Framework
4 * @file pcattextdrv_write.c
5 * @brief %jp{PC/AT text mode driver 書込み}%en{PC/AT text mode driver write}
7 * Copyright (C) 2008 by Project HOS
8 * http://sourceforge.jp/projects/hos/
12 #include "pcattextdrv_local.h"
16 FILE_SIZE PcatTextDrv_Write(C_DRVOBJ *pDrvObj, C_FILEOBJ *pFileObj, const void *pData, FILE_SIZE Size)
19 const unsigned char *pubBuf;
23 self = (C_PCATTEXTDRV *)pDrvObj;
25 pubBuf = (const unsigned char *)pData;
28 for ( i = 0; i < Size; i++ )
30 PcatTextDrv_PutChar(self, pubBuf[i]);