F000:5F7D POST_D6:
F000:5F7D mov al, 0D6h
F000:5F7F out 80h, al ; checkpoint
F000:5F81 push 0
F000:5F83 pop es
F000:5F84 assume es:nothing
F000:5F84 push 8000h
F000:5F87 pop ds
F000:5F88 assume ds:nothing
F000:5F88 mov al, ds:_test
F000:5F8B and al, 8
F000:5F8D xor al, 8
F000:5F8F jz loc_F5FAD
F000:5F91 and ds:_test, 11111110b
F000:5F96 call _Test_Proc
F000:5F9B jz loc_F5FAD
F000:5F9D xor al, al
F000:5F9F call sub_F5FB4
F000:5FA2 jz loc_F5FAD
F000:5FA4 mov cx, ds:_loop
F000:5FA8 call _ctrl_home
По переменной _test определяемся со скан-кодами:
F000:FFB6 db 'AMIBOOT ROM',0
F000:FFC2 db 9 dup(0)
F000:FFCB db 0
F000:FFCC _ctrl db 1Dh
F000:FFCD _home db 47h
F000:FFCE _test db 0
F000:FFCF db 0
F000:FFD0 db 0
F000:FFD1 db 0
F000:FFD2 db 12h
F000:FFD3 _loop dw 50h ; Wait for key...
F000:FFD5 _PgDn db 51h
F000:FFD6 _PgUp db 49h
Это несложно проверить. Ищем POST код 0D6h:
По переменной _test определяемся со скан-кодами: