To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.pbforthOpen lugnet.robotics.rcx.pbforth in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / pbFORTH / 149
    RE: Double echo —Ralph Hempel
   (...) Yes, it should. The issue is that you never really know if the stack will blast through the 256 byte boundary, unless HAT checks it. You generally allocate small stacks, so HAT could be modified to FORCE the data stack to start at the boundary (...) (25 years ago, 28-Oct-99, to lugnet.robotics.rcx.pbforth)
   
        Re: Double echo —Sergey Udovenko
   Hi Ralph, (...) Means that we will have to waste memory a lot... Do you know how the standard LEGO firmware works? Does it allocate stack frame for each task or may be it's not an issue at all? (...) Yes, "4th" was always my favourite. Only question (...) (25 years ago, 28-Oct-99, to lugnet.robotics.rcx.pbforth)
   
        RE: Double echo —Ralph Hempel
   (...) There are no "tasks really, just a big loop that executes a bunch of opcodes...I'm paraphrasing here. The memory waste issue isn't that big a deal. The average distance to a boundary is 128 bytes, right. Say we allocate a 32 element data stack (...) (25 years ago, 28-Oct-99, to lugnet.robotics.rcx.pbforth)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR