Author Topic: Acces to characters  (Read 4893 times)

0 Members and 1 Guest are viewing this topic.

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Acces to characters
« 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
« Last Edit: August 10, 2011, 03:24:23 pm by Eiyeron »

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Acces to characters
« Reply #1 on: August 10, 2011, 03:55:49 pm »
I don't understand what you want to do. Are you trying to make another PrintXY routine?
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: Acces to characters
« Reply #2 on: August 10, 2011, 04:09:20 pm »
Nope, just a new Print routine. I already got the locate routine in a syscall, foud by SimonLothar.

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Acces to characters
« Reply #3 on: August 10, 2011, 04:16:25 pm »
What do you mean by "Print?"
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: Acces to characters
« Reply #4 on: August 10, 2011, 04:17:36 pm »
locate(1,1);
Print("Hello");

Just the SDK's Print.

Offline fxdev

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 177
  • Rating: +34/-6
    • View Profile
Re: Acces to characters
« Reply #5 on: August 11, 2011, 09:31:13 am »
This is a very simple version:

Code: [Select]
    .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

Code: [Select]
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;
}
« Last Edit: August 11, 2011, 09:33:19 am by cfxm »

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: Acces to characters
« Reply #6 on: August 11, 2011, 10:17:55 am »
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

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!

Offline MPoupe

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 168
  • Rating: +30/-1
  • The coder of yesterday
    • View Profile
    • My web site about Casio calculator
Re: Acces to characters
« Reply #7 on: August 11, 2011, 11:59:17 am »
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 !


Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: Acces to characters
« Reply #8 on: August 11, 2011, 05:01:50 pm »
Sames for Fx9860? Oo

EDIT: Thank you! Thank you! That's the list I ever wondered! :p
« Last Edit: August 11, 2011, 05:13:45 pm by Eiyeron »