This page details bugs of Othello (NES, Famicom Disk System).
CPU Player Stack Overflow#
|
|
To do:
|
|
|
This page or section needs more images. |
The FDS DV 2 and Famicom versions can crash and display garbled graphics1 if the CPU player's move search becomes too deep (not to be confused with the CPU player running out of time). Due to the deterministic nature of Othello and the CPU player, it is trivial to reproduce the bug once a sequence of moves has been found to trigger it.
Cause of the Bug#
The code handling the CPU player can nest too many subroutine calls to the point where variables located in the hardware stack page will conflict with a return address. This causes the game to overwrite and "return" to a garbage address, eventually leading to a crash. The Famicom version can also additionally clobber the CHR-ROM bank, resulting in garbled graphics from open bus.2
The FDS DV 3(?), 5 versions, the leaked Rev 1 Famicom version, and the NES version appear to have fixed this bug (or have at least reduced the likelihood of it occurring in normal play).
(Source: TakuikaNinja)