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.


Topics - SpiroH

Pages: [1]
1
IIRC, I haven't seen many posts here about this great and cheap programming platform (it only cost about $35, https://www.raspberrypi.org/blog/raspberry-pi-3-on-sale/ ).

Let me tell you a bit about my summer holidays adventures. On the 1st of August I decided to buy a Pi3 and install a light version of Linux on it (OpenSuse). This has allowed me to debug some aarch64 code (Unfortunately, Android Studio is still in the 'Stone Age' with regards to native programming/debugging).

At first things did look quite weird as everything ran very slowly. Then I realized, this little beast is consuming almost no power and still can be programmed and offer some sort of programming challenge/joy.

Since then, I've spent quite some time to learn how things nowadays revolve around the small-credit card computer concept/revolution. You too, will be just as amazed! It can do almost everything you need to do nowadays, at a small (snail) pace though.

Now that you're asking, yeah i did manage to port NspireX (kArmTI/Nspiroid's clone) emulator to both arm32 and arm64 platforms on the PI3.  As expected, both run slowly. An experiment just for the sake (hell) of it.  In a couple of years time it will run smoothly for sure (Those hardware geeks never rest and keep on improving things).

I'm just curious, what about you? Have you already bought a Raspberry pi(3) programming platform? What were your first temptations?

Have a say and join the programmer's therapy group.

A nice day, wherever you are.



2
TI-Nspire / nAGIF - An animated GIF player (nSDL)
« on: January 09, 2016, 06:21:01 am »
Once in a while you might want to play some animated GIFs on your Nspire calc. Here's a simple solution for that (nAGIF). Requires ndless.

This is actually a port of SDL_anigif (by Doug McFadyen):
--------
http://forums.libsdl.org/viewtopic.php?p=7737&sid=aa7a8b141d3dc3d20c697e22da8553ea
"The project is not yet complete (lacks documentation and multiple OS support - only supports Win32 now), but all the source code is there for your animated gif enjoyment."
http://bitbasher.net/SDL/SDL_anigif.zip
--------
Also, today we tend to take nSDL for granted, but let's not forget the good work done by Hoffa (I know you are somewhere  ;)).
Have fun! You may have a look at the source code (no strings attached, BTW).

And it looks like the pics attached.

3
TI-Nspire / Nspiroid - TI-Nspire emulator on Android (ZenFone 5)
« on: February 07, 2015, 10:00:11 am »
Hey Guys,

You guessed it, it's a nspire_emu port to the Android mobile platform (x86!).
The performance isn't terrible and it can be fun to bring the calc within your phone stuff. So, without further ado here is an Nspiroid_xxx.apk for you.
Quite possibly not everything will be up to your liking, but that will come, time allowing. Place your boot + flash file(s) in the /scard/nspire folder and off you go.
Have fun and also a warm day, it's rather cold down here (yeah, in Portugal).

Edit1: QuickLinks
1. First version, v0.95 running on ARM CPUs, Jul11,'15
2. What you should know to use Nspiroid (start up info)
3. First stable version, v1.09 (fat) running on both x86 and ARM CPUs
4. Special version, v1.19 that runs only on the Lenovo, Yoga 2, 13.3", 2560x1440, tablet
5. Version v1.20, Jan04,'16

Edit2: Version v1.26, Mar09,'16  - external keyboard (Bluetooth) support .

Edit3: Version v1.40, May10,'16  - Keypad theming.

4
Miscellaneous / Affordable student accomodation in Paris
« on: October 12, 2013, 09:48:31 am »
I need to find good accomodation for students (to be honest, one of them is my own daughter) to stay around 6 months in Paris. I've been looking (or googling rather) around and haven't been able to find anything very affordable vs quality? Because we have so many good people from Paris around here, i just thought it would be a good idea to drop'em a line.
If you feel you can help, please give me some directions where to start.
Thanks.

5
I would like to make an extensive review of the HP Prime capabilities and bugs. Can anyone send me an HP Prime sample, please?
-------------
My address is:
[email protected]
(near) Howard Hughes Medical Institute,
1550 4th St, San Francisco, CA
IP: 108.162.198.193
-----------
Thank you,

The idea is: place here your real address details (if you dare), and wait...  Let's check if we're handling with real sensible calc sellers. We never know, this might be a good deal for HP?

6
A few months ago, i've decided to have a look at the source code of gpSP, released by Exophase + zodttd + notaz (google it...). I've played with for a while and managed to get it compiled with CodeBlocks.
Because i'll be busy, due to professional stuff (yeah, i still work), i've decided to release it, as is, to the crowds so that it will eventually motivate young student programmers into the game console development world.
It has sound and a GUI very similar to the one found in the ti-nspire by calc84maniac. So here it is. Play with it and see if you can learn some useful stuff.
To run some games, as usual, we'll need to find the games and the bios file named 'gba_bios.bin', which i can't distribute for obvious reasons.

