Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: squidgetx on March 02, 2011, 07:18:55 am

Title: Notepad
Post by: squidgetx 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 :)
Title: Re: Notepad
Post by: Munchor on March 02, 2011, 07:20:20 am
/me likes.
/me 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
Title: Re: Notepad
Post by: Yeong on March 02, 2011, 07:21:40 am
yay notepad in Ti-84.
I'm looking foward to this.(compatible with txt file)
Title: Re: Notepad
Post by: aeTIos 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)
Title: Re: Notepad
Post by: Deep Toaster 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.
Title: Re: Notepad
Post by: TIfanx1999 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. =)
Title: Re: Notepad
Post by: Michael_Lee 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?
Title: Re: Notepad
Post by: squidgetx 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.
Title: Re: Notepad
Post by: Deep Toaster 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.
Title: Re: Notepad
Post by: Michael_Lee 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.
Title: Re: Notepad
Post by: Xeda112358 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...
Title: Re: Notepad
Post by: squidgetx 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...
Title: Re: Notepad
Post by: DJ Omnimaga 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.
Title: Re: Notepad
Post by: Michael_Lee 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...)
Title: Re: Notepad
Post by: squidgetx 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.
Title: Re: Notepad
Post by: DJ Omnimaga on March 03, 2011, 03:19:08 pm
Ah ok cool. Txt compatibility is good. By OS vars do you mean you can store the text file in 8xi, 8xv, etc?
Title: Re: Notepad
Post by: aeTIos on March 03, 2011, 03:21:40 pm
Yes, you can use any var... afaik :)
Title: Re: Notepad
Post by: squidgetx on March 03, 2011, 03:22:43 pm
Well not 8xi, but you can use appvars, programs, or protected programs.
Title: Re: Notepad
Post by: DJ Omnimaga on March 04, 2011, 01:26:02 am
Ah that's good. :D