Addresses
49152-65535:
14K
ROM
and
2K 1/0
Locations 49152 through 59391 and locations 61440 through 65535 com-
prise the BASIC interpreter and
OS
diagnostics.
Memo~y-mapped
lia locations
are from 59392 through 61439.
49152,....---
......
BASIC
10K
59392
t-----t
61440
1--------1
OS
4K
65535
'----
.......
Location 65535
is
the end of
PET
memory.
MEMORY
MAP
The detailed PET memory map is shown
in
Table
6-2.
The table shows the memory address in decimal and hexadecimal. The
decimal value
is
the
PEEK/POKE
address
(0
to 65535).
A sampie value in decimal and its hexadecimal equivalent are also given.
With
the exception of pointers, these sample values are typical of
what
you
might
see
if you
PEEKed
at the location; these are ail byte values, in the range 0 to 255
(0-FF16).
A pointer
is
a
two-byte
address.
in
the range 0 to
65535
(0-
FFFF161. that
is
stored
in
the PET
in
low-byte.
high-byte order.
Ail
two-byte
locations in the table contain values stored in low-high order. Consider the first
su
ch location in the table:
Memory Address
Sample Value
Description
Decimal Hexadecimal Decimal Hexadecimal
1-2 0001-0002
826
033A
User address
jump
vector
If you
PEEKed
at these locations. the
16-bit
address
would
be
presented in
two
parts, first the low-order byte:
?PEEK(1)
58
and then the high-order byte:
?PEEK(2)
3
308