Author Topic: Grammer 2-The APP  (Read 147820 times)

0 Members and 1 Guest are viewing this topic.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer 2-The APP
« Reply #300 on: April 09, 2012, 10:01:47 pm »
can text have non-multiple-of-8 x coordinates now?
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 2-The APP
« Reply #301 on: April 09, 2012, 10:03:10 pm »
Well, it was 4x, but yeah, if you use Output(2, it will use the fixed size font (4x6) but it lets you draw to pixel coordinates and Output(1 uses the variable size font and has always used pixel coordinates. Output(0 is the default font.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer 2-The APP
« Reply #302 on: April 09, 2012, 10:04:45 pm »
When you upload the readme, I'll probably have to look it over again XD (Since there were a lot of undocumented commands in read-me -_-;)
and it'll help me writing a tutorial as well. :D
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 2-The APP
« Reply #303 on: April 09, 2012, 10:06:10 pm »
Yeah, I am trying to rewrite the tutorial/command readme, but it is a slow process .__. I have a few pages done :/

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Grammer 2-The APP
« Reply #304 on: April 10, 2012, 10:03:34 pm »
The main reason for those was that I wanted to easily be able to do pretty-print styled writing :) It also allows for much finer control for text effects, especially for inputs and menus.
Ok thanks for the info. And yeah I could see this used for example in RPGs where you type names or if someone wants to do something like Ultima, where you type commands to talk to NPCs and other stuff.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer 2-The APP
« Reply #305 on: April 14, 2012, 07:20:27 pm »
@Xeda: will it be possible to send me the one with just the syntax?
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 2-The APP
« Reply #306 on: April 16, 2012, 10:29:36 am »
Do you mean the app with just the text syntax? I am confused -_-'
Also, sorry, I was without my computer for a few days more than I expected x.x

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer 2-The APP
« Reply #307 on: April 16, 2012, 09:54:21 pm »
what I wanted was the readme with all the syntax-es for Grammer, but not necessary the tutorial part.
Sig wipe!

Offline persalteas

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 231
  • Rating: +44/-4
  • z80 poweeer
    • View Profile
    • Tout-82
Re: Grammer 2-The APP
« Reply #308 on: April 21, 2012, 12:01:03 pm »
Hello.

I didn't told you, but I have translated your "Commands and tutorial v2.25.03.12" in French, I re-organized it , and I added a lot of comments from myself. (not totally finished).

So, this forced me to start programing with Grammer :D

I put the App on my calc (v 2.28.11.11), and my calc crashes every time I quit the app (pressing [clear] ).
Why ? Is it the good version I have ? (your signature says v2.25...)
« Last Edit: April 21, 2012, 12:04:11 pm by persalteas »


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 2-The APP
« Reply #309 on: April 21, 2012, 12:36:27 pm »
hmm, that is a rather old version... I started the version number as:
2.day.month.year

So 2.28.11.11 == Grammer 2, revised 28 Novembre 2011

Still, that is weird that it crashes, do you have other apps installed that might conflict?

Also, awesome job with translating the readme o.o I am glad you put in comment, because it will help. Do you have it uploaded somewhere? I would like to read it, too o.o

EDIT: This is the latest release http://ourl.ca/15327/293492

Offline persalteas

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 231
  • Rating: +44/-4
  • z80 poweeer
    • View Profile
    • Tout-82
Re: Grammer 2-The APP
« Reply #310 on: April 21, 2012, 01:09:53 pm »
Quote
do you have other apps installed that might conflict?

Doors CS 7.1.1 / XtraTkn / PrettyPrint / CtlgHelp

But I when I tried it the first time, I had the OS 1.16 (old) on my calc (don't ask why x) ).
I have now the 1.19, I sent the Grammer App again, but if the App had saved things in the Archive memory the first time, they may be corrupted.

About the french adaptation-translation: It's not finished, I'll send you ... Monday, or before.

Did you write other technical infos about programing with Grammer in another document ? 
For example, I saw that we should start our programs by ":.0: ", that's not said in the "commands and tutorial".

A lot of stuff and important information is missing in this doc. My simple adaptation won't be a real tutorial. (Or maybe in the future, if you show me where I can find more info.)
« Last Edit: April 21, 2012, 01:10:48 pm by persalteas »


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 2-The APP
« Reply #311 on: April 21, 2012, 01:22:59 pm »
Hmm, that is true, I never did put those in the readme, that isn't good D:

Um, important info
Start with .0: I typically do .0:Return in case Grammer isn't installed or something crazy like this:
Code: [Select]
.0:Disp "ERR:Grammer prgmGammer2 needed.":Return
Also, you need to exit the program some way. Grammer cannot tell if it has reached the end of the program, so you need a "Stop" to tell it.

Also, I am not sure how well it will work on old OSes but I am pretty sure they should work :/ I will try it myself, too.

Offline persalteas

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 231
  • Rating: +44/-4
  • z80 poweeer
    • View Profile
    • Tout-82
Re: Grammer 2-The APP
« Reply #312 on: April 21, 2012, 02:23:25 pm »
OK.

I have several questions to ask (I'm not sure I have all understood), maybe it's not the good topic.

I have bad understood about what interrupts are (En Français, "interrupteurs" ??), it allows the prog to execute 2 code parts at the same time ?

And I don't understand too what you mean by "*By adding 8 to the Method, the data will be read as hexadecimal". Is there another mean to code sprites than hexadecimal ?

I have more questions, but these two are principals :)


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 2-The APP
« Reply #313 on: April 21, 2012, 04:26:33 pm »
Okay, I can try to answer these :)
I have bad understood about what interrupts are (En Français, "interrupteurs" ??), it allows the prog to execute 2 code parts at the same time ?
Interrupts do not work well in Grammer, but for some short pieces of code they will work. They let you run a subroutine automatically several times per second. This feature is not finished and will change in the future. (In fact, I am going to try to change it today to make programs run a tiny bit faster and have extremely good control of the interrupts).

And I don't understand too what you mean by "*By adding 8 to the Method, the data will be read as hexadecimal". Is there another mean to code sprites than hexadecimal ?
There are two ways to store sprite data. One is by making pure data, and the other is by using hexadecimal. Using hexadecimal is easier, but the data is twice as big. Thank of it like taking a hexcode and using AsmComp(. Also, using hexadecimal code requires Grammer to convert the data before drawing it.

I have made a few sprite editors to help making sprite data easier.

Offline persalteas

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 231
  • Rating: +44/-4
  • z80 poweeer
    • View Profile
    • Tout-82
Re: Grammer 2-The APP
« Reply #314 on: April 22, 2012, 12:20:28 pm »
Ok, thanks.  =)

So...I reseted all my RAM and ROM, Grammer alone on the calc continues to crash when you leave the App by pressing [clear].

I report an other bug:
When your calc freeze or when your manually clear your RAM, do a little calculation before using Grammer, just hit [1][enter] for example.
If you don't do this, you shouldn't press [enter] after leaving the Grammer App, or your calc will crash again. (Usually, the calc says "Done" when you press [enter] after a "RAM Cleared".)


Is Grammer able to run archived progs ? Is it better to launch the progs from the App, or from the [prgm] menu ?
« Last Edit: April 22, 2012, 12:21:29 pm by persalteas »