Author Topic: Routines  (Read 317354 times)

0 Members and 8 Guests are viewing this topic.

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: Routines
« Reply #210 on: April 05, 2010, 03:01:57 pm »
ooh, nice. Looks a lot better than my sprite editor.
and
wow looks nice :D
Thanks!


where's the actual code?

It's attached now, I forgot that. I'm sorry. :-[

I will really need to update the site download section at one point with most program tools posted in this section. That stuff may be useful and might be hard to find since these topics grow larger and larger.
yeah, that's a good idea. ^^
« Last Edit: April 05, 2010, 03:03:39 pm by LordConiupiter »
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: Routines
« Reply #211 on: April 05, 2010, 03:04:30 pm »
Oh I would also probably suggest uploading to ticalc.org eventually too, since some people there may find it useful. I would probably wait until Quigibo releases a build of Axe there, though, otherwise people on ticalc will have no clue what is Axe Parser (unless they frequent Omnimaga regulary)

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: Routines
« Reply #212 on: April 05, 2010, 03:20:32 pm »
yes, I can upload it already, because my editor is also usefull for creating icons for programs in DoorsCS form cemetech
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: Routines
« Reply #213 on: April 05, 2010, 03:22:03 pm »
Oh wait forgot about that one x.x

It uses the exact same format, right?

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: Routines
« Reply #214 on: April 05, 2010, 03:23:55 pm »
yes, right. 16x16 hex.
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 Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: Routines
« Reply #215 on: April 05, 2010, 04:51:31 pm »
That sprite editor really rocks!!! I especially like the GUI... so much that I propose it should be included with the next Axe release!
Former Coder of Tomorrow


Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: Routines
« Reply #216 on: April 06, 2010, 05:22:04 am »
yes, I thought off creating an 16x16 sprite drawing routine in Axe, and then I thought that it would be usefull to have a tool to create sprites at that size...

Didn't dare to hope for so many enthousiastic reactions!
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

_player1537

  • Guest
Re: Routines
« Reply #217 on: April 06, 2010, 07:25:38 am »
how does it store the data, such as in mine it stores the date as 4 sprites which are called in order.  I noticed in yours that you used storing 2 bytes to L6.

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: Routines
« Reply #218 on: April 06, 2010, 09:05:02 am »
Well, I just use the r option built in in Axe, if that's what you mean.
The picture is the first 8 bytes of the data, and right behind/after it I store the left over 24 bytes.
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: Routines
« Reply #219 on: April 06, 2010, 01:51:31 pm »
Btw for 16x16 sprites do you still just display 8x8 sprites or did people figure out a way to display 16x16 ones faster?

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: Routines
« Reply #220 on: April 06, 2010, 01:58:52 pm »
I'm still up for the Pt-On(X,Y,PIC,<dimension1>,<dimension2>).
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 Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: Routines
« Reply #221 on: April 06, 2010, 02:05:48 pm »
Me too, especially for pics the size of the calc screen.
Former Coder of Tomorrow


Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: Routines
« Reply #222 on: April 06, 2010, 02:29:15 pm »
Btw for 16x16 sprites do you still just display 8x8 sprites or did people figure out a way to display 16x16 ones faster?
My routine doesn't display 4 8x8 sprites, but one 16x16 sprite:
The draw routine draws a sprite from the data stored in Pic1 and the 24 bytes after its standard 8 bytes.
It just copies the sprite in couples of 2 bytes (r) to the plotSScreen (L6) in a For loop
after that it Draws the buffer to the screen with a simple DispGraph.
The code is attached with that post: 'SPRT1X16 source Axe.8xp'
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: Routines
« Reply #223 on: April 06, 2010, 02:34:02 pm »
Btw for 16x16 sprites do you still just display 8x8 sprites or did people figure out a way to display 16x16 ones faster?
My routine doesn't display 4 8x8 sprites, but one 16x16 sprite:
The draw routine draws a sprite from the data stored in Pic1 and the 24 bytes after its standard 8 bytes.
It just copies the sprite in couples of 2 bytes (r) to the plotSScreen (L6) in a For loop
after that it Draws the buffer to the screen with a simple DispGraph.
The code is attached with that post: 'SPRT1X16 source Axe.8xp'
Cool thanks, and source code in text form

Quote
Quote from: BASIC Code
:.SPRT1X16
:DiagnosticOff
:ClrDraw
:[00002A5455AA4002→Pic1
:[481254AA5CBA48524182481247E241824C32342C03C00000
:64→X:16→Y
:For(A,0,15
:{2*A+Pic1}r→{A+Y*12+L6+X}r
:End
:DispGraph
Generated by SourceCoder, © 2005 Cemetech

Interesting I didn't knew we could do that x.x. I was sure it either required inline assembly or 4 pt-ons
« Last Edit: April 06, 2010, 02:34:37 pm by DJ Omnimaga »

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: Routines
« Reply #224 on: April 06, 2010, 02:50:10 pm »
and source code in text form
I'm sorry :-[
Interesting I didn't knew we could do that x.x. I was sure it either required inline assembly or 4 pt-ons
Well, apparently we can with the nice r option!
* LC really likes the nice r option *
« Last Edit: April 06, 2010, 02:50:30 pm by LordConiupiter »
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