Sharp MZ-700 Series Owner's Manual page 129

Personal computer
Hide thumbs Also See for MZ-700 Series:
Table of Contents

Advertisement

• When the reset switch is pressed together with the 1 CTRL 1 key, addresses $0000 to $ 0 F F F and
from SDOOO to $ F F F F are assigned to RAM.
• When the # command is entered after the reset switch has been pressed, the computer operates in
the same manner as after the reset switch has been pressed together with the I CTRL | key.
4.2.5 Bank switching
a) Memory blocks can be selected by outputting data to I/O ports as shown below.
SWITCHING
I/O PORT
$ E0
$ 0 0 0 0 ~ $ 0 F F F
SYSTEM AREA (D-RAM)
$ D 0 0 0 ~ $ F F F F
S E l
S E 2
MONITOR (ROM)
SYSTEM AREA (D-RAM)
S E 3
^
^
V-RAM, KEY, TIMER
S E 4
MONITOR (ROM)
V-RAM, KEY, TIMER
S E 5
_ _
Inhibit
S E 6
Return to the front of
condition, where being
inhibitted by $ E5.
Note: Outputting data to I/O port $E4 performs the same function as pressing the reset switch.
b) Examples:
OUT ($E0), A
Assigns addresses $0000 to $ 0 F F F to RAM, but does not change execution address. The contents
of variable A do not affect the result.
OUT ($E4), A
Initializes memory to the state immediately after the power has been turned on.
Note: Since the program counter is not moved by the OUT statement, care must be taken when switch-
ing memory blocks if the program counter is located in the area from $0000 to $ 0 F F F or from
SDOOO t o $ F F F F .
127-

Advertisement

Table of Contents
loading

Table of Contents