Author Topic: Axe: How to Execute BASIC Programs  (Read 6412 times)

0 Members and 1 Guest are viewing this topic.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4647
  • Rating: +717/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Axe: How to Execute BASIC Programs
« Reply #15 on: March 04, 2011, 02:36:42 am »
Yeah, in the regular mode, you can use Archive/Unarchive on a program, but regular BASIC code cannot be used. In BASIC mode, you cannot use Archive/Unarchive on a program, but you can still use regular BASIC code.

The default when an asm program is run is the regular mode, so I need to turn it off to BASIC mode in order to run BASIC commands like Pause. Then when it is finished, I turn it back to regular mode.

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55838
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Axe: How to Execute BASIC Programs
« Reply #16 on: March 04, 2011, 02:59:54 am »
Yeah, in the regular mode, you can use Archive/Unarchive on a program, but regular BASIC code cannot be used. In BASIC mode, you cannot use Archive/Unarchive on a program, but you can still use regular BASIC code.

The default when an asm program is run is the regular mode, so I need to turn it off to BASIC mode in order to run BASIC commands like Pause. Then when it is finished, I turn it back to regular mode.
But your previous post states otherwise ???

Unarchive/archive would not work in the BASIC program for program vars (unless you run the code I linked to)... that is kind of confusing, sorry.

In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Axe: How to Execute BASIC Programs
« Reply #17 on: March 04, 2011, 03:03:42 am »
I think what she means is that if she doesn't set a certain flag, the OS thinks everything is being excecuted by typing it into the homescreen, and so you won't be able to use If, While, Goto, or any of those, and you will be able to archive and unarchive programs. 
« Last Edit: March 04, 2011, 03:11:39 pm by Builderboy »

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Axe: How to Execute BASIC Programs
« Reply #18 on: March 04, 2011, 09:22:30 am »
@DJ: The program in the first post allows BASIC programs to be executed from AXE. The first piece of hex listed <a href="http://tibasicdev.wikidot.com/hexcodes#toc0"> here</a> allows you to do the archive/unarchive on program vars from within a program. It also allows If and For to be used on the homescreen until you call the code again and disable it. I think that's it. :)

@Builderboy: Don't you mean <b>she</b>? :P

Offline Broseph Radson

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 295
  • Rating: +20/-1
  • Its 0x1A4 somewhere
    • View Profile
Re: Axe: How to Execute BASIC Programs
« Reply #19 on: March 04, 2011, 09:26:09 am »
@Builderboy: Don't you mean <b>she</b>? :P

Lul

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4647
  • Rating: +717/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Axe: How to Execute BASIC Programs
« Reply #20 on: March 04, 2011, 12:20:07 pm »
I think what he means is that if he doesn't set a certain flag, the OS thinks everything is being excecuted by typing it into the homescreen, and so you won't be able to use If, While, Goto, or any of those, and you will be able to archive and unarchive programs. 
That is exactly it :D
I got the idea to set this mode from that code.