### Author Topic: Prime Wiki Discussion  (Read 5782 times)

0 Members and 1 Guest are viewing this topic.

#### bb010g

• LV6 Super Member (Next: 500)
• Posts: 428
• Rating: +22/-1
• I do stuff
##### Prime Wiki Discussion
« on: August 08, 2013, 12:03:30 am »
Hey! We have a wiki! It's at http://tiplanet.org/hpwiki/. Go do stuff there.

Spoiler For Old stuff:
Since there's no real place to get good Prime information (the manual included with the emulator is out of date), here's a thread where you can post things you found. Please try to keep it down to one post per person by editing in new content. Also, feel free to put in something found by someone else, as long as you give attribution.

It can be ran with no issues in Wine, for those not on Windows.

Function information:
Use the on-calc help. Browse by pressing Tree and using the screen or the arrows, or by pressing Key and pressing the first key you use to get to a function.

Mathematics:
When multiplying a constant by a variable, you have to use *. (2*A+2 instead of 2A+2) (DJ Omnimaga on IRC)

Text diplay:
To color text, you have to use one of the TEXTOUT functions with a RGB function as the color.
If you feed a TEXTOUT function a negative length, the text is italicized and underlined, ignoring the background color (if supplied).
« Last Edit: August 08, 2013, 06:57:37 pm by bb010g »
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 50g, HP 35s, Casio Prizm, TI-Nspire CX CAS, HP 28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE

#### DJ Omnimaga

• Former TI programmer
• CoT Emeritus
• LV15 Omnimagician (Next: --)
• Posts: 55925
• Rating: +3152/-232
• CodeWalrus founder & retired Omnimaga founder
##### Re: HP Prime Development Information
« Reply #1 on: August 08, 2013, 12:09:31 am »
What would be nice is a wiki or something where all commands can be put, or maybe the general programming commands could be added into the first post as we progress. The on-calc help is a major PITA to use and the PDF doc is outdated. The most important part for now would be the changes from the 39gII to Prime.

Also I asked admins via e-mail for some HP sub-forums too, so we'll see how this goes.
« Last Edit: August 08, 2013, 12:10:10 am by DJ Omnimaga »

#### Streetwalrus

• LV12 Extreme Poster (Next: 5000)
• Posts: 3821
• Rating: +80/-8
##### Re: HP Prime Development Information
« Reply #2 on: August 08, 2013, 03:20:42 pm »
I'm setting up a Wiki at www.floucraft.tk/wikiprime/. Expect some changes on it soon. It's just a blank Dokuwiki right now.

#### Sorunome

• Fox Fox Fox Fox Fox Fox Fox!
• Support Staff
• LV13 Extreme Addict (Next: 9001)
• Posts: 7920
• Rating: +374/-13
• Derpy Hooves
##### Re: HP Prime Development Information
« Reply #3 on: August 08, 2013, 03:45:00 pm »
why dokuwiki and not mediawiki?
 THE GAMEAlso, check out my websiteIf OmnomIRC is screwed up, blame me!Click here to give me an internet!

• Editor
• LV10 31337 u53r (Next: 2000)
• Posts: 1708
• Rating: +229/-17
##### Re: HP Prime Development Information
« Reply #4 on: August 08, 2013, 05:21:49 pm »
A Wiki is a good idea.

However a profesionnal-class one (mediawiki indeed) is better than a[n other] free one like this ^ .

Just wait a few minutes
« Last Edit: August 08, 2013, 07:37:45 pm by adriweb »
My calculator programs
TI-Nspire Lua programming : Tutorials  |  API Documentation

#### DJ Omnimaga

• Former TI programmer
• CoT Emeritus
• LV15 Omnimagician (Next: --)
• Posts: 55925
• Rating: +3152/-232
• CodeWalrus founder & retired Omnimaga founder
##### Re: Re: HP Prime Development Information
« Reply #5 on: August 08, 2013, 05:44:42 pm »
Else there is Wikidot. Although you get no PHP/MySQL access, you are spared from spambots

#### Sorunome

• Fox Fox Fox Fox Fox Fox Fox!
• Support Staff
• LV13 Extreme Addict (Next: 9001)
• Posts: 7920
• Rating: +374/-13
• Derpy Hooves
##### Re: HP Prime Development Information
« Reply #6 on: August 08, 2013, 05:47:08 pm »
[...] is better than a free one like this ^ . [...]
MedaWiki is free
 THE GAMEAlso, check out my websiteIf OmnomIRC is screwed up, blame me!Click here to give me an internet!

• Editor
• LV10 31337 u53r (Next: 2000)
• Posts: 1708
• Rating: +229/-17
##### Re: HP Prime Development Information
« Reply #7 on: August 08, 2013, 06:11:25 pm »
Anyway, there you go : http://tiplanet.org/hpwiki/index.php?title=HP_Prime

