Remote-processing RPC-2350 Bedienungsanleitung Seite 28

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 83
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 27
DATA MEMORY CHAPTER 5
5-2
Figure 5-2 2350 system memory map
Figure 5-3 Flash memory map
Program s and CAMBASIC variables reside in segment
0, between address 00000H and 0FFFFH . Your
variables (as defined a bove) ar e stored fr om 10000H to
1FFF FH (with 128K RAM), which is called segment 1,
address 0000H to FF FFH. When 512K RAM is
installed, the useful range is from 10000H to 7FFFFH.
A segment has an address range from 0000 to FFFFH
(or &0000 to &F FFF using C AM BASIC notation) (in
decimal terms, this is 0 to 65535).
NOTE: Do not use the CAM BASIC SOU ND statement
when the board has 512K of RAM or Flash
memory. Sound output is multiplexed with an
address line.
Program and basic variables (A, B(15), C $, etc. ) always
reside in segment 0 and are cleared on reset. A special
set of variables, A% - Z%, reside is segment 0 and are
not cleared on reset. These are floating point numbers
and can be used like any other variable in Basic.
Variables you peek and poke to should reside in segment
1 with 128K RAM installed or segments 1-7 with 512K.
PEEK and POKE commands store and retrieve values
from memory. For example:
20 POKE 12,A,1
puts the value of A into segment 1, address 12. U se the
PEEK statement to retrieve the variable:
50 B = PEEK(12,1)
You can store and retrieve arrays, strings, and variables
in this way. There ar e many variations of PEE K and
POKE statements. Refer to the CAMBA SIC
Programming Manual for additional information and
examples. A list of comm ands appea rs at the end of this
chapter.
Flash Memory
Programs are stored in Flash EPROM. Programs are
transferred from Flash to RAM at run time or LOAD.
Data may also be stored in Flash. Below shows the
Flash memor y map.
A 128K or 512K Flash type EP ROM may be installed in
U3. Jumper W2 configures U3 for Flash size.
Data may be stored above the program in Flash using the
SAVE comm and. The SAVE comma nd transfers data
from RAM to Flash. Fonts for the RPC-2350G are
stored in Flash above program 1 starting at F lash address
&1AC00 (this is segment 9, address &AC 00 when using
SAVE). This will not interfere with your program but
will affect any data storage plans you may have.
Seitenansicht 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 82 83

Kommentare zu diesen Handbüchern

Keine Kommentare