Remote Processing RPC-210 User Manual
Page 18
SAVING CODE AND DATA
BASIC
SECTION 3
Page 3-5
RPBASIC-52 Programm ing manual differences
The limits for the commands listed below are different
than shown in the RPBA SIC-52 m anual.
Command
RPBAS IC-52
manual
RPC-210
PEEK B
segment = 0 to 7
segment = 0 to 15
PEEK F
segment = 0 to 7
segment = 0 to 15
PEEK W
segment = 0 to 7
segment = 0 to 15
PEEK $
segment = 0 to 7
segment = 0 to 15
The ma in difference is PE EK type com mands access
segments from 0 to 15 instead of 0 to 7. segments 8-15
are from F lash EPROM . D ata is saved to Flash using
BSAVE. See LOA D_SAV .BAS for access exam ples.
POKE type commands only write to RAM.
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.
APPLICATION PROGRAMS
The following program s are in the BASIC52 directory.
F i le N a me
Description
ARRAYS.BAS
Program fragment to store and
read mixed data types from
R A M .
LOAD_SAV.BAS
Uses BLOAD /BSAVE for
Flash access, PEEK/ POKE
commands for data access. See
NOT E about future versions of
BSAVE com mand.
EXEC1.BAS thru
EXEC7.BAS
7 programs show how one
program calls another
randomly.
EXECCLR.BAS
Clears counters used by
EXEC x.BAS.
HEXLOAD.BAS
Receives Intel HEX file and
stores data into segme nt 1
R A M .
VERIFYRP.BAS
Verifies that RPBASIC-52 sent
to RAM segment 1 = Flash
E P R OM .