Omnimaga
Calculator Community => Casio Calculators => Topic started by: Eiyeron on August 10, 2011, 03:24:10 pm
-
Hello world!
I wanted to make my function Print, which combinated to a user library would make the sdk library useless, just for graphics.
BUT, i dunno how to acces to the characters inside the calculator.
Is a syscall or an adress existing?
Thanks
-
I don't understand what you want to do. Are you trying to make another PrintXY routine?
-
Nope, just a new Print routine. I already got the locate routine in a syscall, foud by SimonLothar.
-
What do you mean by "Print?"
-
locate(1,1);
Print("Hello");
Just the SDK's Print.
-
This is a very simple version:
.SECTION P, CODE, ALIGN=4
.MACRO SYSCALL NUM, NAME
.export \NAME
\NAME:
mov.l #h'0000\NUM, r0
mov.l #h'80020070, r1
jmp @r1
nop
.ENDM
SYSCALL 01F9, _print
SYSCALL 1863, _locate
.end
void print(const unsigned char *str, int type, int zero);
void Print(const unsigned char *str);
void PrintRev(const unsigned char *str);
void
Print(const unsigned char *str)
{
print(str, 0, 0);
return;
}
void
PrintRev(const unsigned char *str)
{
print(str, 1, 0);
return;
}
-
Yay! a syscall! Thanks!
BUt to avoir the casio's functions, do you know where the bitmaps, are located?
We don't like casio's function, i.e. Here a PierrotLL's Library (http://www.planet-casio.com/Fr/logiciels/voir_un_logiciel_casio.php?logiciel=SDK_G85_-_MonochromeLib_&showid=86)
How many syscalls do we got? I know SimonLothar the syscall master, but he doesn't want to make a documentation.
There would be a syscall seraching team!
-
How many syscalls do we got? I know SimonLothar the syscall master, but he doesn't want to make a documentation.
What ?
Check this: http://ourl.ca/9205, download the latest fxCG_miniSDK_X_xx.zip (currently fxCG_miniSDK_1_09.zip), extract it and read fx_calculators_SuperH_based.chm. Everything is there !
-
Sames for Fx9860? Oo
EDIT: Thank you! Thank you! That's the list I ever wondered! :p