cnCalc计算器论坛

 找回密码
 注册
搜索
查看: 6116|回复: 15

[Nspire] 求ndless原理

[复制链接]
发表于 2010-11-7 11:29:57 | 显示全部楼层 |阅读模式
1.ns装了ndless后就可以支持C吗?如果是,请问是什么原理?
2.ndless本身是用什么语言写的?
求解……
发表于 2010-11-7 12:17:52 | 显示全部楼层
ndless是干掉ns系统的那个东西?
 楼主| 发表于 2010-11-7 12:25:16 | 显示全部楼层
ndless是干掉ns系统的那个东西?
diameter 发表于 2010-11-7 12:17

那个是nleash
发表于 2010-11-7 12:30:01 | 显示全部楼层
ndless是干什么用的,请叙述仔细
发表于 2010-11-7 17:41:31 | 显示全部楼层
ndless是干什么用的,请叙述仔细
diameter 发表于 2010-11-7 12:30
s装了ndless后就可以支持C吗?如果是,请问是什么原理?

居然支持C,和PC上的库大致相同吗!?NS这么厉害!
 楼主| 发表于 2010-11-7 18:18:19 | 显示全部楼层
ndless是干什么用的,请叙述仔细
diameter 发表于 2010-11-7 12:30

Ndless v1.1.1
[[[v1.1.1: maintenance release fixing and analyzing installation issues]]] Ndless combines a computer installer, an executable loader and utilities to open the TI-Nspire to third-party C and assembly development.

TIcalc上的解释
 楼主| 发表于 2010-11-9 15:08:08 | 显示全部楼层
怎么没人啊……
继续求
 楼主| 发表于 2010-11-11 21:01:26 | 显示全部楼层
还没人……
发表于 2010-11-12 12:34:47 | 显示全部楼层
不过只能用os1.2了
发表于 2010-11-12 12:35:33 | 显示全部楼层
嘿嘿,endless肯定适合di...er的编程口味
发表于 2010-11-12 17:23:47 | 显示全部楼层
diameter...
发表于 2010-11-12 20:48:55 | 显示全部楼层
嘿嘿,endless肯定适合di...er的编程口味
imath 发表于 2010-11-12 12:35

imath你嘛意思,【屏蔽】我名字
很明显针对小饕嘛
发表于 2010-11-12 20:51:15 | 显示全部楼层
Ndless v1.1.1
[[[v1.1.1: maintenance release fixing and analyzing installation issues]]] Ndless combines a computer installer, an executable loader and utilities to open the TI-Nspire to third-part ...
Cyvre 发表于 2010-11-7 18:18

[[[v1.1.1:维护版本安装固定和分析问题]]] Ndless结合了电脑安装程序,加载程序和实用程序的可执行文件,打开了TI - Nspire第三方C和汇编的发展。
——by Google translate
发表于 2010-11-12 21:05:46 | 显示全部楼层
s装了ndless后就可以支持C吗?如果是,请问是什么原理?

居然支持C,和PC上的库大致相同吗!?NS这么厉害!
noivan 发表于 2010-11-7 17:41

天哪
发表于 2010-11-13 11:56:21 | 显示全部楼层
How do I set up a development environment?
==========================================

Here is the preferred way for Windows:
- Add the bin/ folder of Ndless to your PATH environment variable
- Install MSYS, the lightweight Unix-like shell environment: http://www.mingw.org/wiki/msys
  The automated installation has been discontinued since MSYS 1.0.11, so you may prefer to
  use this old version foro an easier installation.
  Then you may optionally download the indivual component upgrades from
  http://sourceforge.net/projects/mingw/files/ (MSYS sub-folder) and unpack them in MSYS's
  installation directory using 7-zip (http://www.7-zip.org/download.html).
  MinGW is not required by Ndless.
- Install the YAGARTO GNU ARM toolchain - http://www.yagarto.de . Request YAGARTO's
  installer to add the bin/ directory to your PATH environment variable.
- You can now open "MSYS (rxvt)" from the Windows Start menu, and run "make" from the root
  of a Makefile-based project.

To setup the developement environment on Linux:
- Install the GNU ARM toolchain (this procedure may help:
  http://blog.nutaksas.com/2009/05 ... m-toolchain-on.html )
- Add the bin/ folder of Ndless to your PATH environment variable
  (http://www.troubleshooters.com/linux/prepostpath.htm)

Ndless provides a light wrapper to some YAGARTO tools and TI-NSpire-specific C and assembly
header files.

What you need to know as a developer
====================================

- An example of build script can be found in src/arm/demo/Makefile
- TI-Nspire-specific header files from Ndless's directory include/ are directly available
- Executables must be position independent: don't use absolute addresses and static
  variables
- Executable files must start with the 4-bytes-long header 'PRG\0', with their entry
  point right after it. The utility 'MakeTNS' available in the tools directory may be
  used to skip newlib's startup code added before this signature.
- Pure-assembly programs must define the global symbol "main" after the header:
        .string "PRG"
main: .global main
        <...main code...>
- Make sure that the assembly files extensions are in uppercase (.S) to make them
  be preprocessed by the C preprocessor on which Ndless include files are built
- OS functions can be called from the program, see the source code of 'demo'.
- Development information and resources are or will be available on Hackspire:
    http://hackspire.unsads.com

Upgrading your developments and scripts
=======================================

The executable format, the conventions and the header files are currently being defined
and prone to change. This section describes the upgrade steps between the different
releases of Ndless.

出自ndless 1.1.1的readme
小饕看看。
发表于 2010-11-13 22:57:52 | 显示全部楼层
但是OS1.2用起来很不爽..
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|cnCalc计算器论坛

GMT+8, 2024-11-24 12:21 , Processed in 0.063958 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表