To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 8554
    Re: 0x8000 and main() —Dan Gates
   John, I think it lies in the Pcode, in other words if the pcode sets the 0x8000 to 1 then any program loaded that has main() in it will auto run at startup. If the pcode does NOT set 0x8000 to 1 then no matter what you have loaded as a program it (...) (22 years ago, 3-Jan-02, to lugnet.robotics.handyboard)
   
        Re: 0x8000 and main() —Fred G. Martin
   I don't think this is quite it -- IC sets the byte if there's a main fcn. It also sets up some code so that main fcn gets run. Fred (...) (22 years ago, 3-Jan-02, to lugnet.robotics.handyboard)
   
        Re: 0x8000 and main() —John R. McDaniel
   Fred and Dan, For some reason, I'm apparently having trouble explaining my findings, doing something wrong -- or not understanding what Fred is telling me. Now that my HB runs " main() " functions just fine upon powerup reset, I did my experiment on (...) (22 years ago, 5-Jan-02, to lugnet.robotics.handyboard)
   
        Re: 0x8000 and main() —John R. McDaniel
   Fred, Dan, and Chuck, Thanks to an email from Chuck McManis (thanks, Chuck), I now have a better understanding of what's going on with respect to the main() function and memory location 0x8000. Chuck asked me if the main() function is executed after (...) (22 years ago, 6-Jan-02, to lugnet.robotics.handyboard)
 

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