Author Topic: CPU tests  (Read 340 times)

Offline dink

  • Administrator
  • *****
  • Posts: 2987
  • Karma: +253/-0
  • feed the horse yumyum
CPU tests
« on: May 08, 2019, 01:06:50 AM »
Has anyone tested cpus like HD63701 or M6809, or know some docs - I need to know:
which registers survive a "hard reset" on these chips.  or if they are cleared, what are they cleared to.  We already know what's in mame's cpu emulation for reset, but, I'm looking for more information than mame can provide.

thanks,
- dink

Offline Ryvius86

  • FBA Contributor
  • *****
  • Posts: 26
  • Karma: +3/-1
  • Magneto was right.
    • Ryvius86/FBAlphaFB
Re: CPU tests
« Reply #1 on: May 08, 2019, 11:54:58 AM »
http://datasheets.chipdb.org/Hitachi/63701/HD63701V0.pdf - pg 638 has some information on resetting
http://www.gbgmv.se/dl/doc/md09/MC6809_DataSheet.pdf - and same for pg 6

Hope this is what you're looking for.

Offline dink

  • Administrator
  • *****
  • Posts: 2987
  • Karma: +253/-0
  • feed the horse yumyum
Re: CPU tests
« Reply #2 on: May 08, 2019, 07:21:33 PM »
Ryvius86, I've seen this, and its unfortunately really vague.  I was hoping to find undocumented recon, such as someone loading each register, resetting and viewing the registers - on real HW of course. 

Let's take for example, the game Rompers on Namco System 1:
the game boots up, and loads stuff into the subcpu's ram & registers, then resets the chips.

If all of the registers of the hd63701 cpu are cleared on reset, boot fails.  I know the [somewhat related] hd6309 chip has a "v" register which survives a hw reset - it's even documented.  ..but.. info on the hd63701 about these things seems a little lacking :(

best regards,
- dink

Offline barbudreadmon

  • Administrator
  • *****
  • Posts: 408
  • Karma: +17/-1
  • lr-fbalpha developer
Re: CPU tests
« Reply #3 on: June 19, 2019, 11:23:33 AM »
idk if it can help, but i found this : https://github.com/thasega/HD63701