Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] ZBasic

2006-02-26 by Mike Perks

Ian Drennan wrote:

> stevech wrote:
> >
> > Though I'm an old fool C and ASM coder, I just gave "ZBasic" a try. 
> This is
> > a virtual machine running in an AtMega32 that interprets bytecodes 
> generated
> > by a compiler that's much like Visual Basic. Library supports ints, 
> longs,
> > singles and all the AVR I/O devices. Pretty neat. The bytecodes go 
> into a
> > 32K or bigger fast serial EEPROM.
> >
> > Runs pretty fast and has very high code density. Compiler and IDE 
> are good.
> > Takes 1-2 seconds to download a few hundred bytecodes and run; just 
> edit,
> > hit F5 and it's running. Serial port interface.
> >
> > You have to buy his chip or PC board (24 pin DIP).
> >
> > I don't work for this outfit:
> >
> > http://www.zbasic.net/forum/
> > http://www.zbasic.net
> >
>
> I was wondering if the ZX-40 could be plugged into my STK500 for
> development using the Z-Basic IDE. Anyone here tried this?


This is not the same kind of architecture as say Bascom for example. 
Your Basic program gets compiled into an intermediate language form 
which is downloaded to a SPI EEPROM. The virtual machine inside the 
ATmega32 then interprets the program. I have written an introduction to 
ZBasic system which explains its architecture and compares it to other 
systems. See my articles page: 
http://home.austin.rr.com/perks/micros/Articles/

The advantage of this system is that is it very quick for prototyping 
and supports a huge function library. Many people also use this chip 
(and its predecessor BasicX) in production systems as well. See my 
website for articles and projects for AVRs, ZBasic and BasicX.

Mike
http://home.austin.rr.com/perks/micros/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.