Rev 3886 | Rev 4384 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3886 | Rev 4306 | ||
---|---|---|---|
Line 1872... | Line 1872... | ||
1872 | push 3 |
1872 | push 3 |
1873 | pop ebx |
1873 | pop ebx |
1874 | int 0x40 ; eax = control key state |
1874 | int 0x40 ; eax = control key state |
1875 | test dh, dh |
1875 | test dh, dh |
1876 | jnz .extended |
1876 | jnz .extended |
- | 1877 | test al, 0x80 ; numlock |
|
- | 1878 | jnz .numlock |
|
1877 | bt [scan_has_ascii], edx |
1879 | bt [scan_has_ascii], edx |
1878 | jnc .extended |
1880 | jnc .extended |
1879 | test al, 0x30 |
1881 | test al, 0x30 ; alt |
1880 | jnz .extended |
1882 | jnz .extended |
- | 1883 | test al, 0x80 ; numlock |
|
- | 1884 | jz .no_numlock |
|
- | 1885 | .numlock: |
|
- | 1886 | cmp dl, 71 |
|
- | 1887 | jb .no_numlock |
|
- | 1888 | cmp dl, 83 |
|
- | 1889 | ja .no_numlock |
|
- | 1890 | mov dh, [con.extended_numlock+edx-71] |
|
- | 1891 | xchg dl, dh |
|
- | 1892 | jmp .gotcode |
|
- | 1893 | .no_numlock: |
|
1881 | ; key has ASCII code |
1894 | ; key has ASCII code |
1882 | push eax edx |
1895 | push eax edx |
1883 | push 2 |
1896 | push 2 |
1884 | pop ecx |
1897 | pop ecx |
1885 | test al, 3 |
1898 | test al, 3 |
Line 2418... | Line 2431... | ||
2418 | con.extended_shift: |
2431 | con.extended_shift: |
2419 | times 3Bh db %-1 |
2432 | times 3Bh db %-1 |
2420 | db 54h,55h,56h,57h,58h,59h,5Ah,5Bh,5Ch,5Dh,00h,00h |
2433 | db 54h,55h,56h,57h,58h,59h,5Ah,5Bh,5Ch,5Dh,00h,00h |
2421 | db 47h,48h,49h,4Ah,4Bh,4Ch,4Dh,4Eh,4Fh,50h,51h,52h,53h,00h,00h,00h,87h,88h |
2434 | db 47h,48h,49h,4Ah,4Bh,4Ch,4Dh,4Eh,4Fh,50h,51h,52h,53h,00h,00h,00h,87h,88h |
2422 | times 0x80-0x59 db 0 |
2435 | times 0x80-0x59 db 0 |
- | 2436 | con.extended_numlock: |
|
- | 2437 | db '7', '8', '9', '-' |
|
- | 2438 | db '4', '5', '6', '+' |
|
- | 2439 | db '1', '2', '3' |
|
- | 2440 | db '0', '.' |
|
Line 2423... | Line 2441... | ||
2423 | 2441 | ||
2424 | ; ⥪ã饩 ॠ«¨§ 樨 § ç¥¨ï ¯® 㬮«ç ¨î â ª®¢ë. |
2442 | ; ⥪ã饩 ॠ«¨§ 樨 § ç¥¨ï ¯® 㬮«ç ¨î â ª®¢ë. |
2425 | ; ¡ã¤ã饬 ®¨, ¢®§¬®¦®, ¡ã¤ãâ áç¨âë¢ âìáï ª ª ¯ à ¬¥âàë ¨§ ini-ä ©« console.ini. |
2443 | ; ¡ã¤ã饬 ®¨, ¢®§¬®¦®, ¡ã¤ãâ áç¨âë¢ âìáï ª ª ¯ à ¬¥âàë ¨§ ini-ä ©« console.ini. |
2426 | con.def_wnd_width dd 80 |
2444 | con.def_wnd_width dd 80 |