home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / sci / electron / 22442 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  4.5 KB

  1. Path: sparky!uunet!gatech!paladin.american.edu!howland.reston.ans.net!spool.mu.edu!uwm.edu!ogicse!verdix!bit!thomas
  2. From: thomas@bit.UUCP (Thomas Walter)
  3. Newsgroups: sci.electronics
  4. Subject: BASIC code the 8052 (summary of sources)
  5. Keywords: BASIC Microcontroller 8052 Intel
  6. Message-ID: <548@bit.UUCP>
  7. Date: 11 Jan 93 20:10:17 GMT
  8. Article-I.D.: bit.548
  9. Organization: BIT, Portland, OR
  10. Lines: 100
  11.  
  12.  
  13. Summary of BASIC for the 8052 family:
  14.  
  15. It looks like I have hit a nerve with my question on the BASIC 
  16. for the 8052. I hope the following covers all the questions I
  17. received, as there were quite a few.
  18.  
  19. BASIC for the 8052:
  20.  
  21. You can buy BASIC rommed into a 8052 from Intel, MicroMint, and others;
  22. but it can also reside in an EPROM and be run by a plain 8032, if you wish.
  23. Advantage is it is cheaper, disadvantage being you can not program EPROMS
  24. to save your code, like you can with the ROMMED verion.
  25.  
  26. Intel put out a manual titled "MCS BASIC-52 User's Manual"  (# 270010-003).
  27. You need this reference to understand what it going on. It is available from
  28. Micromint for $15.00.
  29.  
  30. SOURCE of SOFTWARE:
  31.  
  32. It *SEEMS* the INTEL BASIC source code was placed in public domain. I 
  33. recieved different stories on this, so if you are using it in a NON COMMERCIAL 
  34. manner there is no problem. If you are using is for a COMMERCIAL purpose, 
  35. contact the supplier to make sure of the status.
  36.  
  37. You can download the SOURCE code for it from INTEL's BBS in Chandler, AZ. 
  38. (I do have have the phone number). The source code is written for Intel ASM51 
  39. and will not assemble under other assemblers without work.
  40.  
  41. If you need a copy of the HEX code, or ASM-51 assembly code, I do have
  42. copies that I can send by email. There is the full version for 8032;
  43. and a "stripped down" version for the 8031. Please specify which.
  44.  
  45. Circuit Cellar BBS (203) 871-1988 1200/2400 baud [8 bits/1 stop/No parity]
  46. had it posted in their message area at one time, but not sure of its current
  47. status. Since they sell their own version of the chip, they may have deleted
  48. the posted source code.
  49.  
  50. Signetics (800-451-6644) has posted a couple of versions of BASIC (Forth,
  51. too) and a Tiny basic version, and some monitor programs. Nice of them to
  52. supply an 1-800 number, but they request that all calls are related to
  53. their products (reasonable request, since they are paying for our calls!).
  54.  
  55. Ok, if you are really stuck and would like an EPROM with BASIC already in
  56. it - I'll send you a copy; read my note below at the end of this posting.
  57.  
  58. BOARDS:
  59.  
  60. I built my own, using a 8032; rommed BASIC code; 8K RAM (BASIC won't come
  61. up UNLESS at least 1K of RAM is present); MAX232 (rs-232 chip). I use a
  62. RS232 cable hooked up to my IBM-PC, running a communication, program to 
  63. "talk" to the microcontroller. I use a Micromint "BCC-52" board for my 
  64. initial development, as it has the "eprom burner" to save my code, which 
  65. I then use on my "homebrew" board.
  66.  
  67. Micromint (203) 871-6170 [order line # 1-800-635-3355] suplies a BASIC-52
  68. computer/controller in a couple of different flavors: assembled and tested
  69. BCC-52    Basic controller w 8K Ram        $189.00/quan 1.
  70. BCC-52C      low power CMOS version        $199.00/  "
  71. BCC-52CX  Cmos, expanded BCC52 with 32K ram    $259.00/  "
  72.  
  73. I know the BCC52 is available in kit form from Circuit Cellar. Their number is
  74. (203) 875-2751 {save a nickel: call the Micromint toll free number to order
  75. the kit... used to be the same person answering}.
  76.  
  77. OTHER NOTES:
  78.  
  79. Yes, this is an easy and simple way of getting those tasks into EPROM
  80. without using assembly. There are some neat tricks to jump between the
  81. BASIC and assembly code; to maximize the speed of tight loops and provide
  82. the overhead code in BASIC.
  83.  
  84. A good source of information about the 8031 family, and BASIC, can be
  85. found in Ed Nisley's "Firmware furnace" column in Circuit Cellar Ink.
  86.  
  87. Cheers,
  88.  
  89. Thomas Walter                    bit!thomas@cse.ogi.edu
  90. Beaverton, OR.
  91.  
  92. P.S. for those lacking a EPROM burner, and would like BASIC in eprom:
  93. Do the following:
  94.  
  95.         Wrote a note reminding me that you want a 8032BASIC Eprom,
  96.        or I might just mail back some old Datsun Roadster part :-)
  97.  
  98.     Find a mailing box that is approximately 3" x 5" x 2" deep (or
  99.                     up to 6" x 10" x 3" deep)
  100.  
  101.     Label it with YOUR address, and place $2.00 worth of postage on it.
  102.  
  103.         Wrap your mailing box, using a brown paper bag, and mail it to:
  104.  
  105.         Thomas Walter
  106.         13335 S.W. Havencrest
  107.         Beaverton, OR.  97005
  108.  
  109.     I'll program a EPROM (either a 27128 or a 27256) with the code
  110.     and mail it back to you. Yep, I'll even supply the EPROM as a 
  111.     New Year's present to you!
  112.