forked from VCTLabs/devmem2
-
Notifications
You must be signed in to change notification settings - Fork 14
x TO DOs
Pavel A edited this page Apr 19, 2016
·
1 revision
Delete the TC branch
How to ensure the orig version fails with new switches/params: Move h|w|b to argv[1] so argv[2] will be invalid to orig. app.
New ops: (??)
- AND, OR, XOR
- UPDate: write only if read value different mem [w|h|b] addr [AND|OR|XOR|UPD] value
- Test and set: read & mask == value1 => write value2 -- OR-- special exit status mem [w|h|b] addr TAS mask val1 val2
Write sequence
- mem [w|h|b] addr val1 [val2 ... valn] -- write with incr address
- mem [w|h|b] addr val1 * number -- write same value
- mem [w|h|b] addr val1 /* number -- write without incr. address
- mem [w|h|b] addr val1 / val2 /val3 ... -- write without incr. address
Read sequence
-
mem [w|h|b] addr * number -- read N numbers
- mem [w|h|b] addr / number -- read without incr address
-
Print format, separator: pass in env. var
-
Read back after write: ?
- Set signal handler to catch silent crash (mem access exceptions...)