A new HP Wiki for everyone to use. (also, if you have an other name for the wiki, please tell)
It's powered by the (then) latest MediaWiki, and hosted on TI-Planet's [powerful ] server
(And no, there's no link with TI-Planet, we just offer the hosting )

I'm still in the process of setting it up correctly (extensions, themes etc.), but it's fully working already.

Come contribute in a wiki style

If the site gets quite popular, a domain name may be bought

Also, when it's done being setup... it might be good to actually announce this as a news, if we want to make it "big".

Edit : Also, yep, I'll enable categorizing/folders, so that we can have a "sub-wiki"-ish for the Prime itself
« Last Edit: August 08, 2013, 06:15:50 pm by adriweb »
My calculator programs
TI-Nspire Lua programming : Tutorials  |  API Documentation

#### Streetwalrus

• LV12 Extreme Poster (Next: 5000)
• Posts: 3821
• Rating: +80/-8
##### Re: HP Prime Development Information
« Reply #8 on: August 08, 2013, 06:48:12 pm »
Oh cool. I chose Dokuwiki because it's more lightweight (hosted on my personal site on 000webhost) so it's faster than Mediawiki. Since you offer this better solution I'll take mine down.

• Editor
• LV10 31337 u53r (Next: 2000)
• Posts: 1708
• Rating: +229/-17
##### Re: Prime Wiki Discussion
« Reply #9 on: August 08, 2013, 08:35:35 pm »
Alright, basic stuff set up.
HP Prime skeleton page also made : http://tiplanet.org/hpwiki/index.php?title=HP_Prime

(Section by section, to avoid conflicts )
« Last Edit: August 08, 2013, 08:35:59 pm by adriweb »
My calculator programs
TI-Nspire Lua programming : Tutorials  |  API Documentation

#### DJ Omnimaga

• Former TI programmer
• CoT Emeritus
• LV15 Omnimagician (Next: --)
• Posts: 55925
• Rating: +3152/-232
• CodeWalrus founder & retired Omnimaga founder
##### Re: Re: Prime Wiki Discussion
« Reply #10 on: August 08, 2013, 09:34:23 pm »
Nice! Also do regular backups like your other sites lol so we don't lose yet another wiki like what happened to the original Prizm wiki and the Axe one.

#### DJ Omnimaga

• Former TI programmer
• CoT Emeritus
• LV15 Omnimagician (Next: --)
• Posts: 55925
• Rating: +3152/-232
• CodeWalrus founder & retired Omnimaga founder
##### Re: Prime Wiki Discussion
« Reply #11 on: August 10, 2013, 01:19:45 am »
I saw this post on TI-Planet: http://tiplanet.org/forum/viewtopic.php?p=146654&sid=fdb22ad64ae101b5c7a64d4b048c7066#p146702

Quote
Ca booste Une autre commande (non documentée) et parfois utile dans ce genre de prog (et d'autres )TICKSrenvoie un compteur en 1/1000ieme de secondes Les GROB (GRaphic OBjects) sont excellent aussi. Ca permet de dessiner dans un (des) écran virtuel de taille qu'on décide et de tout afficher d'un bloc (OR XOR AND...) dans un autre GROB ou sur l'écran . C'est dans la doc. Ca permet de faire des genres de 'sprites'. On affiche par exemple un graphique de largeur*hauteur sur l'écran en 1 instruction. Les Grobs existaient sur la 39Gii mais largement buggé. Là ca fonctionne bien

Plus sur :
Basically, the GROB command apparently can do some sort of sprites. I haven't investigated about it much, but I wouldn't be surprised if it involved copying a portion of a buffer onto the screen. THat command was available on the 39gII but it didn't work. Apparently it works on the HP Prime.
« Last Edit: August 10, 2013, 01:20:33 am by DJ Omnimaga »

• Editor
• LV10 31337 u53r (Next: 2000)
• Posts: 1708
• Rating: +229/-17
##### Re: Prime Wiki Discussion
« Reply #12 on: August 11, 2013, 08:28:58 pm »
Bumping the topic with some updates on the wiki :

- [Prime] USB Descriptors dump
- [Prime] Better page layout + subpaging (linking protocol (^) + hardware)
- [Prime] Some BASIC stuff
- [General] Some more templates and CSS etc.
- [General] URL-rewriting when using http (lighttpd), https support coming soon (hopefully, even though apache is working weirdly). Full urls (index.php?title=xxxxx) still work.
- other stuff.

Reminder of the url for the Prime article(s) : http://tiplanet.org/hpwiki/HP_Prime

Feel free to contribute
« Last Edit: August 12, 2013, 08:22:10 am by adriweb »
My calculator programs
TI-Nspire Lua programming : Tutorials  |  API Documentation

#### DJ Omnimaga

• Former TI programmer
• CoT Emeritus
• LV15 Omnimagician (Next: --)
• Posts: 55925
• Rating: +3152/-232
• CodeWalrus founder & retired Omnimaga founder
##### Re: Prime Wiki Discussion
« Reply #13 on: August 12, 2013, 02:17:57 am »
I didn't feel like creating an account yet, but some things to note:

BLIT/BLIT_P supports sprite/image scaling. However, if you store text (using the TEXTOUT commands) in G1-G9 then try to display the result with BLIT, the inside of the text is wrongly colored.

Since DIMGROB_P can set G variables to dimensions larger than the screen, this means that with BLIT commands you can use scrolling.