Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
19 May, 2013, 23:21:32 *
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 ... 6   Go Down
  Print  
Author Topic: notepad for the nspire -  (Read 7638 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
shrear
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 26 February, 2013, 19:14:10
Date Registered: 16 October, 2010, 16:32:14
Location: Luxembourg
Posts: 193


Topic starter
Total Post Ratings: +17

View Profile
« on: 09 January, 2011, 11:42:28 »
+3

"Very" long ago I wrote a program in basic with which you could write letters on the graphscreen.
Since I had not to much to do the last week, I ported it to C.

Even with all what I added to the C version there are still some limits for the moment:
-I have just defined the "symbols" for upper-case letters an numbers
-you can only write 53*26 letters

But this you can already:
-deleting the last symbol written
-saving temporary
-saving to a file (for now only to "writer.txt.tns", also writer.tns and the file need to be at the root of your file system (/My Documents) to work as they should)
-reloading from this file (which can as well be written on a Pc, you have only to append a null character and the .tns extension at a regular .txt file)

I will add asap these features:
-code the rest of the characters (lowercase+punctuation)
-saving and reloading from/to different files
-add the possibility to reverse the  screen colour
-make it possible to write more than what fits on one screen
 and to navigate with the arrow keys (or even mouse pointer if it gets accessible)

And if that all goes I may try to add the possibility to format the text a bit, but that could take a while...

So here it is (Source included) what do you think?

* nwriter_alpha_0x0.0x0.0x1.zip (12.93 KB - downloaded 159 times.)
« Last Edit: 09 January, 2011, 15:54:14 by shrear » Logged
ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Today at 21:15:19
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 765

Total Post Ratings: +151

View Profile
« Reply #1 on: 09 January, 2011, 12:46:59 »
0

Great! Nice to see you are using some features of Ndless 2.0 successfully.
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
shrear
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 26 February, 2013, 19:14:10
Date Registered: 16 October, 2010, 16:32:14
Location: Luxembourg
Posts: 193


Topic starter
Total Post Ratings: +17

View Profile
« Reply #2 on: 09 January, 2011, 12:47:52 »
0

thx ExtendeD
Logged
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 07 May, 2013, 22:49:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #3 on: 09 January, 2011, 12:48:47 »
0

Hum. So this is a text editor on-calc for the NSpire? Nice, all we need now is a C Compiler Grin
Logged
shrear
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 26 February, 2013, 19:14:10
Date Registered: 16 October, 2010, 16:32:14
Location: Luxembourg
Posts: 193


Topic starter
Total Post Ratings: +17

View Profile
« Reply #4 on: 09 January, 2011, 12:52:24 »
0

Nice, all we need now is a C Compiler Grin
yea Smiley
Logged
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 07 May, 2013, 22:49:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #5 on: 09 January, 2011, 12:54:04 »
0

We could then do on-calc programming, but it's not easy to make a C Compiler on-calc.
Logged
ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Today at 21:15:19
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 765

Total Post Ratings: +151

View Profile
« Reply #6 on: 09 January, 2011, 14:04:13 »
0

Porting an ANSI-compliant one shouldn't be too difficult.
I don't use my own calculator much, I wonder how easy it is to type in text with the keypad.
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
Silver Shadow
Beta Tester
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 21 December, 2011, 21:23:08
Date Registered: 03 October, 2008, 17:34:52
Location: France
Posts: 799


Total Post Ratings: +20

View Profile
« Reply #7 on: 09 January, 2011, 14:11:22 »
0

Excellent work! Smiley
Coding directly on the Nspire would be absolutely great! (I personally find the keypad easy to use, especially compared to an 83+, and I guess it's even more easy on the Touchpad version...)
Logged

Former Coder of Tomorrow

Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 07 May, 2013, 22:49:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #8 on: 09 January, 2011, 14:13:36 »
0

Excellent work! Smiley
Coding directly on the Nspire would be absolutely great! (I personally find the keypad easy to use, especially compared to an 83+, and I guess it's even more easy on the Touchpad version...)

I can type quite fast in the touchpad version Wink
Logged
Silver Shadow
Beta Tester
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 21 December, 2011, 21:23:08
Date Registered: 03 October, 2008, 17:34:52
Location: France
Posts: 799


Total Post Ratings: +20

View Profile
« Reply #9 on: 09 January, 2011, 15:22:22 »
0

I just tried it on my Nspire, but it didn't load the included sample, even though creating and opening a new file worked prefectly.
Logged

Former Coder of Tomorrow

shrear
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 26 February, 2013, 19:14:10
Date Registered: 16 October, 2010, 16:32:14
Location: Luxembourg
Posts: 193


Topic starter
Total Post Ratings: +17

View Profile
« Reply #10 on: 09 January, 2011, 15:52:09 »
0

I think I forgot to say that you may need (for now) to have both files at the root and not in a folder to get them work properly
Logged
willrandship
Omnimagus of the Multi-Base.
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: Today at 22:45:51
Date Registered: 11 April, 2010, 03:08:32
Location: Between Venus and Mars
Posts: 2638


Total Post Ratings: +66

View Profile
« Reply #11 on: 10 January, 2011, 01:25:19 »
0

nice! So, is this an actual text file (ANSI?) or is it a special format?
Logged

shrear
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: 26 February, 2013, 19:14:10
Date Registered: 16 October, 2010, 16:32:14
Location: Luxembourg
Posts: 193


Topic starter
Total Post Ratings: +17

View Profile
« Reply #12 on: 10 January, 2011, 14:19:47 »
0

its normal ansi, if you remove the .tns you can open it with the real notepad or some similar program on your PC
Logged
t0xic_kitt3n
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: 13 May, 2013, 01:56:35
Date Registered: 16 June, 2010, 20:46:00
Location: w,x,y,z
Posts: 1583


Total Post Ratings: +32

View Profile
« Reply #13 on: 10 January, 2011, 20:23:07 »
0

We could then do on-calc programming, but it's not easy to make a C Compiler on-calc.
You just use a C compiler to compile the C compiler.
Funny how that works, isnt it? Tongue
Logged




██████  ██  ██  ███████           ████    ██    ██   ██ ███████
█ ██ █  ██  ██   ██   █          ██  ██  ████   ███ ███  ██   █
  ██    ██  ██   ██             ██   ██ ██  ██  ███████  ██    
  ██    ██  ██   ██  █         ██       ██  ██  ███████  ██  █
  ██    ██████   █████         ██       ██  ██  ██ █ ██  █████ 
  ██    ██  ██   ██  █         ██   ███ ██████  ██   ██  ██  █
  ██    ██  ██   ██             ██   ██ ██  ██  ██   ██  ██    
  ██    ██  ██   ██   █          ██  ██ ██  ██  ██   ██  ██   █
 ████   ██  ██  ███████           █████ ██  ██  ██   ██ ███████

Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 07 May, 2013, 22:49:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #14 on: 10 January, 2011, 21:29:33 »
0

We could then do on-calc programming, but it's not easy to make a C Compiler on-calc.
You just use a C compiler to compile the C compiler.
Funny how that works, isnt it? Tongue

Big smile That's impossible.

My question now is: Screenie of the notepad please?
Logged
Pages: [1] 2 3 ... 6   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.296 seconds with 31 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.