PicPuter

  Home
  Products
  Contact

Using

  Download
  Manual
  Examples
  UserGroup

Development

  Revision
  Future
  Bugs

Other

  DLHexRec
  Modd Audio
  Veracity
  DSP
  Blinky

Miscellaneous

  Links
  Search
  Obsolete
  Site Design
  Disclaimer

 
.
PicPuter 2.0 : Chapter 2 : Entering Your Program

There are serveral methods to enter a program in PicPuter. Just about any os and hardware can be used. Only a serial port and a terminal program are required.

One way is to type the statements directly into picputer using a serial port and terminal program. PicPuter contains a simple easy to use line editor. Simply preceed a basic statement with a line number and it will be stored in nonvolitile flash ram. Any line number entered without a statement will delete that line. Any statement entered without a line number gets executed but not stored.

Another method is to use and text editor to create a PicPuter basic file. You can then use a terminal program with a 'send text file' option to send the entire file. You can also ^C cut ^V paste your program to PicPuter. Using this method allows for code to be commented. The semicolin ; is treated as an end of line marker, so comments are not stored inside of the microcontroller. This methods require that the serial port RTS/CTS signals are properly wired.

A possible future methods would be to use a pc to preprocess a file into picputer basic. This would allow for lables instead of line numbers, extended string lengths, and I could get partial compatablity with PBasic code if a custom IRQ vector is also used. But its really not on my list of things to do.


[ index | memory | math | statements | variables | registers | assembler ]

This webpage is © Copyright 2001,2002,2003 by Todd Modjeski - All Rights Reserved - built Mon Jan 26 22:48:30 2004