Page 1 of 1

Memory Hex viewer ?

Posted: Mon Sep 09, 2013 3:04 pm
by jedie
Exist there somewhere a memory hex viewer? If not, i will start to implement this in BASIC: Simply PEEK the memory and display it with as HEX code...

(Don't know if i can simply PEEK everywhere... Maybe i must exclude some special areas?)

Re: Memory Hex viewer ?

Posted: Mon Sep 09, 2013 4:34 pm
by Sarah
There's a hex editor in DREAMBUG although it's a bit clunky. PC-Dragon emulator has the facility built-in.

You can effectively PEEK anywhere although I/O requires prior setup. If you're simply interested in RAM and ROM then PEEKing any mapped address is straightforward.

Re: Memory Hex viewer ?

Posted: Tue Sep 10, 2013 9:43 pm
by Alastair
DEMON by Compusense is a monitor that can switch between hex and ASCII memory display. The manual is available on the forum (as is the ROM image, though this can also be found in the downloads archive).

Re: Memory Hex viewer ?

Posted: Tue Sep 10, 2013 10:52 pm
by tormod
I wrote a BASIC monitor program back in the eighties which I used a lot for entering machine code and debugging, but I will need to rescue it from some old tapes if anyone is interested.

There is also a simple machine code monitor program used as an example in the "Inside the Dragon" book. I copied it from the PDF and fixed it up, see attached the compiled binary in CAS format.

Re: Memory Hex viewer ?

Posted: Wed Sep 11, 2013 7:28 am
by jedie
tormod wrote:I wrote a BASIC monitor program back in the eighties which I used a lot for entering machine code and debugging, but I will need to rescue it from some old tapes if anyone is interested.
Would be great if you can do that. :)

Re: Memory Hex viewer ?

Posted: Fri Oct 04, 2013 10:13 pm
by jedie
I started a BASIC hex viewer. Sourcecode is here: https://github.com/jedie/PyDragon32/blo ... view01.bas

Re: Memory Hex viewer ?

Posted: Fri Oct 04, 2013 10:20 pm
by jedie
tormod wrote:I wrote a BASIC monitor program back in the eighties which I used a lot for entering machine code and debugging, but I will need to rescue it from some old tapes if anyone is interested.
Sounds interesting!

Re: Memory Hex viewer ?

Posted: Fri Oct 04, 2013 10:35 pm
by tormod
Here is my old BASIC monitor program. Not rocket science but small and handy. See the listing for commands, main ones are DPxxxx to start dumping/editing memory at address xxxx (enter ''' to get out again) and JPxxxx to jump there.

EDIT: Found a newer version called TOOLKIT that also has a disassembler integrated.