MEMOLOOK

by Andras Hirschler

from Your Sinclair, March 1990



[Unfortunately, five bytes were missed off the hex dump for this  ]

[program, so it crashes. No correction was ever printed. As I     ]

[didn't realise this until I'd typed it all in, I decided that I  ]

[might as well include it anyway.                             JimG]



[Correction for Memolook supplied by "Bad Beard" (Jan.2008).  JimG]

$5bf8   e1       pop   hl

$5bf9   c1       pop   bc

$5bfa   10 cb    djnz $5bc7

$5bfc   c9       ret



RAM's a funny thing. It comes in very handy, of course, but you're 

never quite sure how it's all arranged and where all the important

bits are at any given moment. Not any more though. Andras Hirschler

has the answer, and what's more he's from Hungary, making this my

first program from, you know, over there.



Memolook (good name) performs the astonishingly useful function of

drawing a map of your Speccy's memory on the screen. It does this by

putting in a black dot every time it encounters a non-zero byte. By

the time it's finished (it only takes a second) you'll be able to see

exactly which parts of memory have got interesting stuff in and which

are just blank. Very useful for hackers and the like.



To extend the possibilities even further Memolook features a little

cursor which can be moved around with Q, A, O and P. The address the

cursor is on and the value in that address are displayed continuously

in the top left-hand corner of the screen. Space returns to Basic.



To get it going, type in the Basic part first and save it. Then, using

the Hex Loader, type in the hex and save it after the Basic. (When you

get to the bottom of the hex, press Symbol Shift and A.) The program

features a super-dooper demo routine so you can see exactly what it does.

