Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Xeda112358

Pages: 1 ... 202 203 [204] 205 206 ... 317
3046
Grammer / Re: Grammer
« on: October 19, 2011, 02:07:28 pm »
That is just because of the way the hardware was set up :/ Also, i am working on trying to add the ! for While and Repeat loops, but I don't think it will be working XD

So here is what ! does. If the expression after it is 0, 1 is returned. Otherwise, 0 is returned for example, !3=4 returns 1, !3=3 returns 0.

if you put it before an If statement, instead of checking if the condition (or conditions) are true, it checks if they are false. Have fun :)

3047
Grammer / Re: Grammer
« on: October 19, 2011, 01:28:27 pm »
Okay, so I have added by request the factorial token. It pretty much means not(). I will explain in more detail later, but I have to go a few minutes ago XD. Ask yeong or suronome as they were the ones that requested it XD

later I will add the ability for While and Repeat

3048
Grammer / Re: Grammer
« on: October 19, 2011, 12:40:59 pm »
There is also a chart in the readme >.>

3049
Grammer / Re: Grammer
« on: October 19, 2011, 10:57:30 am »
>.> Well, that is a pretty neat way of getting around it. I actually did something similar when I made a prime sieve using Grammer (because it is faster). However, there are actually display functions and you can transfer between OS vars and Grammer vars. Here are some examples:
Code: [Select]
.0:Asm(prgmGRAMMER
Repeat A=15
ClrDraw
Repeat A
getKey→A
End
Text('0,0,A         ;Use Text(' to display numbers
DispGraph
End
Stop
Or you could do:
Code: [Select]
Repeat A=15
0:Asm(prgmGRAMMER
Repeat A
getKey→A
End
A→iA               ;i is the imaginary i, here
Stop
Output(1,1,"      ;2 space here
Output(1,1,A
End

3050
Grammer / Re: Grammer
« on: October 19, 2011, 08:00:34 am »
WOW, that is incredible fast! :)
^-^
You should tell people that there is Full command as well :D
Hey people, there is a Full command. :P
Actually, I thought I had put that in the readme, but I apparently forgot :/ I added it way back in June, though x.x So anyhow, Full sets 15MHz, as does Full1. Full0 sets 6MHz and Full2 toggles the speed.

I have it in the next readme, too, by the way
EDIT: Okay, I went through and remade the MARS program to be a bit more optimised and here is what I have :)

3051
Grammer / Re: Grammer
« on: October 19, 2011, 07:40:26 am »
Okay, so I will try to add in that Screen→Particles command sometime soon, but for now I am having fun trying to code that game to be faster :D I currently have it going pretty fast (I haven't won the game yet), but it isn't complete XD

EDIT: Here is a screenie of what I currently have

3052
Introduce Yourself! / Re: Greetings Calc-lings!
« on: October 18, 2011, 11:08:53 pm »
Ah, cool, okay :)

3053
Introduce Yourself! / Re: Greetings Calc-lings!
« on: October 18, 2011, 10:55:54 pm »
For the latter bit, what programming language where you using? (just curious)

3054
Grammer / Re: Grammer
« on: October 18, 2011, 10:18:54 pm »
Hmm, I have been thinking of making it a command... If you look at my avatar, that is what I did there :)

3055
Grammer / Re: Grammer Tutorial
« on: October 18, 2011, 11:56:27 am »
Okay, I added it :) It seems to have a different format after a certain point, though, and I could figure out why :/ Also, I put it under general tutorials.

3056
Grammer / Re: Grammer
« on: October 18, 2011, 11:23:58 am »
@DJ_O: I am not sure how the reubens quest grayscale looks, so I am not sure :/ I do know that it does a pretty nice job with 4-level grayscale, but mostly because this uses interrupts.
@yeongJIN_COOL: Wow, that is cool! I can't wait to look at the source to see how you did this! That looks really nice!

@World: I have added in the requests for writing multiple bytes as well as fixing up Line(' :) For the last one, I used the routine Axe uses with a few of my own modifications.
So to write multiple bytes to the address pointed to by B' for example:
Code: [Select]
B'[1,2,3,4
And to draw a line, you can do:
Code: [Select]
Line('X,Y,X',Y'
And if you want to use some other logic (like drawing the pixels off or inverted):
Code: [Select]
Line('X,Y,X',Y',2      ;Draws an inverted line

EDIT:
Also, what do you mean by this? (I am a little confused)
EDIT: Is it possible to convert graphscreen to particles if the buffer have less than certain amount of pixel? it'll be awesome if it happens.

EDIT2: Um, I uploaded the correct version, this time, that has the line drawing routine working properly

3057
Grammer / Re: Grammer
« on: October 17, 2011, 10:46:08 am »
Hmm, okay, I can add that. Which token should I use?

3058
Grammer / Re: Grammer
« 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?

3059
Grammer / Re: Grammer Tutorial
« on: October 17, 2011, 08:30:49 am »
@DJ: Okay, would it be okay if I instead posted the whole tutorial there and posted a link to it here?
@Suronome: Yeong has it correct XD
@Yeong: You are getting a pretty solid understanding of the language :) Thanks for helping folks out!

3060
Grammer / Re: Grammer
« 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).

Pages: 1 ... 202 203 [204] 205 206 ... 317