Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop marking R0-R31 as needing interrupt checks #64

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lua/wire/zvm/zvm_data.lua
Original file line number Diff line number Diff line change
Expand Up @@ -444,8 +444,10 @@ ZVM.NeedInterruptCheck[38] = true
ZVM.NeedInterruptCheck[39] = true
ZVM.NeedInterruptCheck[40] = true
ZVM.NeedInterruptCheck[41] = true
-- Ports section
for i=1000,2023 do ZVM.NeedInterruptCheck[i] = true end
for i=2048,2207 do ZVM.NeedInterruptCheck[i] = true end
-- Starts just after R31, so these ones past that are going to be the memory access modifiers.
for i=2048+32,2207 do ZVM.NeedInterruptCheck[i] = true end

-- Register lookup table FIXME: add segments
ZVM.NeedRegisterLookup = {}
Expand Down
Loading