Programming assembly for Nabaztags

Feel like posting Off Topic? Do it here.

Moderator: MaxCoderz Staff

User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

Arcane WIzard wrote:I would expect both of you to not assume it was a critiquing statement when no clarity was given about the grounds for my quoting
I thought I had given you the benefit of the doubt. But you seem to want to see us as total assholes, so I'll just ignore that discussion.

256 bytes of RAM isn't much, but you shouldn't forget that you usually fill most memory with strings and sprite data, which aren't applicable here ;) Also, you can compare those 256 bytes with our "saferam" areas because you can compile static data with the program (which ends up in the program memory of 64k). So it's not all that bad, especially when you consider that you're programming a rabbit, and you just want to make a few leds change colour, not write an RPG :mrgreen:
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
User avatar
benryves
Maxcoderz Staff
Posts: 3087
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

CoBB
MCF Legend
Posts: 1601
Joined: Mon 20 Dec, 2004 8:45 am
Location: Budapest, Absurdistan
Contact:

Post by CoBB »

benryves wrote:256B should be enough for anybody. ;)
These programs use much more RAM than that. :P Sorry for being a killjoy. ;)
User avatar
benryves
Maxcoderz Staff
Posts: 3087
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

CoBB wrote:
benryves wrote:256B should be enough for anybody. ;)
These programs use much more RAM than that. :P Sorry for being a killjoy. ;)
Not to mention having an extensive OS behind them (insofar as DOS is 'extensive').
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

Yup, but I guess you've made your point: you can do a lot within 256B ;)
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
User avatar
benryves
Maxcoderz Staff
Posts: 3087
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

Hm, thinking of audio - is that stored in the program memory too, or is it streamed over and held in another RAM location, or..? PCM audio does take up a lot of space...
User avatar
Shadow Phoenix
Calc Guru
Posts: 835
Joined: Mon 03 Jan, 2005 7:54 pm
Location: out there. seriosly.

Post by Shadow Phoenix »

What happens if I go over the 256 bytes which also stores stack?
Life is getting better.
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

You can't: you're forced to use a one byte pointer :) You could only corrupt your stack.
benryves wrote:Hm, thinking of audio - is that stored in the program memory too, or is it streamed over and held in another RAM location, or..? PCM audio does take up a lot of space...
It does. And it's stored in another location. There's a seperate 64 slots (don't know how many MBs) space for files received by the rabbit, but all you can do with them is play as MIDI or play as PCM.
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Post by tr1p1ea »

If you're just moving ears, turning on lights and making small sounds, 256b should be heaps!

Those things are pretty sweet ... a bit crazy but sweet :).
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
Post Reply