Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: ZippyDee on July 03, 2011, 10:28:26 pm

Title: zIDE: Another On-Calc Assembly Environment
Post by: ZippyDee on July 03, 2011, 10:28:26 pm
Okay, so I've been working on this for a while now, and I'm pretty happy with how some of my routines are turning out so far. I haven't gotten very far, and I'm still only working on the very basics of it right now, but here's basically what I'm thinking about:


zIDE was inspired by Deep Thought's XDE (http://ourl.ca/7137), but this will be for on-calc Assembly programming. If it ever gets done, here's what I'm planning for it to have:
   Note: If #include support ends up working, I will make the ti83plus.inc file a separate file so the app doesn't take up a huge amount of pages. However, the ti83plus.inc file will definitely not be the complete file. I will try to include as much of the basic things as I can, but I doubt it will include things like the two-byte key codes (of which there are A LOT).

Honestly I'm not sure how many pages this app will end up being, but it shouldn't be more than two...Hopefully I can get it all into one page.

So, that's what I'm planning. We'll see how much I can actually get to, seeing as I'm basically learning ASM as I go with this thing. I already feel like this has been such a great learning experience!

Right now I'm working on the text input, so nothing stated above is absolutely positively for certain going to happen, but that also means that it can change and be added to! Any suggestions are welcome (in fact, I'd LOVE suggestions to make it even better).

ALSO, I will be asking a lot of questions, and probably have a lot of routines that I'll screw up little things in (or maybe big things) that might need some debugging, so any and all assistance is also welcomed with open arms.

I may have a screenshot pretty soon, but that's all for now!
Title: Re: zIDE: Another On-Calc Assembly Environment
Post by: Scipi on July 03, 2011, 11:04:08 pm
ooo Looking forward to this one. This might inspire me to start assembly programming. :D
Title: Re: zIDE: Another On-Calc Assembly Environment
Post by: annoyingcalc on July 03, 2011, 11:47:41 pm
what calc is it for 84 if it is yay
Title: Re: zIDE: Another On-Calc Assembly Environment
Post by: Darl181 on July 04, 2011, 12:10:31 am
Since it starts with a z, connoting "Z80" then I guess it's safe to assume it's for the 83+.  84+ is reverse-compatible with 83+, so I'd say yes. ;)
Looking good.  I probably won't use it (unless I actually learn asm at some point :P) but I could see it being useful to many.

I guess I'll be the one to ask: are you doing anything with this to differentiate it from Mimas?
Title: Re: zIDE: Another On-Calc Assembly Environment
Post by: ZippyDee on July 04, 2011, 01:58:07 am
I guess I'll be the one to ask: are you doing with this to differentiate it from Mimas?
Well, one obvious thing would be syntax highlighting. Also, I PLAN for programs to be stored as regular program objects that are editable in the OS editor, but that may change to be AppVars with a more compressed format as well, mostly for speed of compiling and highlighting. I also might have a feature for line addresses in place of line numbers.

Other than that, I really don't know. At this point a lot of this is still mostly a learning experience for me.

Also, I forgot to mention that I do intend to have a copy/paste feature.
Title: Re: zIDE: Another On-Calc Assembly Environment
Post by: z80man on July 04, 2011, 03:44:57 am
You should have a function that allows for easy insertion of sprites. That's one issue I have with Mimas because typing out long strings of binary data can be difficult with the small screen, plus it makes the source much longer too.
Title: Re: zIDE: Another On-Calc Assembly Environment
Post by: Deep Toaster on July 04, 2011, 10:25:23 am
  • Custom text editor
  • 4-level grayscale syntax highlighting
  • Line numbering
  • Line auto-indenting
  • Jump to label / Jump to line
  • Relative label support
  • On-Calc Compiling with fairly descriptive errors (as much as possible, at least)
  • Running
  • #include support (hopefully)
  • Saving as a program that can be edited in the normal OS editor
  • Back-up to AppVar

