Author Topic: Features Wishlist  (Read 613373 times)

0 Members and 2 Guests are viewing this topic.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Features Wishlist
« Reply #1395 on: October 10, 2010, 04:27:04 pm »
Oh, yeah, I guess Fill(0->{A},10) isn't that much more code than Fill(A,0,10)...

By the way, Quigibo, would 1->{E86EC}r be exactly the same (e.g. speed, size, etc.) as 1->A?
« Last Edit: October 10, 2010, 04:34:05 pm by Deep Thought »




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 #1396 on: October 10, 2010, 04:30:51 pm »
Don't use that!  If I decide to move where the variables are located, that code will no longer work and be outdated.  Use 1->{oA}r instead as this will guarantee that you have the right address even if I move them.  And yes, it will be the exact same in the executable as 1->A byte-for-byte.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Features Wishlist
« Reply #1397 on: October 10, 2010, 04:31:38 pm »
If you mean E86EC, and $86EC is the address of A, then yes. Note that you should be saying 1->{oA}r, though, to be future-compatible ;)
Edit: ninja'd
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Features Wishlist
« Reply #1398 on: October 10, 2010, 04:33:49 pm »
So if I wanted to use SaveSScreen as a buffer, I should access it from {E86EC} onward, right?




Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Features Wishlist
« Reply #1399 on: October 10, 2010, 04:38:09 pm »
Maybe... I'm not sure, and if Quigibo changes anything...
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

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 #1400 on: October 10, 2010, 04:40:15 pm »
I suppose you could... but you would not be allowed to use the variables A-Theta in your program then.  You would have to use the r1-r6 variables and store the rest directly to another buffer which could be very confusing given that you have to write down what variable each address represents.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Features Wishlist
« Reply #1401 on: October 10, 2010, 04:43:50 pm »
I suppose you could... but you would not be allowed to use the variables A-Theta in your program then.  You would have to use the r1-r6 variables and store the rest directly to another buffer which could be very confusing given that you have to write down what variable each address represents.

I've already moved all of my vars in-prgm. Bit more mem, but some of it's initiated, anyway. (That's why I asked the question, btw.)

What are r1-r6?

And another question: I noticed the GetCalc([NAME], [FILE]) syntax. Where are "files" stored?

And yet another question :D: Why is L1 SaveSScreen+56? A-Z and theta are only 54 bytes... I heard that the last one's used for random numbers, though. How is it updated?




Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #1402 on: October 10, 2010, 05:39:10 pm »
Holy crap that was a huge storm of sudden posts :o Just to make sure you didn't miss it Quigibo, did you see my feature request for vector/jump tables?
« Last Edit: October 10, 2010, 05:43:08 pm by Runer112 »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Features Wishlist
« Reply #1403 on: October 10, 2010, 11:53:23 pm »
For me, i think an upgrade to the Fill() command is in order.  Usualy when people fill elements in RAM, they want to fill it with specific values.  But currently they have to put the value in the first element for fill to work, and this means you have to calculate the Address twice.  Wouldn't it make a lot more intuitive and useful sense (not to mention probably smaller) to do something like Fill(Address,Length,Number) ? that could even be an alternative syntax if you wanted backwards compatibility.
Yeah I think it should work like in BASIC. That's unless it is much larger of course.



Holy crap that was a huge storm of sudden posts :o Just to make sure you didn't miss it Quigibo, did you see my feature request for vector/jump tables?
I deleted it ;D

J/k, but the ironic thing is that there was a huge storm of posts, then now tonight, there's a huge storm of 500 Internal Server Errors, even thought almost nobody was posting x.x
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

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 #1404 on: October 11, 2010, 09:46:57 am »
that's not so nice :O...
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: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Features Wishlist
« Reply #1405 on: October 11, 2010, 04:17:47 pm »
Lol as said in my post I was kidding, unless you mean the 500 server errors?
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

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 #1406 on: October 12, 2010, 11:39:18 am »
yes, that was what I meant :). i get them pretty often, well, let's say once a week. but when I reload, the error seems to be already solved :D
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 Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Features Wishlist
« Reply #1407 on: October 12, 2010, 07:56:49 pm »
New request (I think):
Line(X1,Y1,X2,Y2,)r.  Lines draw directly to the back-buffer.

Also I'm not sure how hard it would be but might there be a third buffer sometime in the future?  Not for grayscale, but pxl-test to it?  Something like this would really help me optimize the game I'm working on (In the sig it says I'm done, but I'm trying to make a more memory-friendly version for the 83PBE)
Vy'o'us pleorsdti thl'e gjaemue

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 #1408 on: October 12, 2010, 08:43:57 pm »
There is no way to have a third buffer just "added".  However, here are your options:
1) Do not use the variables A-Z or Theta or rand and use L1-56 as a third buffer.
2) Create an AppVar and use it as your third buffer.
3) Persuade Quigibo to add the Insert_Mem() and Delete_Mem() bcalls. :P

I hope you can use one of these.  Good luck and I can't wait to see what it ends up looking like. ;D

Edit: * ZTrumpet eats Runer... :P
« Last Edit: October 12, 2010, 08:51:15 pm by ztrumpet »

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #1409 on: October 12, 2010, 08:45:24 pm »
New request (I think):
Line(X1,Y1,X2,Y2,)r.  Lines draw directly to the back-buffer.

Also I'm not sure how hard it would be but might there be a third buffer sometime in the future?  Not for grayscale, but pxl-test to it?  Something like this would really help me optimize the game I'm working on (In the sig it says I'm done, but I'm trying to make a more memory-friendly version for the 83PBE)

Ive already asked Quigibo for a line routine for the back buffer :P but maybe your second request for it will help better convince him to add it.

As for a third buffer, Quigibo is limited by the safe RAM areas that exist on the calculator and are big enough to hold 768 bytes, of which there are only three. L6 and L3 are two of them, and the third is at L1-56. The first 56 bytes of this screen storage area are used by the random number generator and the 27 variables. If you wanted to use this area, you would have to avoid the use of the rand function and allocate some other place in RAM for variables (and any other data you might have had in L1), possibly a different safe RAM area or an appvar. However, this is a bit of a pain, so what I would suggest is creating a 768-byte appvar for the third buffer when your program starts and delete it when exiting.


EDIT: How did I know I would get ninja'd on this one...
« Last Edit: October 12, 2010, 08:47:08 pm by Runer112 »