Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: kamiga on November 04, 2013, 01:36:40 AM

Title: small monitor utility, peek/poke memory for KS1.3
Post by: kamiga on November 04, 2013, 01:36:40 AM
I've got a need to be able to read and write in the trapdoor $C00000-$C7FFFE memory address ranges.  Ideally I'd like to do

WRITE $C00000, $5555

and then

READ $C00000

and get back a "$5555."

With many more requirements, I could probably do something similar in Assembler, but I was hoping to get something off the shelf.

It's got to work with KS1.3.

I've spent some time looking through aminet, but I can't seem to find anything.  Peek+Poke looked promising but requires 2.0.

Thanks
Title: Re: small monitor utility, peek/poke memory for KS1.3
Post by: Castellen on November 04, 2013, 03:20:50 AM
Years ago when first learning C, I wrote a bit of software to do exactly that, can't remember what it was for now.  I've just rebuilt it so it should in theory run on OS1.3, though I don't have an OS1.3 machine handy to test it.  Give it a go, it may work for you.

Download the executable and source here (http://amiga.serveftp.net/Temp/Mem_access.lha).

It reads/writes 32 bit words at a time.  You can increment/decrement through 32 bit words from any given memory location using the + and - keys at the "enter address" prompt.

Be wary, it's probably a piece of crap and has various bugs given my lack of software skills at the time and the haste in which it was written.
Title: Re: small monitor utility, peek/poke memory for KS1.3
Post by: ncafferkey on November 04, 2013, 03:19:48 PM
I use http://aminet.net/package/dev/moni/mon165 . It's apparently OS1.3 compatibile.
Title: Re: small monitor utility, peek/poke memory for KS1.3
Post by: kamiga on November 06, 2013, 05:33:51 AM
Thanks for these.  That mon165 works like a charm!

Kamiga