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 - Matrefeytontias

Pages: 1 ... 64 65 [66] 67 68 ... 133
976
Axe / Re: Pic Variable
« on: September 06, 2013, 11:29:09 am »
The graph screen is L6, so it should be as simple as something like this:

Code: [Select]
!If GetCalc("Pic0",768)→P
 .Not enough RAM
End
Copy(L₆,P,768)
Actually that's kinda wrong, since TI-OS pics are 756 bytes.

how do i recall pic 0 on the screen?
sorry i am kind of new at this..
All you have to do is to access TI-OS's Pic0 with GetCalc and copy it back to L6 (remember it's 756 bytes this time) :

GetCalc("Pic0")→A
Copy(A,L6,756)
DispGraph

977
Axe / Re: Pic Variable
« on: September 06, 2013, 11:24:24 am »
Actually the graph screen is L6, aka plotSScreen. All you have to do to save it in a var is to create for example a 768-bytes appvar (plotSScreen is 768 bytes large) and copy L6 to it. The proper way to do this would be :

:GetCalc("appvSAVEDIMG",768)→A
:Return!If A      // quits if the appvar couldn't be created
:Copy(L6,A)       // optimized version, copies 768 bytes from A to L6


EDIT : ninja'd :ninja:

978
TI Z80 / Re: Rogue Z80
« on: September 06, 2013, 11:16:51 am »
Wow, that's quite a bunch of sorry events :/

Despite that, it's good to see some progress on Rogue :)

979
Ask TheMachine02 for that ;D

980
Axe / Re: Input Command
« on: September 04, 2013, 11:20:36 am »
I think _parseInp would make the work, but I'm not sure how to use it with a string though. It executes Basic programs from a given address.

981
HP Calculators / Re: Some Cellular Automata program on Youtube
« on: September 04, 2013, 08:15:58 am »
Wa :o is it plain basic ? (although I guess yeah since no one has hacked the Prime yet afaik)

982
TI Z80 / Re: xLIB 84C Edition
« on: September 03, 2013, 12:51:19 pm »
It looks soooooo good :D will you make an ASM lib out of XLib functions ?

EDIT : 1000th post !

EDIT 2 : does my sig fit the rules like this ?

983
Polyhedras, not polygons :P and yeah, I guess that's enough but I see a way to do more, so why not trying :)

984
I generated the vertices with a For loop and a bunch of cos/sin. As-is, it's not possible to draw anything else than convex polyhedras, but I'm working on it.

985
Bump,

Here you go, animated screenshot (7 FPS) !

986
News / Re: Omnimaga's 12th anniversary!
« on: September 01, 2013, 04:28:09 pm »
Happy birthday Omnimaga :D and congrats to all the staff for this awesome site !

987
Then you'd use something like that :
Code: [Select]
.alpha = int(color / 32768)
red = int(color / 1024) % 32
green = int(color / 32) % 32
blue = color % 32
l
Alpha is now the 15th bit of the color, red is the 10th to 14th bits, green is the 5th to 9th bit and blue the 0th to 4th bit. You can also build a color this way :
Code: [Select]
color = (alpha % 2) * 32768 + (red % 32) * 1024 + (green % 32) * 32 + (blue % 32)Assuming % is the modulo operator.

EDIT : ninja'd

988
IIRC, the HP Prime's screen uses 16-bits colors (R5G6B5 format), so you can't access  colors separately unless you use bitwise operators (and, or, not) and bit shifting. I don't think HP basic permits you to do that.

989
Sorunome : thanks :)

Tr1p1ea : ow ow no :P by 3D vectors I mean vectors with 3 coordinates that's all :P I explained in the first post the three functions I have so far.

DJ_O : oh okay I'll take care of that :)

990
No, but it'll add new features to the axiom. One usage of the vectors-related functions is the backface culling, which is a technique to dynamically remove backfacing 3D polygons. For example, in a convex polyhedra, at most 50% of the faces are visible from any viewing angle ; backface culling will then discard at least 50% of the faces, removing at least 50% of the calculations.

Pages: 1 ... 64 65 [66] 67 68 ... 133