Sounds like a great util!

    Note: If #include support ends up working, I will make the ti83plus.inc file a separate file so the app doesn't take up a huge amount of pages. However, the ti83plus.inc file will definitely not be the complete file. I will try to include as much of the basic things as I can, but I doubt it will include things like the two-byte key codes (of which there are A LOT).

Great idea. That means we can write our own .inc file if we wanted, no? So we could use it for third-party OSes too (if a version ever comes out for them) :D

Honestly I'm not sure how many pages this app will end up being, but it shouldn't be more than two...Hopefully I can get it all into one page.

Hope so too :)

So, that's what I'm planning. We'll see how much I can actually get to, seeing as I'm basically learning ASM as I go with this thing. I already feel like this has been such a great learning experience!

Great idea -- learn ASM by writing a tool for other people to write in ASM. Seriously, it's good practice.

And welcome back ZippyDee!
Title: Re: zIDE: Another On-Calc Assembly Environment
Post by: ZippyDee on July 04, 2011, 02:48:42 pm
You should have a function that allows for easy insertion of sprites. That's one issue I have with Mimas because typing out long strings of binary data can be difficult with the small screen, plus it makes the source much longer too.
Yeah, I had thought of that, and if I can think of a good way to do it then I'll certainly add that in.

Great idea. That means we can write our own .inc file if we wanted, no? So we could use it for third-party OSes too (if a version ever comes out for them) :D
Exactly! I'd have a program that allows you to modify a normal txt doc to the calc's inc file format if I don't use just straight ascii. This also allows you to take the inc file off the calc when you're not using it, and when you ARE using it you can exclude bcalls or ram areas or tokens, etc, that you know you won't need so it doesn't take up so much space.

Great idea -- learn ASM by writing a tool for other people to write in ASM. Seriously, it's good practice.
Yeah, I realized that the only way I'll really get myself to learn ASM well enough is by diving in and learning to swim by trial and error. Thankfully I don't think I can drown from not knowing ASM.

And welcome back ZippyDee!
Thanks, it's good to be back. :)
Title: Re: zIDE: Another On-Calc Assembly Environment
Post by: Freyaday on July 05, 2011, 05:03:58 am
Maybe I can finally learn ASM with this!
Oh, and don't forget to have a decompile ability!
Title: Re: zIDE: Another On-Calc Assembly Environment
Post by: ZippyDee on July 05, 2011, 05:04:54 am
Ah, yeah! Decompile! Thanks for reminding me!
Title: Re: zIDE: Another On-Calc Assembly Environment
Post by: Freyaday on July 05, 2011, 05:09:07 am
You're welcome!
Oh, and Zippy, you're only gonna have three text colors, because that fourth color is gonna be for the background.
Just a random feature: Inverse mode, where you have a black background instead of a white one.
Title: Re: zIDE: Another On-Calc Assembly Environment
Post by: ZippyDee on July 05, 2011, 05:11:13 am
My highlighting uses combinations of foreground and background colors. It will be all customizable in the options, but I think I have a pretty good setup in mind.
Title: Re: zIDE: Another On-Calc Assembly Environment
Post by: Eeems on July 05, 2011, 08:03:01 pm
This is sounding really epic! I can't wait to see the outcome :)
Title: Re: zIDE: Another On-Calc Assembly Environment
Post by: the_mad_joob on July 06, 2011, 11:36:46 am
Hey there...

It's good to see i'm not alone creating such a difficult project (my first "real" project too).
I'm close to the first release and learned some stuff about the appropriate algorithm structure so don't hesitate to pm me if you're stuck on something.
It would be a pleasure to help if i can =]
Title: Re: zIDE: Another On-Calc Assembly Environment
Post by: TIfanx1999 on July 13, 2011, 09:26:26 am
Wow, lots of features planned. This looks quite ambitious. I look forward to seeing how this develops. =)