Author Topic: PCEmon - an RS-232 monitor / debugger on the PCE  (Read 1688 times)

esteban

  • Hero Member
  • *****
  • Posts: 24063
Re: PCEmon - an RS-232 monitor / debugger on the PCE
« Reply #15 on: September 05, 2015, 04:01:35 PM »
That's awesome. I know that a person could stitch separate screens together, but these images are gorgeous.

Request to folks:  We need examples from VALIS II :(

Thank you! :)

GUY KAZAMA = badass
  |    | 

shubibiman

  • Hero Member
  • *****
  • Posts: 1832
Re: PCEmon - an RS-232 monitor / debugger on the PCE
« Reply #16 on: September 05, 2015, 09:01:52 PM »
Gorgeous !
Self proclamed Aldynes World Champion

esteban

  • Hero Member
  • *****
  • Posts: 24063
Re: PCEmon - an RS-232 monitor / debugger on the PCE
« Reply #17 on: September 06, 2015, 12:07:22 AM »
UTTERLY

MAGNIFICENT

  |    | 

elmer

  • Hero Member
  • *****
  • Posts: 2153
Re: PCEmon - an RS-232 monitor / debugger on the PCE
« Reply #18 on: September 06, 2015, 04:02:07 PM »
Way cool!  :D

ccovell

  • Hero Member
  • *****
  • Posts: 2245
Re: PCEmon - an RS-232 monitor / debugger on the PCE
« Reply #19 on: September 08, 2015, 04:17:21 AM »
A new helper function:

 #D <AAAA>[BBBB] - Disassemble from address.



The disassembler gets loaded into $4000- so unfortunately game code mapped in there can't be disassembled (unless you remap it to a higher MPR).

http://www.chrismcovell.com/PCEmon/PCEmon.zip

Bonknuts

  • Hero Member
  • *****
  • Posts: 3292
Re: PCEmon - an RS-232 monitor / debugger on the PCE
« Reply #20 on: September 09, 2015, 04:40:22 AM »
So how does this work for CD games? Do you hook an interrupt vector to monitor the game pad port? If you're stalling/pausing the game for disassembly, you could always map a code bank into page $0000 (no commercial games put code banks there) to read from page $4000.

 The turbo express uses the gamepad port both for serial communication as well as gamepad controls simultaneously. It first looks to see if there is a single on the port, much-much faster than the gamepad and if detected it reads/writes to it - else just read the data as gamepad input. I don't remember all the details, but it looked like it was replicable on the base systems. Anyway, this is awesome Chris!

ccovell

  • Hero Member
  • *****
  • Posts: 2245
Re: PCEmon - an RS-232 monitor / debugger on the PCE
« Reply #21 on: September 09, 2015, 02:53:55 PM »
OK, here's a quick release (19200 baud at start) that allows you to upload a helper command (PCX save, Disassembler) into the PCE's RAM buffer ($2200-) through the "U" command (simple.)

So now PCEmon searches the buffer, ROM, and CD-RAM for a helper signature and reports where it is.

http://www.chrismcovell.com/PCEmon/PCEmonBufHlprs.zip

Bonknuts:
As for CD games, check out the readme inside of the SysCard folder.  Most CD games keep Syscard bank 0 into MPR7 as a BIOS, including reading the joypads.  I just patch the RUN+Select reset code to look for one or both button presses, which then jumps to PCEmon hidden in Bank $15.

As for now, PCEmon can't resume a CD game.  The ROM version also traps IRQ/BRK and restarts in case the user jumps to bad code.

NightWolve

  • Hero Member
  • *****
  • Posts: 5277
Re: PCEmon - an RS-232 monitor / debugger on the PCE
« Reply #22 on: September 15, 2015, 03:31:46 PM »
Wow, amazing work as usual, Chris! That you say it took you only "a week" from some vacation time is also amazing... :/ Pretty sure it wouldn't take me a week to do something like that, if ever...

Punch

  • Hero Member
  • *****
  • Posts: 3278
Re: PCEmon - an RS-232 monitor / debugger on the PCE
« Reply #23 on: September 15, 2015, 05:24:55 PM »
Damn the only thing between me and PCEMon on my duo is finding a Mini DIN cable to do the adapter. Wish I didn't have to order it over the internet, I'll probably pay more for shipping than the cable/plug itself.

elmer

  • Hero Member
  • *****
  • Posts: 2153
Re: PCEmon - an RS-232 monitor / debugger on the PCE
« Reply #24 on: September 15, 2015, 05:42:58 PM »
Damn the only thing between me and PCEMon on my duo is finding a Mini DIN cable to do the adapter. Wish I didn't have to order it over the internet, I'll probably pay more for shipping than the cable/plug itself.


As in ...

http://www.ebay.com/itm/Apple-Mac-Macintosh-8-Pin-6-Foot-Printer-Cable/181833244900?_trksid=p2047675.c100005.m1851&_trkparms=aid%3D222007%26algo%3DSIC.MBE%26ao%3D1%26asc%3D33098%26meid%3Dd97f340d74714c41bd91c0a5f41153bb%26pid%3D100005%26rk%3D2%26rkt%3D6%26sd%3D331649930021

You used to be able to get them cheaper, but at least this one is an old quality-made cable.

ccovell

  • Hero Member
  • *****
  • Posts: 2245
Re: PCEmon - an RS-232 monitor / debugger on the PCE
« Reply #25 on: September 15, 2015, 07:19:14 PM »
Damn the only thing between me and PCEMon on my duo is finding a Mini DIN cable to do the adapter. Wish I didn't have to order it over the internet, I'll probably pay more for shipping than the cable/plug itself.


You can always test it this way first:

ccovell

  • Hero Member
  • *****
  • Posts: 2245
Re: PCEmon - an RS-232 monitor / debugger on the PCE
« Reply #26 on: September 21, 2015, 03:10:35 AM »
I've put up an updated version 1.25.3 of PCEmon.  at: http://www.chrismcovell.com/PCEmon/

What's new is that the .PCX helper now dumps the whole of VRAM, either as BG tiles or Sprite tiles:




As you can see, there are a few options for tilemap width, sprite arrangement, and palette selection.  Check out the command list / instructions page for a full description of the helpers.

Have fun!

ccovell

  • Hero Member
  • *****
  • Posts: 2245
Re: PCEmon - an RS-232 monitor / debugger on the PCE
« Reply #27 on: September 28, 2015, 02:23:02 PM »
Working on a new feature.  Here's a short video:


Gredler

  • Guest
Re: PCEmon - an RS-232 monitor / debugger on the PCE
« Reply #28 on: September 28, 2015, 02:54:46 PM »

 :clap:

Another rad update, incredible

NightWolve

  • Hero Member
  • *****
  • Posts: 5277
Re: PCEmon - an RS-232 monitor / debugger on the PCE
« Reply #29 on: September 28, 2015, 03:09:56 PM »
« Last Edit: May 06, 2018, 02:54:29 PM by NightWolve »