Omnimaga

Calculator Community => HP Calculators => Topic started by: bb010g on August 08, 2013, 12:03:30 am

Title: Prime Wiki Discussion
Post by: bb010g on August 08, 2013, 12:03:30 am
Hey! We have a wiki! It's at http://tiplanet.org/hpwiki/ (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.

Prime Emulator Download Link:
http://tiplanet.org/forum/archives_voir.php?id=19496 (adriweb (http://ourl.ca/19209;msg=302932))
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).
Title: Re: HP Prime Development Information
Post by: DJ Omnimaga 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.
Title: Re: HP Prime Development Information
Post by: Streetwalrus 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. :P It's just a blank Dokuwiki right now.
Title: Re: HP Prime Development Information
Post by: Sorunome on August 08, 2013, 03:45:00 pm
why dokuwiki and not mediawiki? :P
Title: Re: HP Prime Development Information
Post by: Adriweb 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 ;)
Title: Re: Re: HP Prime Development Information
Post by: DJ Omnimaga on August 08, 2013, 05:44:42 pm
Else there is Wikidot. Although you get no PHP/MySQL access, you are spared from spambots :P
Title: Re: HP Prime Development Information
Post by: Sorunome on August 08, 2013, 05:47:08 pm
[...] is better than a free one like this ^ . [...]
MedaWiki is free :P
Title: Re: HP Prime Development Information
Post by: Adriweb 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 :P] server ;)
(And no, there's no link with TI-Planet, we just offer the hosting :D)

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
Title: Re: HP Prime Development Information
Post by: Streetwalrus 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. ;)
Title: Re: Prime Wiki Discussion
Post by: Adriweb 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

Go ahead and edit :)
(Section by section, to avoid conflicts ;) )
Title: Re: Re: Prime Wiki Discussion
Post by: DJ Omnimaga 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. :P
Title: Re: Prime Wiki Discussion
Post by: DJ Omnimaga 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.
Title: Re: Prime Wiki Discussion
Post by: Adriweb 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 :)
Title: Re: Prime Wiki Discussion
Post by: DJ Omnimaga 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.