• Features Wishlist 5 1
Currently:  

Author Topic: Features Wishlist  (Read 209668 times)

0 Members and 1 Guest are viewing this topic.

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Features Wishlist
« Reply #30 on: February 03, 2010, 05:02:09 pm »
It is not possible to arbitrarily break a program from asm without using interrupts and special exit code.  BASIC is interpreted so that's why it can break anywhere.

Luckily however, the security is taken care of by Axe Parser itself.  It will give you the option of automatically archiving all the RAM including your source code before testing your program so that if it crashes, you have everything backed up and you don't lose anything.  I will start working on these features in a few weeks probably.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5713
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Features Wishlist
« Reply #31 on: February 03, 2010, 05:16:13 pm »
Thanks!  I think that would work too. :D

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #32 on: February 03, 2010, 05:43:49 pm »
Oh that's too bad.  Out of curiosity, what happens if you try to break out of the program while within a sub?  Does it just crash then?

Offline calc84maniac

  • Epic z80 roflpwner
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2887
  • Rating: +463/-17
    • View Profile
Re: Features Wishlist
« Reply #33 on: February 03, 2010, 05:54:26 pm »
Apparently you can't break at all, so it doesn't matter. But Quigibo, if you save the stack pointer somewhere at the beginning of execution, it should be no problem (this method is used quite a bit in asm programs iirc)
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #34 on: February 03, 2010, 07:03:12 pm »
So what would happen if you broke out of the program but didn't restore the stack pointer?

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Features Wishlist
« Reply #35 on: February 03, 2010, 07:05:16 pm »
Apparently you can't break at all, so it doesn't matter. But Quigibo, if you save the stack pointer somewhere at the beginning of execution, it should be no problem (this method is used quite a bit in asm programs iirc)
Yes I use this too.  But it would still require a special interrupt setup and interrupt routine which might prevent custom interrupts.  Regardless, I think I'll just worry about this later and focus on the more important stuff for now.

Quote
So what would happen if you broke out of the program but didn't restore the stack pointer?
It would return out of the subroutine without finishing it causing unknown consequences.  It would not exit the program either.
« Last Edit: February 03, 2010, 07:08:31 pm by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Features Wishlist
« Reply #36 on: February 03, 2010, 11:59:59 pm »
Sorry to double post, but I've just started to add the "Output()" feature and I'd like to get some feedback on it.

I know that native BASIC uses Output(y,x) but I much prefer the form of Ouput(x,y).  Should I keep it the old way to less confuse people transitioning from BASIC to Axe, or should I change it to (x,y) so that its more consistent with "Text(" "Pt-On(" and the other drawing commands?
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline calc84maniac

  • Epic z80 roflpwner
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2887
  • Rating: +463/-17
    • View Profile
Re: Features Wishlist
« Reply #37 on: February 04, 2010, 12:02:28 am »
Sorry to double post, but I've just started to add the "Output()" feature and I'd like to get some feedback on it.

I know that native BASIC uses Output(y,x) but I much prefer the form of Ouput(x,y).  Should I keep it the old way to less confuse people transitioning from BASIC to Axe, or should I change it to (x,y) so that its more consistent with "Text(" "Pt-On(" and the other drawing commands?
I think you should keep the old way, but start counting at 0 instead of 1.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline jsj795

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1105
  • Rating: +84/-3
    • View Profile
Re: Features Wishlist
« Reply #38 on: February 04, 2010, 12:13:30 am »
Also, I think Text() is also (y,x) along with pixel-on/off/change/check.
It's only line(), Pt-On/Off that's (x,y)
I'll rather have it (y,x), since I got so used to it


Spoiler For funny life mathematics:
1. ROMANCE MATHEMATICS
Smart man + smart woman = romance
Smart man + dumb woman = affair
Dumb man + smart woman = marriage
Dumb man + dumb woman = pregnancy
2. OFFICE ARITHMETIC
Smart boss + smart employee = profit
Smart boss + dumb employee = production
Dumb boss + smart employee = promotion
Dumb boss + dumb employee = overtime
3. SHOPPING MATH
A man will pay $2 for a $1 item he needs.
A woman will pay $1 for a $2 item that she doesn't need.
4. GENERAL EQUATIONS & STATISTICS
A woman worries about the future until she gets a husband.
A man never worries about the future until he gets a wife.
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.
5. HAPPINESS
To be happy with a man, you must understand him a lot and love him a little.
To be happy with a woman, you must love her a lot and not try to understand her at all.
6. LONGEVITY
Married men live longer than single men do, but married men are a lot more willing to die.
7. PROPENSITY TO CHANGE
A woman marries a man expecting he will change, but he doesn't.
A man marries a woman expecting that she won't change, and she does.
8. DISCUSSION TECHNIQUE
A woman has the last word in any argument.
Anything a man says after that is the beginning of a new argument.

Girls = Time * Money (Girls are a combination of time and money)
Time = Money (Time is money)
Girls = Money squared (So, girls are money squared)
Money = sqrt(Evil) (Money is also the root of all evil)
Girls = sqrt(Evil) squared (So, girls are the root of all evil squared)
Girls = Evil (Thus, girls are evil)
*Girls=Evil credit goes to Compynerd255*

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #39 on: February 04, 2010, 12:17:14 am »
Haha, i would suggest using x,y and starting at 0 :P

Offline xlibman

  • Now active at https://codewalr.us
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55806
  • Rating: +3148/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • CodeWalrus
Re: Features Wishlist
« Reply #40 on: February 04, 2010, 12:24:39 am »
I personally would suggest x,y and starting with 0, to be more consistent with every other functions. I myself easily get confused with the BASIC output cuz I am so used to x being first in graphical functions except Text x.x

It would also help people get more used to standards
« Last Edit: February 04, 2010, 12:24:59 am by DJ Omnimaga »
In case you are wondering where I went, I am still active in the TI community, but I left Omni back in 2015 for various  reasons. I might come back one day, depending of certain circumstances, but my new online home (despite me being Omnimaga founder in 2001) is now CodeWalrus ( https://codewalr.us ). Sorry for the inconveniences.

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6059
  • Rating: +316/-36
  • C'est la vie
    • View Profile
    • Eeems
Re: Features Wishlist
« Reply #41 on: February 04, 2010, 12:39:53 am »
(x,y)
because of aforementioned reasons.
/e

Offline Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: Features Wishlist
« Reply #42 on: February 04, 2010, 07:04:40 am »
(x,y) and starting from 0
Former Coder of Tomorrow


Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Features Wishlist
« Reply #43 on: February 04, 2010, 07:06:33 am »
Yes I use this too.  But it would still require a special interrupt setup and interrupt routine which might prevent custom interrupts.  Regardless, I think I'll just worry about this later and focus on the more important stuff for now.
Just hook the program interrupt and the break interrupt. Not hard, I think. And yes, essential features first.
Hobbing in calculator projects.

Offline Art_of_camelot

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6094
  • Rating: +191/-9
  • YouTube channel has my solo work and collaboration
    • View Profile
    • My YouTube page!
Re: Features Wishlist
« Reply #44 on: February 04, 2010, 07:50:20 am »
Haha, i would suggest using x,y and starting at 0 :P
I'd have to agree here. =)