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

Pages: 1 ... 22 23 [24] 25 26 ... 239
346
Axe / Re: Axe Q&A
« on: July 09, 2014, 02:37:38 am »
If that's screen scrolling code, I didn't make it on purpose. But I don't think it is (or at least, if it's partially, it's not complete).

347
Axe / Re: Axe Q&A
« on: July 09, 2014, 02:31:42 am »
I don't know if I already asked but when I went through some pages of that topic, I didn't find that question so I guess I didn't ask ?

Would it be possible to have less syntax restrictions ? Example:
Copy(L6,Copy(L3,L6,96),192)

This example is something stupid I just coined but you get the idea.
This is currently impossible to write, "Cannot use here". But what if that's what I want to write and I know what I am doing ? Because I can understand that beginners could get problems writing this kind of stuff, but they would not write that kind of stuff so those restrictions are only annoying non-beginners.

348
TI Z80 / Re: zStart - an app that runs on ram clears
« on: July 09, 2014, 02:07:07 am »
I think I tried to add error scrolling, but I guess it doesn't work. And I probably don't need to add an option since it will only be in the two page version of zStart.
Well if scrolling doesn't work, it's one more reason to add an option since people still need a working scrolling and will temporarily disable your editor to scroll with TI's one to see where the error is ;)

349
Axe / Re: Axe Little contest !
« on: July 08, 2014, 06:01:53 am »
Still better than my poor 305 296...
edit I have 282 with some cheating :P
No Asm involved, but some unclean code :P

350
TI Z80 / Re: zStart - an app that runs on ram clears
« on: July 08, 2014, 02:25:35 am »
The only annoying thing I can think of with that editor is that when Axe raises an Error, we can't jump to the line, it opens the editor on the first line.

Other than that, yeah, the small font editor works great as it is, I do use it :)
And I am not disturbed by the fact it is not monospaced font, on the contrary I find it less disturbing to have the "original" small font I am used to see in programs.

If you fear it has bugs that would prevent some people afraid of bugs (:P) from using it, just add an option to disable it :)

351
Axe / Re: Axe Little contest !
« on: July 07, 2014, 03:11:44 pm »
You can indeed jump to/call arbitrary addresses in native Axe. But I'd propose that doing anything that results in running custom assembly code is against the sprit of the competition and shouldn't be allowed.
Yeah, we figured out we could make
[the hex code we want to execute]→°Cheat
Goto (°Cheat)

But it's true that this is not the goal of the contest :P

352
Axe / Re: Axe Little contest !
« on: July 07, 2014, 02:42:16 pm »
Well jr doesn't exist in Axe. And Goto doesn't allow relative jumps (or I missed something all this time O.O). So you can't do your trick without using Asm(), which defeats its purpose :P

353
Axe / Re: Axe Little contest !
« on: July 07, 2014, 02:38:15 pm »
Watch out guys, I found this topic. :P
Lol, I was wondering how long you would let us brag about our programs before appearing :P

Wait, what if, instead of the ASM() command we put the data as hex and jump to that memory address :P
Yeah, but how do you jump to the right memory address ?

354
News / Re: ASM arrives on the HP Prime!
« on: July 07, 2014, 12:02:20 pm »
So we just need to apply the lessons we learned with the Nspires, and then we have a good time with assembly.
There is no lesson to get from what happens on Nspires. They are not closed because of a move from the community, they were always closed. Now, I don't say that a program against TI's interest is a good idea, just that even if it contributes to nothing good, it did not start the whole thing either.

Just a question about the HP Prime, would it be possible to "patch" an OS, kind of like what Ndless does ? Because I don't really like the idea of having to choose between HP's OS and the "Ndless" OS.

355
Axe / Re: Axe Little contest !
« on: July 07, 2014, 02:41:09 am »
I think that the most interesting is to compile as Noshell, because the size of the header is constant (not saying Ion header=DCS header but that the difference in size between two programs with the same header is the same whatever header they share) while the size of routines isn't.

So I compiled my program in Noshell and called it AA, it is 356 bytes :P


edit Got it down to 352.


edit I now have 348 but I am too lazy to make a screenshot :P

