Article 56865 of sci.electronics: Newsgroups: sci.electronics Path: earth.armory.com!nic.scruz.net!darkstar.UCSC.EDU!news.hal.COM!olivea!news.bu.edu!att-in!nntpa!bigtop!drutx!dlk From: dlk@drutx.att.com (131A40000-KarmannDL(DR9147)211) Subject: Re: BASIC31 (--more--) Message-ID: <CozEK0.382@bigtop.dr.att.com> Summary: BASIC31, BASIC-52 info Keywords: 8031, 8051, basic, hex, intel, frogspawn, microcontrollers Sender: news@bigtop.dr.att.com (Netnews Administration Login) Organization: AT&T References: <2pholc$t2k@mtecv2.mty.itesm.mx> <2pki6u$mqn@newsworthy.West.Sun.COM> Date: Thu, 28 Apr 1994 18:12:00 GMT Lines: 44 In article <2pki6u$mqn@newsworthy.West.Sun.COM>, gaijin@ale.Japan.Sun.COM (John Little - Nihon Sun Repair Depot) writes: > > Yesterday I burned the basic31 code into a 2764 and plugged it > into my system. > > Nothing. Nada. Zilch. > > I didn't have time to mess around, this was just a quick and > dirty check after seeing your article, so it could be that I'm > missing something very simple (like a requirement for external > RAM to start at 2000, or something similar), but the only > documentation in the "zip" file I used yesterday was a brief > listing of changes to get the code working on an 8031 instead > of an 8051. Maybe there's a more complete set of docs somewhere > for this version? > > ------------------------------------------------------------------------ > | John Little - gaijin@Japan.Sun.COM - Sun Microsystems. Atsugi, Japan | > ------------------------------------------------------------------------ I am the author of this port of BASIC52 to the 8031/8051 core processors and as I see these questions fairly regularly, I will try again to provide the common answers to this question. BASIC31 must be configured the same way as Intel's BASIC-52. That is, it requires at least 1K of RAM in external RAM space (not overlapped with code space) starting at address 0000h. BASIC31 itself must be installed in an EPROM which is located at address 0000h in the code space. The most common crystal frequency to use is 11.0592 Mhz as that allows it to autobaud to all of the standard baud rates up to 57.6kbs (not including 38.4kbs). To communicate with BASIC31, you need an RS232/TTL device (MAX232) connected to the standard 8031 serial RX/TX pins. BASIC31 starts by waiting for a space character (20h) to be received on its serial port. It uses this character to autobaud to your terminal's baud rate. To really use BASIC31, you need the BASIC-52 manual from either Intel or Systronix. The Intel manual may not be available anymore, but the Systronix manual is available from Systronix,Inc (801-534-1017 $20) or Micromint, Inc (800-635-3355 or 203-871-6170 $15) Dan Karmann dlk@dr.att.com (303) 538-4075
fred1144