Author Topic: Features Wishlist  (Read 691934 times)

0 Members and 5 Guests 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 #765 on: June 21, 2010, 02:46:23 pm »
I'm confused why that code is any different than the current code:

Code: [Select]
"A and B"
ld hl,(var_a)
ld de,(var_b)
ld a,l
and e
ld l,a

It returns 0 if its false and non-zero if its true as well, and its the same size.  Unless your optimization is a speed optimization?

And Ikkerens, that code has always worked.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Ikkerens

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 378
  • Rating: +28/-9
  • JavaScript Magician
    • View Profile
    • Walotech
Re: Features Wishlist
« Reply #766 on: June 21, 2010, 02:49:02 pm »
Not on my calc, if I "If X" it will skip the containing code.
Only accepts a 1.

Splut for Android [----------]
Paused/halted indefinitely, might be abandoned, our graphic designer quit and the rest of us simply doesn't have the time to work on it...

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 #767 on: June 21, 2010, 02:53:49 pm »
That's not how "If" works.  X must have been 0 if it skipped the code.  This isn't something I've ever changed, its always been that true means non-zero and false means zero.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Features Wishlist
« Reply #768 on: June 21, 2010, 10:55:00 pm »
I noticed in the past that If X sometimes skipped the code if it was something else than 1, but I don't remember when exactly. It was a few versions ago and I forgot which. IN other words, is If with anything that is non-zero supposed to execute the code or will it just do it if it's equal 1?

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: Features Wishlist
« Reply #769 on: June 22, 2010, 02:45:28 pm »
I just noticed that 'Sprites larger than 8x8' is still in this features list. Are the Bitmaps currently added not the thing you meant with this?
everytime that I was down, you would always come around, and get my feedback on the ground. (modified part from 'Seasons in the sun')

No matter how many errors are bothering you, always try to stay rel-Axe!

The HoMM project will be resumed as soon Axe 1.0.0 will be released!
Projects:
Code: [Select]
HoMM:   [==--------]    Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :P
tiDE:   [----------]    Explored and understood the main part of the code: just started writing a Tokenizer.



password of the week: uvanapererubupa (Any pronunciation is the right one ;) )   :D click me, and you'll be raided :D

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Features Wishlist
« Reply #770 on: June 22, 2010, 02:50:37 pm »
I'm confused why that code is any different than the current code:

Code: [Select]
"A and B"
ld hl,(var_a)
ld de,(var_b)
ld a,l
and e
ld l,a

It returns 0 if its false and non-zero if its true as well, and its the same size.  Unless your optimization is a speed optimization?

And Ikkerens, that code has always worked.
It is partly a speed optimization, yes. Also, I believe it could be smaller when using expressions, like
A=1 and B=2
wouldn't have to save/restore the result of "A=0".

Not to mention, If X and Y will not work as expected in some cases when using bitwise and.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Features Wishlist
« Reply #771 on: June 22, 2010, 02:52:44 pm »
I just noticed that 'Sprites larger than 8x8' is still in this features list. Are the Bitmaps currently added not the thing you meant with this?
I believe they were added now. He probably just need to update the list. Keep in mind those bitmaps are slower than 8x8 sprites, though, since he uses a TI routine for them. If you need speed instead of size, I recommend using multiple 8x8 sprites instead

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: Features Wishlist
« Reply #772 on: June 22, 2010, 03:52:44 pm »
OK, so sprites will perhaps be optimized in the future. Is it really that slow? How many time does Bitmap cost more than multiple 8x8 sprites?
everytime that I was down, you would always come around, and get my feedback on the ground. (modified part from 'Seasons in the sun')

No matter how many errors are bothering you, always try to stay rel-Axe!

The HoMM project will be resumed as soon Axe 1.0.0 will be released!
Projects:
Code: [Select]
HoMM:   [==--------]    Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :P
tiDE:   [----------]    Explored and understood the main part of the code: just started writing a Tokenizer.



password of the week: uvanapererubupa (Any pronunciation is the right one ;) )   :D click me, and you'll be raided :D

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Features Wishlist
« Reply #773 on: June 22, 2010, 04:03:21 pm »
It's not incredibly slow. It's just a bit slower than regular ones. Bitmap uses a routine included in the TI OS, which means the code needed for it is not included in your Axe program, which is why your executable ends up slower. It's a BCall, I believe.

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: Features Wishlist
« Reply #774 on: June 22, 2010, 04:07:30 pm »
there's a fairly big chance that it is a ROM call I think, but I don't understand why it can't be used in BASIC then?
everytime that I was down, you would always come around, and get my feedback on the ground. (modified part from 'Seasons in the sun')

No matter how many errors are bothering you, always try to stay rel-Axe!

The HoMM project will be resumed as soon Axe 1.0.0 will be released!
Projects:
Code: [Select]
HoMM:   [==--------]    Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :P
tiDE:   [----------]    Explored and understood the main part of the code: just started writing a Tokenizer.



password of the week: uvanapererubupa (Any pronunciation is the right one ;) )   :D click me, and you'll be raided :D

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Features Wishlist
« Reply #775 on: June 22, 2010, 04:09:06 pm »
there's a fairly big chance that it is a ROM call I think, but I don't understand why it can't be used in BASIC then?
It's because there's no TI-Basic command for it. It's a routine intended for use in FlashApps and ASM programs.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Ikkerens

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 378
  • Rating: +28/-9
  • JavaScript Magician
    • View Profile
    • Walotech
Re: Features Wishlist
« Reply #776 on: June 22, 2010, 05:19:41 pm »
1 more thing to the wishlist:
15Mhz GrayScale

Splut for Android [----------]
Paused/halted indefinitely, might be abandoned, our graphic designer quit and the rest of us simply doesn't have the time to work on it...

Offline Magic Banana

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 371
  • Rating: +77/-1
  • It's not an apple, it's a ... magic banana.
    • View Profile
Re: Features Wishlist
« Reply #777 on: June 22, 2010, 07:59:18 pm »
I've got a feature request.

Would it be possible to make 'checkpoints' in the program editor and be able to jump between them using something like 2nd+Right/Left? Just wondering because my code is getting really long and it takes a while to scroll all the way to the bottom just to change 1 or 2 things before compiling again.

Also, for the Error scrolling, wouldn't it be better to scroll to 7 lines before the line with the error, so that it is at the bottom instead of the top? That's how the TIOS does it. I always have to scroll up to see what I wrote to cause the error.
I do sprites and stuff, so yeah.

Quote from: yunhua98
i'M NOT SURE WHAT A SWORD SKILL IS BUT HERE'S THE SWORD ANIMATION FROM THE TWO SPRITES ON PG 13

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Features Wishlist
« Reply #778 on: June 22, 2010, 08:02:20 pm »
1 more thing to the wishlist:
15Mhz GrayScale
Actually this isn't a  bad idea, as it *would* result in smaller compiled code and because we don't have the Full and Normals to make it slightly faster. :)  Can we please have this Quigibo? ;D

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Features Wishlist
« Reply #779 on: June 22, 2010, 08:04:55 pm »
1 more thing to the wishlist:
15Mhz GrayScale
Actually this isn't a  bad idea, as it *would* result in smaller compiled code and because we don't have the Full and Normals to make it slightly faster. :)  Can we please have this Quigibo? ;D
The thing is, inside the display routines it would have to set 6MHz, run the code, and restore the previous clock speed. You really aren't saving space after all (especially if your code never sets Full in the first place).
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman