This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| New-ItemProperty ` | |
| -Path 'HKLM:\System\CurrentControlSet\Control\Keyboard Layout' -Name 'Scancode Map' -PropertyType Binary ` | |
| -Value 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x1d, 0x00, 0x3a, 0x00, 0x00, 0x00, 0x00, 0x00 | |
| Restart-Computer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; Процедура принимает в R0 число-маску с единицами слева, | |
| ; до которых будет обрезан вывод | |
| ; Например #7 - 111 - будет выдавать числа от 0 до 7 | |
| ; #377 - 11111111 - будет выдавать числа от 0 до 255 | |
| ; Возвращает в R0 число в заданном диапазоне | |
| ; Схема генерации: | |
| ; x ^= x << 7; | |
| ; x ^= x >> 9; | |
| ; x ^= x << 8; | |
| GENRNDVALUE: |