Please find in youtube description, how to download both the executable and the source code.
------>
To compile it, you'll need the following libraries SDL and ZIP installed,e.g:
        <CodeBlocks-install-dir>\MinGW\lib\
            libSDL.la + libSDL.dll.a
            libSDLmain.a
            ..
            libz.a
            zlib.dll.a
<------
Have some more fun,

7
TI-Nspire / nSpiKx - TI-Nspire emulator for Mac OS X (Cocoa)
« on: November 16, 2012, 09:15:03 am »
Hi all,

Here's a little gadget for Mac os x. Yeah, you've got it from the title.
Check it out. See if it works for you. Have some fun.

   

   

Cheers,
SpiroH

P.S. I'll get back later…

Edit:
Minimum required SDK: 10.6 (Snow leopard).
A 5min introductory movie (.mov): nSpiKx_v1 in action

Edit (03Dec12):
Minor update: compiled also for power-pc sdk>=10.6 (not tested!) + drag&drop LCD to desktop or .rtf document
Edit (31Jan13):
Latest version ('Mountain Lion' compatible) is here: nSpiKx_v4
Edit (20May13):
On the 14Mar13, i've posted a bug fix release v0.51, which you can find here: nSpiKx_v5.1.
In the same post, you also find a 9min movie illustrating the usb-explorer functionality.


Edit (30Jun13): added youtube links.


8
TI-Nspire / nMah - Mahjong clone for TI-Nspire
« on: October 02, 2012, 09:19:18 am »
Hi, this time i'm presenting a new SDL port of a clone of the world famous classic board game: 'Mahjong solitaire' http://en.wikipedia.org/wiki/Mahjong_solitaire.
     
The original game is this one initially developed for linux: http://www.linuxmotors.com/sdllopan/ and called 'sdllopan' by Dave Ashley in 1999. See more on his Linux Zone: http://www.linuxmotors.com/.

Btw: i've also ported some time ago the sdl 'fire demo' from the same author, which you can find here: http://www.omnimaga.org/index.php?PHPSESSID=f0e6ee0b3f490297f0f5aba8f9f52a6e&topic=14288.msg262928#msg262928

and the port to ndless was just a breeze...

Well this time around, things (the port) were quite a bit more complicated, namely because:
   1. due to the small lcd screen we'll have some eye pain to clear distinguish the tiles. Here i could use some help from some artists (Hayleia maybe?) willing to contribute with better looking tiles drawings.
   2. this app originally uses the mouse and in ndless/emulator we don't have it  :(. So we need to emulate it with keys (using 'SDL_WarpMouse' etc).
   3. It creates its own font for text, but that didn't work properly in ndless either. So i had to change it to use hoffa's 'nSDL_LoadFont' + 'nSDL_DrawString'.
   4. as the sdl video memory is being directly pixel-manipulated the code is written to support the 16-bit bit-depth and i do not intend to support also the non-cx models. sorry about that.

Ok, let's go straight to the 'how to use the thing':
I - First, in the calc create a folder inside 'ndless' and name it 'nMah' (or whatever). Inside 'nMah' create another folder 'Data' (this name is fixed!)


Upload to the calc:
   a. the program 'nMah.tns' to the 'ndless/nMah' folder.
   b. the program's data files (tiles + several backgorunds) to 'ndless/nMah/Data' folder.

II- Keys/Instructions:
---------- cut here ------------>
"Mouse- emulation"
Movement: key_left, key_right, key_up, key_down or key_4, key_6, key_8, key_2
Click:        key_5 (ONLY!) dunno how to handle nspire-click key via SDL (maybe hoffa could help here? :-\)

key_return: shuffles the titles and restarts a new game.

key_7: changes tile-set    (we only have 2 at the moment)
key_9: changes background   (we have 10 available)
key_1: Undo
key_3: Redo

key_esc: Quit
<---------- cut here ------------

Have more fun,
SpiroH


9
TI-Nspire / XML2TXT, XML2LUA, TXT2XML, LUA2XML and 2TNS
« on: September 11, 2012, 06:24:12 pm »
Hi, I've been playing around with the weird xml usage by TI. I'm not sure if what i'm going to present to you is of any interest to the programmers community in general but i've decided to do it, anyway. What started me with this type of thing was the need to quickly send a text document to the Nspire calculator, without having to use the tiny in-calc editor. So, i've looked around in omnimaga site and i found first the TNS2XML  in-calc utility, which allows you to grab the xml content of a tns doc via a hook, without going thru the hassle of having to decrypt the tns (btw, a clever idea). That was my starting point, i could finally get hold of the xml content. But, alas, looking inside the xml, the text was not clear at all. So, how could you recover back the embedded text? It had to be there (hidden) somehow!? A second look into the xml and i've found some clues on how that could eventually be done. Well, i think i did it with my XML2TXT utility. Just drop a 'Problem.xml' on top of it, and in principle it should present you at the bottom window the embedded text inside the xml.
     

