Difference between revisions of "Apple II Machine Language Monitor"

From Computer History Wiki
Jump to: navigation, search
Line 3: Line 3:
 
The [[Apple II ROMs|Apple II's ROM]] contains a very simple program for the display, modification and execution of memory addresses.  Notably, the original Apple II starts up directly to the monitor, while later Apples would boot into [[Applesoft BASIC]].  All later models have an Autostart ROM, and start up into Applesoft BASIC.  An Autostart option is available with some expansions to the original Apple II and can start up into either Integer BASIC or Applesoft BASIC.
 
The [[Apple II ROMs|Apple II's ROM]] contains a very simple program for the display, modification and execution of memory addresses.  Notably, the original Apple II starts up directly to the monitor, while later Apples would boot into [[Applesoft BASIC]].  All later models have an Autostart ROM, and start up into Applesoft BASIC.  An Autostart option is available with some expansions to the original Apple II and can start up into either Integer BASIC or Applesoft BASIC.
  
Either way, if you're in BASIC, you access the monitor by running
+
== Entering and Exiting The Monitor ==
 +
 
 +
If you've got an original Apple II, you should already be in the monitor, if you have the * prompt.
 +
 
 +
Otherwise, from BASIC, you access the monitor by running:
  
 
<pre>
 
<pre>
Line 9: Line 13:
 
</pre>
 
</pre>
  
And you will get the Monitor prompt
+
And you will get the Monitor prompt:
  
 
<pre>
 
<pre>
Line 15: Line 19:
 
</pre>
 
</pre>
  
To exit back to BASIC, press Ctrl-C and return.  This preserves any BASIC statements in memory.
+
To exit back to BASIC, press Ctrl-C and return.  This preserves any BASIC statements in memory:
  
 
<pre>
 
<pre>
Line 37: Line 41:
 
12345
 
12345
 
</pre>
 
</pre>
 +
 +
== Displaying Memory ==
 +
 +
== Modifying Memory ==
 +
 +
== Executing Code ==
 +
 +
== Tape Save and Restore ==
  
 
{{Nav Apple}}
 
{{Nav Apple}}

Revision as of 00:27, 20 May 2007

This article concerns the memory manipulation program in ROM of the Apple II family, not display devices.

The Apple II's ROM contains a very simple program for the display, modification and execution of memory addresses. Notably, the original Apple II starts up directly to the monitor, while later Apples would boot into Applesoft BASIC. All later models have an Autostart ROM, and start up into Applesoft BASIC. An Autostart option is available with some expansions to the original Apple II and can start up into either Integer BASIC or Applesoft BASIC.

Entering and Exiting The Monitor

If you've got an original Apple II, you should already be in the monitor, if you have the * prompt.

Otherwise, from BASIC, you access the monitor by running:

] CALL -151

And you will get the Monitor prompt:

*

To exit back to BASIC, press Ctrl-C and return. This preserves any BASIC statements in memory:

>5 LET A = 12345
>10 PRINT "HELLO!"
>15 PRINT A
>20 END
>RUN
HELLO!
12345

>CALL -151

* ==> hit CTRL-C here and press return <==

>PRINT A
12345

>RUN
HELLO!
12345

Displaying Memory

Modifying Memory

Executing Code

Tape Save and Restore