Memory Hex viewer ?

Looking for a Dragon or CoCo game not already in the archive - Then request it here and hopefully it will either be uploaded to the archive or another member can upload it to this forum.
Post Reply
jedie
Posts: 655
Joined: Wed Aug 14, 2013 12:23 pm
Location: germany
Contact:

Memory Hex viewer ?

Post 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?)
... too many ideas and too little time ... Related stuff written in Python:
Dragon 32 emulator / PyDC - Python Dragon 32 converter: https://github.com/jedie/DragonPy
DWLOAD server / Dragon-Lib and other stuff: https://github.com/6809
Sarah
Posts: 177
Joined: Wed Apr 13, 2011 3:36 pm
Contact:

Re: Memory Hex viewer ?

Post 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.
Alastair
Posts: 669
Joined: Fri Jul 18, 2008 11:33 pm

Re: Memory Hex viewer ?

Post 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).
User avatar
tormod
Posts: 416
Joined: Sat Apr 27, 2013 12:06 pm
Location: Switzerland
Contact:

Re: Memory Hex viewer ?

Post 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.
Attachments
monitor.cas
From "Inside the Dragon" (M/L)
(534 Bytes) Downloaded 311 times
jedie
Posts: 655
Joined: Wed Aug 14, 2013 12:23 pm
Location: germany
Contact:

Re: Memory Hex viewer ?

Post 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. :)
... too many ideas and too little time ... Related stuff written in Python:
Dragon 32 emulator / PyDC - Python Dragon 32 converter: https://github.com/jedie/DragonPy
DWLOAD server / Dragon-Lib and other stuff: https://github.com/6809
jedie
Posts: 655
Joined: Wed Aug 14, 2013 12:23 pm
Location: germany
Contact:

Re: Memory Hex viewer ?

Post by jedie »

I started a BASIC hex viewer. Sourcecode is here: https://github.com/jedie/PyDragon32/blo ... view01.bas
Attachments
hex_view01.png
hex_view01.png (13.23 KiB) Viewed 6105 times
... too many ideas and too little time ... Related stuff written in Python:
Dragon 32 emulator / PyDC - Python Dragon 32 converter: https://github.com/jedie/DragonPy
DWLOAD server / Dragon-Lib and other stuff: https://github.com/6809
jedie
Posts: 655
Joined: Wed Aug 14, 2013 12:23 pm
Location: germany
Contact:

Re: Memory Hex viewer ?

Post 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!
... too many ideas and too little time ... Related stuff written in Python:
Dragon 32 emulator / PyDC - Python Dragon 32 converter: https://github.com/jedie/DragonPy
DWLOAD server / Dragon-Lib and other stuff: https://github.com/6809
User avatar
tormod
Posts: 416
Joined: Sat Apr 27, 2013 12:06 pm
Location: Switzerland
Contact:

Re: Memory Hex viewer ?

Post 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.
Attachments
TOOLKIT2.CAS
Monitor and disassembler (BASIC)
(9.98 KiB) Downloaded 314 times
monit4.cas
BASIC monitor/hex entry program
(3.5 KiB) Downloaded 306 times
Post Reply