Author Topic: Features Wishlist  (Read 689788 times)

0 Members and 3 Guests are viewing this topic.

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 #555 on: May 04, 2010, 08:14:04 am »
I have a suggestion: could Horizontal be extended to allow scrolling 1 byte at a time instead of just 1 bit? I would think such code would be more optimized than 8 single-scrolls.
I think that can be done with tricky use of the conj( operator.

conj(L6+1,L6,767 should scroll the screen left one byte, I think.

Quigibo, when I tried optimizations like this before, I noticed that there is no way to generate a LDDR to copy from a lower to a higher overlapping area.

Edit: Oops, changed to L6
« Last Edit: May 04, 2010, 08:16:00 am by calc84maniac »
"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 #556 on: May 04, 2010, 11:30:37 am »
I didn't know Horizontal scrolled only 1 bit at a time? o.o

In Axe Tunnel, it always seemed to scroll 1 pixel every frame for me

EDIT: Confirmed that Horizontal and Vertical both scrolls pixel by pixel.
« Last Edit: May 04, 2010, 11:40:38 am by DJ Omnimaga »

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 #557 on: May 04, 2010, 12:21:14 pm »
Hmmm... that might be useful calc84, I think I will add conj()r to copy data from one place to another backwards where the bytes at the end get copied first and bytes at the beginning get copied last.

Not sure if I will add 8 pixel scrolling.  You can do it with other commands like calc84 mentioned, and usually when you have 8x8 tiles without smooth scrolling, you redraw them on the screen every frame anyway.

Scroll right by 8:
conj(L6+1,L6,767)
Scroll left by 8:
conj(L6+766,L6+767,767)r (not in 0.2.2)
Scroll up by 8:
conj(L6+96,L6,672)
Scroll down by 8:
conj(L6+672,L6+767,672)r (not in 0.2.2)

Not 100% sure if these are correct, but this is the strategy.
___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 #558 on: May 04, 2010, 12:25:26 pm »
Oh wait I forgot one bit for horizontal is an entire pixel... disregard my comment, then x.x

Do you think importing tilemaps/pictures from archive will be available in the future?
« Last Edit: May 04, 2010, 12:26:13 pm by DJ Omnimaga »

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 #559 on: May 04, 2010, 12:30:20 pm »
Yes, definitely.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Features Wishlist
« Reply #560 on: May 04, 2010, 02:03:46 pm »
Are you running down the Features list in order?
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







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 #561 on: May 04, 2010, 02:17:42 pm »
Glad to hear ^^

Oh and I also forgot, for Text(, will it eventually be possible to do something like

Text(X,Y,"HELLO"

(as for now this gives a ERR:BAD SYMBOL)

? Because it seems like a major PITA to have to store everything in memory to be able to display menu choices and if I decide to store all the text at one pointer, I still can't figure out how to display only parts of a string. ???
« Last Edit: May 04, 2010, 02:18:15 pm by DJ Omnimaga »

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Features Wishlist
« Reply #562 on: May 04, 2010, 02:20:42 pm »
^++
Agreed and seconded.
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







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 #563 on: May 04, 2010, 05:26:56 pm »
Could the Pxl and Point commands be extended for drawing to the back-buffer? Could be useful for grey-scale.
"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 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 #564 on: May 04, 2010, 05:29:52 pm »
mhmm sounds like a good idea actually. Maybe Pxl-On(X,Y)r[/sub] ?

That said I think he's planning to implement automated GS in the future, but your idea might be useful when we want to update individual parts of the screen like when a door is opened.

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Features Wishlist
« Reply #565 on: May 04, 2010, 05:47:17 pm »
Pt-On(X,Y,PIC)r
Pxl-On(X,Y)r

AWESOMENESS!

The function of said commands can vary but I like the drawing to the back buffer idea.
Perhaps for greyscale?
« Last Edit: May 04, 2010, 05:48:00 pm by Raylin »
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







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 #566 on: May 04, 2010, 05:49:06 pm »
yeah grayscale is what I thought

Used with Dispgraphr

Btw dispgraphr can also be used for sprite animation (you need to use DS<())

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Features Wishlist
« Reply #567 on: May 04, 2010, 05:51:45 pm »
Yeah.
That sounds awesome.

Also, I was looking in the PRGM menu for once.
Did you know there was a OpenLib() command and an ExecLib command?

Perhaps these could be used for the supposed Axe libraries?
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







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 #568 on: May 04, 2010, 05:53:12 pm »
these are 84+ only. Using them will cause the program to no longer be compatible with the calc most people use: the 83+

SirCmpwn

  • Guest
Re: Features Wishlist
« Reply #569 on: May 04, 2010, 06:11:08 pm »
DJ is right.  The only library I know of that uses them right now is USB8X, which only works on models with a USB port anyway.