home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilsp / rink010 / Docs / Demo < prev    next >
Encoding:
Text File  |  1995-06-25  |  1006 b   |  26 lines

  1.  
  2. Notes on the demo program supplied
  3. rink documentation, (c) Ben Summers 1995
  4.  
  5.  
  6. The demo program is a simple program written in C which loads two segments
  7. and calls some functions in them. It shows how data and functions in the main
  8. program can be accessed by the segments.
  9.  
  10. You require Acorn C v5 to make this program. Ensure you've installed rink,
  11. copy the demo directory out of the archive and double click on !Make within
  12. it. It should refuse to run if you attempt to run it from the distribution
  13. archive. The language tools cc, link and amu are required to make the demo
  14. program.
  15.  
  16. The variable C$Path should be set up to include the directory which contains
  17. o.stubs - the !Boot program installed by Acorn C should set this up for you.
  18.  
  19. Once it has been made without error, double click !Run to run it.
  20.  
  21.  
  22. The demonstration program caches pointers to functions in the segments in a
  23. common structure. This is the recommended method, although you could also
  24. call a function using rink_fn suitably casted.
  25.  
  26.