Commit 53b8c542 authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Convert ngpBios.cpp to C

parent b5f9c0a3
......@@ -35,7 +35,6 @@ endif
SOURCES_CXX := \
$(CORE_DIR)/input.cpp \
$(CORE_DIR)/ngpBios.cpp \
$(CORE_DIR)/tlcs900h.cpp \
$(CORE_DIR)/memory.cpp \
$(CORE_DIR)/flash.cpp \
......@@ -47,6 +46,7 @@ SOURCES_CXX := \
$(CORE_DIR)/libretro/log.cpp
SOURCES_C += \
$(CORE_DIR)/ngpBios.c \
$(CORE_DIR)/neopopsound.c
ifeq ($(DRZ80),1)
......
......@@ -401,23 +401,25 @@ void dac_writeL(unsigned char data)
}
}
/*void dac_writeR(unsigned char data)
#if 0
void dac_writeR(unsigned char data)
{
//Write to buffer
/* Write to buffer */
dacBufferR[dacRBufferWrite] = data;
dacRBufferWrite++;
if (dacRBufferWrite == DAC_BUFFERSIZE)
dacRBufferWrite = 0;
//Overflow?
/* Overflow? */
dacRBufferCount++;
if (dacRBufferCount == DAC_BUFFERSIZE)
{
dbg_printf("dac_write: DAC buffer overflow\nPlease report this to the author.");
dacRBufferCount = 0;
}
}*/
}
#endif
void dac_mixer(_u16* stream, int length_bytes)
{
......
//---------------------------------------------------------------------------
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version. See also the license.txt file for
// additional informations.
//---------------------------------------------------------------------------
/*---------------------------------------------------------------------------
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. See also the license.txt file for
* additional informations.
*---------------------------------------------------------------------------
*/
// ngpBios.cpp: implementation of the ngpBios class.
//
//////////////////////////////////////////////////////////////////////
/* ngpBios.cpp: implementation of the ngpBios class. */
#include "StdAfx.h"
#include "main.h"
#include "ngpBios.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
unsigned char sysfont[8*256] =
{
// 0x00 - 0x07
/* 0x00 - 0x07 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0xf8, 0xf8, 0x18, 0x18, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
// 0x08 - 0x0F
/* 0x08 - 0x0F */
0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0,
0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0,
0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc, 0xfc,
0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
// 0x10 - 0x17
/* 0x10 - 0x17 */
0x20, 0x30, 0x38, 0x3c, 0x38, 0x30, 0x20, 0x00, 0x04, 0x0c, 0x1c, 0x3c, 0x1c, 0x0c, 0x04, 0x00,
0x00, 0x00, 0xfe, 0x7c, 0x38, 0x10, 0x00, 0x00, 0x00, 0x00, 0x10, 0x38, 0x7c, 0xfe, 0x00, 0x00,
0x20, 0x3c, 0x08, 0x3c, 0x28, 0x7e, 0x08, 0x00, 0x3c, 0x24, 0x3c, 0x24, 0x3c, 0x24, 0x24, 0x00,
0x3c, 0x24, 0x24, 0x3c, 0x24, 0x24, 0x3c, 0x00, 0x10, 0x10, 0x54, 0x54, 0x10, 0x28, 0xc6, 0x00,
// 0x18 - 0x1F
/* 0x18 - 0x1F */
0x10, 0x12, 0xd4, 0x58, 0x54, 0x92, 0x10, 0x00, 0x10, 0x10, 0x7c, 0x10, 0x38, 0x54, 0x92, 0x00,
0x10, 0x28, 0x7c, 0x92, 0x38, 0x54, 0xfe, 0x00, 0x10, 0x10, 0x10, 0x7c, 0x10, 0x10, 0xfe, 0x00,
0x7f, 0xff, 0xe0, 0xff, 0x7f, 0x01, 0xff, 0xff, 0xdc, 0xde, 0x1f, 0x9f, 0xdf, 0xdd, 0xdc, 0x9c,
0x3b, 0x3b, 0x3b, 0xbb, 0xfb, 0xfb, 0xfb, 0x7b, 0x8f, 0x9e, 0xbc, 0xf8, 0xf8, 0xbc, 0x9e, 0x8f,
// 0x20 - 0x27
/* 0x20 - 0x27 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x18, 0x08, 0x10, 0x00, 0x18, 0x00,
0x6c, 0x6c, 0x24, 0x48, 0x00, 0x00, 0x00, 0x00, 0x14, 0x14, 0xfe, 0x28, 0xfe, 0x50, 0x50, 0x00,
0x10, 0x7c, 0x90, 0x7c, 0x12, 0xfc, 0x10, 0x00, 0x42, 0xa4, 0xa8, 0x54, 0x2a, 0x4a, 0x84, 0x00,
0x30, 0x48, 0x38, 0x62, 0x94, 0x88, 0x76, 0x00, 0x18, 0x18, 0x08, 0x10, 0x00, 0x00, 0x00, 0x00,
// 0x28 - 0x2F
/* 0x28 - 0x2F */
0x08, 0x10, 0x20, 0x20, 0x20, 0x10, 0x08, 0x00, 0x20, 0x10, 0x08, 0x08, 0x08, 0x10, 0x20, 0x00,
0x10, 0x92, 0x54, 0x38, 0x38, 0x54, 0x92, 0x00, 0x10, 0x10, 0x10, 0xfe, 0x10, 0x10, 0x10, 0x00,
0x00, 0x00, 0x00, 0x30, 0x30, 0x10, 0x20, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x60, 0x00, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x00,
// 0x30 - 0x37
/* 0x30 - 0x37 */
0x3c, 0x42, 0x46, 0x5a, 0x62, 0x42, 0x3c, 0x00, 0x08, 0x38, 0x08, 0x08, 0x08, 0x08, 0x08, 0x00,
0x3c, 0x42, 0x42, 0x0c, 0x30, 0x40, 0x7e, 0x00, 0x3c, 0x42, 0x02, 0x1c, 0x02, 0x42, 0x3c, 0x00,
0x0c, 0x14, 0x24, 0x44, 0x7e, 0x04, 0x04, 0x00, 0x7e, 0x40, 0x7c, 0x02, 0x02, 0x42, 0x3c, 0x00,
0x3c, 0x40, 0x7c, 0x42, 0x42, 0x42, 0x3c, 0x00, 0x7e, 0x02, 0x04, 0x08, 0x08, 0x10, 0x10, 0x00,
// 0x38 - 0x3F
/* 0x38 - 0x3F */
0x3c, 0x42, 0x42, 0x3c, 0x42, 0x42, 0x3c, 0x00, 0x3c, 0x42, 0x42, 0x42, 0x3e, 0x02, 0x3c, 0x00,
0x00, 0x18, 0x18, 0x00, 0x18, 0x18, 0x00, 0x00, 0x00, 0x18, 0x18, 0x00, 0x18, 0x08, 0x10, 0x00,
0x00, 0x08, 0x10, 0x20, 0x10, 0x08, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x00, 0x3c, 0x00, 0x00, 0x00,
0x00, 0x10, 0x08, 0x04, 0x08, 0x10, 0x00, 0x00, 0x3c, 0x62, 0x62, 0x0c, 0x18, 0x00, 0x18, 0x00,
// 0x40 - 0x47
/* 0x40 - 0x47 */
0x7c, 0x82, 0xba, 0xa2, 0xba, 0x82, 0x7c, 0x00, 0x10, 0x28, 0x28, 0x44, 0x7c, 0x82, 0x82, 0x00,
0x7c, 0x42, 0x42, 0x7c, 0x42, 0x42, 0x7c, 0x00, 0x1c, 0x22, 0x40, 0x40, 0x40, 0x22, 0x1c, 0x00,
0x78, 0x44, 0x42, 0x42, 0x42, 0x44, 0x78, 0x00, 0x7e, 0x40, 0x40, 0x7e, 0x40, 0x40, 0x7e, 0x00,
0x7e, 0x40, 0x40, 0x7c, 0x40, 0x40, 0x40, 0x00, 0x3c, 0x42, 0x80, 0x9e, 0x82, 0x46, 0x3a, 0x00,
//
/* */
0x42, 0x42, 0x42, 0x7e, 0x42, 0x42, 0x42, 0x00, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x00,
0x02, 0x02, 0x02, 0x02, 0x42, 0x42, 0x3c, 0x00, 0x42, 0x44, 0x48, 0x50, 0x68, 0x44, 0x42, 0x00,
0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x7e, 0x00, 0x82, 0xc6, 0xaa, 0x92, 0x82, 0x82, 0x82, 0x00,
0x42, 0x62, 0x52, 0x4a, 0x46, 0x42, 0x42, 0x00, 0x38, 0x44, 0x82, 0x82, 0x82, 0x44, 0x38, 0x00,
// 0x50
/* 0x50 */
0x7c, 0x42, 0x42, 0x7c, 0x40, 0x40, 0x40, 0x00, 0x38, 0x44, 0x82, 0x82, 0x8a, 0x44, 0x3a, 0x00,
0x7c, 0x42, 0x42, 0x7c, 0x48, 0x44, 0x42, 0x00, 0x3c, 0x42, 0x40, 0x3c, 0x02, 0x42, 0x3c, 0x00,
0xfe, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x00, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x3c, 0x00,
0x82, 0x82, 0x44, 0x44, 0x28, 0x28, 0x10, 0x00, 0x82, 0x92, 0x92, 0xaa, 0xaa, 0x44, 0x44, 0x00,
//
/* */
0x82, 0x44, 0x28, 0x10, 0x28, 0x44, 0x82, 0x00, 0x82, 0x44, 0x28, 0x10, 0x10, 0x10, 0x10, 0x00,
0x7e, 0x04, 0x08, 0x10, 0x20, 0x40, 0x7e, 0x00, 0x18, 0x10, 0x10, 0x10, 0x10, 0x10, 0x18, 0x00,
0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x00, 0x18, 0x08, 0x08, 0x08, 0x08, 0x08, 0x18, 0x00,
0x10, 0x28, 0x44, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x00,
// 0x60
/* 0x60 */
0x08, 0x10, 0x18, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x78, 0x04, 0x7c, 0x84, 0x84, 0x7e, 0x00,
0x40, 0x40, 0x7c, 0x42, 0x42, 0x42, 0x3c, 0x00, 0x00, 0x00, 0x3c, 0x42, 0x40, 0x42, 0x3c, 0x00,
0x02, 0x02, 0x3e, 0x42, 0x42, 0x42, 0x3c, 0x00, 0x00, 0x00, 0x3c, 0x42, 0x7e, 0x40, 0x3e, 0x00,
0x0c, 0x10, 0x3e, 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x3c, 0x42, 0x42, 0x3e, 0x02, 0x7c, 0x00,
//
/* */
0x40, 0x40, 0x7c, 0x42, 0x42, 0x42, 0x42, 0x00, 0x18, 0x18, 0x00, 0x08, 0x08, 0x08, 0x08, 0x00,
0x06, 0x06, 0x00, 0x02, 0x42, 0x42, 0x3c, 0x00, 0x20, 0x20, 0x26, 0x28, 0x30, 0x28, 0x26, 0x00,
0x30, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x80, 0xec, 0x92, 0x92, 0x92, 0x92, 0x00,
0x00, 0x40, 0x78, 0x44, 0x44, 0x44, 0x44, 0x00, 0x00, 0x00, 0x3c, 0x42, 0x42, 0x42, 0x3c, 0x00,
// 0x70
/* 0x70 */
0x00, 0x3c, 0x42, 0x42, 0x7c, 0x40, 0x40, 0x00, 0x00, 0x78, 0x84, 0x84, 0x7c, 0x04, 0x06, 0x00,
0x00, 0x00, 0x5c, 0x62, 0x40, 0x40, 0x40, 0x00, 0x00, 0x00, 0x3e, 0x40, 0x3c, 0x02, 0x7c, 0x00,
0x00, 0x10, 0x7c, 0x10, 0x10, 0x10, 0x0e, 0x00, 0x00, 0x00, 0x42, 0x42, 0x42, 0x42, 0x3f, 0x00,
0x00, 0x00, 0x42, 0x42, 0x24, 0x24, 0x18, 0x00, 0x00, 0x00, 0x92, 0x92, 0x92, 0x92, 0x6c, 0x00,
//
/* */
0x00, 0x00, 0x42, 0x24, 0x18, 0x24, 0x42, 0x00, 0x00, 0x00, 0x42, 0x42, 0x3e, 0x02, 0x7c, 0x00,
0x00, 0x00, 0x7e, 0x02, 0x3c, 0x40, 0x7e, 0x00, 0x08, 0x10, 0x10, 0x20, 0x10, 0x10, 0x08, 0x00,
0x10, 0x10, 0x10, 0x00, 0x10, 0x10, 0x10, 0x00, 0x20, 0x10, 0x10, 0x08, 0x10, 0x10, 0x20, 0x00,
0x00, 0x00, 0x60, 0x92, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
// 0x80
/* 0x80 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x90, 0x90, 0x60, 0x00,
0x1e, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x10, 0x10, 0xf0, 0x00,
0x00, 0x00, 0x00, 0x80, 0x40, 0x60, 0x60, 0x00, 0x00, 0x00, 0x00, 0x30, 0x78, 0x30, 0x00, 0x00,
0x20, 0xf8, 0x26, 0x78, 0xd0, 0x80, 0x7c, 0x00, 0x00, 0x10, 0x3a, 0x1c, 0x36, 0x5a, 0x36, 0x00,
//
/* */
0x00, 0x00, 0x44, 0x42, 0x42, 0x42, 0x30, 0x00, 0x00, 0x3c, 0x00, 0x3c, 0x42, 0x02, 0x3c, 0x00,
0x00, 0x3c, 0x00, 0x7c, 0x08, 0x38, 0x66, 0x00, 0x00, 0x14, 0x72, 0x1c, 0x32, 0x52, 0x34, 0x00,
0x00, 0x28, 0x2c, 0x3a, 0x62, 0x16, 0x10, 0x00, 0x00, 0x08, 0x5c, 0x6a, 0x4a, 0x0c, 0x18, 0x00,
0x00, 0x08, 0x0c, 0x38, 0x4c, 0x4a, 0x38, 0x00, 0x00, 0x00, 0x00, 0x1c, 0x62, 0x02, 0x1c, 0x00,
// 0x90
/* 0x90 */
0x00, 0x00, 0x80, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x28, 0xf2, 0x3c, 0x6a, 0xaa, 0xb6, 0xec, 0x00,
0x80, 0x88, 0x84, 0x84, 0x82, 0x92, 0x70, 0x00, 0x78, 0x00, 0x3c, 0xc2, 0x02, 0x04, 0x78, 0x00,
0x78, 0x00, 0xfc, 0x08, 0x30, 0x50, 0x9e, 0x00, 0x2c, 0xf2, 0x20, 0x7c, 0xa2, 0xa2, 0xe4, 0x00,
0x28, 0xf4, 0x2a, 0x4a, 0x4a, 0x88, 0xb0, 0x00, 0x20, 0xfc, 0x12, 0xfc, 0x08, 0xc2, 0x7c, 0x00,
//
/* */
0x04, 0x18, 0x60, 0x80, 0xc0, 0x30, 0x0e, 0x00, 0x84, 0xbe, 0x84, 0x84, 0x84, 0x84, 0x58, 0x00,
0x00, 0x7c, 0x02, 0x00, 0x80, 0x82, 0x7e, 0x00, 0x20, 0xfe, 0x10, 0x78, 0x8c, 0xc0, 0x7c, 0x00,
0x80, 0x80, 0x80, 0x80, 0x82, 0x84, 0x78, 0x00, 0x04, 0xfe, 0x3c, 0x44, 0x7c, 0x04, 0x78, 0x00,
0x44, 0x5e, 0xf4, 0x44, 0x48, 0x40, 0x3e, 0x00, 0x44, 0x58, 0xe0, 0x3e, 0xc0, 0x40, 0x3c, 0x00,
// 0xA0
/* 0xA0 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x90, 0x90, 0x60, 0x00,
0x1e, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x10, 0x10, 0xf0, 0x00,
0x00, 0x00, 0x00, 0x80, 0x40, 0x60, 0x60, 0x00, 0x00, 0x00, 0x00, 0x30, 0x78, 0x30, 0x00, 0x00,
0x1e, 0x62, 0x1e, 0x62, 0x04, 0x0c, 0x30, 0x00, 0x00, 0x00, 0x1e, 0x6a, 0x0e, 0x08, 0x18, 0x00,
// 0xA8
/* 0xA8 */
0x00, 0x00, 0x06, 0x18, 0x68, 0x08, 0x08, 0x00, 0x00, 0x10, 0x1c, 0x72, 0x42, 0x04, 0x38, 0x00,
0x00, 0x00, 0x0c, 0x78, 0x10, 0x10, 0x7e, 0x00, 0x00, 0x08, 0x08, 0x7c, 0x18, 0x28, 0x48, 0x00,
0x00, 0x00, 0x26, 0x1a, 0x72, 0x10, 0x08, 0x00, 0x00, 0x00, 0x0c, 0x34, 0x04, 0x08, 0x7e, 0x00,
0x00, 0x00, 0x78, 0x04, 0x3c, 0x04, 0x78, 0x00, 0x00, 0x00, 0x52, 0x4a, 0x22, 0x04, 0x38, 0x00,
// 0xB0
/* 0xB0 */
0x00, 0x00, 0x80, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x3c, 0xc2, 0x14, 0x1c, 0x10, 0x30, 0x60, 0x00,
0x02, 0x0c, 0x38, 0xc8, 0x08, 0x08, 0x08, 0x00, 0x60, 0x3c, 0xe2, 0x82, 0x82, 0x04, 0x38, 0x00,
0x00, 0x1c, 0x70, 0x10, 0x10, 0x1c, 0xe2, 0x00, 0x08, 0xfe, 0x18, 0x38, 0x68, 0xc8, 0x18, 0x00,
0x10, 0x3e, 0xd2, 0x12, 0x22, 0x62, 0xcc, 0x00, 0x20, 0x3c, 0xf0, 0x1e, 0xf0, 0x08, 0x08, 0x00,
//
/* */
0x10, 0x3e, 0x62, 0xc2, 0x04, 0x0c, 0x70, 0x00, 0x40, 0x7e, 0x44, 0x84, 0x84, 0x08, 0x30, 0x00,
0x3e, 0xc2, 0x02, 0x02, 0x02, 0x02, 0xfc, 0x00, 0x44, 0x5e, 0xe4, 0x44, 0x44, 0x08, 0xf0, 0x00,
0x60, 0x12, 0xc2, 0x22, 0x04, 0x04, 0xf8, 0x00, 0x3c, 0xc6, 0x0c, 0x08, 0x38, 0x6c, 0xc6, 0x00,
0x40, 0x4e, 0x72, 0xc4, 0x4c, 0x40, 0x3e, 0x00, 0x82, 0x42, 0x62, 0x04, 0x04, 0x08, 0x70, 0x00,
// 0xC0
/* 0xC0 */
0x3c, 0x42, 0x72, 0x8a, 0x04, 0x0c, 0x70, 0x00, 0x0c, 0xf8, 0x10, 0xfe, 0x10, 0x10, 0x60, 0x00,
0x22, 0xa2, 0x92, 0x42, 0x04, 0x08, 0x70, 0x00, 0x3c, 0x40, 0x1e, 0xe8, 0x08, 0x10, 0x60, 0x00,
0x40, 0x40, 0x70, 0x4c, 0x42, 0x40, 0x40, 0x00, 0x08, 0x3e, 0xc8, 0x08, 0x08, 0x18, 0x70, 0x00,
0x00, 0x1c, 0x60, 0x00, 0x00, 0x3c, 0xc2, 0x00, 0x3c, 0xc2, 0x26, 0x38, 0x1c, 0x36, 0xe2, 0x00,
//
/* */
0x10, 0x3c, 0xc6, 0x1c, 0x38, 0xd6, 0x12, 0x00, 0x02, 0x02, 0x02, 0x06, 0x04, 0x1c, 0xf0, 0x00,
0x18, 0x4c, 0x44, 0x46, 0x42, 0x82, 0x82, 0x00, 0x80, 0x86, 0xbc, 0xe0, 0x80, 0x80, 0x7e, 0x00,
0x3c, 0xc2, 0x02, 0x02, 0x04, 0x08, 0x30, 0x00, 0x30, 0x48, 0x4c, 0x84, 0x86, 0x02, 0x02, 0x00,
0x10, 0xfe, 0x10, 0x54, 0x52, 0x92, 0x92, 0x00, 0x3c, 0xc2, 0x02, 0x44, 0x28, 0x10, 0x0c, 0x00,
// 0xD0
/* 0xD0 */
0x70, 0x0c, 0x60, 0x18, 0xc4, 0x30, 0x0e, 0x00, 0x30, 0x40, 0x4c, 0x84, 0x8e, 0xba, 0x62, 0x00,
0x04, 0x04, 0x64, 0x18, 0x0c, 0x16, 0xe2, 0x00, 0x1c, 0xe0, 0x3e, 0xe0, 0x20, 0x20, 0x1e, 0x00,
0x4e, 0x52, 0x62, 0xe4, 0x20, 0x10, 0x18, 0x00, 0x1c, 0x64, 0x04, 0x08, 0x08, 0x10, 0xfe, 0x00,
0x1c, 0x62, 0x02, 0x3e, 0x02, 0x02, 0x7c, 0x00, 0x3c, 0xc0, 0x3e, 0xc2, 0x02, 0x04, 0x78, 0x00,
//
/* */
0x44, 0x42, 0x42, 0x42, 0x22, 0x04, 0x78, 0x00, 0x50, 0x50, 0x52, 0x52, 0x52, 0x54, 0x88, 0x00,
0x80, 0x80, 0x82, 0x82, 0x84, 0x88, 0xf0, 0x00, 0x1c, 0xe2, 0x82, 0x82, 0x82, 0x4c, 0x74, 0x00,
0x3c, 0xc2, 0x82, 0x82, 0x02, 0x04, 0x38, 0x00, 0xc0, 0x62, 0x22, 0x02, 0x04, 0x08, 0xf0, 0x00,
0x00, 0x00, 0x00, 0x00, 0x0a, 0x05, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x05, 0x02, 0x00,
// 0xE0
/* 0xE0 */
0x20, 0xf8, 0x40, 0x5e, 0x80, 0xa0, 0x9e, 0x00, 0x20, 0xfe, 0x40, 0x7c, 0xc2, 0x86, 0x3c, 0x00,
0x00, 0x3c, 0xc6, 0x02, 0x02, 0x0c, 0x38, 0x00, 0x0e, 0xf8, 0x10, 0x20, 0x20, 0x10, 0x0e, 0x00,
0x40, 0x4c, 0x30, 0x40, 0x80, 0x80, 0x7e, 0x00, 0x44, 0xf2, 0x4a, 0x9c, 0xa4, 0xa6, 0x3a, 0x00,
0x40, 0x5c, 0x82, 0x80, 0xa0, 0xa0, 0x9e, 0x00, 0x48, 0x7c, 0x52, 0xb2, 0xbe, 0xaa, 0x4c, 0x00,
//
/* */
0x20, 0xfc, 0x32, 0x62, 0xee, 0xaa, 0x2c, 0x00, 0x38, 0x54, 0x92, 0x92, 0xb2, 0xa2, 0x4c, 0x00,
0x44, 0x5e, 0x84, 0x9c, 0xa4, 0xa6, 0x9c, 0x00, 0x28, 0xee, 0x44, 0x84, 0x84, 0x44, 0x38, 0x00,
0x78, 0x10, 0x64, 0x34, 0x8a, 0x8a, 0x30, 0x00, 0x30, 0x58, 0x48, 0x84, 0x84, 0x02, 0x02, 0x00,
0xbc, 0x88, 0xbe, 0x84, 0xbc, 0xa6, 0x9c, 0x00, 0x68, 0x1e, 0x68, 0x1e, 0x78, 0x8c, 0x7a, 0x00,
// 0xF0
/* 0xF0 */
0x70, 0x14, 0x7c, 0x96, 0x94, 0x94, 0x68, 0x00, 0x2c, 0xf2, 0x60, 0xa0, 0xa2, 0xc2, 0x7c, 0x00,
0x48, 0x7c, 0x6a, 0xaa, 0xb2, 0xb2, 0x6c, 0x00, 0x10, 0xf8, 0x20, 0xf8, 0x22, 0x22, 0x1c, 0x00,
0x48, 0x5c, 0x6a, 0xc2, 0x64, 0x20, 0x18, 0x00, 0x10, 0xbc, 0xd6, 0xca, 0xaa, 0x1c, 0x70, 0x00,
0x10, 0x1c, 0x12, 0x70, 0x9c, 0x92, 0x70, 0x00, 0xe0, 0x18, 0x40, 0x7c, 0xc2, 0x82, 0x3c, 0x00,
//
/* */
0x44, 0x42, 0x82, 0xa2, 0x62, 0x04, 0x78, 0x00, 0x7c, 0x38, 0x7c, 0xc2, 0xba, 0x26, 0x3c, 0x00,
0x48, 0xd4, 0x64, 0x64, 0xc4, 0xc4, 0x46, 0x00, 0x7c, 0x30, 0x7c, 0xc2, 0x82, 0x06, 0x3c, 0x00,
0x20, 0xfc, 0x32, 0x62, 0xe2, 0xa2, 0x2c, 0x00, 0x10, 0x30, 0x60, 0x72, 0xd2, 0x92, 0x9c, 0x00,
......
//---------------------------------------------------------------------------
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version. See also the license.txt file for
// additional informations.
//---------------------------------------------------------------------------
/*---------------------------------------------------------------------------
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. See also the license.txt file for
* additional informations.
*---------------------------------------------------------------------------
*/
// ngpBios.h: interface for the ngpBios class.
//
//////////////////////////////////////////////////////////////////////
/* ngpBios.h: interface for the ngpBios class. */
#if !defined(AFX_NGPBIOS_H__96457662_3A01_11D4_8645_0050DA4EEEA0__INCLUDED_)
#define AFX_NGPBIOS_H__96457662_3A01_11D4_8645_0050DA4EEEA0__INCLUDED_
#ifndef AFX_NGPBIOS_H
#define AFX_NGPBIOS_H
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifdef __cplusplus
extern "C" {
#endif
void ngpBiosSYSFONTSET(unsigned char *pt, char i, char j);
#endif // !defined(AFX_NGPBIOS_H__96457662_3A01_11D4_8645_0050DA4EEEA0__INCLUDED_)
#ifdef __cplusplus
}
#endif
#endif /* !defined(AFX_NGPBIOS_H) */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment