Author Topic: Grammer  (Read 108103 times)

0 Members and 1 Guest are viewing this topic.

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Grammer
« Reply #180 on: October 14, 2011, 12:07:15 pm »
Oh, oops... Hmm, my calc must not have the most up to date version XD

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Grammer
« Reply #181 on: October 14, 2011, 12:08:09 pm »
@Xeda: As long as it provides the necessary info, that's all that's really important. =)

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer
« Reply #182 on: October 15, 2011, 01:37:14 pm »
I just realized that it can create appvar! Nice!
Sig wipe!

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer
« Reply #183 on: October 15, 2011, 03:46:47 pm »
Question : is there a way to store multiple data into appvar at same time?
Sig wipe!

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Grammer
« Reply #184 on: October 16, 2011, 10:12:51 am »
What do you mean? Like pictures and particle buffers and arrays? The answer for that is yes :)
For example, to create an appvar with two graph buffers:
Code: [Select]
Send(768*2,"UBuf→A
+768→B
Disp A
Now A and B contain the locations of the buffers and instead of the graph screen being used, the first buffer is used :)

Now aside from that, I have made several updates in the past few days! I finally added the Fill( and Fix tokens :)
So the Fix token is used to set modes. Currently there are two: Inverse text and inverse pixels. Inverse pixels is neat because it displays off pixels as on at the LCD. Inverse text just inverses the text.

The Fill( token has 14 different things it can do all dealing with the graph buffer, currently. They range from inverting the buffer to swapping two buffers to combining buffers using some logic.

Also, grayscale works very nicely on a real calc O.O I made a grayscale drawing program (with 4 shades of gray to draw in). Unfortunately, I tried sending it to my computer and that didn't work and when I took out the batteries to charge them... it crashed x.x

So yeah, if anybody wants to make one, it really does work! Just not so well in WabbitEmu :/

The gist of what I did was I made two buffers and stored their location to H and I. Then I used Disp to swap between buffers when drawing and I made an interrupt that looked like this:
Code: [Select]
.INT
DispGraphH
DispGraphI
End

I will try to remake it XD

I also changed the particle engine a little to delete any particles that went offscreen using an idea that Qwerty.55 gave me on IRC :) So now we can have infinite waterfall animations O.O

Finally, I changed the code around to save a few hundred bytes, so even with all the new additions, the code is now 30 bytes smaller than the last version!  I had a certain 10 bytes of code that got used many times throughout the program, so i just made it a call saving 7 bytes each instance, but using a few more cycles.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Grammer
« Reply #185 on: October 16, 2011, 10:54:34 am »
Downloaded bouth, first download each! I just realised I am in the thanks section, just coz I showed a bit of interest! :O Thanks! (And I am more active in cemetech) I am also thinking of trying to make tetris! :)

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer
« Reply #186 on: October 17, 2011, 07:12:58 am »
*Yeong demands that she fixes her Line' Command XD
Sig wipe!

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Grammer
« Reply #187 on: October 17, 2011, 08:26:33 am »
Hmm, I might need to temporarily make use of a routine from elsewhere :/ I would prefer to make my own, but it will be useful to include soon.

So soon, there should be a working routine and when I get time, I will add in my own version to get a few more options (like thickness and whatnot).

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer
« Reply #188 on: October 17, 2011, 08:27:29 am »
also, what I was asking earlier was something like this:
can grammer do stuff like: Data(0,1,2,3,4,5,6->A ?
Sig wipe!

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Grammer
« Reply #189 on: October 17, 2011, 08:32:37 am »
Not that I know of, yet. What I could do, though, is have it copy a list of data to a location. Would that work? Like A[0,1,2,3,4,5,6 where A points to the location to copy to?

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer
« Reply #190 on: October 17, 2011, 08:35:59 am »
yes, that would work.
I was keep using stuff like
int(A,0
int(A+1,4
int(A+2,7
...
Sig wipe!

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Grammer
« Reply #191 on: October 17, 2011, 10:46:08 am »
Hmm, okay, I can add that. Which token should I use?

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer
« Reply #192 on: October 17, 2011, 11:27:02 am »
[]? :D
« Last Edit: October 17, 2011, 11:27:10 am by yeongJIN_COOL »
Sig wipe!

Offline tenseg5

  • LV0 Newcomer (Next: 5)
  • Posts: 1
  • Rating: +0/-0
    • View Profile
Re: Grammer
« Reply #193 on: October 17, 2011, 03:27:14 pm »
Here is blockeat with diagonal movements (mode, del, xt,stat), repeat delay, wrap around (F5, 2nd).

blockeat.8xp

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: Grammer
« Reply #194 on: October 17, 2011, 03:41:01 pm »
Heya welcome to the forums. Could you update that link because http://blockeat.8xp seems like it won't work.

Also Xeda nice to see you got grayscale to work. Is it even better than Reuben Quest style grayscale?
« Last Edit: October 17, 2011, 04:00:29 pm by DJ_O »