Original author: Pierre Sarrazin. Public-domain library and demo. Source: http://sarrazip.com/dev/cardgame-0.1.15.tar.gz Archive SHA-256: ca706dddd96fec63b829f8958c2e47485b0e1166129d45fda0b6369404c1bb54
26 lines
324 B
C
26 lines
324 B
C
#include "pmode4game.h"
|
|
|
|
|
|
void
|
|
hiResTextConsoleOutHook()
|
|
{
|
|
byte ch;
|
|
asm
|
|
{
|
|
pshs x,b // avoids crashing...
|
|
sta ch
|
|
}
|
|
|
|
if (ch == '\r')
|
|
ch = '\n';
|
|
else
|
|
ch = (byte) toupper(ch);
|
|
|
|
drawChar(ch);
|
|
|
|
asm
|
|
{
|
|
puls b,x
|
|
}
|
|
}
|