Prices
| Support
See
Also Bascom-Avr
This
product is only available via a web download. Latest Version is the only
one supplied
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.
A special
Student price is available, however proof of Student status must be provided
by a fax or scan of your Student ID Card or an appropriate email address.
To
be notified by email of future File updates, you can now register your
Software with MSC at http://register.mcselec.com/login.php
You
will find your Software Serial Number for product registration in the "About
Box" of the product.
Statements
are 99% compatible with Microsoft’s Qbasic.
BASCOM-8051
Book Introduction to microcontroller programming using BASCOM.
BASCOM-8051©
is a Windows BASIC COMPILER for the 8051 family. Has full support
for arrays and the single floating point type.
http://www.mcselec.com/index.php?option=com_docman&task=cat_view&gid=99&Itemid=54
to keep an eye on the latest files.
http://www.mcselec.com/index.php?option=com_content&task=section&id=7&Itemid=57
for the latest application notes in PDF format.
There
is now a BASCOM mail server active.
http://www.mcselec.com/index2.php?option=com_forum&Itemid=59
If
you have a Technical question about this product prior to purchase and
direct it to Dontronics, we may have to pass it on to the Software Author
for comment, or you can simply join the Bascom mail server where the Author
or one of the group will answer your questions for the benefit of all.
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
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.
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.
The
program, documentation and samples are in English.
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 Software Author. You will find his email address on this page.
User
Feedback
Both
the Software Author and Dontronics are very interested in your 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.
Check
User
Group for more details
> >
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
Support
Join
the BASCOM listserver :
http://www.mcselec.com/index2.php?option=com_forum&Itemid=59
If
you have a Technical question about this product prior to purchase and
direct it to Dontronics, we may have to pass it on to the Software Author
for comment, or you can simply join the Bascom mail server where the Author
or one of the group will answer your questions for the benefit of all.
This
product is from:
http://www.mcselec.com
Email:
Mark Alberts
mark
AT mcselec.com
Back
To Top