Author Topic: ClrDraw  (Read 4512 times)

0 Members and 1 Guest are viewing this topic.

Offline ClrDraw

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 627
  • Rating: +61/-2
    • View Profile
    • GitHub
ClrDraw
« on: October 20, 2013, 12:22:40 pm »
Hey everyone, I've been using this site to help me with my programming for over a year now, but finally made an account. I'm so glad I did because I've had so many programming questions that nobody knows the answers to  :w00t: but anyways, I've been programming for a while and have made some cool games, utilities and shells such as the ones atatched.
I'm also in the middle of an extremely cool shell with a GUI to rival DoorsCS that is also faster to use. The only downside is that it can only (as of now) run asm and basic. Any help on that would be appreciated  :) also, anybody know how to run an app (like Axe Parser) from my program?
Visit my GitHub for all my TI programs as well as other projects.
Also check out my website.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: ClrDraw
« Reply #1 on: October 20, 2013, 12:24:44 pm »
hi, welcome to omni!
Unfortunatley i can't help you with running an app :/

Anyways, have some peanuts:
!peanuts

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: ClrDraw
« Reply #2 on: October 20, 2013, 01:10:10 pm »
Hello and welcome to Omnimaga!

What exactly do you mean by running an app, though?
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4684
  • Rating: +718/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: ClrDraw
« Reply #3 on: October 20, 2013, 01:36:05 pm »
It depends on how you want to run the application. In the case of Axe, I imagine that you are looking for a way to automatically compile an Axe program from within your shell. Luckily, newer versions of Axe have a jump table with useful routines. I think you will want to check out the API documentation for that. As for running any app, that can get pretty tricky because of how apps exit. What you would have to do is check the header of the application to locate where the code starts, then do a jump or call to that address.

Offline ClrDraw

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 627
  • Rating: +61/-2
    • View Profile
    • GitHub
Re: ClrDraw
« Reply #4 on: October 20, 2013, 02:51:55 pm »
That's exactly it, I wanted to run Axe parser from my shell and be able to compile a program from it. But can I do all that from an axe parser program? I don't know any ASM at the moment.
Visit my GitHub for all my TI programs as well as other projects.
Also check out my website.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: ClrDraw
« Reply #5 on: October 20, 2013, 03:59:05 pm »
Yeah, that might be possible with advanced ASM. Anyway, welcome to Omnimaga ^_^ Have some peanuts!

!peanuts

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: ClrDraw
« Reply #6 on: October 20, 2013, 04:05:48 pm »
Done
« Last Edit: October 20, 2013, 04:07:00 pm by shmibs »

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: ClrDraw
« Reply #7 on: October 20, 2013, 04:10:35 pm »
Lol Shmibs. ;D

Welcome to Omni, ClrDraw ! :D
!peanuts
Spoiler For Moar !:
!peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts !peanuts
« Last Edit: October 20, 2013, 04:11:02 pm by Streetwalker »

Offline ClrDraw

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 627
  • Rating: +61/-2
    • View Profile
    • GitHub
Re: ClrDraw
« Reply #8 on: October 20, 2013, 05:50:19 pm »
 :) Thanks!
Visit my GitHub for all my TI programs as well as other projects.
Also check out my website.

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55913
  • Rating: +3152/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: ClrDraw
« Reply #9 on: October 20, 2013, 05:56:29 pm »
Does it mean that from now on, when the IRC bot notifies us of a new post by you, that it will erase the entire page content (or at least images) until next refresh? O.O

Just kidding, welcome to the forums :)

Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
Re: ClrDraw
« Reply #10 on: October 20, 2013, 09:41:32 pm »
Welcome ClrDraw!

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: ClrDraw
« Reply #11 on: October 20, 2013, 11:21:32 pm »
I don't think auto-compilation for Axe is a particularly useful feature. It takes quite a bit of time, and there's no need to open up a launcher shell when it's just as fast to open Axe directly.

Developers generally release precompiled programs anyway, both for code obfuscation and to avoid version issues. Axe has been highly volatile as far as backwards compatibility goes (for good reason)

Executing other languages, like Grammer, could be valuable. You should also aim for support for Headered programs. DCS, MOS and ION programs all have small headers that, while helping the shell function, prevent normal asm execution.

Welcome to the community!

Offline ClrDraw

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 627
  • Rating: +61/-2
    • View Profile
    • GitHub
Re: ClrDraw
« Reply #12 on: October 21, 2013, 12:28:18 am »
I noticed they have headers before program data but don't know how to read them. Do you know how doors and mirage read the program's icon from the header?
Visit my GitHub for all my TI programs as well as other projects.
Also check out my website.

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: ClrDraw
« Reply #13 on: October 21, 2013, 04:06:48 am »
Welcome to Omnimaga :D

Also, I wrote a similar shell, AxeSh, which uses an axiom I wrote to open the Axe app, compile a program and enable Axe's hook from within the shell. Here's the thread : http://ourl.ca/17048

Also, I attached to this post the axiom I use to interface with the Axe app, in Axe (I never released it) . The axiom features 4 commands : RunPrgm(, MainMenu, CompileAxe( and AxeHook. RunPrgm and CompileAxe both take a string as an argument, which obviously must be a program name starting with the token "prgm". RunPrgm can only run non-archived Nostub programs, but it only takes 12 bytes.

Offline ClrDraw

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 627
  • Rating: +61/-2
    • View Profile
    • GitHub
Re: ClrDraw
« Reply #14 on: October 21, 2013, 11:44:15 am »
 I saw that, that's what inspired me to make one also! I didn't know about the axiom. Thank you so much, I'll put you in my credits.
How do I give you a plus one? I can't find the button  :w00t:

EDIT: I guess I don't have enough posts yet...
« Last Edit: October 21, 2013, 12:06:51 pm by ClrDraw »
Visit my GitHub for all my TI programs as well as other projects.
Also check out my website.