Skip to content

Commit

Permalink
Stop marking R0-R31 as needing interrupt checks (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerelictDrone authored Aug 26, 2024
1 parent a3c0987 commit 5efb2a5
Showing 1 changed file with 3 additions and 1 deletion.
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

0 comments on commit 5efb2a5

Please sign in to comment.