Author Topic: Axe Terminal Beta Released  (Read 13325 times)

0 Members and 4 Guests are viewing this topic.

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Axe Terminal Beta Released
« Reply #15 on: January 09, 2011, 12:20:25 am »
This is pretty cool!

Question:
So, if I make an Axe program using the subprograms provided, would that mean I could compile and run programs and display correctly even without the app?

Feature requests:
In addition to the ability to list all programs, what about the ability to list and run/display/archive/unarchive/delete/make (pick appropriate verbs) all BASIC apps, appvars, picvars, strings, lists, variables, and groups?

And also, would it be possible to add subprograms that would allow you to do any of the above when coded into Axe?
It might help with things like saving and opening level data - let the user input in a name for the appvar and save to it, or use your search function to return a list of all appvars with the correct beginning sequence then display all the available appvars all with just 3 or 4 subprograms...
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.

SirCmpwn

  • Guest
Re: Axe Terminal Beta Released
« Reply #16 on: January 09, 2011, 12:38:14 am »
You need to run programs using these routines from the Terminal, although I will add a routine later to launch the Terminal.
I can look into all of those features as well.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Axe Terminal Beta Released
« Reply #17 on: January 09, 2011, 12:38:20 am »
Question:
So, if I make an Axe program using the subprograms provided, would that mean I could compile and run programs and display correctly even without the app?
Not if you use any of the given routines, this is like running programs made for DCS or ION etc.
Feature requests:
In addition to the ability to list all programs, what about the ability to list and run/display/archive/unarchive/delete/make (pick appropriate verbs) all BASIC apps, appvars, picvars, strings, lists, variables, and groups?
I'm liking that idea too :)


EDIT: Wow, ninja'd!

EDIT2: Btw, same program I showed I also made with mimas, here is the source and the include I made

EDIT3: Oh, btw, calling ConsoleInput doesn't seem to be doing anything at least not when called with assembly... :(

EDIT4: Also attached is the fruit of my coding tonight :) A little poem for all you The Blue Platform fans have fun :D
« Last Edit: January 09, 2011, 01:57:24 am by Eeems »
/e

SirCmpwn

  • Guest
Re: Axe Terminal Beta Released
« Reply #18 on: January 09, 2011, 12:13:41 pm »
I've added the CP command to copy one program to another, and the MV command to rename a program (both unfinished - the latter will be difficult).  I will be adding MORE as well, and eventually removing the need to preface a program with EXEC.  I've added the ClearConsole routine for Axe/Assembly developers.  I'll look into why ConsoleInput isn't working from Asm, it certainly is working from Axe.

Eeems, very nice!  Impressive, and more optimized once I release the update with ClearConsole.  I'll also be changing the text routine, it will support \n, so you can use that for new lines as well.

As for ConsoleInput, it works fine.  It uses the ">" to get input.  It looks the same as the Terminal does.  I'll eventually add a routine to provide a custom message at the input prompt.
« Last Edit: January 09, 2011, 12:39:06 pm by SirCmpwn »

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Axe Terminal Beta Released
« Reply #19 on: January 09, 2011, 12:52:21 pm »
Sounds great! :D
Yeah that would be helpful, my code is a mass of labels and COUT() right now x.x

When I tried a COUT() followed by a CIN() and then a COUT() nothing happened other then both the COUT()'s displayed and there was no input prompt at all.

I was also wondering if you could make a command to allow us to change the cursor location so we can output anywhere on the terminal :)
/e

SirCmpwn

  • Guest
Re: Axe Terminal Beta Released
« Reply #20 on: January 09, 2011, 01:22:45 pm »
I could add the cursor change pretty easily.  Axe users just have to set X and Y (I'll force that to be aligned later).  For now, you can change the value at $89E4 (X) and $89E6 (Y).
I just tried your COUT/CIN/COUT and it worked fine for me.
« Last Edit: January 09, 2011, 01:24:28 pm by SirCmpwn »

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Axe Terminal Beta Released
« Reply #21 on: January 09, 2011, 01:24:19 pm »
I have an idea, not show Terminal in the list of programs, since well you're running it.

SirCmpwn

  • Guest
Re: Axe Terminal Beta Released
« Reply #22 on: January 09, 2011, 01:25:03 pm »
That is the source code.  Terminal is an App.  The source code displays in the listing on my emulator when I grabbed the screen shot.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Axe Terminal Beta Released
« Reply #23 on: January 09, 2011, 02:08:29 pm »
http://eeems.pastebin.com/JtMTxFPU
^ new include file containing TCurX/Y and Argv (the location where CIN() stores its stuff ($86EC+56) )

You are right, it works now for some reason, but it wasn't before strangely...not sure why...

EDIT: New include file for mimas too :)
« Last Edit: January 09, 2011, 02:26:26 pm by Eeems »
/e

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: Axe Terminal Beta Released
« Reply #24 on: January 09, 2011, 02:41:33 pm »
Will it support loading apps? :P

SirCmpwn

  • Guest
Re: Axe Terminal Beta Released
« Reply #25 on: January 09, 2011, 02:49:09 pm »
No.  I also have created my own include file for ZDS, Tasm, and Mimas, and I'll be taking over the include maintentance.  Thanks, Eeems!

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Axe Terminal Beta Released
« Reply #26 on: January 09, 2011, 03:01:42 pm »
No.  I also have created my own include file for ZDS, Tasm, and Mimas, and I'll be taking over the include maintentance.  Thanks, Eeems!
Ok, sounds good :) Can't wait to use the official one :P
/e

SirCmpwn

  • Guest
Re: Axe Terminal Beta Released
« Reply #27 on: January 09, 2011, 03:14:51 pm »
Thanks, although I removed most of the macros :P I hate using macros for one-line operations.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Axe Terminal Beta Released
« Reply #28 on: January 09, 2011, 03:15:58 pm »
Like safeexit cout and quit? they are really helpful
/e

SirCmpwn

  • Guest
Re: Axe Terminal Beta Released
« Reply #29 on: January 09, 2011, 03:16:59 pm »
SafeExit, COUT, and Quit were left in.