Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Chirlian

Pages: [1] 2
1
TI-Nspire / Re: New TI-Nspire emulator: Firebird Emu
« on: March 25, 2017, 05:31:58 pm »
Now theres some progress in my tryings with firebird.
On my Notebook the win version (1.20) don't work, must look for the missing file (api-ms-win-core-libraryloader-l1-2-0.dll).
On a pc I got it to run without any problems. Now I did compris how to handle the Android installation. Missing menu entry I also found and so I could create the flash file. Up to now I ever tried this with the android version...
So both firebirds are flying now, the android on my nexus galaxy 10 and the windows version. Interesting to compare the performance of firebird on the galaxy 10 w/o energy save mode/normal mode, a nspire cx cas and on pc with quadcore amd phenom 2.

2
TI-Nspire / Re: New TI-Nspire emulator: Firebird Emu
« on: March 24, 2017, 08:58:18 pm »
Thanks for your work on the firebird!
I tried to get it to run on a tablet:
galaxy nexus 10
android 5.1.1
Did load the newest version/1.20. Used polydumper 4.3 on my Nspire cx cas and transferred the 4 files to the tablet. Put this files and os 4.4.0.532 in one folder and deleted the .tns extensions of the 4 nspire files.
Started the firebird apk. At right side there was the keyboard of the nspire. Moved it left, but then I couldn't go on with the 2 installation help files on github.
Selected boot1, went good. Selected the os file, also ok. Third entry for selecting a save point I couldn't serve. Klicking button led me to the folder where firebird is installed (root\data\data...). Couldn't select any file, also simply using save botton didn't work. Changed folder to that where I put all files in at installing, couldn't also select any file, couldn't also not make a new file. So got no save point. Tried then to choose the os file, it got selected and shown in the 3rd 'Flash&Boot' menu, but still I couldn't save anything, also the start bomb told that 'boot1 and/or flash are missing'. At right side they are both shown at the 'boot1' and 'flash' menu entries. Any function for creating a flash save file I can't find. I think the main problem is that I don't get a save point. What to do? Tried the also vers. 1.1 and 0.3 but that didn't help (same problem at 1.1, no keyboard at 0.3).
Tried then the newest windows version but after starting firebird.exe (admin) on a win7-64 notebook I got the info 'api-ms-win-core-libraryloader-l1-2-0.dll' is missing.
Can you help me? Would prefer use the android version.

3
TI-Nspire / Re: nAssembler - Nspire on-calc assembler
« on: March 14, 2017, 08:39:30 pm »
So it seems there is no os reassemble listing (with some comments)? Ok, in those days when we got such a book for the speccy it were 16 kb of rom. So making such a thing for the now 13 mb that the os contents would be an endless work. If there comes no infos from TI it may be to timesucking, esp. for a single person.
But when ndless contents some system calls, their programmers must know about them. However, they won't shout around with this knowledge that they got surely not without some trouble.
Thanks for the hint about .word/dcd!
About the system calls: Yes, I guess it would be useful to have some way to access them with nAssembler. In programs compiled on the pc, ndless provides them.
Since neither reading keypad state nor displaying stuff on the screen uses them, you can actually already do many things without them, but there's obviously no file reading/writing.

.word is just called dcd here.

