Omnimaga

Calculator Community => TI Calculators => Calculator C => Topic started by: lkj on January 15, 2012, 01:22:11 pm

Title: Is there a ftell syscall?
Post by: lkj on January 15, 2012, 01:22:11 pm
Am I right that there's no ftell syscall in ndless2?
If yes, is there one that we know but that is only not built in in ndless? Or what can I do instead of using ftell to get a similar result?
Title: Re: Is there a ftell syscall?
Post by: lkj on January 15, 2012, 02:21:45 pm
I've read a bit and saw that bsl said he found ftell in os 1.7 (http://www.unitedti.org/forum/index.php?s=9f6e05b3d383736c0211e9adbb34c28a&showtopic=9418&view=findpost&p=142908), why was it never included in the ndless syscalls? Is it somehow buggy?
Title: Re: Is there a ftell syscall?
Post by: bsl on January 15, 2012, 03:02:27 pm
Prpbably because not very many people where using it.
It is included in Ndless 3.1
Here they are, you will have to make a custom syscall.

0X102F6A70  os_ncas2.0.1
0X102F7A40  os_ncas2.1.0

0X102F7340  0s_cas2.0.1
0X102F8310  0s_cas2.1.0
Title: Re: Is there a ftell syscall?
Post by: lkj on January 15, 2012, 03:52:24 pm
What is the correct first argument to SYSCALL_CUSTOM (i. e. the order of the addresses) in Ndless2?
Title: Re: Is there a ftell syscall?
Post by: lkj on January 15, 2012, 04:24:00 pm
It seems to be ncas2.0.1, cas2.0.1, ncas2.1.0, cas2.1.0...