#include "../debug.h"
#include <libc/stdio.h>
#include <pspuser.h>
#include <pspgu.h>
#include <pspdisplay.h>
マクロ定義 | |
#define | BUF_WIDTH (512) |
#define | SCR_WIDTH (480) |
#define | SCR_HEIGHT (272) |
#define | FONTWIDTH 6 |
#define | FONTHEIGHT 12 |
#define | VRAM ((long(*)[BUF_WIDTH])(((u32)vramaddress) | 0x44000000)) |
関数 | |
void | mh_print (int x, int y, const char *str, int col) |
void | dxpDebugDrawString (int x, int y, u32 color, u32 bgcolor, const char *str) |
int | dxpDebugDrawStringInit (int *fwidth, int *fheight) |
static void | draw_char (int x, int y, int col, int chr) |
static void | draw_zenkaku (int x, int y, int hi, int lo, int col) |
static void | draw_hankaku (int x, int y, int ch, int col) |
static int | iskanji (int c) |
static int | chrwidth (int hi) |
変数 | |
const char | shinonomefont [] |
static u32 | vramaddress |
#define BUF_WIDTH (512) |
#define FONTHEIGHT 12 |
#define FONTWIDTH 6 |
#define SCR_HEIGHT (272) |
#define SCR_WIDTH (480) |
#define VRAM ((long(*)[BUF_WIDTH])(((u32)vramaddress) | 0x44000000)) |
static int chrwidth | ( | int | hi | ) | [static] |
static void draw_char | ( | int | x, | |
int | y, | |||
int | col, | |||
int | chr | |||
) | [static] |
static void draw_hankaku | ( | int | x, | |
int | y, | |||
int | ch, | |||
int | col | |||
) | [static] |
static void draw_zenkaku | ( | int | x, | |
int | y, | |||
int | hi, | |||
int | lo, | |||
int | col | |||
) | [static] |
void dxpDebugDrawString | ( | int | x, | |
int | y, | |||
u32 | color, | |||
u32 | bgcolor, | |||
const char * | str | |||
) |
int dxpDebugDrawStringInit | ( | int * | fwidth, | |
int * | fheight | |||
) |
static int iskanji | ( | int | c | ) | [static] |
void mh_print | ( | int | x, | |
int | y, | |||
const char * | str, | |||
int | col | |||
) |
const char shinonomefont |
u32 vramaddress [static] |