Welcome, Guest. Please login or register.

Author Topic: small monitor utility, peek/poke memory for KS1.3  (Read 1694 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline kamigaTopic starter

  • Full Member
  • ***
  • Join Date: Oct 2005
  • Posts: 165
    • Show only replies by kamiga
small monitor utility, peek/poke memory for KS1.3
« 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
 

Offline Castellen

Re: small monitor utility, peek/poke memory for KS1.3
« Reply #1 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.

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.
 

Offline ncafferkey

  • Sr. Member
  • ****
  • Join Date: Feb 2003
  • Posts: 387
    • Show only replies by ncafferkey
Re: small monitor utility, peek/poke memory for KS1.3
« Reply #2 on: November 04, 2013, 03:19:48 PM »
I use http://aminet.net/package/dev/moni/mon165 . It's apparently OS1.3 compatibile.
 

Offline kamigaTopic starter

  • Full Member
  • ***
  • Join Date: Oct 2005
  • Posts: 165
    • Show only replies by kamiga
Re: small monitor utility, peek/poke memory for KS1.3
« Reply #3 on: November 06, 2013, 05:33:51 AM »
Thanks for these.  That mon165 works like a charm!

Kamiga