Jump to content



Photo
- - - - -

Reusing ROM calls


  • Please log in to reply
9 replies to this topic

#1 AlephMobius

AlephMobius

    Casio Freak

  • Members
  • PipPipPipPip
  • 189 posts

  • Calculators:
    AFX 2.0+, TI-89, EL-9300C

Posted 26 January 2004 - 05:32 AM

I want to make a program in C for the AFX. Is there any way I can use some of the commands built into the ROM without having to rewrite them? I dont know very much about how this calculator works but stuff like this can be done very easily on the TI-89 and similar calculators. Anyways, I would like to use some of the functions like "Solve" without having to rewrite it all.

#2 huhn_m

huhn_m

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 26 January 2004 - 05:54 AM

it is possible (since all casio apps use the functions that are in saltire files) but we don't know how,
I think it might have sth. got to do with int 7Ch

#3 AlephMobius

AlephMobius

    Casio Freak

  • Members
  • PipPipPipPip
  • 189 posts

  • Calculators:
    AFX 2.0+, TI-89, EL-9300C

Posted 26 January 2004 - 06:04 AM

What kind of files are these? Has much effort been put into seeing how this works? How much does everyone know already?

#4 dscoshpe

dscoshpe

    Casio Freak

  • [Legends]
  • PipPipPipPip
  • 185 posts
  • Location:California, USA

  • Calculators:
    AFX 2.0 (v1.00), 9850Ga+, 9800, BE-300 other..

Posted 26 January 2004 - 07:28 AM

I was kind of hoping somebody would have figured this out by now but I guess the story is still the same as it was long ago... Basically the casio "math api's" are as yet unusable. If anyone was interested in figuring it out they would need to reverse engineer the saltire files, but before doing so remove the RXE information so that whatever you use to decompile and/or debug would start at the proper offset. then it might be possible to call the saltires with the appropriate switches to get the math done (or what have you)

the saltire files are two files named saltire1.exe and saltire2.exe and were believed to be programmed by the Saltire company (they have a url, google it or something). since saltire is computer math company, the files are believed to contain any sort of math api that calc may use. i believe that the saltires are more specifically concerned with the CAS related math primarily.

btw, i use the term math api loosely out of a lack of a better phrase.

- dscoshpe -

#5 CrimsonCasio

CrimsonCasio

    UCF Ambassador

  • [Legends]
  • PipPipPipPipPipPipPipPipPipPip
  • 3579 posts
  • Gender:Male
  • Location:USA
  • Interests:Claculators, Stephen King, Video Games, Calculators, Programming, Calculators, Reading, Calculators... hmm, what else... Ah! Calculators!

  • Calculators:
    Algebra FX2.0, CFX 9850Ga+, Classpad 300

Posted 26 January 2004 - 07:57 AM

I'll ask brian if he can tell us anything about them.

#6 Roeoender

Roeoender

    UCF ASM/C Programming Only Winner

  • [Legends]
  • PipPipPipPip
  • 273 posts
  • Gender:Male
  • Location:Gdynia, Poland
  • Interests:Technical University student (informatics)
    Interests:
    Sport climbing
    Orieenting (100km walk in 23h31min)
    C/Asm on calculators

    Dislike cars

  • Calculators:
    CASIO AFX 2.0 ROM 1.01, 10 countable fingers

Posted 26 January 2004 - 04:46 PM

Yep, one thing has changed - a man from Saltire probably read this thread and I don't know if he'll like to know that someone is/was deassembling company's code. :rolleyes:
As for me I would be more interested in making a common library of fast asm graphic/memory files functions so this could wouldn't be repeated from project to project.
But as usual - lack of time.
Roeoender.

#7 CrimsonCasio

CrimsonCasio

    UCF Ambassador

  • [Legends]
  • PipPipPipPipPipPipPipPipPipPip
  • 3579 posts
  • Gender:Male
  • Location:USA
  • Interests:Claculators, Stephen King, Video Games, Calculators, Programming, Calculators, Reading, Calculators... hmm, what else... Ah! Calculators!

  • Calculators:
    Algebra FX2.0, CFX 9850Ga+, Classpad 300

Posted 26 January 2004 - 06:33 PM

they know its being dissasembled, thats part of the reason they have been more cooperative recently, might as well tell us and get along insted of fight about it (specially since were are doing them a free service)

#8 dscoshpe

dscoshpe

    Casio Freak

  • [Legends]
  • PipPipPipPip
  • 185 posts
  • Location:California, USA

  • Calculators:
    AFX 2.0 (v1.00), 9850Ga+, 9800, BE-300 other..

Posted 27 January 2004 - 05:33 AM

For the record, Ive done a lot more reverse engineering of Datalight's procedures and software than Saltire's :)

- dscoshpe -

#9 huhn_m

huhn_m

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 27 January 2004 - 07:26 AM

so you have removed the RXE information?

If you have could you send me the sources so we could have a look at it??!?!?
WOuld be great :D

#10 dscoshpe

dscoshpe

    Casio Freak

  • [Legends]
  • PipPipPipPip
  • 185 posts
  • Location:California, USA

  • Calculators:
    AFX 2.0 (v1.00), 9850Ga+, 9800, BE-300 other..

Posted 29 January 2004 - 01:15 AM

Yep I have done it before, about a year ago. This weekend Ill try to do it one more time, but manually, since my program is no longer with us :(.

Actually, I might have a couple examples still saved that I might be able to find, Ill see what I can do.

- dscoshpe -


2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users