Home Products Prices Directory Order Contact New Books Files Links Other
DonTronics Home PageBASCOM-8051 W9x/NT 8051-BASIC Compiler
Bottom of Page
 Statements are 99% compatible with Microsoft’s Qbasic.

Before you go hitting the button below, please read email.html, and the use of email aliases.
Order BASCOM-8051 Compiler ~$69USD
As we can only charge in Australian Dollars  (AUD), check The Universal Currency Converter for the current exchange rate to calculate the cost in AUD,  then round this  up to the nearest Australian Dollar. This is the price you will be charged on your credit card.

BASCOM-8051© is a Windows BASIC COMPILER for the 8051 family.
It is designed to run on W9x/NT and has all the features of BASCOM LT.
In addition it has full support for arrays and the single floating point type.
Last Update: 6-May-1999
 
Order BASCOM-8051 Compiler Upgrade ~$20USD
There is now a BASCOM mail server active.
The following URL explains how to JOIN and LEAVE.
http://www.ip.co.za/people/kalle/lists/bascom.htm
Customer Questions:

If you have a technical question about this product prior to purchase, and direct it at DonTronics, we may have to pass it on to the Author for comment, or you can simply join the Bascom mail server, where the Author, or one of the group, will answer your question for the benefit of all.
 
Check out my little brother: BASCOMLT
 
Check out my cousin: BASCOM-AVR
MCS Electronics Home Page
Mailto: mark@mcselec.com
 
 

  

BASCOM-8051

BASCOM-8051© is a Windows BASIC COMPILER for the 8051 family. 
It is designed to run on W95/NT and has all the features of BASCOM LT. 
In addition it has full support for arrays and the single floating point type. 

Key Benefits

 
Structured BASIC with labels.
Structured programming with IF-THEN-ELSE-END IF, DO-LOOP, WHILE-WEND, SELECT- CASE.
Fast machine code instead of interpreted code.
Variables and labels can be as long as 32 characters.
Bit, Byte, Integer, Word, Long, Single and String variables.
Compiled programs work with any 8051 uP such as AT89C1051, AT89C2051, 8031, 8032, 8051, 8052, 80552, 80535 and 80537 m Processors.
Statements are highly compatible with Microsoft’s VB/QB.
Special commands for LCD-displays , I2C chips and 1WIRE chips.
Integrated terminal emulator with download option..
Integrated simulator for testing.
Integrated flash programmer and support for SPI, PG2051, PG302, SE512, SE514, TAFE. (hardware can be purchased separately)
Editor with statement highlighting.
Context sensitive help. 
For compatibility with BASCOM LT, there is also a 32-bit version of the BASCOM LT compiler.

The following statements are supported :

Decision and structures 
IF, THEN, ELSE, ELSEIF, END IF, DO, LOOP, WHILE, WEND, UNTIL, EXIT DO, EXIT WHILE, FOR, NEXT, TO, DOWNTO, STEP, EXIT FOR, ON .. GOTO/GOSUB, SELECT, CASE. 

Input and output 
PRINT, INPUT, INKEY, PRINTHEX, INPUTHEX, LCD, UPPERLINE, LOWERLINE,DISPLAY ON/OFF, CURSOR ON/OFF/BLINK/NOBLINK, HOME, LOCATE, SHIFTLCD LEFT/RIGHT, SHIFTCURSOR LEFT/RIGHT, CLS, DEFLCDCHAR, WAITKEY, INPUTBIN, PRINTBIN, LCDHEX, OPEN, CLOSE, DEBOUNCE, SHIFTIN, SHIFTOUT. 

Numeric functions 
AND, OR, XOR, INC, DEC, MOD, NOT, ABS, BCD. 

I2C 
I2CSTART, I2CSTOP, I2CWBYTE, I2CRBYTE, I2CSEND and I2CRECEIVE. 

1WIRE 
1WWRITE, 1WREAD, 1WRESET. 

SPI 
SPIINIT, SPIIN, SPIOUT. 

Interrupt programming 
ON INT0/INT1/TIMER0/TIMER1/SERIAL, RETURN, ENABLE, DISABLE, PRIORITY SET/RESET, COUNTERx, CAPTUREx, INTERRUPTS, CONFIG, START, LOAD. 

Bit manipulation 
SET, RESET, ROTATE, BITWAIT. 

Variables 
DIM, BIT , BYTE , INTEGER , WORD, LONG, SINGLE, STRING , DEFBIT, DEFBYTE, DEFINT, DEFWORD. 

