Jump to content



0

CPU memory viewer


3 replies to this topic

#1 retroclouds OFFLINE  

retroclouds

    Stargunner

  • 1,096 posts
  • Location:Germany

Posted Thu Jul 28, 2011 12:46 AM

I wrote a little utility for watching TI-99/4A CPU memory. Did that for testing some subroutines of the spectra2 library.

Upon program startup 2 threads are started.

Thread 0 is used for updating the memory location while navigating through memory (up/down=page up/down, left/right=line up/down)
Thread 1 is where the action is. It takes the current memory location and dumps memory to the screen.

The screen is constantly updated, so you'r kinda watching "realtime".




Here's the cartridge binary:

Attached File  memview.zip   2.84K   2 downloads

Here's the source code:

Spoiler


#2 retroclouds OFFLINE  

retroclouds

    Stargunner

  • 1,096 posts
  • Location:Germany

Posted Thu Jul 28, 2011 12:53 AM

It gets interesting at 0:47 in the youtube video. When reaching the >9800 range you see a lot of changes.
Are these the GROM ports? I verified it on my TI-99/4A and it behaves the same.

The classic99 debugger does not show that behaviour.

EDIT: Looking more closely it shows, that it's the GROM read data/read address being triggered.

PAGE 0 9800 9802
PAGE 1 9804 9806
PAGE 2 9808 980A
.....

Edited by retroclouds, Thu Jul 28, 2011 2:03 AM.


#3 retroclouds OFFLINE  

retroclouds

    Stargunner

  • 1,096 posts
  • Location:Germany

Posted Thu Jul 28, 2011 4:48 AM

This morning I dug out my old customized speech synthesizer. Some guy added a load interrupt switch to it back in the hay days.
Never made use of it, so thought that today is a good day to give it a try :D

I changed the program so that it can now attach itself to the load interrupt.

Note that the program lives in the cartridge space (>6000). I always use an 8K supercart, but it should work the same when burned to (E)EPROM.
Quite pleased with it ;)

Attached File  memory viewer.png   60.79K   2 downloads

Here's the updated binary and source code

Attached File  memview.zip   2.84K   3 downloads

Spoiler

Edited by retroclouds, Thu Jul 28, 2011 5:24 AM.


#4 Ksarul OFFLINE  

Ksarul

    Star Raider

  • 68 posts

Posted Thu Jul 28, 2011 11:20 AM

Nice tool! I'll have to try this out when I get home from Hawaii...




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users