Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
24 May, 2013, 02:49:34 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1] 2 3   Go Down
  Print  
Author Topic: Lua print restored in OS 3.1 -  (Read 2133 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
critor
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 23:09:31
Date Registered: 14 July, 2009, 23:57:37
Location: Aix-Marseille, France
Posts: 1724


Topic starter
Total Post Ratings: +370

View Profile WWW
« on: 24 March, 2012, 12:37:31 »
+3

Cross-posting from TI-Planet.

When Nspire OS 3.1.0.392 was released in september, we discovered that the  standard Lua print() function had been removed.

This function made it possible to output data to the RS232 port of the Nspire, thereby enabling control of external peripherals, sound output, or whatever you see fit. It was already used in the wild when TI removed it...






This mis-feature of TI-Nspire OS 3.1.0.392 can now be fixed, thanks to fixprint. Fixprint hot-patches the OS in RAM to restore the funtionnality which was removed by TI, and can be launched automatically on boot by Ndless 3.1 Smiley


This program is yet another compelling showcase of the endless possibilities offered by native code - including hotfixes to TI's OS (fixprint can be considered as such).
Sadly, TI is dead set on shutting the door to native code on the Nspire platform...



Download from the TI-Planet news:
http://tiplanet.org/forum/viewtopic.php?t=8931
« Last Edit: 24 March, 2012, 12:38:08 by critor » Logged

TI-Planet co-admin.
Stefan Bauwens
Creator of Myst 89 - סטיבן
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Yesterday at 18:49:32
Date Registered: 25 February, 2011, 15:41:10
Location: Belgium
Posts: 1720


Total Post Ratings: +132

View Profile WWW
« Reply #1 on: 24 March, 2012, 12:50:38 »
0

Awesome! Cheesy
Well done to the maker of that utitlity.
Logged

Lionel Debroux
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Yesterday at 19:43:41
Date Registered: 17 December, 2009, 09:37:25
Location: France
Posts: 1854

Total Post Ratings: +208

View Profile WWW
« Reply #2 on: 24 March, 2012, 12:52:33 »
0

It's a team of makers, actually Smiley
Logged

Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.
Chockosta
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: 22 May, 2013, 20:19:59
Date Registered: 03 June, 2011, 20:14:17
Location: France
Posts: 440


Total Post Ratings: +159

View Profile
« Reply #3 on: 24 March, 2012, 13:12:11 »
0

Nice work !
The RS232 port is quite fun to play with Smiley
Logged

Chockosta (Loic Pujet) - Sorry for my poor English...
Look at my projects :
in C code : Periodic table, Space invaders, Fall, Snake, Minesweeper, nCraft (WIP)
in Lua : Snake, Space invaders, Bobby Carrot, Minesweeper, Mazes 3D, nSpaint, FreeCell, Tiny3D-Viewer, CubeField, Gravity Guy
Jim Bauwens
Lua! Nspire! Linux!
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 21:55:27
Date Registered: 28 February, 2011, 22:32:12
Location: Belgium
Posts: 1733


Total Post Ratings: +180

View Profile WWW
« Reply #4 on: 24 March, 2012, 15:26:24 »
0

Very nice Grin
Logged

Nick
LV9 Veteran (Next: 1337)
*********
Offline Offline

Gender: Male
Last Login: Yesterday at 17:13:44
Date Registered: 05 June, 2011, 20:01:07
Location: 51° 12′ 34″ N, 3° 13′ 31″ E
Posts: 1178


Total Post Ratings: +158

View Profile WWW
« Reply #5 on: 24 March, 2012, 15:35:47 »
0

do you just have to put fixprint.tns on your calc and nothing else? since i was that runprint.tns too, and i'm confused Smiley
Logged

Lionel Debroux
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Yesterday at 19:43:41
Date Registered: 17 December, 2009, 09:37:25
Location: France
Posts: 1854

Total Post Ratings: +208

View Profile WWW
« Reply #6 on: 24 March, 2012, 16:15:51 »
0

Oh yeah, I should have put a note about runprint Smiley
fixprint is the Ndless program, and runprint is the Lua testcase.

fixprint ought to be launched interactively, the first time, to check whether you have the appropriate version of Ndless 3.1 beta (SVN r568 and later). If you don't, the calculator will reboot, and you'll have to upgrade your Ndless version. In my testing with SVN r568, I hadn't noticed a problem.
« Last Edit: 24 March, 2012, 17:08:15 by Lionel Debroux » Logged

Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.
renatose
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
Last Login: 22 May, 2013, 17:06:15
Date Registered: 17 March, 2011, 21:35:59
Location: Portugal
Posts: 201


Total Post Ratings: +3

View Profile
« Reply #7 on: 24 March, 2012, 17:32:40 »
0

this is realy nice! In a month or so I'll start playing with it, I've got everything to start playing Cheesy a nspire, an arduino, an rs232 usb adapter, wires, an LCD screen and imagination! this is gonna be great!

Good job, thanks to the team of makers! Cheesy
Logged

Juju
Evil Fluttershy (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Coder Of Tomorrow
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Gender: Male
Last Login: Today at 00:12:50
Date Registered: 17 March, 2010, 07:46:57
Location: Québec, North Equestria
Posts: 4548


Total Post Ratings: +394

View Profile WWW
« Reply #8 on: 24 March, 2012, 19:14:55 »
0

Yay cool serial stuff is back Cheesy
Logged

LuaIDE
Reuben Quest HD: The PC Remake
Zarmina Project: Play Read
Nspire I/O: Info Download


THEGAME
Spoiler for Other stuff:
Also Yuki "ジュジュ" Kagayaki
Support Casio-Scene against the attacks of matt @ matpac.co.uk ! For more information: Casio-Scene shuts down & Matt actions threads
Find what P+4zJ means and you get free candy! cc4daa9c4645bd123ed22e385ed701fd
#omnimaga on OmniNet, EFNet and Pesterchum
Omnimaga Owner and Former Administrator
Fan of My Little Jim Bauwens: Losing the Game is Magic
Proud member of POLN - Ponys Oppositing Lol Names
Member of OBEL - Omnimaga Board of the EFnrgelnicshh Language - Office Omnimagois de la Langue FArnagnlçaaiiss
あなたはこのゲームを失った
Spoiler for Old spoileryception stuff:

Spoiler for Coming soon...:
Indefinitely halted [|.........] 10%
OmnomIRC Mobile [||||......] 40% (argh threads >_<)
Spoiler for Current/Past TI-related projects:
The Axe Parser Wiki / Founder and maintainer
Keytar Hero [|||||_____] 50% Engine done, wackiness left to do (Halted)
OmniOS
VVVVVV [||||______] 40% (Made most of the engine, extremely glitchy) (Gave it to Leafy)
░█▀█░█░█░█▀▀░█▀█░█▀█░█▀█░▀█▀░█▀▄
░█▀█░▄▀▄░█▀▀░█▀█░█░█░█░█░░█░░█░█
v0.1.0
░▀░▀░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀▀▀░▀▀░[|||||||||¦] 95ish% (Completed)
tilibs-wii? [._________] 0% (Nope.)
Spoiler for Spoilers:
<!---->
wxWabbitemu Developer
Spoiler for Other Userbars:






<!--Everything done, got 90% Cheesy sudo apt-get install z80asm z80dasm-->
Spoiler for Quote:
We are in 2034. The situation on Earth is catastrophic. The ozone layer has been completely destroyed by the carbonic gas of automobiles, the chemical industries, and the poosh-poosh in little cans. In the end, the earth cooks under the rays of the sun. We must find a planet on which can live 6 billion idiots. The planetary federation turns to the strongest country in the world: Canada. It is Canadian knowledge that has allowed, on October 28, 2034, the launch of the spaceship Romano Fafard, which leaves earth to search the confines of the Universe. Where the hand of man has never set foot.
I hate TI right now
Quote from: jimbauwens
You make me lose the game
Everytime I read your name
Spoiler for The real answer to life, the universe and everything:
Spoiler for Old HTML stuff:
<div style="margin:20px; margin-top:5px"><div class="smallfont" style="margin-bottom:2px">Spoiler for This is another spoiler: <input type="button" value="Show" style="width:60px;font-size:10px;margin:0px;padding:0px;" onclick="window.location.replace('http://goo.gl/QMET');"></div><div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;"><div style="display: none; ">HAHAHA SUCCESSFUL RICKROLL IS SUCCESSFUL</div></div></div><!-- old avatars:
http://fc00.deviantart.net/fs71/f/2011/120/d/f/nepeta_nyan_cat_by_supuru-d3f8tcx.gif
http://th01.deviantart.net/fs70/PRE/i/2011/099/5/b/rainbow_dash_derping_by_moongazeponies-d3dmg7l.png--><!---->
I may or may not be inactive during work hours (9AM to 5PM EST, Monday to Friday), so for any inquiries please leave a message after the beep and I'll answer you when I have time. Beep. Nevermind, I'm on vacation now. Cheesy
Dingus
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 22 May, 2013, 16:24:19
Date Registered: 21 March, 2011, 01:01:58
Posts: 129

Total Post Ratings: +13

View Profile
« Reply #9 on: 24 March, 2012, 19:25:24 »
0

Was eliminating this functionality another effort on ti's part to indicate clearly that they don't want our business?  Or just another one of their stupid mistakes. 
Logged
Nick
LV9 Veteran (Next: 1337)
*********
Offline Offline

Gender: Male
Last Login: Yesterday at 17:13:44
Date Registered: 05 June, 2011, 20:01:07
Location: 51° 12′ 34″ N, 3° 13′ 31″ E
Posts: 1178


Total Post Ratings: +158

View Profile WWW
« Reply #10 on: 24 March, 2012, 19:33:29 »
0

Was eliminating this functionality another effort on ti's part to indicate clearly that they don't want our business?  Or just another one of their stupid mistakes. 

i guess the first. They really don't want to make us do things with it that don't fit with the needs for school and other "serious" stuff.
So everything that might be used to make it function more than it should gets removed
Logged

Lionel Debroux
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Yesterday at 19:43:41
Date Registered: 17 December, 2009, 09:37:25
Location: France
Posts: 1854

Total Post Ratings: +208

View Profile WWW
« Reply #11 on: 24 March, 2012, 20:07:40 »
0

And the problem is, serial communication definitely has valid uses for classrooms, so by crippling their Lua (intentionally or not) and by fighting native code, they're doubly hurting themselves...
See, for instance, two projects aimed at drawing curves for math functions:
* the ToyoBot, made by critor's students and himself: a TI-Robot controlled by a TI-Z80, http://tiplanet.org/forum/archives_voir.php?id=1859 ;
* TDF89, using a different drawing hardware controlled by a TI-68k: http://tiplanet.org/forum/viewtopic.php?p=102589#p102589 , http://www.dailymotion.com/swf/video/xgj6rx
Such projects are always great learning experiences for pupils...

Besides expanding functionality, patching the OS in RAM allows third parties to prevent TI's bugs from striking (I think that the boot2 reflashing code contained in OS 3.0.1.1753, which bricked thousands of calculators beyond repair with standard hardware and software last year, could be prevented from striking), or fix them (e.g. fixprint), without TI having to deploy new OS versions !
The possibilities are endless Smiley
Logged

Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Online Online

Gender: Male
Last Login: Today at 02:42:10
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50227


Total Post Ratings: +2615

View Profile WWW
« Reply #12 on: 24 March, 2012, 22:58:42 »
0

This is cool. A few weeks ago I remember people telling me they wished more sound games existed in Lua for OS 3.1, but I had to tell them that sound was no longer possible via Lua.

@Lionel, could they be preventing actual stuff such as TI-Robot from being done in order to prevent people from making money with such device? Not that this would affect them at all if people made money by creating a third-party add-in for the TI-Nspire, but we never know what TI thinks, sometimes. >.>
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Dingus
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 22 May, 2013, 16:24:19
Date Registered: 21 March, 2011, 01:01:58
Posts: 129

Total Post Ratings: +13

View Profile
« Reply #13 on: 25 March, 2012, 00:30:18 »
0

And the problem is, serial communication definitely has valid uses for classrooms, so by crippling their Lua (intentionally or not) and by fighting native code, they're doubly hurting themselves...

Why do I keep thinking that the only effective way to deal with TI is to hurt them financially such as a boycott on buying new nspires (used is ok because ti doesn't get that money) and pressure on teachers to put the toys away and go back to teaching/learning math again? 
Logged
apcalc
The Game
Coder Of Tomorrow
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: 19 May, 2013, 16:59:33
Date Registered: 20 March, 2010, 16:31:47
Location: 2003 UB313
Posts: 1393


Total Post Ratings: +118

View Profile
« Reply #14 on: 25 March, 2012, 04:30:23 »
0

Great News! Wink
Logged


Pages: [1] 2 3   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.903 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.