Author Topic: Un Tuto Pour Grammer  (Read 37645 times)

0 Members and 3 Guests are viewing this topic.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Un Tuto Pour Grammer
« Reply #15 on: April 21, 2012, 04:29:44 pm »
Okay, cool! Je sais que votre tuto sera dix fois mieux XD

Offline persalteas

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 231
  • Rating: +44/-4
  • z80 poweeer
    • View Profile
    • Tout-82
Re: Un Tuto Pour Grammer
« Reply #16 on: April 25, 2012, 03:51:49 am »
Deux ou trois posts de supprimés...

Bref, version actuelle du tuto (passé en PDF ! )  :  DERNIERE MISE A JOUR LE 25/04/2012 - 09h51

De manière générale, je vais uploader les mises à jour sur http://tiemulation.kegtux.org/Grammertutorial.htm .
« Last Edit: April 25, 2012, 05:31:46 am by persalteas »


Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Un Tuto Pour Grammer
« Reply #17 on: April 25, 2012, 07:07:16 am »
Ah, my post was deleted :'[ It is great right now o.o (so much information and examples! :D )
There were some corrections, though. First, this table is more complete:

00=Real
log(

01=List
A

02=Matrix
B


03=EQU
C

04=String
D

05=Program
E

06=ProtProg
[
F

07=Picture
]
G

08=GDB
{
H

09=Unknown
}
I

10=Unknown Equ
J


11=New EQU
K


12=Complex
-1
L

13=Complex List
2
M

14=Undefined
N


15=Window
3
O

16=ZSto
(
P

17=Table Range
)
Q

18=LCD
2
R

19=BackUp
3
S

20=App
4
T


21=Appvar
5
U

22=TempProg
6
V

23=Group
7
W



Then, for If, you need the condition on the first line, the statement on the other:
Code: [Select]
(il ne marche pas!)
:If A=3 ou C=2:C+1→C:Horizontal C:"BONJOUR"→A
Code: [Select]
:If A=3: ou C=2
C+1→C:Horizontal C:"BONJOUR"→A

Also, not(6 = not(110b = 001b = 1 =not(0000000000000110b = 1111111111111001b =65529. En effet, 65535-6. Plus general, not(A = 65535-A.


Quote
Cette notation peut s'optimiser en getkey(9 sur les TI 84 Plus qui possèdent la fonction getkey(
Ce n'est pas vrai. getKey( est les deux tokens getKey et (. Il marche pour tout des OS.

Thank you for the tutorial so far!

Offline persalteas

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 231
  • Rating: +44/-4
  • z80 poweeer
    • View Profile
    • Tout-82
Re: Un Tuto Pour Grammer
« Reply #18 on: April 25, 2012, 07:25:50 am »
Oh ! yes, you told me about the If and the getkey...

I forgot to replace it in the tutorial.

Quote
Also, not(6 = not(110b = 001b = 1 =not(0000000000000110b = 1111111111111001b =65529. En effet, 65535-6. Plus general, not(A = 65535-A.
All the 16 bits are inverted ? OK, I didn't know.


I'll continue it, it's not finish, there is a lot of work :)
Glad you like it.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Un Tuto Pour Grammer
« Reply #19 on: April 25, 2012, 11:38:52 am »
Yeah, it is all 16-bits. And really, you are doing a great job o.o

EDIT: Also, since I uprated one of yesterdays posts that got lost, I uprated your last post :)

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: Un Tuto Pour Grammer
« Reply #20 on: April 25, 2012, 02:29:29 pm »
Deux ou trois posts de supprimés...

Bref, version actuelle du tuto (passé en PDF ! )  :  DERNIERE MISE A JOUR LE 25/04/2012 - 09h51

De manière générale, je vais uploader les mises à jour sur http://tiemulation.kegtux.org/Grammertutorial.htm .
Oui le serveur d'Omni a manqué de RAM et tout a planté, donc les dernier posts furent corrompus. Il a fait une sauvegarde du 22 avril.

Offline persalteas

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 231
  • Rating: +44/-4
  • z80 poweeer
    • View Profile
    • Tout-82
Re: Un Tuto Pour Grammer
« Reply #21 on: April 25, 2012, 05:50:05 pm »
Quote
EDIT: Also, since I uprated one of yesterdays posts that got lost, I uprated your last post

Oh, ;D thanks ...

The day will come when I would have 447 posts ratings, like you...  (how long have you been active on Omnimaga, Xeda ? )


Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Un Tuto Pour Grammer
« Reply #22 on: April 25, 2012, 08:09:39 pm »
I've been active for about 1.5 years now (in 6 days it will be 1.5 years, actually). And I'm sure you will get >447 post ratings XD You are a respected coder and you make neat programs o.o

Offline persalteas

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 231
  • Rating: +44/-4
  • z80 poweeer
    • View Profile
    • Tout-82
Re: Un Tuto Pour Grammer
« Reply #23 on: April 26, 2012, 09:29:24 am »
J'ai corrigé ces détails. J'ai aussi fait une superbe pic pour les codes du getkey :)

Spoiler For "keycodes sur une TI 83 Plus.fr ! ":


Ensuite...

questions suivantes !

1) Where do you find the "solve(" command in the menus ? The [math][0] gives me a "Misc(" command. Is that from Grammer, or from MirageOS (or from XtraTkn ?)

2) about solve(3.

Quote
Ans and Ɵ' are put back to normal when the error handler
completes.
Do you mean they come back to 0 when the program arrives to the specified label ?

3) Explain solve(4 ... :/

4) Explain how works the duration with the conj( command... :/  64, for me, it's just Minecraft...

Thank you !
(I now have many little funny programs on my calc ;D )
« Last Edit: April 26, 2012, 10:26:54 am by persalteas »


Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Un Tuto Pour Grammer
« Reply #24 on: April 26, 2012, 02:31:38 pm »
That is an excellent picture :)
1) Where do you find the "solve(" command in the menus ? The [math][0] gives me a "Misc(" command. Is that from Grammer, or from MirageOS (or from XtraTkn ?)
Ah, yes, you have the Token Hook enabled (it changes the names of some tokens). It still does the same thing, though.


2) about solve(3.

Quote
Ans and Ɵ' are put back to normal when the error handler
completes.
Do you mean they come back to 0 when the program arrives to the specified label ?
I mean that they are preserved, or restored. This way, if your error handler changes Ans or Ɵ', it won't effect the program.

3) Explain solve(4 ... :/
:) solve(4 will automatically cause an error. For example, solve4,0 causes an ON error, solve(4,1 causes a Memory error, solve(4,2,"String" creates a custom error. This is good for custom error handling. I attached a screenshot :)

4) Explain how works the duration with the conj( command... :/  64, for me, it's just Minecraft...
If you use 64, it makes it take a long time. Try using 16 instead? (or smaller values).

Offline persalteas

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 231
  • Rating: +44/-4
  • z80 poweeer
    • View Profile
    • Tout-82
Re: Un Tuto Pour Grammer
« Reply #25 on: April 26, 2012, 03:20:00 pm »
Quote
solve(4,2,"String" creates a custom error.
AAWWW YEAH !! Powerful !

So... I finished the "Command and Tutorial.pdf", now I will read the *.txts and the tutorial topics on Omnimaga...

I have 28 questions... Do you want them ? ;D  In one shot ? 5 by 5 ?

(Lot of my questions are about grayscale, I'll read the topic where you talk about it.)

I upload a new version soon (1h30), time to replace my questions by your answers.


Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Un Tuto Pour Grammer
« Reply #26 on: April 26, 2012, 03:28:03 pm »
Hehe, feel free to ask them all :D It will give me something to do :)

Offline persalteas

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 231
  • Rating: +44/-4
  • z80 poweeer
    • View Profile
    • Tout-82
Re: Un Tuto Pour Grammer
« Reply #27 on: April 26, 2012, 03:29:39 pm »
If you want them in English, it will take a minute. :P


Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Un Tuto Pour Grammer
« Reply #28 on: April 26, 2012, 03:39:04 pm »
Feel free to ask in french, english, or franglish :3


(This post was made in between his two posts ^ omnom messed up, I think or my internet lagged)

Offline persalteas

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 231
  • Rating: +44/-4
  • z80 poweeer
    • View Profile
    • Tout-82
Re: Un Tuto Pour Grammer
« Reply #29 on: April 26, 2012, 03:45:14 pm »
1)  What is the "Gray" method for displaying sprites ? (   Pt-On(7   ) Do you explain it in the topic about grayscale ? If yes, don't answer, I'll see.

2) You told talk several times about buffers to display. I didn't know that we could create custom buffers at custom adresses. I heard about the buffer and the backbuffer in Axe, but that's all. It's not very limpid, can you re-explain me what is exactly a buffer and how it works ?