!pr2
!lm12
!rm75
Examiner...........................................Bill Morgan

Here is the program I like to use to examine memory; it displays an entire page on the screen in both hex and ASCII formats.  This makes the screen kind of crowded, but I particularly wanted a full page at a time.  A program like this is useful for inspecting the results of last month's TRACK READ program, studying the internal format of an Applesoft program, or just exploring inside your Apple.

Examiner uses the left and right arrow keys to decrement or increment the page being displayed.  You can also type "P" to allow entry of a page number in hex.  Notice that the number entered is rolled into the page number from the right.  Escape exits the program.


Lines 1180-1260 set things up to start with page zero.

Lines 1280-1390 display the index, then twelve bytes in hex format.

Lines 1410-1460 reset the indices to display the same twelve bytes in ASCII.

Lines 1480-1630 do the ASCII display, changing any inverse or flashing values to normal and substituting periods for control characters.

Lines 1700-1870 process the commands to change the page being displayed.

Lines 1890-2160 accept characters "0" through "F" and convert them into hex values, rolling the values into the page number to be displayed.

Lines 2180-2260 display the header "page=".


This is threatening to turn into a monthly column; what do you readers think of that idea?  Are these routines too trivial?  Too complicated?  Do you have any questions about them?  About anything fairly basic?  Drop me a line here at AAL and let me know what you think.  I'll look forward to hearing from you.
