home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / robotics / 2693 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  2.1 KB

  1. Path: sparky!uunet!ogicse!news.u.washington.edu!uw-beaver!micro-heart-of-gold.mit.edu!news.media.mit.edu!fredm
  2. From: fredm@media.mit.edu (Fred G Martin)
  3. Newsgroups: comp.robotics
  4. Subject: Re: Various C compilers for 6270 & Miniboard
  5. Message-ID: <1992Dec20.063611.27522@news.media.mit.edu>
  6. Date: 20 Dec 92 06:36:11 GMT
  7. Article-I.D.: news.1992Dec20.063611.27522
  8. References: <1gqbovINNpqd@male.EBay.Sun.COM> <BzF1nI.z0@world.std.com> <lj4lnkINN2dh@exodus.Eng.Sun.COM>
  9. Sender: news@news.media.mit.edu (USENET News System)
  10. Distribution: usa
  11. Organization: MIT Media Laboratory
  12. Lines: 35
  13.  
  14. >In article <BzF1nI.z0@world.std.com> gkulosa@world.std.com (Greg A
  15. >Kulosa) writes: 
  16. >>Interactive-C (IC) works by first downloading a 'pseudo-code'
  17. >>interpreter to the 6.270 board.  I believe that this interpreter
  18. >>(which is written in 68HC11 assembler) is about 10K.  This is
  19. >>obviously way too big for the internal memory of the 68HC11 used in
  20. >>the Miniboard design.  Then, you would also download your code
  21. >>produced by IC.  Since the Miniboard has no capability to add external
  22. >>memory, you can't use IC with it.
  23. >
  24. In article <lj4lnkINN2dh@exodus.Eng.Sun.COM>
  25. cmcmanis@pepper.Eng.Sun.COM (Chuck McManis) asks:
  26.  
  27. >Ok, would it be possible to load the interpreter into EPROM (the
  28. >miniboard does take a variant with 12K eprom. And then run your
  29. >programs out of the EEPROM ? 
  30.  
  31. There are a couple reasons why this would be hard.  First is that the
  32. pcode program uses some self-modifying code, which would be
  33. problematic for obvious reasons if running out of any type of ROM.
  34. These sections could be recoded either to not use self-modifying
  35. techniques, or to copy themselves into a known RAM area.  (It would be
  36. nice for this to be done anyway so that IC could be used to develop
  37. real ROM-based applications.)
  38.  
  39. The second thing is that the 12K EPROM version of the 6811 has only
  40. 512 bytes of EEPROM.  This isn't really enough to do much of anything
  41. in terms of being a main code space area.
  42.  
  43. Perhaps if someone wrote a sub-set of the pcode program, say about
  44. 500 to 700 bytes long, and then modified the host side of IC to
  45. compile for this subset, the approach would be workable.  
  46.  
  47.  
  48.     - Fred
  49.