1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-04-10 22:37:30 +00:00

Add interrupt register to TED check set.

This commit is contained in:
Thomas Harte 2025-02-11 21:47:36 -05:00
parent ea81096a43
commit 93eb63d930

View File

@ -180,9 +180,8 @@ bool obviously_uses_ted(const File &file) {
analysis->machine_code_addresses
);
// If FF3E or FF3F is touched, this is for the +4.
// TODO: probably require a very early touch.
for(const auto address: {0xff3e, 0xff3f}) {
// Check for interrupt status and paging touches.
for(const auto address: {0xff3e, 0xff3f, 0xff09}) {
for(const auto &collection: {
disassembly.external_loads,
disassembly.external_stores,