Author Topic: Notepad  (Read 9205 times)

0 Members and 1 Guest are viewing this topic.

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Notepad
« on: March 02, 2011, 07:18:55 am »
This is a little side project I've been working on; a simple word-processor for 83+/84+ (written in Axe of course)

Features/Controls
Letter keys: Type stuff. Insert mode is on by default :o
Alpha: Cycle between lowercase, caps, and numeric mode. Use XT0N for exclamation points. In numeric mode, you can also type parenthases, commas, carrots, squared key = sign with MATH, and the operation symbols. Lowercase mode is auto-activated after typing a single letter in uppercase mode for your convenience.
2nd: Jump immediately to caps mode.
Enter: Newline
Del; Backspace
Graph: Your keyboard's End button
Trace: Your Home button
Y= Open the file menu, where you are greeted with a full filesystem. You can open, save, create new, or save your text file as a program, protected program, or appvar.

Although the program is less than 5k, I packaged it as an app too, for convenience. But there's also the no-stub version attached to this post.

The files this creates are *supposed* to be compatible with real notepad files (.txt), but I have to work out some flaws/glitches in it. I am also planning to add a symbol menu for characters such as $,%,$, etc.

Do not try and create/open files that are >8kb. Also, this is kinda unstable in random places, so back-up before using :)
« Last Edit: March 02, 2011, 07:19:21 am by squidgetx »

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Notepad
« Reply #1 on: March 02, 2011, 07:20:20 am »
* Scout likes.
* Scout likes much.

It seems pretty cool :D

EDIT: Tried it, it seems as cool as it sounded, but I hope there will be more functions like 'Select All', 'Copy', 'Paste', etc, but it's pretty good :D
« Last Edit: March 02, 2011, 07:23:03 am by Scout »

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Notepad
« Reply #2 on: March 02, 2011, 07:21:40 am »
yay notepad in Ti-84.
I'm looking foward to this.(compatible with txt file)
Sig wipe!

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Notepad
« Reply #3 on: March 02, 2011, 07:22:01 am »
WOOOOOOOOOOOO :w00t:
That's better than NoteFolio, I think
how are the files saved, I mean, is it saved as hex, or saved as the text, or whatelse?
(Maybe I can create a converter)
« Last Edit: March 02, 2011, 07:25:04 am by aeTIos »
I'm not a nerd but I pretend:

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Notepad
« Reply #4 on: March 02, 2011, 09:27:16 am »
how are the files saved, I mean, is it saved as hex, or saved as the text, or whatelse?

I'm guessing they're stored as the ASCII of each character. That's pretty much the only way to store text.




Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Notepad
« Reply #5 on: March 02, 2011, 10:15:04 am »
If you are able to make this program output files that can be opened by notepad normally that'll be pretty sweet. =)

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Notepad
« Reply #6 on: March 02, 2011, 01:23:40 pm »
Pretty cool.  How are you dealing with the header you get whenever you export 8xp files to the computer?
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Notepad
« Reply #7 on: March 02, 2011, 04:38:07 pm »
Pretty cool.  How are you dealing with the header you get whenever you export 8xp files to the computer?
I don't know. It's really annoying. I'll have to experiment a bit; I think i might have an idea... <_<

Also, don't make any programs that are >384 lines, and don't try opening random appvars and stuff, that will probably cause a crash.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Notepad
« Reply #8 on: March 02, 2011, 06:20:17 pm »
Pretty cool.  How are you dealing with the header you get whenever you export 8xp files to the computer?
I don't know. It's really annoying. I'll have to experiment a bit; I think i might have an idea... <_<

It would be really easy to write a on-comp program (in just about any language) that gets rid of the header.




Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Notepad
« Reply #9 on: March 02, 2011, 06:22:23 pm »
But making one that adds the header is a bit irritating.

And of course, you could just always open up the 8xp and delete the characters you don't want.
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Notepad
« Reply #10 on: March 02, 2011, 06:26:47 pm »
I used to make my readmes as programs on the calc back when I had no internet or a calc-to-computer USB. I would just give it to friends and they could read the readmes directly on their calcs! They were usually around 2 000 bytes, though...
This could be really useful...

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Notepad
« Reply #11 on: March 02, 2011, 06:36:41 pm »
The fact that transferring to the comp adds a header isn't a big issue; you can just delete them. The main problem I am having is that sending .txt's to your calc adds a bunch of seemingly garbage characters to the beginning of the program...

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Notepad
« Reply #12 on: March 02, 2011, 06:50:25 pm »
Interesting, what features does it have that some other high end apps like DocumentDE and NoteFolio doesn't? I am curious since there were already many word processors for the calc before.

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Notepad
« Reply #13 on: March 02, 2011, 07:02:56 pm »
The fact that transferring to the comp adds a header isn't a big issue; you can just delete them. The main problem I am having is that sending .txt's to your calc adds a bunch of seemingly garbage characters to the beginning of the program...

Really?  I'm also trying to add headers to my program, and it adds loads of garbage characters to the end (at least on Wabbitemu...)
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Notepad
« Reply #14 on: March 02, 2011, 07:37:16 pm »
Interesting, what features does it have that some other high end apps like DocumentDE and NoteFolio doesn't? I am curious since there were already many word processors for the calc before.
Idk, I haven't looked much at them. I really made it for fun, since it turns out word processors are kinda hard to make. Also I started with the initial goal of having them be .txt compatible (for example, to indicate linebreaks I use $0D0A, as notepad does). I additionally think that the option for choosing different OS var types is unique.