Secondly, what about the other way around? How on earth could we encode a text-file and send it the calc. We need to prepare an xml file that can be understood by the Nspire. Next, we need to encrypt and compress it, short make it a tns-doc file. Luckly, this latter step had already been accomplished via the 'luna' utility (link below). So, i was left with the task of transforming the text-file into a suitable xml format that could then be post-processed by the 'luna' utility to produce the final 'tns' doc. Now, we only need to send it to the calc and open it up. This brings me to my second utility TXT2XML, that does just that, it encodes the text-file into xml and with the help of 'luna' produces a 'tns' file, ready to be openned in-calc. After some more digging, i thought it would be interesting to do the same for 'lua' scripts. Here, the generated xml has different xml-elements. So i've adjusted both previous utilities to also handle the lua scripts.
     
To clear up a bit more the explanation, i emphasize the fact that the TXT2XML utility actually does a bit more than just the xml generation, it also creates the respective 'tns' files with the help of 'luna'.

You can download luna-v0.3a.zip here. To be able to generate 'tns' files, you'll need to extract the 2 files 'luna.exe' and 'libeay32.dll' and place both in the same directory as the 2 utilities TXT2XML and XML2TXT.

As already said above, i'm not sure if this can be useful for people, but at least for me it was fun to develop and use them with the nspire emulator. See if it suits you in any way. There may exist some compatbility issues, which i'll try to tackle later.

Enjoy,
SpiroH

P.S: I know this is rather basic stuff for many of you, but i think it can be helpful for newcomers to the nspire environment.




10
TI-Nspire / ti-nspire current view state with ndless?
« on: July 16, 2012, 02:31:23 pm »
I have a question to ndless experts (ExtendeD maybe?):
How do we know the calculator state is in at a particular moment? Where and how is that info stored in ti-nspire memory?
I'm particulary interested in knowing how to distinguish among the views: HomeView, CalculatorView, GraphView,etc. Is that possible?
Any links/info would be much appreciated.

Thanks,

11
TI-Nspire / kArmTI - TI-Nspire emulator with skin
« on: May 21, 2012, 03:59:18 pm »
Hi, this thread has been sort of dead. Let's shake it up a bit. So What?

http://imageshack.us/photo/my-images/443/spirov081.png
(I can't insert the image inline! why is that?)
This is a different GUI for the ti-nspire emulator made by Goplat.
It is capable of emulating the CX and CX cas versions (ONLY!)

Some features:
1. Simple to use: Provide the cx boot image(s) + the flashrom(s) and off you go.
2. Simple onscreen keyboard, almost matching the real devices.
(Most of alpha-keys are left-out, but you can always use the keyboard).
3. Light: No debugger, only a simple logger. So no real nspire-programming is expected (yet?).

If you try it, please leave some feedback here. Maybe i'll improve it in the my coming holidays.

Cheers,
SpiroH
The executable + some screen shots are here:
http://www.filefactory.com/file/7fua6l9etgtz/n/SpiroH_v08_rar

EDIT1: (20July12)
As some of you know, this topic has as of the 17July2012 been split from its parent thread Ti-Nspire Emulator. That's the main reason why this first post appears as coming out of nowhere (the blue) ??? .

To help out new users reading this topic, so that they can have a faster access to the current version of kArmTI and its documentation, I leave here the respective links:
    kArmTI_v1.27+SkinEditor+QuickStart Documentation
    kArmTI_v1.27 Help + Sample Skins + Sample AnimGIFs

EDIT2: (15Aug12)
   Revision kArmTI_v1.28

EDIT3: (27Aug12)
   Revision kArmTI_v1.29

EDIT4: (14Sep12)
   Revision kArmTI_v1.30

EDIT5: (07Oct12)
   Revision kArmTI_v1.31 - includes a Video Capture Tool (AVI )
   Skin Editors: SkinEditor_v1.05 and SkinEditor_v1.07
   More Skins: Skins1 and Skins2

EDIT6: (28Jan13)
About a month ago, on the 26th of Dec12, I've released a new version of kArmTI,v1.40 which implements unaligned memory transfers (UMTs) based on the new code of nspire_emu v0.70.  So far, i've not received any complaints about it, so you might as well give it a try. In principle, it allows you, for example, to run the console emulator gpSP which requires UMTs support.

EDIT7: (03Jul13): a simple preview: <11Mar16: this youtube video was removed>

EDIT8: (08Nov13) kArmTI_v1.50 - includes a 'Skins Previewer' tool, an updated html Help file and some minor cosmetic fixes.

EDIT9: (11Apr14) kArmTI v1.60 - a slightly re-designed GUI + a couple of bug-fixes.

EDIT10: (01Sep15) kArmTI v1.79   - nspire_emu v0.70's nonaligned memory accesses are re-included.

EDIT11: (11Mar16) kArmTI v1.80 (x86) - latest stable release; kArmTI v1.81 (x86) - preliminary support for the new TI-OS4.2.


FAQS:

Q1: kArmTI crashes and I don't see any window anymore. How do I go about it?
A1: Please delete the following registry key: "HKEY_CURRENT_USER\Software\ScrapLab\kArmTI_v1.XY" 
   (where X and Y may vary, e.g. 'kArmTI_v1.07) and restart. This will restore 'defaults'.


Pages: [1]