Author Topic: Trying to get this to work  (Read 9037 times)

0 Members and 1 Guest are viewing this topic.

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Trying to get this to work
« on: October 28, 2011, 08:10:04 pm »
Im trying to make a title screen. I don't really know how to make it work.

(the third picture also shows half of whats  on the previous page.

« Last Edit: October 28, 2011, 08:10:57 pm by epic7 »

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: Trying to get this to work
« Reply #1 on: October 28, 2011, 08:11:22 pm »
What's the pic? (both)
« Last Edit: October 28, 2011, 08:11:36 pm by parser padwan »

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Trying to get this to work
« Reply #2 on: October 28, 2011, 08:12:46 pm »
Those are pics of the code

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: Trying to get this to work
« Reply #3 on: October 28, 2011, 08:13:37 pm »
no as in Pic0 and Pic9.

EDIt: does it compile?
« Last Edit: October 28, 2011, 08:14:05 pm by parser padwan »

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Trying to get this to work
« Reply #4 on: October 28, 2011, 08:14:54 pm »
Pic9 is a graph image I storepic'd. Pic0 is an 8x8 of an arrow. It compiles

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: Trying to get this to work
« Reply #5 on: October 28, 2011, 08:17:16 pm »
hmmm...
my expirience with pics is: DON'T!
I always use appvars, easier to store, recall, and doesn't take up precious pic space.
whenever I use a OS pic, it puts the pixels wherever it wants.

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Trying to get this to work
« Reply #6 on: October 28, 2011, 08:17:48 pm »
How do you use appvars?

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: Trying to get this to work
« Reply #7 on: October 28, 2011, 08:18:24 pm »
one sec...
I gotta get code...

ok got it...
just make a simple drawing program in which you draw the pic desired... (I can help with that too :)) and then do this:
Code: [Select]
:If getKey(42) //press store
:ClrHome //duh
:Disp "Saving...",i //imaginary i
:GetCalc("appvPIC",768)->A //appvar PIC created (768 bytes, for a picture) and stored in pointer A
:Copy(L6,A,768) //copies L6 (buffer) into appvar (pointer A)
:Archive "appvPIC" //this is optional, won't delete in ram clears
:End
and to recall it...
Code: [Select]
:ClrDraw
:GetCalc("appvPIC",Y0) //recalls pic from archive and stored in Y0
:For(r1,0,767) //loops through all bytes in pic
:{Y0+r1}->{L6+r1} //copies byte into L6 (buffer)
:End
:DispGraph
Optimized way:
Code: [Select]
:ClrDraw
:GetCalc("appvPIC",Y0) //recalls pic from archive and stored in Y0
:Copy(Y0,L6,768) //copies it into L6 (buffer)
:DispGraph
« Last Edit: October 28, 2011, 08:32:06 pm by parser padwan »

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Trying to get this to work
« Reply #8 on: October 28, 2011, 08:26:54 pm »
k

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: Trying to get this to work
« Reply #9 on: October 28, 2011, 08:28:22 pm »
lol you posted right after I edited

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Trying to get this to work
« Reply #10 on: October 28, 2011, 08:29:35 pm »
Optimized recalling appvar pic

:GetCalc("appvPIC",Y0)
:ClrDraw
:Copy(Y0,L6,768)
:DispGraph

8)
« Last Edit: October 28, 2011, 08:29:59 pm by yeongJIN_COOL »
Sig wipe!

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: Trying to get this to work
« Reply #11 on: October 28, 2011, 08:30:13 pm »
ooh that is WAY more optimized

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Trying to get this to work
« Reply #12 on: October 28, 2011, 08:32:27 pm »
 :banghead: :banghead: :banghead: :banghead: :banghead:

So.... How do I put my pic into an apvar?
« Last Edit: October 28, 2011, 08:33:21 pm by epic7 »

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: Trying to get this to work
« Reply #13 on: October 28, 2011, 08:32:41 pm »
don't get it?

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Trying to get this to work
« Reply #14 on: October 28, 2011, 08:35:03 pm »
I have 3 questions:

Why wont my pic0 work?
Why doesnt my background work?
How can I stop my title screen text blinking?
« Last Edit: October 28, 2011, 08:37:52 pm by epic7 »