The Great Cow Great Cow BASIC
An open-source BASIC compiler for Microchip® PIC® microcontrollers
About Great Cow BASIC
Home
Great Cow BASIC has been written with three main aims - to remove the need for repetitive assembly commands, to produce efficient code, and to make it easy to take code written for one PIC and run it on another. It hides many of the more confusing parts of PIC programming, making it suitable for beginners and those who don't like assembly.

The syntax of Great Cow BASIC is based on that of QBASIC/FreeBASIC, but with some alterations to suit the vastly different system that it compiles for. The assembly code produced by Great Cow BASIC can be assembled and run on almost all 10, 12, 16 and 18 series chips. Please see "Supported chips" for a list of chips that GCBASIC is intended to work with.

Don't take our word for GCBASIC being good - please download it yourself and give it a try!

Features
Simple, useful language:
  • Standard BASIC flow control statements - If, Select Case, Do, For, Goto
  • Support for multiply, divide, add, subtract, boolean operations and comparisons.
  • Bit, Byte, Word and String data types, in addition to byte arrays.
  • Subroutines and Functions
  • Inline assembly, in most cases without any special directives
  • Data tables
Portable, reusable code:
  • Supports most 8-bit PIC microcontrollers
  • Write code for a 10F, easily adapt it for an 18F!
  • Wait command, which gives the same length delay regardless of clock speed.
I/O capabilities:
  • Standard 2x16 LCD routines
  • Routines for on-chip A/D, PWM, SPI, EEPROM and Timers
  • RS232 communications - rates between 300 and 19200 bps with user configurable parity, start and stop bits.
  • PS/2 keyboard reading
  • 4x4 Keypad

Other features:
  • Ample support - help file, example programs, forum and email
  • Several translations
  • Generates standard MPASM compatible assembly code.
  • Free, both in the free beer way and the free speech way!

Contributors
Program Contributors:
Hugh Considine Main developer
Stefano Bonomi Two-wire LCD subroutines
Geordie Millar Swap and Swap4 subroutines
Finn Stokes 8-bit multiply routine, program memory access code
Translation Contributors:
Stefano Delfiore Italian
Pablo Curvelo Spanish
Murat Inceer Turkish
Other Contributors:
Russ Hensel Great Cow BASIC Notes
Are you interested in helping out?
The full installer of GCBASIC includes gputils. Please see http://gputils.sourceforge.net for more information about gputils and its authors.

Microchip® and PIC® are registered trademarks of Microchip Technology Incorporated, USA. Other trademarks are the property of their respective owners. This site is not associated with or endorsed by Microchip, or any other third party.

This site is hosted for free by SourceForge.net
SourceForge.net Logo