Miscellaneous 
REM, ' , SWAP, END, STOP, CONST, DELAY, WAIT, WAITMS, GOTO, GOSUB, POWERDOWN, IDLE, DECLARE, CALL, SUB, END SUB, MAKEDEC, MAKEBCD, INP,OUT, ALIAS, DIM , ERASE, DATA, READ, RESTORE, INCR, DECR, PEEK, POKE, CPEEK, GETRC5. 

Compiler directives 
$INCLUDE, $NOINIT, $BAUD and $CRYSTAL, $OBJ, $SERIALINPUT, $SERIALOUTPUT, $ROMSTART, $RAMSIZE, $RAMSTART, $MONSTART, $IRAMSTART, $DEFAULT XRAM, $ASM-$END ASM, $LCD. 

String manipulation 
STRING, SPACE, LEFT, RIGHT, MID, VAL, HEXVAL, LEN, STR, HEX 

To make a program takes just a few steps :

 
Write the program in BASIC
Compile it to fast machine binary code
Test the result with the integrated simulator(with additional hardware you can simulate the hardware too)
Program the chip with one of the integrated programmers. 
(hardware must be purchased separately)

The program can be written in a comfortable MDI color coded editor. 
Besides the normal editing features, the editor supports Undo, Redo, Bookmarks and block indention. 

 

The simulator let you test your program before writing it to the uP. 
You can watch variables, step through the program one line at the time or run to a specific line, 
or you can alter variables. 
To watch a variables value you can also point the mousecursor over it. 

 

A powerful feature is the hardware emulator, to emulate the LCD display, and the ports. 
The LCD emulator also emulates custom build LCD characters! 

 

When you are done with the simulator it is time to program the chip using one of the supported programmer drivers. 

 

Join the BASCOM listserver :
http://www.ip.co.za/people/kalle/lists/bascom.htm

The program, documentation and samples are in English.
 
Order BASCOM-8051 Compiler ~$69USD
As we can only charge in Australian Dollars  (AUD), check The Universal Currency Converter for the current exchange rate to calculate the cost in AUD,  then round this  up to the nearest Australian Dollar. This is the price you will be charged on your credit card.

Product Distribution and Support:
This product is distributed on the Internet using a download invoked by the customer. There isn't a printed manual, and all support is done via the original Author. You will find his E-mail address on this page.
You must send me your E-Mail address with the order, as this is the only method of distribution of this product

User Feedback:
Both the Author and DonTronics are very interested in User feedback on this product, and we seek permission to post your messages on this page.



Customer Q&A 29-Apr-1999

You can also direct your questions to the BASCOM mail server.
The following URL explains how to JOIN and LEAVE.
http://www.ip.co.za/people/kalle/lists/bascom.htm

> > Could you please answer these questions about
> > BASCOM-8051?
> >
> > 1. Does it support 2 serial ports on those chips
> > that have them?

Yes, it does for the 80537 and 80517, I don't know about other chips that have 2 UARTS but I am sure there will be other chips too. For these chips it will probably don't work because every manufactor use other SFR's.

> > 2. Is the code size smaller than that generated by
> > BXC-51?

I don't have the BXC-51 but you can do some tests with the demo version.

> > 3. Can you do bit manipulation of memory mapped
> > address space content?

I don't understand this question. But you can declare BIT variables that will reside in internal memory. You can declare external(memory) variables and manipulate the individual bits with : SET var.1 and RESET var.31 for example.

> > 4. Can you have assembly language routines in the
> > code?

Yes, as long as it uses the Intel specifications. There is an example in the helpfile. Just look under the ASM programming
section.

Best regards,
Mark Alberts
MCS Electronics
 



10-Jul-99
> Before I buy...
> Simple question
> does bascom8051 share code and ram in same space or can it
> be seperate?
> I have a board already that separates eprom from ram
> 64k eprom 0000 to FFFF
> 8k ram 0000 to 3FFF
> Ray
> 0000-FFFF code (psen enabled)
> 0000-FFFF ram (use RD/WR)

It can be seperated with $ROMSTART and $RAMSTART directives.
You can test it with the 16-bit demo.
Best regards,
Mark Alberts
 
What's Really HOT at DonTronics? 
Don's Download Dungeon
 
Home Products Prices Directory Order Contact New Books Files Links Other
DonTronics Home Page

mailto: don@dontronics.com_
Copyright © 1996-99 Don ronics
 
 
Top of Page