Basic command changes sectio n 15 – Remote Processing RPC-210 User Manual

Page 57

Advertising
background image

BASIC COMMAND CHANGES

SECTIO N 15

Page 15-1

Some commands listed in “RPBASIC-52 Software
Manual” have different syntax or limits on the RPC-210.
Differences are listed below.

BASIC COMMAND CHANGES

SECT ION 15

PEEKB, PEEKW , PE EKF, and PEEK$

segment limit is 0 - 15. The limit 0-7 applied to RAM
access only. Segments 8-15 access the Flash EPROM.
Thus, you can P EEK from both RAM and Fla sh. D ata is
saved to Flash using the BSAVE command. See
SAV_LOD .BAS in the BASIC52 directory for an
example of how these comma nds are used.

LINEB function and comm and

There is no i/o bank. It is sim ply left out.

The operating system tick time is 10 milli-seconds
instead of 5. TIC K functions will return time to that
resolution.

Multi-tasking I/O statements such as ON LINE and ON
COU NT scan lines every 10 mSec instead of every 5
mSec.

LINE function and comm and are from 100 to 123.
There is no line 0-9.

ON COUNT and ON LINE do not allow line number 0-
7.

ONITR works in conjunction with COM1 por t. You
cannot use ONITR and C OM1 functions (ON C OM$,
PRIN T #1, COM (1), ect. )

CON FIG L INE 0 is not valid. CON FIG L INE 100 is.

CON FIG D ISPLAY types 0 and 1 are valid.

KEY PAD (0) retur ns a key pr ess from 1 to 16, not 1 to
24.

IDLE has two variations.
IDLE or ID LE 0 suspends program execution until an
ON interrupt condition is met. T he interrupt can be
hardware (ONITR 0) or software (ON KEYPAD, ON
LINE, ect.).

IDLE 1 saves about 50 mA of power by shutting down
the CP U. Exit this mo de by sending a chara cter to
C O M 0 o r c a us in g an in te r r up t o n IN T 0 . S om e
declara tion of an inter rupt m ust have been previous ly
declared (such as CON FIG BAU D 1 or ON ITR 0)

before INT 0 is enabled.

NOTE: Futur e version (Per haps starting in 2012) will

have an enhanded BSAVE com mand. The
newer BSA VE com mand will have an erase
flash sector capability. Contact R emote
Processing for mor e information.

Manual chan ges:
Feb 23, 2011

Added notes about Flash and BSAVE changes
starting about 2012.

March 3, 2011

Changed som e drawings to pictur es.

Advertising