Author Topic: Axe Q&A  (Read 587061 times)

0 Members and 5 Guests are viewing this topic.

Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: Axe Q&A
« Reply #990 on: November 16, 2011, 01:17:07 pm »
You need to get the picture as TI-OS-Picture-Variable (Pic0 - Pic9).

In your Axe program file you simply write:

Code: [Select]
[Pic#]->A .this puts your TI-OS-PIC# in the ram and stores the beginning address to a.

Copy(A,L6,768) .this copies the 768 bytes to the main buffer to display the picture.
Thank you. :)
« Last Edit: November 16, 2011, 01:17:22 pm by Stefan Bauwens »


Very proud Ticalc.org POTY winner (2011 68k) with Myst 89!
Very proud TI-Planet.org DBZ winner(2013)

Interview with me

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Axe Q&A
« Reply #991 on: November 16, 2011, 08:07:56 pm »
If I get too high I'll try Fullrene.

Can any figure out what's wrong with this?
My game has levels and it always skips level 2. Once you start it, it automatically says you win. The unique thing about level two is that it has money requirements to win it, not enemy kill requirements.

Code: [Select]
.A is for level
If A=1
.The first argument is the money requirement
GAME(0,6,0,4,3,1
ElseIf A=2
GAME(300,0,0,4,3,1
ElseIf A=3
(goes on with different args 'till A=8)
End
.Lotsa stuff
Lbl GAME
.Lotsa stuff
For(P,0,r5)
.Lotsa stuff
If (r2<J) and (r1<G) and (r3<L)
.G is the amount of money the user has
A++
G-r1->G
1->N
.Level up and return
Return
End
DispGraph
End

Help?
« Last Edit: November 16, 2011, 08:08:37 pm by epic7 »

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Axe Q&A
« Reply #992 on: November 16, 2011, 08:21:48 pm »
that isn't much to go on....  sry
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Axe Q&A
« Reply #993 on: November 16, 2011, 08:22:20 pm »
What else would you need to see?

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Axe Q&A
« Reply #994 on: November 16, 2011, 08:45:17 pm »
the whole code.
Sig wipe!

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Axe Q&A
« Reply #995 on: November 16, 2011, 09:30:53 pm »
Ok, I'll send you the whole code.

Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: Axe Q&A
« Reply #996 on: November 17, 2011, 05:28:23 am »
You need to get the picture as TI-OS-Picture-Variable (Pic0 - Pic9).

In your Axe program file you simply write:

Code: [Select]
[Pic#]->A .this puts your TI-OS-PIC# in the ram and stores the beginning address to a.

Copy(A,L6,768) .this copies the 768 bytes to the main buffer to display the picture.
Thank you. :)
I've one more question:
Do I have to make a grayscale picture on my computer and then send it with ti-connect or tilp?


Very proud Ticalc.org POTY winner (2011 68k) with Myst 89!
Very proud TI-Planet.org DBZ winner(2013)

Interview with me

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Axe Q&A
« Reply #997 on: November 17, 2011, 07:24:23 am »
For gray, you need 2 pictures then copy the 2nd buffer to L3.
You can also create pics on your calc...
I'm not a nerd but I pretend:

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Axe Q&A
« Reply #998 on: November 17, 2011, 07:25:48 am »
if you make greyscale picture and send it with ti-connect, it will dither(?) the picture into b/w picture.
Don't do that.
Sig wipe!

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Axe Q&A
« Reply #999 on: November 17, 2011, 07:34:14 am »
^that. Indeed, Ti-connect dithers pics. And it does that good.
I'm not a nerd but I pretend:

Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: Axe Q&A
« Reply #1000 on: November 17, 2011, 07:34:58 am »
For gray, you need 2 pictures then copy the 2nd buffer to L3.
You can also create pics on your calc...
like:
Pic1->A
Pic2->B
copy(A,L6,768)
copy(B,L3,768)
dispgraph rr

Also, how do I make like that a grayscale picture on my calc?


Very proud Ticalc.org POTY winner (2011 68k) with Myst 89!
Very proud TI-Planet.org DBZ winner(2013)

Interview with me

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Axe Q&A
« Reply #1001 on: November 17, 2011, 07:41:55 am »
That is right yep
For creating a gray pic, create some program that lets you edit both buffers at one time. (and ofcourse save the 2 pics)
« Last Edit: November 17, 2011, 07:42:12 am by aeTIos »
I'm not a nerd but I pretend:

Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: Axe Q&A
« Reply #1002 on: November 17, 2011, 07:46:43 am »
That is right yep
For creating a gray pic, create some program that lets you edit both buffers at one time. (and ofcourse save the 2 pics)
Can I have 4 level grayscale(black,white,light and dark gray) or 3(black, white, gray)?


Very proud Ticalc.org POTY winner (2011 68k) with Myst 89!
Very proud TI-Planet.org DBZ winner(2013)

Interview with me

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Axe Q&A
« Reply #1003 on: November 17, 2011, 07:48:17 am »
Both. Just your choice.
EDIT:
NB: The 2 pictures represent the buffers!
« Last Edit: November 17, 2011, 07:48:38 am by aeTIos »
I'm not a nerd but I pretend:

Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: Axe Q&A
« Reply #1004 on: November 17, 2011, 07:52:03 am »
Okay thanks, I'll check that out. Do you know if there's already a program like that made to make those pics?(I'm a bit lazy :P )
EDIT:I used Sourcecoder with a png and got this:
4-level Grayscale
Code: [Select]
PART_1:
FFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFF
FFC3C3DBC3C3C3C3C3DFDFFF
FFC3C3DBC3C3C3C3C3DFDFFF
FFDFDBDBDBDBDFDBDBDFDFFF
FFC3DBDBC3C7C3C7C3DFDFFF
FFC3DBDBC3C7C3C7C3DFDFFF
FFFBDBDBDBDBDFDBDBDFDFFF
FFC3C1C3DBDBC3C3DBC3C3FF
FFC3C1C3DBDBC3C3DBC3C3FF
FFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFF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FFFFFF80FFF
FFF03FFFFFFFFFFFFFFC0FFF
FFF0FFFFFFFFFFFFFFFF0FFF
FFF7FFFFFFFFFFFFFFFFEFFF
FFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFF
F00FFFFFFFFFFFFFFFFFF00F
F00FFFFFFFFFFFFFFFFFF00F
F00FFFFFFFFFFFFFFFFFF00F
F00FFFFFFFFFFFFFFFFFF00F
FFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFF
It says its for Axe, but how do I use this?
« Last Edit: November 17, 2011, 10:10:23 am by Stefan Bauwens »


Very proud Ticalc.org POTY winner (2011 68k) with Myst 89!
Very proud TI-Planet.org DBZ winner(2013)

Interview with me