Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
m6800: fix OCF status clearing as outlined in the manual (m6801u4.pdf…
…) - this is needed for kicknrun mcu to function properly [dink]
- Loading branch information
Showing
1 changed file
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5a5dbc0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same fix for current MAME, devices/cpu/m6800/m6801.cpp: diff attached
m6801_diff.zip
M6801U4 manual, pg.25 bottom-left text states
"OCFI is cleared by reading the TCSR or the TSR (with OCFI set) and then writing to output compare register 1 ($OB or $OC); or during reset"
Manual link: https://lrak.net/secret/data_sheets/microprocessor/MC6801U4.pdf