okuの日記: kon2 @ amd64
日記 by
oku
懐かし (?) の kon2 (Kanji ON console) を Gentoo Linux (amd64) で動かす方法:
単純に ./font/minix.c の 60 行目辺りにある
struct font_header {
short fnt_size;
...
long sum;
};
の箇所を
struct font_header {
short fnt_size;
...
int sum;
};
に書き換えただけです。 元々 MINIX 由来の構造体のはずなので、stdint.h を #include して、int32_t にするのがより正解に近いでしょうが。
kon2 @ amd64 More ログイン