Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
Calculator C
»
Is there a ftell syscall?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Is there a ftell syscall? (Read 3166 times)
0 Members and 1 Guest are viewing this topic.
lkj
LV6
Super Member (Next: 500)
Posts: 485
Rating: +58/-1
Is there a ftell syscall?
«
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?
Logged
Nspire Ndless C programmer
Projects:
nTxt - Text Editor
nAssembler - Nspire on-calc assembler
lkj
LV6
Super Member (Next: 500)
Posts: 485
Rating: +58/-1
Re: Is there a ftell syscall?
«
Reply #1 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
, why was it never included in the ndless syscalls? Is it somehow buggy?
Logged
Nspire Ndless C programmer
Projects:
nTxt - Text Editor
nAssembler - Nspire on-calc assembler
bsl
LV4
Regular (Next: 200)
Posts: 157
Rating: +14/-0
Re: Is there a ftell syscall?
«
Reply #2 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
Logged
lkj
LV6
Super Member (Next: 500)
Posts: 485
Rating: +58/-1
Re: Is there a ftell syscall?
«
Reply #3 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?
Logged
Nspire Ndless C programmer
Projects:
nTxt - Text Editor
nAssembler - Nspire on-calc assembler
lkj
LV6
Super Member (Next: 500)
Posts: 485
Rating: +58/-1
Re: Is there a ftell syscall?
«
Reply #4 on:
January 15, 2012, 04:24:00 pm »
It seems to be ncas2.0.1, cas2.0.1, ncas2.1.0, cas2.1.0...
Logged
Nspire Ndless C programmer
Projects:
nTxt - Text Editor
nAssembler - Nspire on-calc assembler
Print
Pages: [
1
]
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
Calculator C
»
Is there a ftell syscall?