356
TI-Nspire / Re: [WIP] Unnamed Tetris clone
« on: July 07, 2014, 01:36:51 am »
Besides, if Hayleia works on that stuff then this means it will take even longer before we get Pokémon Topaze Nspire Remake :P
Lol, it is kind of useless to port Topaze to Nspires with gbc4nspire and gpSP out :P
But it's not the same for Tetris since Tetris games for Gameboys were weird.

357
Axe / Re: Axe Little contest !
« on: July 07, 2014, 01:33:09 am »
I'm not sure of one thing: Are we talking about source bytes or compiled bytes? The two are different.
I'd say "compiled" because there is no point comparing the sources (if you write Data(0001)Data(0001) it obviously takes more space than just [0101] for the same result) and because he said "with the header"... But which header ? Noshell ? Ion ? More ? And which name to the program ? Because it is also obvious that a program named AA is bigger than a program named A.

358
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: July 07, 2014, 01:29:12 am »
  • Use a Texture struct rather than a unsigned short* for better readability.
Well, two of us come from Axe and care less about readability than about speed (even though it seems like we are not Nspire pros :P ) or efficiency.
It should compile to the same code. If not, it could be faster due to alignment if you use a "flexible array member" (StackOverflow question)
Well that answers the "speed problem", but not the "efficiency" one because to convert the tab into a struct, well there is a need for a function to convert the tab into a struct -.-
Not hard to do, not speed wasting, but not necessary either. Axe coders (or at least I :P ) like to know what they are doing and why it works instead of using functions that mean something in English but that don't mean anything to their eyes, like "initSprite" or I don't know what. It's like when you declare a Bitmap in Axe, you know what the first bytes represent and what the other ones represent ;)

Also, I was once told by a moderator that even if a n00b is being annoying or someone spams that it's against the rules to be agressive, so on Omni, if you question people's reading skills, tell members they have no brain, yell at them using cussing and all-caps or try to make them look stupid/inferior, then you cannot use any excuse to get away with it (the only way to get away with it is if you don't get caught). This is more an head-up, because in the past I got banned for being rude too (although not for very long) and you can see my rating ratio as an indicator.
I would not even say "on Omni" only. It's not constructive to be angry, whether on Omni or IRL or anywhere. When there is someone angry in a discussion, it only makes the other people angry. And when you tell people they have no brain, especially when you are the one to blame and not the others, it only makes them defend themselves about this free insult before contributing to the real discussion, and I would even say "instead of" instead of "before" because once they defended themselves they don't really want to discuss with you anymore.

359
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: July 06, 2014, 02:05:34 pm »
  • Use a Texture struct rather than a unsigned short* for better readability.
Well, two of us come from Axe and care less about readability than about speed (even though it seems like we are not Nspire pros :P) or efficiency.

It isn't (probably a typo, but drawTexture = drawSpritePart). I know, I probably sound like an asshole now ( :/ ), but I already told you how you could optimize it.
Yes you are :P Not at all, on the contrary, as you said, you already told us how to improve, you are not just saying "you are stupid, I am the best" or something ;)
And thanks for telling again with a clear list, because iirc, last time you kind of briefly explained on IRC but not really clearly :)

360
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: July 06, 2014, 09:54:33 am »
nGL renders only triangles, so is much more flexible in drawing textures at an arbitrary scale, rotation, translation etc., but that comes at the cost of:
  • Clipping
  • Culling
  • Z-Buffer
  • Interpolation along X and Y-Axis (With textures: 3 divisions per scanline, without: 1)
which wouldn't be necessary for simple 2D stuff. That's also the reason I wrote a basically seperate lib "texturetools.cpp" to do 2d transformations (basically blitting, scaling, font etc.) on TEXTUREs. And yes, it's faster than n2dlib ;)
Well I personnally didn't know about your 2D lib until recently (after n2Dlib was started) but you should definitely have bragged :P told about it sooner. The goal of n2Dlib was not to make something new, just to make a lib that runs at the same speed on CXes and non-CXes (and also that used the same format for "sprites" as nSDL). And apparently, not only it's slower on CXes but it's not even fast on the fastest model -.-
So could you share a link to your 2D lib and to a documentation about it ?

Pages: 1 ... 22 23 [24] 25 26 ... 239