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

Pages: 1 ... 5 6 [7] 8 9 10
91
Miscellaneous / Re: Do you think you are a nerd?
« on: September 23, 2011, 08:17:43 am »
I took the nerd test and got like 15% in everything :P
Hmm got 74%. But knowing a lot about computers and related topics doesnt directly make you a nerd. When programming is more a hobby than an obsession, then you might just be a geek or a computer guy. Everybody has detailed knowledge about a specific topic. That's your mission.

If nerdy people seem embarassing for you, you are probably not one of them.

92
ROM Hacking and Console Homebrew / Re: Omni Emblem
« on: September 22, 2011, 05:15:52 pm »
The character sprites in this thread are all fantastic, did you do them yourselves?

93
TI Z80 / Re: OPIA - A full OOP language for z80
« on: September 21, 2011, 09:15:46 am »
You should involve the community for testing later. Also example programs would help :) .

94
Site Feedback and Questions / Re: We need a Skype group chat
« on: September 21, 2011, 03:07:35 am »
There is google hangout. I never tried it, but maybe it does what you are looking for.

95
Site Feedback and Questions / Re: How we can improve Omnimaga?
« on: September 20, 2011, 09:17:30 am »
Removing the dislike button would be an interesting idea.
I would remove post rating all together. Feedback is a lot better when in words.

96
Art / Re: Sprite Request: Vehicles viewed from above
« on: September 20, 2011, 09:12:35 am »

97
Miscellaneous / Re: AAAAAAAAAAAAAAAAAAAAAAAAAAAAH!
« on: September 20, 2011, 08:44:37 am »
Whoa shit man. I remember coding BASIC with TI-Graph on my PC for that reason... haha

98
ASM / Re: The worst TI code I've ever seen
« on: September 19, 2011, 01:44:17 pm »
Writing or a instead of cp 0 doesnt make a good program. I use cp 0 for better readability. Compilers should take care of that, actually.

99
Miscellaneous / Re: What is your favorite monster?
« on: September 19, 2011, 01:32:52 pm »
Zoma from Dragon Warrior.

100
ASM / Re: The worst TI code I've ever seen
« on: September 18, 2011, 11:14:33 am »
It's not a bug, it's just coded by a newbie. That doesnt make this any better though...

101
ASM / Re: Sprite Rendering
« on: September 16, 2011, 06:12:57 am »
My guess is that he's using the ION routines or something similar.
Yes, I think those are pretty standard.

That's... definitely an interesting way of coding. You managed to code asm like basic in a way. Of course the obvious drawback with that technique is that you have a lot less flexibility with what you can do and your actual code size will be enormous. (For instance, if you want to display something with d = x and e = y, that's an entirely different macro you'll have to code for.)
But from my experience the advantage of being able to code a lot faster outweights that drawback. When you code a big program and it's maybe an APP that has access to 32KB, the time you need to adjust every appearance of a routine you just changed does matter compared to the few bytes you lose. In ASM it's mostly degree of abstraction and ease of use versus code size and speed. In a graphics-heavy game you would go for optimization, but really, who understands these rolled-out parallax scrolling routines I saw from JimE.

If you use a macro twice, you already get a benefit in actual size of written code, since my putsmall macro from above is just a text-replacing one.

Providing a language on top of ASM that is highly optimized for z80 is THE goal of the TI community these days. Failed BasicToAsm and CToAsm compilers, FastRPL or the successful AXE all underline this. Macros are somewhere in the middle I think. Like Timendus appoach of an AsmApi.

For beginners, something like this isn't bad:
Code: [Select]
#include ti83plus.inc
#include asmMacros.inc

.asmprog
clearScreen
echo "Hello World!"
exit _NoDoneFlag

102
ASM / Re: Sprite Rendering
« on: September 15, 2011, 06:01:30 am »
I code like this:

Code: [Select]
clearScreen
 putS 34, 75, 11, deck.load.logo
 update

SPASM macros make this possible. No more thinking of loading the right registers :) .

Code: [Select]
#macro putsmall(_putsmall_down, _putsmall_right, _putsmall_size, _putsmall_address)
#ifndef _putsmall_down
call putsprite
#else
ld a, _putsmall_down
ld l, a
ld a, _putsmall_right
ld b, _putsmall_size
ld ix, _putsmall_address
call putsprite
#endif
#endmacro

#define putS putsmall(
#define update call fastcopy
#define clearScreen call clrgbuf

(The open bracket above is intended.)

103
Miscellaneous / Re: which android phone should i buy?
« on: September 14, 2011, 08:04:52 am »
I got a Samsung Galaxy S I9000. It's perfect and its successor S II seems great aswell.

104
Miscellaneous / Re: Post your desktop
« on: September 12, 2011, 06:19:18 am »

105
Miscellaneous / Re: What is your avatar?
« on: September 12, 2011, 05:54:24 am »
Mine is stolen from here: http://artgerm.deviantart.com/art/Pepper-Butterfly-18906580 ..so great.

Pages: 1 ... 5 6 [7] 8 9 10