Skip to content

Breaks Debugger 1.7

Compare
Choose a tag to compare
@ogamespec ogamespec released this 21 Jan 17:14
· 2306 commits to master since this release
59a98e5

image

English:

Anyone who has read the version history probably remembers the comparison between the debugger and Alien 4.

By a strange coincidence, Ellen Ripley only "got it" on the eighth try. So did our debugger!

The previous version had a few bugs, and to my shame, they were not simulator bugs, but bugs in the 6502 circuits. The bugs were in the V flag circuits and the little ADD/SB7 circuitry that is needed for the ROR/SR instructions.

Also, the M6502Core was added to the Nintendulator to verify proper operation:

https://github.com/ogamespec/nintendulator/blob/master/doc/ReadmeBreaks.md

All nestest.nes tests are successful.

Note: at the first run the simulator creates a large pla.bin file, to optimize the decoder simulation. All subsequent runs are faster.

Русский:

Тот, кто читал историю версий наверняка помнит канву со сравнением отладчика с фильмом Чужой 4.

По странному стечению обстоятельств - Элен Рипли "получилась" только с восьмой попытки.. Как и наш дебаггер!

Предыдущая версия содержала несколько багов, причем к стыду признаться - это были баги не симулятора, а ошибки в схемах 6502. Ошибки были в схемах флага V и в небольшой схеме ADD/SB7, которая нужна для инструкций ROR/SR.

Также для проверки правильности работы, M6502Core был добавлен в Nintendulator:

https://github.com/ogamespec/nintendulator/blob/master/doc/ReadmeBreaks.md

Все тесты nestest.nes проходят успешно.

Примечание: при первом запуске симулятор создает большой файл pla.bin, для оптимизации симуляции декодера. Все последующие запуски происходят быстрее.