Welcome, Guest. Please login or register.

Author Topic: Contiki: I wonder....  (Read 6802 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline GeneraleTopic starter

  • Full Member
  • ***
  • Join Date: Feb 2005
  • Posts: 233
    • Show all replies
    • http://members.dodo.com.au/~izabellion
Re: wow. Talk about different...
« Reply #14 from previous page: April 14, 2005, 09:48:01 PM »
Not possible with vanilla C. It has to be done with assembler. C, especially of the ANSI variety knows jack about hardware, because that violates the 'platform independence' of ansi C.

I hate to think of what C would do if used for state saving and restoration. hehe. strange concept really.

Gotta say it. ANSI C is platform independent, fast and good at what it does. Java is none of those. Sorry, I just _really_ hate java. It was a good idea (I guess) that went badly astray.

I find contiki inspiring. To my eyes anyway, it is more capable byte for byte than GEOS, which was painfully optimised assembler. Mind you, geowrite still impresses me.

More OSes should be like it.
I get upset that any OS needs more than 1mb RAM. It shouldn't!...unless it does a lot of things like unix/linux which does pretty well at keeping its RAM footprint down.

And windows shouldn't need more than 640k RAM, because nothing should ever need more than that, eh, Mr. Gates?
A500 (salvo): 1Mb RAM (512k chip, 512k SlowFast)
1x880k Floppy Disk, 1xIBM 540Mb 3.5\\"HDD KS1.3, WB1.3
1084S monitor. AT Keyboard!
A500 (Whitey): 512k RAM, 1x880k Floppy Disk, KS1.2, WB1.3
 

Offline GeneraleTopic starter

  • Full Member
  • ***
  • Join Date: Feb 2005
  • Posts: 233
    • Show all replies
    • http://members.dodo.com.au/~izabellion
Re: Contiki: I wonder....
« Reply #15 on: April 15, 2005, 11:40:52 AM »
I can't use MUI. Either that or I'm doing something wrong.
A500 (salvo): 1Mb RAM (512k chip, 512k SlowFast)
1x880k Floppy Disk, 1xIBM 540Mb 3.5\\"HDD KS1.3, WB1.3
1084S monitor. AT Keyboard!
A500 (Whitey): 512k RAM, 1x880k Floppy Disk, KS1.2, WB1.3
 

Offline GeneraleTopic starter

  • Full Member
  • ***
  • Join Date: Feb 2005
  • Posts: 233
    • Show all replies
    • http://members.dodo.com.au/~izabellion
Re: wow. Talk about different...
« Reply #16 on: April 16, 2005, 04:17:16 AM »
Oh. it needs wb2 or later. That explains it.

Anyway I have a question about having a dynamically loaded stack.
Would it at least have a small resident portion to load the stack when there is incoming data?
I mean it's perfectly fine to have something that is loaded when needed, without doubt. But how easy is it to initialise whenever the stack is required by an incoming packet, for uses such as file sharing when there may be no need for the IP stack most of the time.
I hope you can understand what I mean. I can't figure out how to explain it properly. Sorry.
A500 (salvo): 1Mb RAM (512k chip, 512k SlowFast)
1x880k Floppy Disk, 1xIBM 540Mb 3.5\\"HDD KS1.3, WB1.3
1084S monitor. AT Keyboard!
A500 (Whitey): 512k RAM, 1x880k Floppy Disk, KS1.2, WB1.3