Skip to content

Commit

Permalink
Update airsense.cfg
Browse files Browse the repository at this point in the history
Patch for issue osresearch#31 
Adds memory read halfword
  • Loading branch information
redpath authored Apr 30, 2020
1 parent aec198a commit b77c1c6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tcl/airsense.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ proc rcc_fix {} {
mww 0x4000286c 0x00000000
}

proc mrh {reg} {
set value ""
mem2array value 16 $reg 1
return $value(0)
}

init

set patch [mrh 0x80000f0]
Expand Down

0 comments on commit b77c1c6

Please sign in to comment.