4
TI-Nspire / Re: nAssembler - Nspire on-calc assembler
« on: March 09, 2017, 05:55:39 pm »
I wrote about making the handling of nAssembler easier-so I tried by myself. But without being used in python I had no success. Was changing your code a little bit (yes, I know, it's a sacrileg), so that not the path but only the file name must be entered or in the other version path & filename get fixed to get a quick turnaround:

when I change your code at the end of the nassembler file

def calc_assemble():
   
    inf = input('in:')
    outf = input('out:')
    return assembler(inf, outf)

to

def calc_assemble():
   
    inf = /documents/ndless/example.asm.tns
    outf = /documents/ndless/example.prg.tns
    return assembler(inf, outf)

or

def calc_assemble():

    inf = /documents/ndless/
    inf = inf + input('in:')
    outf = /documents/ndless/
    outf = outf + input('out:')
    return assembler(inf, outf)

all that doen't work, I get the 'File "/documents/ndless/nAssembler.py.tns", line 1600 Syntax Error: invalid Syntax. Tried also backslash for slashes but same reaction. Am wondering why I see 'nAssembler.py.tns' at the end of the string and not 'Example.asm.tns' as i wrote.
Found it now, was not so difficult:
inf="/documents/ndless/example.asm.tns"
and
outf="/documents/ndless/example.prg.tns"
so the turnaround gets a little faster. Now I am trying to get the clrscrn/countdown routine of grosged/TI Planet to assemble with nassembler. Last problem is the .word instruction. Hm, I saw this point anywhere in a forum...

5
TI-Nspire / Re: pyWrite - python script editor
« on: March 08, 2017, 09:52:45 pm »
Hi Vogtinator,
am trying to work with pyWrite but there seems to be a problem: can select signs and text, but the 'ctrl-c' function doesn't work (same with ctrl-x and ctrl-v. The functions don't work but when entering, I get simply the sign, so ctrl-c writes a 'c'.
cu
klaus

6
TI-Nspire / Re: nTxt - Nspire Text Editor
« on: March 08, 2017, 07:45:34 pm »
nTxt is a text editor for the Nspire. It requires Ndless to be installed on your calculator.
Hi ikj,
am just trying the v. 26 of nTxt. It works good but there seems to be a bug: by selecting one or more signs in a text and using ctrl-c the nspire reboots. Treid it several times, can not find any reason.
My Nspire: cx cas, os 4.4, also ndless. With nTxt v. 25 I get the same reboot.
cu
klaus

7
TI-Nspire / Re: nAssembler - Nspire on-calc assembler
« on: March 05, 2017, 05:28:34 pm »
I wrote about making the handling of nAssembler easier-so I tried by myself. But without being used in python I had no success. Was changing your code a little bit (yes, I know, it's a sacrileg), so that not the path but only the file name must be entered or in the other version path & filename get fixed to get a quick turnaround:

when I change your code at the end of the nassembler file

def calc_assemble():
   
    inf = input('in:')
    outf = input('out:')
    return assembler(inf, outf)

to

def calc_assemble():
   
    inf = /documents/ndless/example.asm.tns
    outf = /documents/ndless/example.prg.tns
    return assembler(inf, outf)

or

def calc_assemble():

    inf = /documents/ndless/
    inf = inf + input('in:')
    outf = /documents/ndless/
    outf = outf + input('out:')
    return assembler(inf, outf)

all that doen't work, I get the 'File "/documents/ndless/nAssembler.py.tns", line 1600 Syntax Error: invalid Syntax. Tried also backslash for slashes but same reaction. Am wondering why I see 'nAssembler.py.tns' at the end of the string and not 'Example.asm.tns' as i wrote.

8
TI-Nspire / Re: nAssembler - Nspire on-calc assembler
« on: March 04, 2017, 12:54:51 pm »
Nice!

There has recently been some activity in the thread on tiplanet, and as a result I also made some updates, adding CLZ, ADR, and fixing a bug. I forgot to update the file in the first post, so now I removed it and added a link to the download on tiplanet, which should always be up to date.


It's working now, was a simple mistake I made: for testing micropython 134 and 146 I did rename the both files (micropython 134 for example). So the .py files couldn't get connected and also nAssembler didn't run. Now everthing works.
Quote
I'm glad that it works now. Thanks for your many comments. I'm going to reply to some of their concerns below.

Quote
I agree that more documentation, more examples and some explanations of the examples would help. But my main reasons for starting this project were that I was interested in writing an assembler, had a lot of time with nothing to do, and I was always a bit annoyed that it was impossible to write native programs for the Nspire on-calc. Nowadays, I don't have much time, and I've accomplished my main goal of writing an on-calc assembler with most of the useful features.

Quote
I may try to write another example or two, but for more, other people will have to do it. So, you're welcome to do it  ;)

Jessus, Mary and Jo'... you say this to ME? IoI. There was a time when I was a little trying with Z80 Assembler on my ZX Specci. Hm, must have at 1983 or so... And by the time there came some nice books from UK about machine code routines and lastly the whole commented ROM of the Specci. So all system call could be used from the usual languages. Now i had what I needed but then my study ended, I got a job for long time and the lot of free time was gone. So how is it about the nspire os? Up to now I didnt find any large file or book w/o commented os routines, system calls, system variables. Some must be known, otherwise you wouldn't use a print function, input file and others in your code.

Quote
There probably already are some ARM assembler tutorials on the internet, for example for the GBA, but they can't explain the things specific to the Nspire, e.g. how to read the keyboard or display stuff (see https://hackspire.org and in particular https://hackspire.org/index.php/Memory-mapped_I/O_ports for that kind of thing), and they probably use some pseudo-instructions I didn't implement or some different syntax, which will require some experimenting and/or googling to adapt to nAssembler.

Yes, by searching I found several tutorials, it's very nice. Good, that the arm cpus are so much used. Indeed, what you telling about nspire os is the main point. Using/usability of an assembler depends from the documentation of the used machine. Also important, if this mc programs can easily be used from the usual languages as lua, python, c++, c. Should be simple calls that can easy done. And especially grafik routines, of course. I think, everyone, who is programming the nspire would be interested in this.

Quote
Also, grosged over on tiplanet wrote a small demo and a short explanation of ARM assembly, but it's in French. (example link: https://tiplanet.org/forum/archives_voir.php?id=839558, the file nsprtest.s is the code compatible with nAssembler)

Yes, and I will translate it by the time. Will surely need a little longer. In french I got at school usually the lowest note (from 1-6), the 6. But under those, who got ever the 6, I was one of the best. Means the 'best of the worst'. Sounds good, eh? :-) So it may need some time, also with using babelfish. Some time before, I saw a small list with os system calls. Damn, i don't remember where.

The resonance at TI Planet when you presented nAssembler was good, so I think there may be some who like to support the usage of it.

One first suggestion to the nAssembler: the handling is rather uncomfortable by typing the complete paths with the nspire keys. Could a file like the batch files of ms dos (in python?) make it simpler? Setting the paths to a constant one means that only the program name must be entered. If one has longer to do with a program he could also set the name in this batch file constant, so the the whole turnaround would be much shorter and simpler.

9
TI-Nspire / Re: micropython - Python for Nspire calculators
« on: March 03, 2017, 12:06:25 pm »
Hi,
have some questions about micropython (just trying to ask vogtinator, but it seems he is busy now):
-use nspire cx cas
-os 4.4.0.532
-nspire 4.4 installed
-micropython 146 started and terminated as told (also tried 134)
-get no .py.tns file started (also such with i=1 and print(i) as 2 lines Content)
Quote
Check your ndless.cfg.tns.
ext.nes=nespire
ext.gb=gbc4nspire
ext.gbc=gbc4nspire
ext.gba=gpsp_launcher
ext.nvid=nPlayer
ext.cvid=nPlayer
ext.bmp=mviewer_cx
ext.png=mviewer_cx
ext.jpg=mviewer_cx
ext.wad=ndoom

Should I add
ext.py=micropython ?
Quote
-how to enter the ' sign? Didnt find it. Also the graphic at TI planet shows several special keys but not this sign
Indeed, it's not available on CX...

Quote
-can't use pyWrite. It starts, I can write my 2 lines (i=1, print(i)), can save it with adding .py.tns. Can see them by open function in pyWrite, also
 can load, edit and save again. But RUN doesnt do anything
You need to configure the path to micropython.

Quote
-starting such a saved .py.tns file also doesn't work, same file error
-is there a list of the micropython commands? Trying several commands from tutorials giving mostly File Error
It's a basic subset of python.
Now I found the error, a simple mistake I made: for testing both micropythen versions (134/146) I added this numbers to their names. So the .py files and nassembler couldn't find it. Just had to rename one and now everthing works:-)
Thanks for your help!
thanks
klaus



Edit (Eeems): Fixed quotes

10
TI-Nspire / Re: nAssembler - Nspire on-calc assembler
« on: March 03, 2017, 10:37:44 am »
It's working now, was a simple mistake I made: for testing micropython 134 and 146 I did rename the both files (micropython 134 for example). So the .py files couldn't get connected and also nAssembler didn't run. Now everthing works.

Hi ikj,
may be there are some things missing, that only few people shows interest to your assembler.
Some points:
-installing should be easy. In the text file its explained, but not every beginner is able to work with it. A step by step describing would be better and it should content every step, also installing ndless and microphyton and pyWrite or another editor. Should folders me made? Which and where? For example, it's not clear in the beginning, that files have to be put in an ndless folder at root.
For example, I didnt get the nassembler to work up to now (already asking vogtinator about this).
Am using a nspire cx cas,
using os 4.4,
installed ndless 4.4,
started micropython (134/146) one time, as its told,
started nassembler but get error abour file format not supported.
May be that and the not so clear installation info hinders some interested people to try it.
Some simple lessons how to make the first short programs would be very helpful, some example programs you have already in your zip.
If you like I can give some more hints to that point.
cu
klaus

It's not the big thing but some simple aspects:
-as I said, a little more detailed instruction for all installing steps would be easier for the not so used ones. For example:

1. Get the actual OS version (now 4.4.0.xxx) from
https://education.ti.com/de/software/details/en/E7EE7A44207B41069B05C45A8149A7F9/ti-nspirecx_os
(don't know if links are allowed, otherwise a description how to get it from TI)
2. Install it. TI Link Software is needed.
if TI Link is not installed, load it from
https://education.ti.com/de/software/search/ti-nspire-cx-cas
and install it
3. backup everything on your nspire, all files will be deleted!
4. Start TI Link, connect your Nspire to your PC and install the new OS. Wait until all is done.

and so on. It's more in the style of 'XXX for dummies' or the 'Leittext Methode' (did work with it in education and it worked rather good. Especially beginners did like it.

Then some short lessons to help the people to learn how to handle the assembler, some basic infos and the example code for the first steps would hold it small and simple. Your examples can used for it very good. I think, what to do would be more some optical work and the principle of small steps as above. If you like I would try to do also some work for this (good chance to learn more about assembler...). It's clear to me that it can be a try to interest people and noone could say if this works. On worst case it would make loosing some time and work, but in every case it's a chance to get some more training by doing this (designing the lessons for example, improving my rude english :-)).
I didn't know anyone ever used this, so I didn't continue work on it  :P
What useful features are missing in your opinion?
[/quote]

11
TI-Nspire / Re: micropython - Python for Nspire calculators
« on: February 28, 2017, 07:39:34 pm »
Hi,
have some questions about micropython (just trying to ask vogtinator, but it seems he is busy now):
-use nspire cx cas
-os 4.4.0.532
-nspire 4.4 installed
-micropython 146 started and terminated as told (also tried 134)
-get no .py.tns file started (also such with i=1 and print(i) as 2 lines Content)
-nassembler also doesnt start, gives the 'file format not supported' error
-how to enter the ' sign? Didnt find it. Also the graphic at TI planet shows several special keys but not this sign
-can't use pyWrite. It starts, I can write my 2 lines (i=1, print(i)), can save it with adding .py.tns. Can see them by open function in pyWrite, also
 can load, edit and save again. But RUN doesnt do anything
-starting such a saved .py.tns file also doesn't work, same file error
-is there a list of the micropython commands? Trying several commands from tutorials giving mostly File Error
Hope to find some help.
thanks
klaus

12
TI-Nspire / Re: nAssembler - Nspire on-calc assembler
« on: February 27, 2017, 11:17:22 am »
Hi ikj,
may be there are some things missing, that only few people shows interest to your assembler.
Some points:
-installing should be easy. In the text file its explained, but not every beginner is able to work with it. A step by step describing would be better and it should content every step, also installing ndless and microphyton and pyWrite or another editor. Should folders me made? Which and where? For example, it's not clear in the beginning, that files have to be put in an ndless folder at root.
For example, I didnt get the nassembler to work up to now (already asking vogtinator about this).
Am using a nspire cx cas,
using os 4.4,
installed ndless 4.4,
started micropython (134/146) one time, as its told,
started nassembler but get error abour file format not supported.
May be that and the not so clear installation info hinders some interested people to try it.
Some simple lessons how to make the first short programs would be very helpful, some example programs you have already in your zip.
If you like I can give some more hints to that point.
cu
klaus

I didn't know anyone ever used this, so I didn't continue work on it  :P
What useful features are missing in your opinion?

13
Calculator C / Re: C++ on Nspire-way through eye of a needle?
« on: February 21, 2017, 06:48:35 pm »
Installing C++ on Windows seems simple, compared to the Nspire Version. Handling it is not so simple...
But using another OS for using C++ is not what I would tellm user friendly, it means a 2 stage way and handling linux is not a thing that I get used in short time. But thanks for your answer.

as i said, either going through the steps of setting up mingw et. al or just using literally any desktop / server operating system other than windows is necessary for getting this to work. windows has "C and C++ support", but it's an afterthought that has never conformed to the standard everybody else does.

or i guess you can try to struggle with whatever frankenstein of gpl-stripped code and ancient bash it is they're calling an "ubuntu subsystem" on windows 10, but don't expect that to go anywhere either.

Yes, I would never expect a stabil working system by such construction..
A important aspect for a language is the acceptance of it. Nicest language is not attractive to me when I don't find much support and few ppl who uses it. So I think C++ has some usage for Nspire but C I don't see so often. And programming on the old calculators with bw and non lighted lcd I don't like. Thanks for your hints.

C is a much more sensible choice for this kind of thing, honestly. the potential benefits of C++ over C can be summed up as higher-level abstractions and auto-pointers for handling memory, which can lead to non-trivial overhead on a system this tight on resources. take those away, and you're left with what's essentially an out-dated C fork.


Phew, thats beyond my really simple english. Means that you recommend the older c? Infos about installing c I found only at hackspire (c++).


as for language acceptance, C is still very much a relevant language (see http://githut.info/). whether it's used the most for this particular platform shouldn't be relevent except in terms of library support.

Which way would you recommend: installing at windows (7, 64) or using one of the linux versions and install it there? What may be more stabil and better to handle? It looks as if you're favorising linux. I saw at hackspire that there are about the half lot of dependencies need to be installed than the windows version.

Edit (Eeems): Format fix

14
TI-Nspire / Re: Jens' Script Editor - An on-calc lua editor
« on: February 20, 2017, 05:05:39 pm »
Hi Jens,
now I am using your editor some time and I like to work with it very much. Now at this time I have to do with strings that fill the display (text game). Problem: no word wrap by the hard-/software. I found some code for this but like more the simple way: a lineal that shows me the cursor position. So here is my idea, if you like to add something to your editor: a position counter for lines and rows. It would be much easier to enter long strings with it and give a simple way to make word wrap w/o setting separators by hand. What do you think about this? Yes, I know that you closed the editor project. But maybe you like to take your code again in the hand...
cu
klaus

15
Calculator C / Re: C++ on Nspire-way through eye of a needle?
« on: February 20, 2017, 09:27:10 am »
Installing C++ on Windows seems simple, compared to the Nspire Version. Handling it is not so simple...
But using another OS for using C++ is not what I would tellm user friendly, it means a 2 stage way and handling linux is not a thing that I get used in short time. But thanks for your answer.

windows is very bad at supporting developers, and c and c++ development especially so. other systems have all these toolchain prerequisites installed by default (or, if not, easily available via package manager and official packages, which take five minutes or so to install). windows was not designed to support c and c++ development, however, and all microsoft's attempts at adding it have been an afterthought that's perpetually non-standards-compliant.

so no, there isn't any other way unless you're willing to switch operating systems, basically.



A important aspect for a language is the acceptance of it. Nicest language is not attractive to me when I don't find much support and few ppl who uses it. So I think C++ has some usage for Nspire but C I don't see so often. And programming on the old calculators with bw and non lighted lcd I don't like. Thanks for your hints.

Are you really wanting to do C++? How about trusty old C?

I've never tried using C on the TI-84CE so I cannot speak to it. Although this capability really has me interested in purchasing a TI84CE. ;)

However, C on the TI-89, 89TI, 92+, and V200 is amazingly easy. Simply install GCC4TI or TIGCC on your PC and that's it... you're good to go.



Hm, I think I would prefer to use a linux but a subsystem. But starting with another OS means a lot to learn about its handling just before I can write my Hello World in C++. Means a 2 stage acting. Together with the high need of time to learn C++ it's to much, I think. Its really strange, older calculators can get programmed much better then the nspire but have the awful dark bw displays, the nspire has a wonderful hardware, but got effectively locked by TI to hinder its prgramming. What fools makes such decisions in chief etage?

I think if you're using Windows 10, there is an "Ubuntu subsystem" that you can use.

Edit (Eeems): Merged triple post

Pages: [1] 2