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 / 5397
5396  |  5398
Subject: 
Re: Interactive C Primitives
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Sun, 7 Feb 1999 13:38:45 GMT
Original-From: 
Fred G. Martin <(fredm@media.mit.edu)nomorespam()>
Viewed: 
818 times
  
these are documented in sec 5.10 of the hb tech ref.

the larger issue is knowing the places you are supposed to peek and
poke.  some of these are hardware specific (e.g, motor port); others
are software based/defined in the pcode implementation (e.g., system
time).

these are largely undocumented (esp the software ones) b/c they're not
an interface we wanted to expose to the user.

fred

In your message you said:
There are several IC primitives for which I cannot
find documentation nor source, such as:

poke, peek, pokeword, peekword, bit_set, bit_clear

These six are relatively simple to figure out by
context and familiarity with other languages, but
I find myself wondering what other primitives, and
what nuances or caveats I may be missing.

Can someone point me to documentation/source for
IC primitives not documented in the HB Tech Reference,
lib_hb.c or lib_hb.asm ... or at least a list of
what primitives are available.  Or possibly point
out that these primitives are documented in plain
sight and I'm just being dense.

All responses will be appreciated.
- - - Nick - - -




Message has 1 Reply:
  Re: Interactive C Primitives
 
[Fred G. Martin] spake unto the ether: (...) Security through obscurity is always a bad idea :-) I can agree that software data structures are not public, but all the hardware stuff should be documented, since it's not likely to move around. *Rich* (26 years ago, 7-Feb-99, to lugnet.robotics.handyboard)

Message is in Reply To:
  Interactive C Primitives
 
There are several IC primitives for which I cannot find documentation nor source, such as: poke, peek, pokeword, peekword, bit_set, bit_clear These six are relatively simple to figure out by context and familiarity with other languages, but I find (...) (26 years ago, 7-Feb-99, to lugnet.robotics.handyboard)

4 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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