To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 7456
  RCX Firmware and SP
 
Hi All, After a very frustrating weekend of fiddling with pbFORTH, I caved and asked Kekoa to help with a problem I was having with read_sensor() and pbFORTH. The problem we (mostly he) unearthed has to do with the SP and RCX firmware routines, so I (...) (25 years ago, 17-Oct-99, to lugnet.robotics, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.pbforth)
 
  Re: RCX Firmware and SP
 
(...) [...] Hi Ralph, Could you please explain more about consequences for pbFORTH user? As far as I can see, pbFORTH uses fixed 256-byte stack - does it mean that pbFORTH suffers from this problem too? Thanks Sergey Udovenko (25 years ago, 19-Oct-99, to lugnet.robotics.rcx.pbforth)
 
  RE: RCX Firmware and SP
 
(...) Unfortunately, yes. The current version of pbFORTH allocates a 256 byte stack, but it's JUST above a 256 byte boundary. When you run the test code, everything works, but if your stack depth is around 12 and you run SENSOR_READ, it allocates (...) (25 years ago, 19-Oct-99, to lugnet.robotics.rcx.pbforth)

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