forked from KolibriOS/kolibrios
Kernel updated to 0.7.5.0
git-svn-id: svn://kolibrios.org@1018 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
7bfc5040a8
commit
f8317039fb
@ -423,13 +423,16 @@ cfgmanager:
|
|||||||
; otherwise, set [preboot_device] to 1 (default value - boot from floppy)
|
; otherwise, set [preboot_device] to 1 (default value - boot from floppy)
|
||||||
mov byte [di], 1
|
mov byte [di], 1
|
||||||
.preboot_device_inited:
|
.preboot_device_inited:
|
||||||
; following 6 lines set variables to 1 if its current value is 0
|
; following 4 lines set variables to 1 if its current value is 0
|
||||||
cmp byte [di+preboot_dma-preboot_device], 1
|
cmp byte [di+preboot_dma-preboot_device], 1
|
||||||
adc byte [di+preboot_dma-preboot_device], 0
|
adc byte [di+preboot_dma-preboot_device], 0
|
||||||
cmp byte [di+preboot_biosdisk-preboot_device], 1
|
cmp byte [di+preboot_biosdisk-preboot_device], 1
|
||||||
adc byte [di+preboot_biosdisk-preboot_device], 0
|
adc byte [di+preboot_biosdisk-preboot_device], 0
|
||||||
cmp byte [di+preboot_vrrm-preboot_device], 1
|
; default value for VRR is OFF
|
||||||
adc byte [di+preboot_vrrm-preboot_device], 0
|
cmp byte [di+preboot_vrrm-preboot_device], 0
|
||||||
|
jnz @f
|
||||||
|
mov byte [di+preboot_vrrm-preboot_device], 2
|
||||||
|
@@:
|
||||||
; notify user
|
; notify user
|
||||||
_setcursor 5,2
|
_setcursor 5,2
|
||||||
|
|
||||||
|
@ -810,6 +810,8 @@ proc load_driver stdcall, driver_name:dword
|
|||||||
mov dword [edx+8], 'vers'
|
mov dword [edx+8], 'vers'
|
||||||
mov byte [edx+12], '/'
|
mov byte [edx+12], '/'
|
||||||
mov esi, [driver_name]
|
mov esi, [driver_name]
|
||||||
|
.redo:
|
||||||
|
lea edx, [file_name]
|
||||||
lea edi, [edx+13]
|
lea edi, [edx+13]
|
||||||
mov ecx, 16
|
mov ecx, 16
|
||||||
@@:
|
@@:
|
||||||
@ -926,6 +928,15 @@ proc load_driver stdcall, driver_name:dword
|
|||||||
jnz .ok
|
jnz .ok
|
||||||
|
|
||||||
stdcall kernel_free, [img_base]
|
stdcall kernel_free, [img_base]
|
||||||
|
cmp dword [file_name+13], 'SOUN'
|
||||||
|
jnz @f
|
||||||
|
cmp dword [file_name+17], 'D.ob'
|
||||||
|
jnz @f
|
||||||
|
cmp word [file_name+21], 'j'
|
||||||
|
jnz @f
|
||||||
|
mov esi, aSis
|
||||||
|
jmp .redo
|
||||||
|
@@:
|
||||||
xor eax, eax
|
xor eax, eax
|
||||||
ret
|
ret
|
||||||
.ok:
|
.ok:
|
||||||
|
@ -80,6 +80,7 @@ msg_module db 'in module ',0
|
|||||||
msg_version db 'incompatible driver version',13,10,0
|
msg_version db 'incompatible driver version',13,10,0
|
||||||
msg_www db 'please visit www.kolibrios.org',13,10,0
|
msg_www db 'please visit www.kolibrios.org',13,10,0
|
||||||
msg_CR db 13,10,0
|
msg_CR db 13,10,0
|
||||||
|
aSis db 'SIS',0
|
||||||
|
|
||||||
intel_str db "GenuineIntel",0
|
intel_str db "GenuineIntel",0
|
||||||
AMD_str db "AuthenticAMD",0
|
AMD_str db "AuthenticAMD",0
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
‘ˆ‘’…Œ<EFBFBD>›… ”“<E2809D>Š–ˆˆ Ž<>…<EFBFBD>€–ˆŽ<CB86><C5BD>Ž‰ ‘ˆ‘’…Œ› Kolibri 0.7.1.0
|
‘ˆ‘’…Œ<EFBFBD>›… ”“<E2809D>Š–ˆˆ Ž<>…<EFBFBD>€–ˆŽ<CB86><C5BD>Ž‰ ‘ˆ‘’…Œ› Kolibri 0.7.5.0
|
||||||
|
|
||||||
<EFBFBD>®¬¥à äãªæ¨¨ ¯®¬¥é ¥âáï ¢ ॣ¨áâà eax.
|
<EFBFBD>®¬¥à äãªæ¨¨ ¯®¬¥é ¥âáï ¢ ॣ¨áâà eax.
|
||||||
‚맮¢ á¨á⥬®© äãªæ¨¨ ®áãé¥á⢫ï¥âáï ª®¬ ¤®© "int 0x40".
|
‚맮¢ á¨á⥬®© äãªæ¨¨ ®áãé¥á⢫ï¥âáï ª®¬ ¤®© "int 0x40".
|
||||||
@ -41,7 +41,7 @@
|
|||||||
* esi = 0xXYRRGGBB - 梥⠧ £®«®¢ª
|
* esi = 0xXYRRGGBB - 梥⠧ £®«®¢ª
|
||||||
* RR, GG, BB ®¯à¥¤¥«ïîâ á ¬ 梥â
|
* RR, GG, BB ®¯à¥¤¥«ïîâ á ¬ 梥â
|
||||||
* Y=0 - ®¡ë箥 ®ª®, Y=1 - ¥¯¥à¥¬¥é ¥¬®¥ ®ª®
|
* Y=0 - ®¡ë箥 ®ª®, Y=1 - ¥¯¥à¥¬¥é ¥¬®¥ ®ª®
|
||||||
* X ®¯à¥¤¥«ï¥â £à ¤¨¥â § £®«®¢ª : X=0 - ¥â £à ¤¨¥â ,
|
* X ®¯à¥¤¥«ï¥â £à ¤¨¥â § £®«®¢ª : X=0 - ¥â £à ¤¨¥â ,
|
||||||
X=8 - ®¡ëçë© £à ¤¨¥â,
|
X=8 - ®¡ëçë© £à ¤¨¥â,
|
||||||
¤«ï ®ª® ⨯ II X=4 - ¥£ â¨¢ë© £à ¤¨¥â
|
¤«ï ®ª® ⨯ II X=4 - ¥£ â¨¢ë© £à ¤¨¥â
|
||||||
* ¯à®ç¨¥ § 票ï X ¨ Y § १¥à¢¨à®¢ ë
|
* ¯à®ç¨¥ § 票ï X ¨ Y § १¥à¢¨à®¢ ë
|
||||||
@ -67,7 +67,7 @@
|
|||||||
ª®®à¤¨ â (¨«¨, ¢®§¬®¦®, ®¡¥) áç¨â ¥âáï ã«¥¬, ¥á«¨ ¨ íâ®
|
ª®®à¤¨ â (¨«¨, ¢®§¬®¦®, ®¡¥) áç¨â ¥âáï ã«¥¬, ¥á«¨ ¨ íâ®
|
||||||
¥ ¯®¬®£ ¥â, ⮠ᮮ⢥âáâ¢ãî騩 à §¬¥à (¨«¨, ¢®§¬®¦®, ®¡ )
|
¥ ¯®¬®£ ¥â, ⮠ᮮ⢥âáâ¢ãî騩 à §¬¥à (¨«¨, ¢®§¬®¦®, ®¡ )
|
||||||
ãáâ ¢«¨¢ ¥âáï ¢ à §¬¥à íªà .
|
ãáâ ¢«¨¢ ¥âáï ¢ à §¬¥à íªà .
|
||||||
|
|
||||||
„ «¥¥ ®¡®§ 稬 xpos,ypos,xsize,ysize - § 票ï, ¯¥à¥¤ ¢ ¥¬ë¥
|
„ «¥¥ ®¡®§ 稬 xpos,ypos,xsize,ysize - § 票ï, ¯¥à¥¤ ¢ ¥¬ë¥
|
||||||
¢ ebx,ecx. Š®®à¤¨ âë ¯à¨¢®¤ïâáï ®â®á¨â¥«ì® «¥¢®£® ¢¥à奣®
|
¢ ebx,ecx. Š®®à¤¨ âë ¯à¨¢®¤ïâáï ®â®á¨â¥«ì® «¥¢®£® ¢¥à奣®
|
||||||
㣫 ®ª , ª®â®àë©, â ª¨¬ ®¡à §®¬, § ¤ ¥âáï ª ª (0,0), ª®®à¤¨ âë
|
㣫 ®ª , ª®â®àë©, â ª¨¬ ®¡à §®¬, § ¤ ¥âáï ª ª (0,0), ª®®à¤¨ âë
|
||||||
@ -223,9 +223,6 @@
|
|||||||
âॡã¥âáï ¯¥à¥¤ âì ã¯à ¢«¥¨¥ á«¥¤ãî饬㠯à®æ¥ááã
|
âॡã¥âáï ¯¥à¥¤ âì ã¯à ¢«¥¨¥ á«¥¤ãî饬㠯à®æ¥ááã
|
||||||
(§ ª®ç¨âì ⥪ã騩 ª¢ ⠢६¥¨), ¨á¯®«ì§ã©â¥ ¯®¤äãªæ¨î 1
|
(§ ª®ç¨âì ⥪ã騩 ª¢ ⠢६¥¨), ¨á¯®«ì§ã©â¥ ¯®¤äãªæ¨î 1
|
||||||
äãªæ¨¨ 68.
|
äãªæ¨¨ 68.
|
||||||
* <20>ਠ⥪ã饩 ॠ«¨§ 樨 ¯à®¨§®©¤¥â ¥¬¥¤«¥ë© ¢®§¢à â ¨§ äãªæ¨¨,
|
|
||||||
¥á«¨ á«®¦¥¨¥ ebx á ⥪ã騬 § 票¥¬ áç¥â稪 ¢à¥¬¥¨ ¢ë§®¢¥â
|
|
||||||
32-¡¨â®¥ ¯¥à¥¯®«¥¨¥.
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
=============== ”ãªæ¨ï 6 - ¯à®ç¨â âì ä ©« á à ¬¤¨áª . ===============
|
=============== ”ãªæ¨ï 6 - ¯à®ç¨â âì ä ©« á à ¬¤¨áª . ===============
|
||||||
@ -621,16 +618,22 @@
|
|||||||
* eax = 17 - ®¬¥à äãªæ¨¨
|
* eax = 17 - ®¬¥à äãªæ¨¨
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* ¥á«¨ ¡ãä¥à ¯ãáâ, ¢®§¢à é ¥âáï eax=1
|
* ¥á«¨ ¡ãä¥à ¯ãáâ, ¢®§¢à é ¥âáï eax=1
|
||||||
* ¥á«¨ ¡ãä¥à ¥ ¯ãáâ, ⮣¤ ¢®§¢à é ¥âáï: áâ à訥 24 ¡¨â eax
|
* ¥á«¨ ¡ãä¥à ¥¯ãáâ:
|
||||||
ᮤ¥à¦ â ¨¤¥â¨ä¨ª â®à ª®¯ª¨ (¢ ç áâ®áâ¨, ¢ ah ®ª §ë¢ ¥âáï
|
* áâ à訥 24 ¡¨â eax ᮤ¥à¦ â ¨¤¥â¨ä¨ª â®à ª®¯ª¨
|
||||||
¬« ¤è¨© ¡ ©â ¨¤¥â¨ä¨ª â®à ; ¥á«¨ ¢á¥ ª®¯ª¨ ¨¬¥îâ ¨¤¥â¨ä¨ª â®à,
|
(¢ ç áâ®áâ¨, ¢ ah ®ª §ë¢ ¥âáï ¬« ¤è¨© ¡ ©â ¨¤¥â¨ä¨ª â®à ;
|
||||||
¬¥ì訩 256, â® ¤«ï à §«¨ç¥¨ï ¤®áâ â®ç® ah),
|
¥á«¨ ¢á¥ ª®¯ª¨ ¨¬¥îâ ¨¤¥â¨ä¨ª â®à, ¬¥ì訩 256,
|
||||||
¢ al ¢®§¢à é ¥âáï 0 - ¥á«¨ ¨á¯®«ì§®¢ « áì «¥¢ ï ª®¯ª ¬ëè¨, ¨«¨ ¡¨â ⮩ ª®¯ª¨ ¬ëè¨, ª®â®à ï ¨á¯®«ì§®¢ « áì.
|
â® ¤«ï à §«¨ç¥¨ï ¤®áâ â®ç® ah)
|
||||||
|
* al = 0 - ª®¯ª ¡ë« ¦ â «¥¢®© ª®¯ª®© ¬ëè¨
|
||||||
|
* al = ¡¨â, ᮮ⢥âáâ¢ãî騩 ¦ ¢è¥© ª®¯ª¥ ¬ëè¨, ¥á«¨ ¥ «¥¢®©
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* "<22>ãä¥à" åà ¨â ⮫쪮 ®¤ã ª®¯ªã, ¯à¨ ¦ ⨨ ®¢®© ª®¯ª¨
|
* "<22>ãä¥à" åà ¨â ⮫쪮 ®¤ã ª®¯ªã, ¯à¨ ¦ ⨨ ®¢®© ª®¯ª¨
|
||||||
¨ä®à¬ æ¨ï ® áâ ன â¥àï¥âáï.
|
¨ä®à¬ æ¨ï ® áâ ன â¥àï¥âáï.
|
||||||
* <20>ਠ¢ë§®¢¥ í⮩ äãªæ¨¨ ¯à¨«®¦¥¨¥¬ á ¥ ªâ¨¢ë¬ ®ª®¬
|
* <20>ਠ¢ë§®¢¥ í⮩ äãªæ¨¨ ¯à¨«®¦¥¨¥¬ á ¥ ªâ¨¢ë¬ ®ª®¬
|
||||||
¢®§¢à é ¥âáï ®â¢¥â "¡ãä¥à ¯ãáâ".
|
¢®§¢à é ¥âáï ®â¢¥â "¡ãä¥à ¯ãáâ".
|
||||||
|
* ‚®§¢à é ¥¬®¥ § 票¥ al ᮮ⢥âáâ¢ã¥â á®áâ®ï¨î ª®¯®ª ¬ëè¨
|
||||||
|
¢ ä®à¬ ⥠¯®¤äãªæ¨¨ 2 äãªæ¨¨ 37 ¢ ¬®¬¥â ç « ¦ â¨ï
|
||||||
|
ª®¯ªã, § ¨áª«î票¥¬ ¬« ¤è¥£® ¡¨â (ᮮ⢥âáâ¢ãî饣® «¥¢®©
|
||||||
|
ª®¯ª¥ ¬ëè¨), ª®â®àë© á¡à áë¢ ¥âáï.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
==== ”ãªæ¨ï 18, ¯®¤äãªæ¨ï 2 - § ¢¥àè¨âì ¯à®æ¥áá/¯®â®ª ¯® á«®âã. ====
|
==== ”ãªæ¨ï 18, ¯®¤äãªæ¨ï 2 - § ¢¥àè¨âì ¯à®æ¥áá/¯®â®ª ¯® á«®âã. ====
|
||||||
@ -662,7 +665,7 @@
|
|||||||
* “§ âì, ª ª®¥ ®ª® ï¥âáï ªâ¨¢ë¬, ¬®¦® ¢ë§®¢®¬ ¯®¤äãªæ¨¨ 7.
|
* “§ âì, ª ª®¥ ®ª® ï¥âáï ªâ¨¢ë¬, ¬®¦® ¢ë§®¢®¬ ¯®¤äãªæ¨¨ 7.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
”ãªæ¨ï 18, ¯®¤äãªæ¨ï 4 - ¯®«ãç¨âì áçñâ稪 ¯ãáâëå ⠪⮢ ¢ ᥪã¤ã.
|
”ãªæ¨ï 18, ¯®¤äãªæ¨ï 4 - ¯®«ãç¨âì áçñâ稪 ¯ãáâëå ⠪⮢ ¢ ᥪã¤ã.
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD>®¤ ¯ãáâ묨 ⠪⠬¨ ¯®¨¬ ¥âáï ¢à¥¬ï, ¢ ª®â®à®¥ ¯à®æ¥áá®à ¯à®áâ ¨¢ ¥â
|
<EFBFBD>®¤ ¯ãáâ묨 ⠪⠬¨ ¯®¨¬ ¥âáï ¢à¥¬ï, ¢ ª®â®à®¥ ¯à®æ¥áá®à ¯à®áâ ¨¢ ¥â
|
||||||
¢ ®¦¨¤ ¨¨ ¯à¥àë¢ ¨ï (¢ ¨áâàãªæ¨¨ hlt).
|
¢ ®¦¨¤ ¨¨ ¯à¥àë¢ ¨ï (¢ ¨áâàãªæ¨¨ hlt).
|
||||||
@ -683,7 +686,7 @@
|
|||||||
* eax = ⠪⮢ ï ç áâ®â (¯® ¬®¤ã«î 2^32 ⠪⮢ = 4ƒƒæ)
|
* eax = ⠪⮢ ï ç áâ®â (¯® ¬®¤ã«î 2^32 ⠪⮢ = 4ƒƒæ)
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
”ãªæ¨ï 18, ¯®¤äãªæ¨ï 6 - á®åà ¨âì à ¬¤¨áª ¢ ä ©« ¦ñá⪮¬ ¤¨áª¥.
|
”ãªæ¨ï 18, ¯®¤äãªæ¨ï 6 - á®åà ¨âì à ¬¤¨áª ¢ ä ©« ¦ñá⪮¬ ¤¨áª¥.
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 18 - ®¬¥à äãªæ¨¨
|
* eax = 18 - ®¬¥à äãªæ¨¨
|
||||||
@ -735,7 +738,7 @@
|
|||||||
* äãªæ¨ï ¥ ¢®§¢à é ¥â § 票ï
|
* äãªæ¨ï ¥ ¢®§¢à é ¥â § 票ï
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
======= ”ãªæ¨ï 18, ¯®¤äãªæ¨ï 9 - § ¢¥à襨¥ à ¡®âë á¨á⥬ë ========
|
= ”ãªæ¨ï 18, ¯®¤äãªæ¨ï 9 - § ¢¥à襨¥ à ¡®âë á¨á⥬ë á ¯ à ¬¥â஬. =
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 18 - ®¬¥à äãªæ¨¨
|
* eax = 18 - ®¬¥à äãªæ¨¨
|
||||||
@ -750,8 +753,7 @@
|
|||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* <20>¥ á«¥¤ã¥â ¯®« £ âìáï ¢®§¢à é ¥¬®¥ § 票¥ ¯à¨ ¥¢¥à®¬
|
* <20>¥ á«¥¤ã¥â ¯®« £ âìáï ¢®§¢à é ¥¬®¥ § 票¥ ¯à¨ ¥¢¥à®¬
|
||||||
¢ë§®¢¥, ®® ¬®¦¥â ¨§¬¥¨âìáï ¢ ¯®á«¥¤ãîé¨å ¢¥àá¨ïå ï¤à .
|
¢ë§®¢¥, ®® ¬®¦¥â ¨§¬¥¨âìáï ¢ ¯®á«¥¤ãîé¨å ¢¥àá¨ïå ï¤à .
|
||||||
* Œ®¦® ¨á¯®«ì§®¢ âì ¯®¤äãªæ¨î 1, çâ®¡ë ¯®á«¥¤¥¬ è £¥
|
|
||||||
§ ¢¥à襨ï à ¡®âë ¯®«ì§®¢ ⥫ì á ¬ à¥è «, çâ® ¥¬ã 㦮.
|
|
||||||
======================================================================
|
======================================================================
|
||||||
======== ”ãªæ¨ï 18, ¯®¤äãªæ¨ï 10 - ᢥàãâì ®ª® ¯à¨«®¦¥¨ï. =======
|
======== ”ãªæ¨ï 18, ¯®¤äãªæ¨ï 10 - ᢥàãâì ®ª® ¯à¨«®¦¥¨ï. =======
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -764,7 +766,7 @@
|
|||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* Œ¨¨¬¨§¨à®¢ ®¥ ®ª® á â®çª¨ §à¥¨ï äãªæ¨¨ 9 á®åà ï¥â ¯®«®¦¥¨¥
|
* Œ¨¨¬¨§¨à®¢ ®¥ ®ª® á â®çª¨ §à¥¨ï äãªæ¨¨ 9 á®åà ï¥â ¯®«®¦¥¨¥
|
||||||
¨ à §¬¥àë.
|
¨ à §¬¥àë.
|
||||||
* ‚®ááâ ®¢«¥¨¥ ®ª ¯à¨«®¦¥¨ï ¯à®¨á室¨â ¯à¨ ªâ¨¢¨§¨à®¢ ¨¨
|
* ‚®ááâ ®¢«¥¨¥ ®ª ¯à¨«®¦¥¨ï ¯à®¨á室¨â ¯à¨ ªâ¨¢¨§¨à®¢ ¨¨
|
||||||
¯®¤äãªæ¨¥© 3.
|
¯®¤äãªæ¨¥© 3.
|
||||||
* Ž¡ëç® ¥â ¥®¡å®¤¨¬®á⨠ ᢮à 稢 âì/à §¢®à 稢 âì ᢮ñ ®ª®:
|
* Ž¡ëç® ¥â ¥®¡å®¤¨¬®á⨠ ᢮à 稢 âì/à §¢®à 稢 âì ᢮ñ ®ª®:
|
||||||
᢮à 稢 ¨¥ ®ª ®áãé¥á⢫ï¥âáï á¨á⥬®© ¯à¨ ¦ ⨨ ª®¯ªã
|
᢮à 稢 ¨¥ ®ª ®áãé¥á⢫ï¥âáï á¨á⥬®© ¯à¨ ¦ ⨨ ª®¯ªã
|
||||||
@ -1027,7 +1029,7 @@ dd 638
|
|||||||
* ¨ ç¥ eax = ®¬¥à á«®â
|
* ¨ ç¥ eax = ®¬¥à á«®â
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
”ãªæ¨ï 18, ¯®¤äãªæ¨ï 22 - ®¯¥à 樨 á ®ª®¬ ¤à㣮£® ¯à®æ¥áá /¯®â®ª .
|
”ãªæ¨ï 18, ¯®¤äãªæ¨ï 22 - ®¯¥à 樨 á ®ª®¬ ¤à㣮£® ¯à®æ¥áá /¯®â®ª .
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 18 - ®¬¥à äãªæ¨¨
|
* eax = 18 - ®¬¥à äãªæ¨¨
|
||||||
@ -1064,7 +1066,7 @@ dd 638
|
|||||||
* eax = 0 - ãᯥè®
|
* eax = 0 - ãᯥè®
|
||||||
* eax = 1 - ¥ ®¯à¥¤¥«ñ ¡ §®¢ë© ¯®àâ
|
* eax = 1 - ¥ ®¯à¥¤¥«ñ ¡ §®¢ë© ¯®àâ
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* <20>।¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì ®¯à¥¤¥«ñ ¡ §®¢ë© ¯®à⠢맮¢®¬
|
* <20>।¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì ®¯à¥¤¥«ñ ¡ §®¢ë© ¯®à⠢맮¢®¬
|
||||||
¯®¤äãªæ¨¨ 1 äãªæ¨¨ 21.
|
¯®¤äãªæ¨¨ 1 äãªæ¨¨ 21.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1080,7 +1082,7 @@ dd 638
|
|||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* <20>®¬¥à ¯®àâ ¤®«¦¥ 㤮¢«¥â¢®àïâì ãá«®¢¨ï¬ 0x100<=ecx<=0xFFFF.
|
* <20>®¬¥à ¯®àâ ¤®«¦¥ 㤮¢«¥â¢®àïâì ãá«®¢¨ï¬ 0x100<=ecx<=0xFFFF.
|
||||||
* “áâ ®¢ª ¡ §ë 㦠¤«ï à ¡®âë äãªæ¨¨ 20.
|
* “áâ ®¢ª ¡ §ë 㦠¤«ï à ¡®âë äãªæ¨¨ 20.
|
||||||
* <20>®«ãç¨âì ãáâ ®¢«¥ë© ¡ §®¢ë© ¯®àâ ¬®¦® ¢ë§®¢®¬
|
* <20>®«ãç¨âì ãáâ ®¢«¥ë© ¡ §®¢ë© ¯®àâ ¬®¦® ¢ë§®¢®¬
|
||||||
¯®¤äãªæ¨¨ 1 äãªæ¨¨ 26.
|
¯®¤äãªæ¨¨ 1 äãªæ¨¨ 26.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1110,7 +1112,7 @@ dd 638
|
|||||||
®à¬ «ì ï à ᪫ ¤ª , ¯®á«¥ 祣® ¨§ ª®¤ ¢ëç¨â ¥âáï 0x60;
|
®à¬ «ì ï à ᪫ ¤ª , ¯®á«¥ 祣® ¨§ ª®¤ ¢ëç¨â ¥âáï 0x60;
|
||||||
¥á«¨ ¥ ¦ â ¨ ®¤ ¨§ ã¯à ¢«ïîé¨å ª« ¢¨è, â® ¨á¯®«ì§ã¥âáï
|
¥á«¨ ¥ ¦ â ¨ ®¤ ¨§ ã¯à ¢«ïîé¨å ª« ¢¨è, â® ¨á¯®«ì§ã¥âáï
|
||||||
®à¬ «ì ï à ᪫ ¤ª .
|
®à¬ «ì ï à ᪫ ¤ª .
|
||||||
* <20>®«ãç¨âì à ᪫ ¤ª¨ ¨ ¨¤¥â¨ä¨ª â®à áâà ë ¬®¦® á ¯®¬®éìî
|
* <20>®«ãç¨âì à ᪫ ¤ª¨ ¨ ¨¤¥â¨ä¨ª â®à áâà ë ¬®¦® á ¯®¬®éìî
|
||||||
¯®¤äãªæ¨¨ 2 äãªæ¨¨ 26.
|
¯®¤äãªæ¨¨ 2 äãªæ¨¨ 26.
|
||||||
* ˆ¤¥â¨ä¨ª â®à áâà ë - £«®¡ «ì ï á¨á⥬ ï ¯¥à¥¬¥ ï, ª®â®à ï
|
* ˆ¤¥â¨ä¨ª â®à áâà ë - £«®¡ «ì ï á¨á⥬ ï ¯¥à¥¬¥ ï, ª®â®à ï
|
||||||
á ¬¨¬ ï¤à®¬ ¥ ¨á¯®«ì§ã¥âáï; ®¤ ª® ¯à¨«®¦¥¨¥ @panel ®â®¡à ¦ ¥â
|
á ¬¨¬ ï¤à®¬ ¥ ¨á¯®«ì§ã¥âáï; ®¤ ª® ¯à¨«®¦¥¨¥ @panel ®â®¡à ¦ ¥â
|
||||||
@ -1128,14 +1130,9 @@ dd 638
|
|||||||
* eax = 0
|
* eax = 0
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* <20> § CD ¨á¯®«ì§ã¥âáï äãªæ¨¥© 24.
|
* <20> § CD ¨á¯®«ì§ã¥âáï äãªæ¨¥© 24.
|
||||||
* <20>®«ãç¨âì ãáâ ®¢«¥ãî ¡ §ã CD ¬®¦® ¢ë§®¢®¬
|
* <20>®«ãç¨âì ãáâ ®¢«¥ãî ¡ §ã CD ¬®¦® ¢ë§®¢®¬
|
||||||
¯®¤äãªæ¨¨ 3 äãªæ¨¨ 26.
|
¯®¤äãªæ¨¨ 3 äãªæ¨¨ 26.
|
||||||
|
|
||||||
======================================================================
|
|
||||||
== ”ãªæ¨ï 21, ¯®¤äãªæ¨ï 4 - ãáâ ®¢¨âì ¡ §®¢ë© ¯®àâ Sound Blaster. =
|
|
||||||
======================================================================
|
|
||||||
“¤ «¥
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
========= ”ãªæ¨ï 21, ¯®¤äãªæ¨ï 5 - ãáâ ®¢¨âì ï§ëª á¨á⥬ë. ========
|
========= ”ãªæ¨ï 21, ¯®¤äãªæ¨ï 5 - ãáâ ®¢¨âì ï§ëª á¨á⥬ë. ========
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1171,7 +1168,7 @@ dd 638
|
|||||||
* <20>¥ á«¥¤ã¥â ¨§¬¥ïâì ¡ §ã, ª®£¤ ª ª®¥-¨¡ã¤ì ¯à¨«®¦¥¨¥ à ¡®â ¥â
|
* <20>¥ á«¥¤ã¥â ¨§¬¥ïâì ¡ §ã, ª®£¤ ª ª®¥-¨¡ã¤ì ¯à¨«®¦¥¨¥ à ¡®â ¥â
|
||||||
á ¦ñá⪨¬ ¤¨áª®¬. …᫨ ¥ å®â¨â¥ £«îª®¢ á¨á⥬ë.
|
á ¦ñá⪨¬ ¤¨áª®¬. …᫨ ¥ å®â¨â¥ £«îª®¢ á¨á⥬ë.
|
||||||
* <20>®«ãç¨âì ãáâ ®¢«¥ãî ¡ §ã ¬®¦® ¢ë§®¢®¬ ¯®¤äãªæ¨¨ 7 äãªæ¨¨ 26.
|
* <20>®«ãç¨âì ãáâ ®¢«¥ãî ¡ §ã ¬®¦® ¢ë§®¢®¬ ¯®¤äãªæ¨¨ 7 äãªæ¨¨ 26.
|
||||||
* ‘«¥¤ã¥â â ª¦¥ ®¯à¥¤¥«¨âì ¨á¯®«ì§ã¥¬ë© à §¤¥« ¦ñá⪮£® ¤¨áª
|
* ‘«¥¤ã¥â â ª¦¥ ®¯à¥¤¥«¨âì ¨á¯®«ì§ã¥¬ë© à §¤¥« ¦ñá⪮£® ¤¨áª
|
||||||
¯®¤äãªæ¨¥© 8.
|
¯®¤äãªæ¨¥© 8.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1194,16 +1191,11 @@ dd 638
|
|||||||
* <20>®«ãç¨âì ãáâ ®¢«¥ë© à §¤¥« ¬®¦® ¢ë§®¢®¬ ¯®¤äãªæ¨¨ 8
|
* <20>®«ãç¨âì ãáâ ®¢«¥ë© à §¤¥« ¬®¦® ¢ë§®¢®¬ ¯®¤äãªæ¨¨ 8
|
||||||
äãªæ¨¨ 26.
|
äãªæ¨¨ 26.
|
||||||
* <20>஢¥à®ª ª®à४â®áâì ¥ ¤¥« ¥âáï.
|
* <20>஢¥à®ª ª®à४â®áâì ¥ ¤¥« ¥âáï.
|
||||||
* “§ âì ç¨á«® à §¤¥«®¢ ¦ñá⪮¬ ¤¨áª¥ ¬®¦® ¢ë§®¢®¬
|
* “§ âì ç¨á«® à §¤¥«®¢ ¦ñá⪮¬ ¤¨áª¥ ¬®¦® ¢ë§®¢®¬
|
||||||
¯®¤äãªæ¨¨ 11 äãªæ¨¨ 18.
|
¯®¤äãªæ¨¨ 11 äãªæ¨¨ 18.
|
||||||
* ‘«¥¤ã¥â â ª¦¥ ®¯à¥¤¥«¨âì ¨á¯®«ì§ã¥¬ãî ¡ §ã ¦ñá⪮£® ¤¨áª
|
* ‘«¥¤ã¥â â ª¦¥ ®¯à¥¤¥«¨âì ¨á¯®«ì§ã¥¬ãî ¡ §ã ¦ñá⪮£® ¤¨áª
|
||||||
¯®¤äãªæ¨¥© 7.
|
¯®¤äãªæ¨¥© 7.
|
||||||
|
|
||||||
======================================================================
|
|
||||||
===== ”ãªæ¨ï 21, ¯®¤äãªæ¨ï 10 - ãáâ ®¢¨âì ª « DMA ¤«ï §¢ãª . ====
|
|
||||||
======================================================================
|
|
||||||
“¤ «¥ :
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
====================== ”ãªæ¨ï 21, ¯®¤äãªæ¨ï 11 =====================
|
====================== ”ãªæ¨ï 21, ¯®¤äãªæ¨ï 11 =====================
|
||||||
=========== <20> §à¥è¨âì/§ ¯à¥â¨âì ¨§ª®ã஢¥¢ë© ¤®áâ㯠ª HD. ==========
|
=========== <20> §à¥è¨âì/§ ¯à¥â¨âì ¨§ª®ã஢¥¢ë© ¤®áâ㯠ª HD. ==========
|
||||||
@ -1287,13 +1279,13 @@ dd 638
|
|||||||
* ebx = ç áâ®â ¢¥à⨪ «ì®© à §¢ñà⪨ (¢ ƒæ)
|
* ebx = ç áâ®â ¢¥à⨪ «ì®© à §¢ñà⪨ (¢ ƒæ)
|
||||||
* ecx = ®¬¥à ⥪ã饣® ¢¨¤¥®à¥¦¨¬
|
* ecx = ®¬¥à ⥪ã饣® ¢¨¤¥®à¥¦¨¬
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* „à ©¢¥à ¯à¥¤¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì ¨¨æ¨ «¨§¨à®¢ ¢ë§®¢®¬
|
* „à ©¢¥à ¯à¥¤¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì ¨¨æ¨ «¨§¨à®¢ ¢ë§®¢®¬
|
||||||
äãªæ¨¨ ¤à ©¢¥à 1.
|
äãªæ¨¨ ¤à ©¢¥à 1.
|
||||||
* …᫨ ã¦ë ⮫쪮 à §¬¥àë íªà , 楫¥á®®¡à §¥© ¨á¯®«ì§®¢ âì
|
* …᫨ ã¦ë ⮫쪮 à §¬¥àë íªà , 楫¥á®®¡à §¥© ¨á¯®«ì§®¢ âì
|
||||||
äãªæ¨î 14 á ãçñ⮬ ⮣®, çâ® ® ¢®§¢à é ¥â à §¬¥àë 1 ¬¥ìè¥.
|
äãªæ¨î 14 á ãçñ⮬ ⮣®, çâ® ® ¢®§¢à é ¥â à §¬¥àë 1 ¬¥ìè¥.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
= ”ãªæ¨ï 21, ¯®¤äãªæ¨ï 13, ¯®¤¯®¤äãªæ¨ï 3 - ãáâ ®¢¨âì ¢¨¤¥®à¥¦¨¬.
|
= ”ãªæ¨ï 21, ¯®¤äãªæ¨ï 13, ¯®¤¯®¤äãªæ¨ï 3 - ãáâ ®¢¨âì ¢¨¤¥®à¥¦¨¬.
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 21 - ®¬¥à äãªæ¨¨
|
* eax = 21 - ®¬¥à äãªæ¨¨
|
||||||
@ -1306,7 +1298,7 @@ dd 638
|
|||||||
* eax = 0 - ãᯥè®
|
* eax = 0 - ãᯥè®
|
||||||
* ebx, ecx à §àãè îâáï
|
* ebx, ecx à §àãè îâáï
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* „à ©¢¥à ¯à¥¤¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì ¨¨æ¨ «¨§¨à®¢ ¢ë§®¢®¬
|
* „à ©¢¥à ¯à¥¤¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì ¨¨æ¨ «¨§¨à®¢ ¢ë§®¢®¬
|
||||||
äãªæ¨¨ ¤à ©¢¥à 1.
|
äãªæ¨¨ ¤à ©¢¥à 1.
|
||||||
* <20>®¬¥à ¢¨¤¥®à¥¦¨¬ ¨ ç áâ®â ¤®«¦ë ¡ëâì ¢ â ¡«¨æ¥, ¢®§¢à é ¥¬®©
|
* <20>®¬¥à ¢¨¤¥®à¥¦¨¬ ¨ ç áâ®â ¤®«¦ë ¡ëâì ¢ â ¡«¨æ¥, ¢®§¢à é ¥¬®©
|
||||||
äãªæ¨¥© ¤à ©¢¥à 1.
|
äãªæ¨¥© ¤à ©¢¥à 1.
|
||||||
@ -1325,7 +1317,7 @@ dd 638
|
|||||||
* eax = 0 - ãᯥè®
|
* eax = 0 - ãᯥè®
|
||||||
* ebx, ecx à §àãè îâáï
|
* ebx, ecx à §àãè îâáï
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* „à ©¢¥à ¯à¥¤¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì ¨¨æ¨ «¨§¨à®¢ ¢ë§®¢®¬
|
* „à ©¢¥à ¯à¥¤¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì ¨¨æ¨ «¨§¨à®¢ ¢ë§®¢®¬
|
||||||
äãªæ¨¨ ¤à ©¢¥à 1.
|
äãªæ¨¨ ¤à ©¢¥à 1.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1345,7 +1337,7 @@ dd 638
|
|||||||
* eax = 0 - ãᯥè®
|
* eax = 0 - ãᯥè®
|
||||||
* ebx, ecx à §àãè îâáï
|
* ebx, ecx à §àãè îâáï
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* „à ©¢¥à ¯à¥¤¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì ¨¨æ¨ «¨§¨à®¢ ¢ë§®¢®¬
|
* „à ©¢¥à ¯à¥¤¢ à¨â¥«ì® ¤®«¦¥ ¡ëâì ¨¨æ¨ «¨§¨à®¢ ¢ë§®¢®¬
|
||||||
äãªæ¨¨ ¤à ©¢¥à 1.
|
äãªæ¨¨ ¤à ©¢¥à 1.
|
||||||
* ”ãªæ¨ï ¢«¨ï¥â ⮫쪮 䨧¨ç¥áª¨© à §¬¥à ¨§®¡à ¦¥¨ï
|
* ”ãªæ¨ï ¢«¨ï¥â ⮫쪮 䨧¨ç¥áª¨© à §¬¥à ¨§®¡à ¦¥¨ï
|
||||||
¬®¨â®à¥; «®£¨ç¥áª¨© à §¬¥à (ç¨á«® ¯¨ªá¥«¥©) ¥ ¬¥ï¥âáï.
|
¬®¨â®à¥; «®£¨ç¥áª¨© à §¬¥à (ç¨á«® ¯¨ªá¥«¥©) ¥ ¬¥ï¥âáï.
|
||||||
@ -1426,7 +1418,7 @@ dd 638
|
|||||||
* eax = 0 - ãᯥè®
|
* eax = 0 - ãᯥè®
|
||||||
* eax = 1 - ¥ ®¯à¥¤¥«¥ ¡ § CD
|
* eax = 1 - ¥ ®¯à¥¤¥«¥ ¡ § CD
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* <20>।¢ à¨â¥«ì® 㦮 ®¯à¥¤¥«¨âì ¡ §®¢ë© ¯®àâ CD ¢ë§®¢®¬
|
* <20>।¢ à¨â¥«ì® 㦮 ®¯à¥¤¥«¨âì ¡ §®¢ë© ¯®àâ CD ¢ë§®¢®¬
|
||||||
¯®¤äãªæ¨¨ 3 äãªæ¨¨ 21.
|
¯®¤äãªæ¨¨ 3 äãªæ¨¨ 21.
|
||||||
* ‚ ᥪ㤥 75 ä३¬®¢, ¢ ¬¨ã⥠60 ᥪã¤.
|
* ‚ ᥪ㤥 75 ä३¬®¢, ¢ ¬¨ã⥠60 ᥪã¤.
|
||||||
* ”ãªæ¨ï á¨åà® (¢®§¢à é ¥â ã¯à ¢«¥¨¥, ª®£¤ ç «®áì
|
* ”ãªæ¨ï á¨åà® (¢®§¢à é ¥â ã¯à ¢«¥¨¥, ª®£¤ ç «®áì
|
||||||
@ -1447,7 +1439,7 @@ dd 638
|
|||||||
* ”®à¬ â â ¡«¨æë á ¨ä®à¬ 樥© ® ¤®à®¦ª å â ª®© ¦¥, ª ª ¨ ¤«ï
|
* ”®à¬ â â ¡«¨æë á ¨ä®à¬ 樥© ® ¤®à®¦ª å â ª®© ¦¥, ª ª ¨ ¤«ï
|
||||||
ATAPI-CD ª®¬ ¤ë 43h (READ TOC), ®¡ë箩 â ¡«¨æë (¯®¤ª®¬ ¤ 00h).
|
ATAPI-CD ª®¬ ¤ë 43h (READ TOC), ®¡ë箩 â ¡«¨æë (¯®¤ª®¬ ¤ 00h).
|
||||||
€¤à¥á ¢®§¢à é îâáï ¢ ä®à¬ ⥠MSF.
|
€¤à¥á ¢®§¢à é îâáï ¢ ä®à¬ ⥠MSF.
|
||||||
* <20>।¢ à¨â¥«ì® 㦮 ®¯à¥¤¥«¨âì ¡ §®¢ë© ¯®àâ CD ¢ë§®¢®¬
|
* <20>।¢ à¨â¥«ì® 㦮 ®¯à¥¤¥«¨âì ¡ §®¢ë© ¯®àâ CD ¢ë§®¢®¬
|
||||||
¯®¤äãªæ¨¨ 3 äãªæ¨¨ 21.
|
¯®¤äãªæ¨¨ 3 äãªæ¨¨ 21.
|
||||||
* ”ãªæ¨ï ¢®§¢à é ¥â ¨ä®à¬ æ¨î ⮫쪮 ® ¥ ¡®«¥¥ 祬 100
|
* ”ãªæ¨ï ¢®§¢à é ¥â ¨ä®à¬ æ¨î ⮫쪮 ® ¥ ¡®«¥¥ 祬 100
|
||||||
¯¥à¢ëå ¤®à®¦ª å. ‚ ¡®«ìè¨á⢥ á«ãç ¥¢ í⮣® ¤®áâ â®ç®.
|
¯¥à¢ëå ¤®à®¦ª å. ‚ ¡®«ìè¨á⢥ á«ãç ¥¢ í⮣® ¤®áâ â®ç®.
|
||||||
@ -1462,7 +1454,7 @@ dd 638
|
|||||||
* eax = 0 - ãᯥè®
|
* eax = 0 - ãᯥè®
|
||||||
* eax = 1 - ¥ ®¯à¥¤¥«¥ ¡ § CD
|
* eax = 1 - ¥ ®¯à¥¤¥«¥ ¡ § CD
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* <20>।¢ à¨â¥«ì® 㦮 ®¯à¥¤¥«¨âì ¡ §®¢ë© ¯®àâ CD ¢ë§®¢®¬
|
* <20>।¢ à¨â¥«ì® 㦮 ®¯à¥¤¥«¨âì ¡ §®¢ë© ¯®àâ CD ¢ë§®¢®¬
|
||||||
¯®¤äãªæ¨¨ 3 äãªæ¨¨ 21.
|
¯®¤äãªæ¨¨ 3 äãªæ¨¨ 21.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1497,11 +1489,6 @@ dd 638
|
|||||||
* ”ãªæ¨ï ¯®¤¤¥à¦¨¢ ¥âáï ⮫쪮 ¤«ï ATAPI-ãáâனá⢠(CD ¨ DVD).
|
* ”ãªæ¨ï ¯®¤¤¥à¦¨¢ ¥âáï ⮫쪮 ¤«ï ATAPI-ãáâனá⢠(CD ¨ DVD).
|
||||||
* <20>ਬ¥à®¬ ¨á¯®«ì§®¢ ¨ï äãªæ¨¨ ï¥âáï ¯à¨«®¦¥¨¥ CD_tray.
|
* <20>ਬ¥à®¬ ¨á¯®«ì§®¢ ¨ï äãªæ¨¨ ï¥âáï ¯à¨«®¦¥¨¥ CD_tray.
|
||||||
|
|
||||||
======================================================================
|
|
||||||
============== ”ãªæ¨ï 25 - ãáâ ®¢¨âì £à®¬ª®áâì SBPro. ==============
|
|
||||||
======================================================================
|
|
||||||
“¤ «¥
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
===== ”ãªæ¨ï 26, ¯®¤äãªæ¨ï 1 - ¯®«ãç¨âì ¡ §®¢ë© ¯®àâ MPU MIDI. =====
|
===== ”ãªæ¨ï 26, ¯®¤äãªæ¨ï 1 - ¯®«ãç¨âì ¡ §®¢ë© ¯®àâ MPU MIDI. =====
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1511,7 +1498,7 @@ dd 638
|
|||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* eax = ®¬¥à ¯®àâ
|
* eax = ®¬¥à ¯®àâ
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* “áâ ®¢¨âì ¡ §®¢ë© ¯®àâ ¬®¦® ¢ë§®¢®¬
|
* “áâ ®¢¨âì ¡ §®¢ë© ¯®àâ ¬®¦® ¢ë§®¢®¬
|
||||||
¯®¤äãªæ¨¨ 1 äãªæ¨¨ 21.
|
¯®¤äãªæ¨¨ 1 äãªæ¨¨ 21.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1544,7 +1531,7 @@ dd 638
|
|||||||
®à¬ «ì ï à ᪫ ¤ª , ¯®á«¥ 祣® ¨§ ª®¤ ¢ëç¨â ¥âáï 0x60;
|
®à¬ «ì ï à ᪫ ¤ª , ¯®á«¥ 祣® ¨§ ª®¤ ¢ëç¨â ¥âáï 0x60;
|
||||||
¥á«¨ ¥ ¦ â ¨ ®¤ ¨§ ã¯à ¢«ïîé¨å ª« ¢¨è, â® ¨á¯®«ì§ã¥âáï
|
¥á«¨ ¥ ¦ â ¨ ®¤ ¨§ ã¯à ¢«ïîé¨å ª« ¢¨è, â® ¨á¯®«ì§ã¥âáï
|
||||||
®à¬ «ì ï à ᪫ ¤ª .
|
®à¬ «ì ï à ᪫ ¤ª .
|
||||||
* “áâ ®¢¨âì à ᪫ ¤ª¨ ¨ ¨¤¥â¨ä¨ª â®à áâà ë ¬®¦® á ¯®¬®éìî
|
* “áâ ®¢¨âì à ᪫ ¤ª¨ ¨ ¨¤¥â¨ä¨ª â®à áâà ë ¬®¦® á ¯®¬®éìî
|
||||||
¯®¤äãªæ¨¨ 2 äãªæ¨¨ 21.
|
¯®¤äãªæ¨¨ 2 äãªæ¨¨ 21.
|
||||||
* ˆ¤¥â¨ä¨ª â®à áâà ë - £«®¡ «ì ï á¨á⥬ ï ¯¥à¥¬¥ ï, ª®â®à ï
|
* ˆ¤¥â¨ä¨ª â®à áâà ë - £«®¡ «ì ï á¨á⥬ ï ¯¥à¥¬¥ ï, ª®â®à ï
|
||||||
á ¬¨¬ ï¤à®¬ ¥ ¨á¯®«ì§ã¥âáï; ®¤ ª® ¯à¨«®¦¥¨¥ @panel ®â®¡à ¦ ¥â
|
á ¬¨¬ ï¤à®¬ ¥ ¨á¯®«ì§ã¥âáï; ®¤ ª® ¯à¨«®¦¥¨¥ @panel ®â®¡à ¦ ¥â
|
||||||
@ -1564,11 +1551,6 @@ dd 638
|
|||||||
* <20> § CD ¨á¯®«ì§ã¥âáï äãªæ¨¥© 24.
|
* <20> § CD ¨á¯®«ì§ã¥âáï äãªæ¨¥© 24.
|
||||||
* “áâ ®¢¨âì ¡ §ã CD ¬®¦® ¢ë§®¢®¬ ¯®¤äãªæ¨¨ 3 äãªæ¨¨ 21.
|
* “áâ ®¢¨âì ¡ §ã CD ¬®¦® ¢ë§®¢®¬ ¯®¤äãªæ¨¨ 3 äãªæ¨¨ 21.
|
||||||
|
|
||||||
======================================================================
|
|
||||||
=== ”ãªæ¨ï 26, ¯®¤äãªæ¨ï 4 - ¯®«ãç¨âì ¡ §®¢ë© ¯®àâ Sound Blaster. ==
|
|
||||||
======================================================================
|
|
||||||
“¤ «¥
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
========== ”ãªæ¨ï 26, ¯®¤äãªæ¨ï 5 - ¯®«ãç¨âì ï§ëª á¨á⥬ë. =========
|
========== ”ãªæ¨ï 26, ¯®¤äãªæ¨ï 5 - ¯®«ãç¨âì ï§ëª á¨á⥬ë. =========
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1633,11 +1615,6 @@ dd 638
|
|||||||
497 áã⮪.
|
497 áã⮪.
|
||||||
* ‘¨á⥬®¥ ¢à¥¬ï ¬®¦® ¯®«ãç¨âì äãªæ¨¥© 3.
|
* ‘¨á⥬®¥ ¢à¥¬ï ¬®¦® ¯®«ãç¨âì äãªæ¨¥© 3.
|
||||||
|
|
||||||
======================================================================
|
|
||||||
====== ”ãªæ¨ï 26, ¯®¤äãªæ¨ï 10 - ¯®«ãç¨âì ª « DMA ¤«ï §¢ãª . =====
|
|
||||||
======================================================================
|
|
||||||
“¤ «¥
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
====================== ”ãªæ¨ï 26, ¯®¤äãªæ¨ï 11 =====================
|
====================== ”ãªæ¨ï 26, ¯®¤äãªæ¨ï 11 =====================
|
||||||
=========== “§ âì, à §à¥èñ «¨ ¨§ª®ã஢¥¢ë© ¤®áâ㯠ª HD. ==========
|
=========== “§ âì, à §à¥èñ «¨ ¨§ª®ã஢¥¢ë© ¤®áâ㯠ª HD. ==========
|
||||||
@ -1649,7 +1626,7 @@ dd 638
|
|||||||
* eax = 0/1 - § ¯à¥éñ/à §à¥èñ
|
* eax = 0/1 - § ¯à¥éñ/à §à¥èñ
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* ˆá¯®«ì§ã¥âáï ¯à¨ LBA-ç⥨¨ (¯®¤äãªæ¨ï 8 äãªæ¨¨ 58).
|
* ˆá¯®«ì§ã¥âáï ¯à¨ LBA-ç⥨¨ (¯®¤äãªæ¨ï 8 äãªæ¨¨ 58).
|
||||||
* “áâ ®¢¨âì ⥪ã饥 á®áâ®ï¨¥ ¬®¦® ¢ë§®¢®¬
|
* “áâ ®¢¨âì ⥪ã饥 á®áâ®ï¨¥ ¬®¦® ¢ë§®¢®¬
|
||||||
¯®¤äãªæ¨¨ 11 äãªæ¨¨ 21.
|
¯®¤äãªæ¨¨ 11 äãªæ¨¨ 21.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1664,14 +1641,9 @@ dd 638
|
|||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* ˆá¯®«ì§ã¥âáï ¯à¨ à ¡®â¥ á 訮© PCI (äãªæ¨ï 62).
|
* ˆá¯®«ì§ã¥âáï ¯à¨ à ¡®â¥ á 訮© PCI (äãªæ¨ï 62).
|
||||||
* ’¥ªãé ï ॠ«¨§ æ¨ï ¨á¯®«ì§ã¥â ⮫쪮 ¬« ¤è¨© ¡¨â ecx.
|
* ’¥ªãé ï ॠ«¨§ æ¨ï ¨á¯®«ì§ã¥â ⮫쪮 ¬« ¤è¨© ¡¨â ecx.
|
||||||
* “áâ ®¢¨âì ⥪ã饥 á®áâ®ï¨¥ ¬®¦® ¢ë§®¢®¬
|
* “áâ ®¢¨âì ⥪ã饥 á®áâ®ï¨¥ ¬®¦® ¢ë§®¢®¬
|
||||||
¯®¤äãªæ¨¨ 12 äãªæ¨¨ 21.
|
¯®¤äãªæ¨¨ 12 äãªæ¨¨ 21.
|
||||||
|
|
||||||
======================================================================
|
|
||||||
=============== ”ãªæ¨ï 28 - ãáâ ®¢¨âì £à®¬ª®áâì SB16. ==============
|
|
||||||
======================================================================
|
|
||||||
“¤ «¥
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
================ ”ãªæ¨ï 29 - ¯®«ãç¨âì á¨á⥬ãî ¤ âã. ===============
|
================ ”ãªæ¨ï 29 - ¯®«ãç¨âì á¨á⥬ãî ¤ âã. ===============
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1711,6 +1683,56 @@ dd 638
|
|||||||
ª®¯¨àãîâáï ⮫쪮 ¯¥à¢ë¥ (edx-1) ¡ ©â
|
ª®¯¨àãîâáï ⮫쪮 ¯¥à¢ë¥ (edx-1) ¡ ©â
|
||||||
¨ ¢ ª®æ¥ áâ ¢¨âáï § ¢¥àè î騩 0.
|
¨ ¢ ª®æ¥ áâ ¢¨âáï § ¢¥àè î騩 0.
|
||||||
|
|
||||||
|
======================================================================
|
||||||
|
================ ”ãªæ¨ï 32 - 㤠«¨âì ä ©« á à ¬¤¨áª . ===============
|
||||||
|
======================================================================
|
||||||
|
<EFBFBD> à ¬¥âàë:
|
||||||
|
* eax = 32 - ®¬¥à äãªæ¨¨
|
||||||
|
* ebx = 㪠§ â¥«ì ¨¬ï ä ©«
|
||||||
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
|
* eax = 0 - ãᯥè®; ¨ ç¥ ª®¤ ®è¨¡ª¨ ä ©«®¢®© á¨á⥬ë
|
||||||
|
‡ ¬¥ç ¨ï:
|
||||||
|
* <20>â äãªæ¨ï ãáâ ५ ; äãªæ¨ï 58 ¯®§¢®«ï¥â ¢ë¯®«ïâì
|
||||||
|
⥠¦¥ ¤¥©á⢨ï á à áè¨à¥ë¬¨ ¢®§¬®¦®áâﬨ.
|
||||||
|
* ’¥ªãé ï ॠ«¨§ æ¨ï ¢®§¢à é ¥â ⮫쪮 § 票ï 0(ãᯥå) ¨
|
||||||
|
5(ä ©« ¥ ©¤¥).
|
||||||
|
* ˆ¬ï ä ©« ¤®«¦® ¡ëâì «¨¡® ¢ ä®à¬ ⥠8+3 ᨬ¢®«®¢ (¯¥à¢ë¥
|
||||||
|
8 ᨬ¢®«®¢ - ᮡá⢥® ¨¬ï, ¯®á«¥¤¨¥ 3 - à áè¨à¥¨¥,
|
||||||
|
ª®à®âª¨¥ ¨¬¥ ¨ à áè¨à¥¨ï ¤®¯®«ïîâáï ¯à®¡¥« ¬¨),
|
||||||
|
«¨¡® ¢ ä®à¬ ⥠8.3 ᨬ¢®«®¢ "FILE.EXT"/"FILE.EX "
|
||||||
|
(¨¬ï ¥ ¡®«¥¥ 8 ᨬ¢®«®¢, â®çª , à áè¨à¥¨¥ 3 ᨬ¢®« ,
|
||||||
|
¤®¯®«¥®¥ ¯à¨ ¥®¡å®¤¨¬®á⨠¯à®¡¥« ¬¨).
|
||||||
|
ˆ¬ï ä ©« ¤®«¦® ¡ëâì § ¯¨á ® § £« ¢ë¬¨ ¡ãª¢ ¬¨.
|
||||||
|
‡ ¢¥àè î騩 ᨬ¢®« á ª®¤®¬ 0 ¥ 㦥 (¥ ASCIIZ-áâப ).
|
||||||
|
* <20>â äãªæ¨ï ¥ ¯®¤¤¥à¦¨¢ ¥â ¯ ¯®ª à ¬¤¨áª¥.
|
||||||
|
|
||||||
|
======================================================================
|
||||||
|
=============== ”ãªæ¨ï 33 - § ¯¨á âì ä ©« à ¬¤¨áª. ===============
|
||||||
|
======================================================================
|
||||||
|
<EFBFBD> à ¬¥âàë:
|
||||||
|
* eax = 33 - ®¬¥à äãªæ¨¨
|
||||||
|
* ebx = 㪠§ â¥«ì ¨¬ï ä ©«
|
||||||
|
* ecx = 㪠§ â¥«ì ¤ ë¥ ¤«ï § ¯¨á¨
|
||||||
|
* edx = ç¨á«® ¡ ©â ¤«ï § ¯¨á¨
|
||||||
|
* á«¥¤ã¥â ãáâ ¢«¨¢ âì esi=0
|
||||||
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
|
* eax = 0 - ãᯥè®, ¨ ç¥ ª®¤ ®è¨¡ª¨ ä ©«®¢®© á¨á⥬ë
|
||||||
|
‡ ¬¥ç ¨ï:
|
||||||
|
* <20>â äãªæ¨ï ãáâ ५ ; äãªæ¨ï 70 ¯®§¢®«ï¥â ¢ë¯®«ïâì
|
||||||
|
⥠¦¥ ¤¥©á⢨ï á à áè¨à¥ë¬¨ ¢®§¬®¦®áâﬨ.
|
||||||
|
* …᫨ 㪠§ âì ¥ã«¥¢®¥ § 票¥ ¢ esi ¨ à ¬¤¨áª¥ 㦥 ¥áâì
|
||||||
|
㪠§ ë© ä ©«, â® ¡ã¤¥â ᮧ¤ ¥éñ ®¤¨ ä ©« á ⥬ ¦¥ ¨¬¥¥¬.
|
||||||
|
* ‚ ¯à®â¨¢®¬ á«ãç ¥ ä ©« ¯¥à¥§ ¯¨áë¢ ¥âáï.
|
||||||
|
* ˆ¬ï ä ©« ¤®«¦® ¡ëâì «¨¡® ¢ ä®à¬ ⥠8+3 ᨬ¢®«®¢
|
||||||
|
(¯¥à¢ë¥ 8 ᨬ¢®«®¢ - ᮡá⢥® ¨¬ï, ¯®á«¥¤¨¥ 3 - à áè¨à¥¨¥,
|
||||||
|
ª®à®âª¨¥ ¨¬¥ ¨ à áè¨à¥¨ï ¤®¯®«ïîâáï ¯à®¡¥« ¬¨),
|
||||||
|
«¨¡® ¢ ä®à¬ ⥠8.3 ᨬ¢®«®¢ "FILE.EXT"/"FILE.EX "
|
||||||
|
(¨¬ï ¥ ¡®«¥¥ 8 ᨬ¢®«®¢, â®çª , à áè¨à¥¨¥ 3 ᨬ¢®« ,
|
||||||
|
¤®¯®«¥®¥ ¯à¨ ¥®¡å®¤¨¬®á⨠¯à®¡¥« ¬¨).
|
||||||
|
ˆ¬ï ä ©« ¤®«¦® ¡ëâì § ¯¨á ® § £« ¢ë¬¨ ¡ãª¢ ¬¨.
|
||||||
|
‡ ¢¥àè î騩 ᨬ¢®« á ª®¤®¬ 0 ¥ 㦥 (¥ ASCIIZ-áâப ).
|
||||||
|
* <20>â äãªæ¨ï ¥ ¯®¤¤¥à¦¨¢ ¥â ¯ ¯®ª à ¬¤¨áª¥.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
============ ”ãªæ¨ï 35 - ¯à®ç¨â âì 梥â â®çª¨ íªà ¥. ============
|
============ ”ãªæ¨ï 35 - ¯à®ç¨â âì 梥â â®çª¨ íªà ¥. ============
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1729,19 +1751,19 @@ dd 638
|
|||||||
¬®¦® ¯®«ãç¨âì äãªæ¨¥© 61.
|
¬®¦® ¯®«ãç¨âì äãªæ¨¥© 61.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
=============== ”ãªæ¨ï 36 - ¯à®ç¨â âì ®¡« áâì íªà . ==============
|
=============== ”ãªæ¨ï 36 - ¯à®ç¨â âì ®¡« áâì íªà . ===============
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 36 - ®¬¥à äãªæ¨¨
|
* eax = 36 - ®¬¥à äãªæ¨¨
|
||||||
* ebx = 㪠§ â¥«ì ¯à¥¤¢ à¨â¥«ì® ¢ë¤¥«¥ãî ®¡« áâì ¯ ¬ïâ¨,
|
* ebx = 㪠§ â¥«ì ¯à¥¤¢ à¨â¥«ì® ¢ë¤¥«¥ãî ®¡« áâì ¯ ¬ïâ¨,
|
||||||
ªã¤ ¡ã¤¥â ¯®¬¥é¥® ¨§®¡à ¦¥¨¥ ¢ ä®à¬ ⥠BBGGRRBBGGRR...
|
ªã¤ ¡ã¤¥â ¯®¬¥é¥® ¨§®¡à ¦¥¨¥ ¢ ä®à¬ ⥠BBGGRRBBGGRR...
|
||||||
* ecx = [à §¬¥à ¯® ®á¨ x]*65536 + [à §¬¥à ¯® ®á¨ y]
|
* ecx = [à §¬¥à ¯® ®á¨ x]*65536 + [à §¬¥à ¯® ®á¨ y]
|
||||||
* edx = [ª®®à¤¨ â ¯® ®á¨ x]*65536 + [ª®®à¤¨ â ¯® ®á¨ y]
|
* edx = [ª®®à¤¨ â ¯® ®á¨ x]*65536 + [ª®®à¤¨ â ¯® ®á¨ y]
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* äãªæ¨ï ¥ ¢®§¢à é ¥â § 票ï
|
* äãªæ¨ï ¥ ¢®§¢à é ¥â § 票ï
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* Š®®à¤¨ âë ¨§®¡à ¦¥¨ï - íâ® ª®®à¤¨ âë ¢¥à奣® «¥¢®£® 㣫
|
* Š®®à¤¨ âë ®¡« á⨠- íâ® ª®®à¤¨ âë ¢¥à奣® «¥¢®£® 㣫
|
||||||
¨§®¡à ¦¥¨ï ®â®á¨â¥«ì® íªà .
|
®¡« á⨠®â®á¨â¥«ì® íªà .
|
||||||
* <20> §¬¥à ¨§®¡à ¦¥¨ï ¢ ¡ ©â å ¥áâì 3*xsize*ysize.
|
* <20> §¬¥à ¨§®¡à ¦¥¨ï ¢ ¡ ©â å ¥áâì 3*xsize*ysize.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1870,7 +1892,7 @@ dd 638
|
|||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* eax = [è¨à¨ ]*65536 + [¢ëá®â ]
|
* eax = [è¨à¨ ]*65536 + [¢ëá®â ]
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* …áâì ¯ à ï ª®¬ ¤ ãáâ ®¢ª¨ à §¬¥à®¢ ä®®¢®£® ¨§®¡à ¦¥¨ï -
|
* …áâì ¯ à ï ª®¬ ¤ ãáâ ®¢ª¨ à §¬¥à®¢ ä®®¢®£® ¨§®¡à ¦¥¨ï -
|
||||||
¯®¤äãªæ¨ï 1 äãªæ¨¨ 15. <20>®á«¥ ª®â®à®©, à §ã¬¥¥âáï, á«¥¤ã¥â
|
¯®¤äãªæ¨ï 1 äãªæ¨¨ 15. <20>®á«¥ ª®â®à®©, à §ã¬¥¥âáï, á«¥¤ã¥â
|
||||||
§ ®¢® ®¯à¥¤¥«¨âì á ¬® ¨§®¡à ¦¥¨¥.
|
§ ®¢® ®¯à¥¤¥«¨âì á ¬® ¨§®¡à ¦¥¨¥.
|
||||||
|
|
||||||
@ -1889,7 +1911,7 @@ dd 638
|
|||||||
* <20>¥ á«¥¤ã¥â ¯®« £ âìáï ¢®§¢à é ¥¬®¥ § 票¥ ¢ á«ãç ¥ ¥¢¥à®£®
|
* <20>¥ á«¥¤ã¥â ¯®« £ âìáï ¢®§¢à é ¥¬®¥ § 票¥ ¢ á«ãç ¥ ¥¢¥à®£®
|
||||||
ᬥ饨ï, ®® ¬®¦¥â ¨§¬¥¨âìáï ¢ á«¥¤ãîé¨å ¢¥àá¨ïå ï¤à .
|
ᬥ饨ï, ®® ¬®¦¥â ¨§¬¥¨âìáï ¢ á«¥¤ãîé¨å ¢¥àá¨ïå ï¤à .
|
||||||
* ‘¬¥é¥¨¥ â®çª¨ á ª®®à¤¨ â ¬¨ (x,y) ¢ëç¨á«ï¥âáï ª ª (x+y*xsize)*3.
|
* ‘¬¥é¥¨¥ â®çª¨ á ª®®à¤¨ â ¬¨ (x,y) ¢ëç¨á«ï¥âáï ª ª (x+y*xsize)*3.
|
||||||
* …áâì ¯ à ï äãªæ¨ï ãáâ ®¢ª¨ â®çª¨ ä®®¢®¬ ¨§®¡à ¦¥¨¨ -
|
* …áâì ¯ à ï äãªæ¨ï ãáâ ®¢ª¨ â®çª¨ ä®®¢®¬ ¨§®¡à ¦¥¨¨ -
|
||||||
¯®¤äãªæ¨ï 2 äãªæ¨¨ 15.
|
¯®¤äãªæ¨ï 2 äãªæ¨¨ 15.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1902,7 +1924,7 @@ dd 638
|
|||||||
* eax = 1 - § ¬®áâ¨âì
|
* eax = 1 - § ¬®áâ¨âì
|
||||||
* eax = 2 - à áâïãâì
|
* eax = 2 - à áâïãâì
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* …áâì ¯ à ï äãªæ¨ï ãáâ ®¢ª¨ ०¨¬ ®âà¨á®¢ª¨ ä® -
|
* …áâì ¯ à ï äãªæ¨ï ãáâ ®¢ª¨ ०¨¬ ®âà¨á®¢ª¨ ä® -
|
||||||
¯®¤äãªæ¨ï 4 äãªæ¨¨ 15.
|
¯®¤äãªæ¨ï 4 äãªæ¨¨ 15.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1937,43 +1959,35 @@ dd 638
|
|||||||
* eax = -1 ¤«ï ¥ª®à४⮣® ebx
|
* eax = -1 ¤«ï ¥ª®à४⮣® ebx
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
========== ”ãªæ¨ï 42 - à ¡®â á ¤ 묨, ¯®«ãç¥ë¬¨ ¯® IRQ. =======
|
========= ”ãªæ¨ï 42 - à ¡®â á ¤ 묨, ¯®«ãç¥ë¬¨ ¯® IRQ. =========
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
||||||
------------------------ —⥨¥ ¤ ëå -------------------------------
|
|
||||||
<EFBFBD>ਠ¢®§¨ª®¢¥¨¨ IRQ á¨á⥬ ¬®¦¥â áç¨âë¢ âì ¤ ë¥ ¨§ 㪠§ ëå
|
<EFBFBD>ਠ¢®§¨ª®¢¥¨¨ IRQ á¨á⥬ ¬®¦¥â áç¨âë¢ âì ¤ ë¥ ¨§ 㪠§ ëå
|
||||||
à ¥¥ äãªæ¨¥© 44 ¯®à⮢ ¨ § ¯¨áë¢ âì í⨠¤ ë¥ ¢ ¡ãä¥à.
|
à ¥¥ äãªæ¨¥© 44 ¯®à⮢ ¨ § ¯¨áë¢ âì í⨠¤ ë¥ ¢ ¡ãä¥à.
|
||||||
Ž¯¨áë¢ ¥¬ ï äãªæ¨ï áç¨âë¢ ¥â ¤ ë¥ ¨§ í⮣® ¡ãä¥à ¢ ¡ãä¥à
|
|
||||||
㪠§ ë© ¢ ª ç¥á⢥ ¯ à ¬¥âà .
|
-------------------- <20>®¤äãªæ¨ï 0 - ç⥨¥ ¤ ëå --------------------
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 42 - ®¬¥à äãªæ¨¨
|
* eax = 42 - ®¬¥à äãªæ¨¨
|
||||||
* bl = ®¬¥à IRQ, 0..15
|
* bl = ®¬¥à IRQ, 0..15
|
||||||
* bh = ®¬¥à ¯®¤äãªæ¨¨, 0
|
* bh = 0 - ®¬¥à ¯®¤äãªæ¨¨
|
||||||
Žáâ «ì ï ç áâì ॣ¨áâà ebx ¤®«¦ ¡ëâì ®¡ã«¥ .
|
* ®áâ «ì ï ç áâì ॣ¨áâà ebx ¤®«¦ ¡ëâì ®¡ã«¥
|
||||||
* ecx = 㪠§ â¥«ì ¡ãä¥à, ªã¤ ¡ã¤ã⠯ਨ¬ âìáï ¤ ë¥
|
* ecx = 㪠§ â¥«ì ¡ãä¥à à §¬¥à®¬ ¥ ¬¥¥¥ 4000 ¡ ©â
|
||||||
‚®§¢à é ¥¬®¥ § 票¥: (á¨âã æ¨î ¬®¦® à §«¨ç¨âì ¯® § 票î eax)
|
‚®§¢à é ¥¬®¥ § 票¥: (á¨âã æ¨î ¬®¦® à §«¨ç¨âì ¯® § 票î eax)
|
||||||
* ¥á«¨ ¯®â®ª ¥ ï¥âáï ¢« ¤¥«ì楬 IRQ
|
* ¥á«¨ ¯®â®ª ¥ ï¥âáï ¢« ¤¥«ì楬 IRQ
|
||||||
(¨«¨ ®¬¥à IRQ § ¤ ¥¢¥à®):
|
(¨«¨ ®¬¥à IRQ § ¤ ¥¢¥à®): eax = -1
|
||||||
* eax = -1
|
* ¥á«¨ ¤ ëå ¥â: eax = 0
|
||||||
* ¥á«¨ ¤ ëå ¥â:
|
|
||||||
* eax = 0
|
|
||||||
* ¥á«¨ ¢áñ ¢ ¯®à浪¥ ¨ ¤ ë¥ ¡ë«¨:
|
* ¥á«¨ ¢áñ ¢ ¯®à浪¥ ¨ ¤ ë¥ ¡ë«¨:
|
||||||
* eax = à §¬¥à ¤ ëå, ¯à®ç¨â ëå ¨§ ¡ãä¥à (¢ ¡ ©â å)
|
eax = à §¬¥à ¤ ëå, ¯à®ç¨â ëå ¨§ ¡ãä¥à (¢ ¡ ©â å)
|
||||||
|
|
||||||
‘¬®âà¨â¥ § ¬¥ç ¨ï ¨¦¥.
|
------------ <20>®¤äãªæ¨ï 1 - 㧠âì à §¬¥à ¤ ëå ¢ ¡ãä¥à¥ ------------
|
||||||
|
|
||||||
------------------------ “§ âì à §¬¥à ¤ ëå ¢ ¡ãä¥à¥ ---------------
|
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 42 - ®¬¥à äãªæ¨¨
|
* eax = 42 - ®¬¥à äãªæ¨¨
|
||||||
* bl = ®¬¥à IRQ, 0..15
|
* bl = ®¬¥à IRQ, 0..15
|
||||||
* bh = ®¬¥à ¯®¤äãªæ¨¨, 1
|
* bh = 1 - ®¬¥à ¯®¤äãªæ¨¨
|
||||||
Žáâ «ì ï ç áâì ॣ¨áâà ebx ¤®«¦ ¡ëâì ®¡ã«¥ .
|
* ®áâ «ì ï ç áâì ॣ¨áâà ebx ¤®«¦ ¡ëâì ®¡ã«¥
|
||||||
‚®§¢à é ¥¬®¥ § 票¥: (á¨âã æ¨î ¬®¦® à §«¨ç¨âì ¯® § 票î eax)
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* ¥á«¨ ¯®â®ª ¥ ï¥âáï ¢« ¤¥«ì楬 IRQ
|
* ¥á«¨ ¯®â®ª ¥ ï¥âáï ¢« ¤¥«ì楬 IRQ
|
||||||
(¨«¨ ®¬¥à IRQ § ¤ ¥¢¥à®):
|
(¨«¨ ®¬¥à IRQ § ¤ ¥¢¥à®): eax = -1
|
||||||
* eax = -1
|
* ¨ ç¥ eax = à §¬¥à ¤ ëå ¢ ¡ãä¥à¥
|
||||||
* ¥á«¨ ¢áñ ¢ ¯®à浪¥, ¢ eax à §¬¥à ¤ ëå
|
|
||||||
|
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* <20>।¢ à¨â¥«ì® ¯®â®ª ¤®«¦¥ § १¥à¢¨à®¢ âì ¤«ï ᥡï 㪠§ ë© IRQ
|
* <20>।¢ à¨â¥«ì® ¯®â®ª ¤®«¦¥ § १¥à¢¨à®¢ âì ¤«ï ᥡï 㪠§ ë© IRQ
|
||||||
äãªæ¨¥© 45.
|
äãªæ¨¥© 45.
|
||||||
@ -2053,7 +2067,7 @@ dd 638
|
|||||||
¢á¥ § १¥à¢¨à®¢ ë¥ ¨¬ IRQ.
|
¢á¥ § १¥à¢¨à®¢ ë¥ ¨¬ IRQ.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
= ”ãªæ¨ï 46 - § १¥à¢¨à®¢ âì/®á¢®¡®¤¨âì £à㯯㠯®à⮢ ¢¢®¤ /¢ë¢®¤ .
|
= ”ãªæ¨ï 46 - § १¥à¢¨à®¢ âì/®á¢®¡®¤¨âì £à㯯㠯®à⮢ ¢¢®¤ /¢ë¢®¤ .
|
||||||
======================================================================
|
======================================================================
|
||||||
Š § १¥à¢¨à®¢ ë¬ ¯®àâ ¬ ¬®¦® ®¡à é âìáï ¯àï¬ãî ¨§ ¯à¨«®¦¥¨ï
|
Š § १¥à¢¨à®¢ ë¬ ¯®àâ ¬ ¬®¦® ®¡à é âìáï ¯àï¬ãî ¨§ ¯à¨«®¦¥¨ï
|
||||||
ª®¬ ¤ ¬¨ in/out (४®¬¥¤ã¥¬ë© ᯮᮡ) ¨ ¢ë§®¢®¬ äãªæ¨¨ 43
|
ª®¬ ¤ ¬¨ in/out (४®¬¥¤ã¥¬ë© ᯮᮡ) ¨ ¢ë§®¢®¬ äãªæ¨¨ 43
|
||||||
@ -2148,7 +2162,7 @@ dd 638
|
|||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* äãªæ¨ï ¥ ¢®§¢à é ¥â § 票ï
|
* äãªæ¨ï ¥ ¢®§¢à é ¥â § 票ï
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* <20>®á«¥ ¢ë§®¢ ®¯¨áë¢ ¥¬®© äãªæ¨¨ á«¥¤ã¥â ¯¥à¥à¨á®¢ âì íªà
|
* <20>®á«¥ ¢ë§®¢ ®¯¨áë¢ ¥¬®© äãªæ¨¨ á«¥¤ã¥â ¯¥à¥à¨á®¢ âì íªà
|
||||||
¯®¤äãªæ¨¥© 0.
|
¯®¤äãªæ¨¥© 0.
|
||||||
* ’¨¯ ª®¯®ª ¢«¨ï¥â ⮫쪮 ¨å ¯à®à¨á®¢ªã äãªæ¨¥© 8.
|
* ’¨¯ ª®¯®ª ¢«¨ï¥â ⮫쪮 ¨å ¯à®à¨á®¢ªã äãªæ¨¥© 8.
|
||||||
|
|
||||||
@ -2165,7 +2179,7 @@ dd 638
|
|||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* äãªæ¨ï ¥ ¢®§¢à é ¥â § 票ï
|
* äãªæ¨ï ¥ ¢®§¢à é ¥â § 票ï
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* <20>®á«¥ ¢ë§®¢ ®¯¨áë¢ ¥¬®© äãªæ¨¨ á«¥¤ã¥â ¯¥à¥à¨á®¢ âì íªà
|
* <20>®á«¥ ¢ë§®¢ ®¯¨áë¢ ¥¬®© äãªæ¨¨ á«¥¤ã¥â ¯¥à¥à¨á®¢ âì íªà
|
||||||
¯®¤äãªæ¨¥© 0.
|
¯®¤äãªæ¨¥© 0.
|
||||||
* ’ ¡«¨æ áâ ¤ àâëå 梥⮢ ¢«¨ï¥â ⮫쪮 ¯à¨«®¦¥¨ï,
|
* ’ ¡«¨æ áâ ¤ àâëå 梥⮢ ¢«¨ï¥â ⮫쪮 ¯à¨«®¦¥¨ï,
|
||||||
ª®â®àë¥ íâã â ¡«¨æã ï¢ë¬ ®¡à §®¬ ¯®«ãç îâ (¯®¤äãªæ¨¥© 3) ¨
|
ª®â®àë¥ íâã â ¡«¨æã ï¢ë¬ ®¡à §®¬ ¯®«ãç îâ (¯®¤äãªæ¨¥© 3) ¨
|
||||||
@ -2204,11 +2218,11 @@ dword-
|
|||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* ‘âàãªâãà â ¡«¨æë 梥⮢ ®¯¨á ¢ áâ ¤ à⮬ ¢ª«îç ¥¬®¬ ä ©«¥
|
* ‘âàãªâãà â ¡«¨æë 梥⮢ ®¯¨á ¢ áâ ¤ à⮬ ¢ª«îç ¥¬®¬ ä ©«¥
|
||||||
macros.inc ¯®¤ §¢ ¨¥¬ system_colors; ¯à¨¬¥à, ¬®¦® ¯¨á âì:
|
macros.inc ¯®¤ §¢ ¨¥¬ system_colors; ¯à¨¬¥à, ¬®¦® ¯¨á âì:
|
||||||
sc system_colors ; ®¡ê¥¨¥ ¯¥à¥¬¥®©
|
sc system_colors ; ®¡ê¥¨¥ ¯¥à¥¬¥®©
|
||||||
... ; £¤¥-â® ¤® ¢ë§¢ âì
|
... ; £¤¥-â® ¤® ¢ë§¢ âì
|
||||||
; ®¯¨áë¢ ¥¬ãî äãªæ¨î á ecx=sc
|
; ®¯¨áë¢ ¥¬ãî äãªæ¨î á ecx=sc
|
||||||
mov ecx, [sc.work_button_text] ; ç¨â ¥¬ 梥â ⥪áâ
|
mov ecx, [sc.work_button_text] ; ç¨â ¥¬ 梥â ⥪áâ
|
||||||
; ª®¯ª¥ ¢ à ¡®ç¥© ®¡« áâ¨
|
; ª®¯ª¥ ¢ à ¡®ç¥© ®¡« áâ¨
|
||||||
* ˆá¯®«ì§®¢ ¨¥/¥¨á¯®«ì§®¢ ¨¥ íâ¨å 梥⮢ - ¤¥«® ¨áª«îç¨â¥«ì®
|
* ˆá¯®«ì§®¢ ¨¥/¥¨á¯®«ì§®¢ ¨¥ íâ¨å 梥⮢ - ¤¥«® ¨áª«îç¨â¥«ì®
|
||||||
á ¬®© ¯à®£à ¬¬ë. „«ï ¨á¯®«ì§®¢ ¨ï 㦮 ¯à®áâ® ¯à¨ ¢ë§®¢¥ äãªæ¨©
|
á ¬®© ¯à®£à ¬¬ë. „«ï ¨á¯®«ì§®¢ ¨ï 㦮 ¯à®áâ® ¯à¨ ¢ë§®¢¥ äãªæ¨©
|
||||||
à¨á®¢ ¨ï 㪠§ë¢ âì 梥â, ¢§ïâë© ¨§ í⮩ â ¡«¨æë.
|
à¨á®¢ ¨ï 㪠§ë¢ âì 梥â, ¢§ïâë© ¨§ í⮩ â ¡«¨æë.
|
||||||
@ -2279,7 +2293,7 @@ dword-
|
|||||||
€ «®£¨ç® ¯® ®á¨ y.
|
€ «®£¨ç® ¯® ®á¨ y.
|
||||||
* ‘¬®âਠ⠪¦¥ äãªæ¨î 14,
|
* ‘¬®âਠ⠪¦¥ äãªæ¨î 14,
|
||||||
¯®§¢®«ïîéãî ®¯à¥¤¥«¨âì à §¬¥àë ¢á¥£® íªà .
|
¯®§¢®«ïîéãî ®¯à¥¤¥«¨âì à §¬¥àë ¢á¥£® íªà .
|
||||||
* …áâì ¯ à ï äãªæ¨ï ¯®«ã票ï à ¡®ç¥© ®¡« á⨠-
|
* …áâì ¯ à ï äãªæ¨ï ¯®«ã票ï à ¡®ç¥© ®¡« á⨠-
|
||||||
¯®¤äãªæ¨ï 5.
|
¯®¤äãªæ¨ï 5.
|
||||||
* <20>â äãªæ¨ï ¢â®¬ â¨ç¥áª¨ ¯¥à¥à¨á®¢ë¢ ¥â íªà , ¯® 室㠤¥«
|
* <20>â äãªæ¨ï ¢â®¬ â¨ç¥áª¨ ¯¥à¥à¨á®¢ë¢ ¥â íªà , ¯® 室㠤¥«
|
||||||
®¡®¢«ï¥â ª®®à¤¨ âë ¨ à §¬¥àë ¬ ªá¨¬¨§¨à®¢ ëå ®ª®.
|
®¡®¢«ï¥â ª®®à¤¨ âë ¨ à §¬¥àë ¬ ªá¨¬¨§¨à®¢ ëå ®ª®.
|
||||||
@ -2403,7 +2417,7 @@ dword-
|
|||||||
* ¨ ç¥ eax = TID - ¨¤¥â¨ä¨ª â®à ¯®â®ª
|
* ¨ ç¥ eax = TID - ¨¤¥â¨ä¨ª â®à ¯®â®ª
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
= ”ãªæ¨ï 52, ¯®¤äãªæ¨ï 0 - ¯®«ãç¨âì ª®ä¨£ãà æ¨î á¥â¥¢®£® ¤à ©¢¥à .
|
= ”ãªæ¨ï 52, ¯®¤äãªæ¨ï 0 - ¯®«ãç¨âì ª®ä¨£ãà æ¨î á¥â¥¢®£® ¤à ©¢¥à .
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 52 - ®¬¥à äãªæ¨¨
|
* eax = 52 - ®¬¥à äãªæ¨¨
|
||||||
@ -2428,7 +2442,7 @@ dword-
|
|||||||
* ‹®ª «ìë© IP- ¤à¥á ãáâ ¢«¨¢ ¥âáï ¯®¤äãªæ¨¥© 3.
|
* ‹®ª «ìë© IP- ¤à¥á ãáâ ¢«¨¢ ¥âáï ¯®¤äãªæ¨¥© 3.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
”ãªæ¨ï 52, ¯®¤äãªæ¨ï 2 - ãáâ ®¢¨âì ª®ä¨£ãà æ¨î á¥â¥¢®£® ¤à ©¢¥à .
|
”ãªæ¨ï 52, ¯®¤äãªæ¨ï 2 - ãáâ ®¢¨âì ª®ä¨£ãà æ¨î á¥â¥¢®£® ¤à ©¢¥à .
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 52 - ®¬¥à äãªæ¨¨
|
* eax = 52 - ®¬¥à äãªæ¨¨
|
||||||
@ -2597,9 +2611,6 @@ dword-
|
|||||||
* ’¥ªãé ï ॠ«¨§ æ¨ï ¥ § ªàë¢ ¥â ¢â®¬ â¨ç¥áª¨ ¢á¥ ᮪¥âë ¯®â®ª
|
* ’¥ªãé ï ॠ«¨§ æ¨ï ¥ § ªàë¢ ¥â ¢â®¬ â¨ç¥áª¨ ¢á¥ ᮪¥âë ¯®â®ª
|
||||||
¯à¨ ¥£® § ¢¥à襨¨. ‚ ç áâ®áâ¨, ¥ á«¥¤ã¥â ¯à¨¡¨¢ âì ¯®â®ª
|
¯à¨ ¥£® § ¢¥à襨¨. ‚ ç áâ®áâ¨, ¥ á«¥¤ã¥â ¯à¨¡¨¢ âì ¯®â®ª
|
||||||
á ªã祩 ®âªàëâëå ᮪¥â®¢ - ¡ã¤¥â ãâ¥çª à¥áãàᮢ.
|
á ªã祩 ®âªàëâëå ᮪¥â®¢ - ¡ã¤¥â ãâ¥çª à¥áãàᮢ.
|
||||||
* ’¥ªãé ï ॠ«¨§ æ¨ï ¥ ¤¥« ¥â ¯à®¢¥à®ª ª®à४â®áâì
|
|
||||||
(¥¤¨á⢥®¥, çâ® ¢®§¢à é ¥âáï ®è¨¡ª , - ¯®¯ë⪠§ ªàëâì
|
|
||||||
¥®âªàëâë© á®ª¥â á ª®à४âë¬ åí¤«®¬).
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
============== ”ãªæ¨ï 53, ¯®¤äãªæ¨ï 2 - ®¯à®á ᮪¥â . ==============
|
============== ”ãªæ¨ï 53, ¯®¤äãªæ¨ï 2 - ®¯à®á ᮪¥â . ==============
|
||||||
@ -2609,10 +2620,8 @@ dword-
|
|||||||
* ebx = 2 - ®¬¥à ¯®¤äãªæ¨¨
|
* ebx = 2 - ®¬¥à ¯®¤äãªæ¨¨
|
||||||
* ecx = åí¤« ᮪¥â
|
* ecx = åí¤« ᮪¥â
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* eax = ç¨á«® ¯®«ãç¥ëå ¡ ©â
|
* eax = ç¨á«® ¯®«ãç¥ëå ¡ ©â, 0 ¤«ï ¥¢¥à®£® åí¤«
|
||||||
* ebx à §àãè ¥âáï
|
* ebx à §àãè ¥âáï
|
||||||
‡ ¬¥ç ¨ï:
|
|
||||||
* <20>஢¥àª¨ ª®à४â®á⨠¥ ¤¥« ¥âáï.
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
======== ”ãªæ¨ï 53, ¯®¤äãªæ¨ï 3 - ¯à®ç¨â âì ¡ ©â ¨§ ᮪¥â . ========
|
======== ”ãªæ¨ï 53, ¯®¤äãªæ¨ï 3 - ¯à®ç¨â âì ¡ ©â ¨§ ᮪¥â . ========
|
||||||
@ -2622,12 +2631,10 @@ dword-
|
|||||||
* ebx = 3 - ®¬¥à ¯®¤äãªæ¨¨
|
* ebx = 3 - ®¬¥à ¯®¤äãªæ¨¨
|
||||||
* ecx = åí¤« ᮪¥â
|
* ecx = åí¤« ᮪¥â
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* ¥á«¨ ¥â ¯à¨ïâëå ¤ ëå: eax=0, bl=0,
|
* ¥á«¨ ¥â ¯à¨ïâëå ¤ ëå ¨«¨ 㪠§ ¥¢¥àë© åí¤«:
|
||||||
¯à®ç¨¥ ¡ ©âë ebx à §àãè îâáï
|
eax=0, bl=0, ¯à®ç¨¥ ¡ ©âë ebx à §àãè îâáï
|
||||||
* ¥á«¨ ¡ë«¨ ¯à¨ïâë¥ ¤ ë¥: eax=ç¨á«® ®áâ ¢è¨åáï ¡ ©â
|
* ¥á«¨ ¡ë«¨ ¯à¨ïâë¥ ¤ ë¥: eax=ç¨á«® ®áâ ¢è¨åáï ¡ ©â
|
||||||
(¢®§¬®¦®, 0), bl=¯à®ç¨â ë© ¡ ©â, ¯à®ç¨¥ ¡ ©âë ebx à §àãè îâáï
|
(¢®§¬®¦®, 0), bl=¯à®ç¨â ë© ¡ ©â, ¯à®ç¨¥ ¡ ©âë ebx à §àãè îâáï
|
||||||
‡ ¬¥ç ¨ï:
|
|
||||||
* <20>஢¥àª¨ ª®à४â®á⨠¥ ¯à®¨§¢®¤¨âáï.
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
========== ”ãªæ¨ï 53, ¯®¤äãªæ¨ï 4 - § ¯¨á âì ¢ UDP-᮪¥â. ==========
|
========== ”ãªæ¨ï 53, ¯®¤äãªæ¨ï 4 - § ¯¨á âì ¢ UDP-᮪¥â. ==========
|
||||||
@ -2639,13 +2646,10 @@ dword-
|
|||||||
* edx = ç¨á«® ¡ ©â ¤«ï § ¯¨á¨
|
* edx = ç¨á«® ¡ ©â ¤«ï § ¯¨á¨
|
||||||
* esi = 㪠§ â¥«ì ¤ ë¥ ¤«ï § ¯¨á¨
|
* esi = 㪠§ â¥«ì ¤ ë¥ ¤«ï § ¯¨á¨
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* eax = 0xffffffff - ¥¢¥àë© åí¤«
|
* eax = 0xffffffff - ®è¨¡ª (¥¢¥àë© åí¤« ¨«¨ ¥¤®áâ â®ç® ¯ ¬ïâ¨)
|
||||||
* eax = 0xffff - ¥¤®áâ â®ç® ¯ ¬ïâ¨
|
|
||||||
* eax = 0 - ãᯥè®
|
* eax = 0 - ãᯥè®
|
||||||
* ebx à §àãè ¥âáï
|
* ebx à §àãè ¥âáï
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* <20>஢¥àª ¯à ¢¨«ì®áâì åí¤« ¬¨¨¬ «ì - ¨áª«îç îâáï ⮫쪮
|
|
||||||
¥ ®ç¥ì ¥¯à ¢¨«ìë¥ ¥®âªàëâë¥ åí¤«ë.
|
|
||||||
* —¨á«® ¡ ©â ¤«ï § ¯¨á¨ ¥ ¬®¦¥â ¯à¥¢ëè âì 1500-28, å®âï
|
* —¨á«® ¡ ©â ¤«ï § ¯¨á¨ ¥ ¬®¦¥â ¯à¥¢ëè âì 1500-28, å®âï
|
||||||
ᮮ⢥âáâ¢ãî饩 ¯à®¢¥àª¨ ¥ ¤¥« ¥âáï.
|
ᮮ⢥âáâ¢ãî饩 ¯à®¢¥àª¨ ¥ ¤¥« ¥âáï.
|
||||||
|
|
||||||
@ -2673,7 +2677,7 @@ dword-
|
|||||||
* ebx = 6 - ®¬¥à ¯®¤äãªæ¨¨
|
* ebx = 6 - ®¬¥à ¯®¤äãªæ¨¨
|
||||||
* ecx = åí¤« ᮪¥â
|
* ecx = åí¤« ᮪¥â
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* eax = áâ âãá ᮪¥â : ®¤® ¨§
|
* eax = 0 ¤«ï ¥¢¥à®£® ᮪¥â ¨«¨ áâ âãá: ®¤® ¨§
|
||||||
* TCB_LISTEN = 1
|
* TCB_LISTEN = 1
|
||||||
* TCB_SYN_SENT = 2
|
* TCB_SYN_SENT = 2
|
||||||
* TCB_SYN_RECEIVED = 3
|
* TCB_SYN_RECEIVED = 3
|
||||||
@ -2686,8 +2690,6 @@ dword-
|
|||||||
* TCB_TIME_WAIT = 10
|
* TCB_TIME_WAIT = 10
|
||||||
* TCB_CLOSED = 11
|
* TCB_CLOSED = 11
|
||||||
* ebx à §àãè ¥âáï
|
* ebx à §àãè ¥âáï
|
||||||
‡ ¬¥ç ¨ï:
|
|
||||||
* <20>஢¥à®ª ª®à४â®á⨠¥ ¯à®¨§¢®¤¨âáï.
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
========== ”ãªæ¨ï 53, ¯®¤äãªæ¨ï 7 - § ¯¨á âì ¢ TCP-᮪¥â. ==========
|
========== ”ãªæ¨ï 53, ¯®¤äãªæ¨ï 7 - § ¯¨á âì ¢ TCP-᮪¥â. ==========
|
||||||
@ -2699,13 +2701,10 @@ dword-
|
|||||||
* edx = ç¨á«® ¡ ©â ¤«ï § ¯¨á¨
|
* edx = ç¨á«® ¡ ©â ¤«ï § ¯¨á¨
|
||||||
* esi = 㪠§ â¥«ì ¤ ë¥ ¤«ï § ¯¨á¨
|
* esi = 㪠§ â¥«ì ¤ ë¥ ¤«ï § ¯¨á¨
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* eax = 0xffffffff - ®è¨¡ª
|
* eax = 0xffffffff - ®è¨¡ª (¥¢¥àë© åí¤« ¨«¨ ¥¤®áâ â®ç® ¯ ¬ïâ¨)
|
||||||
* eax = 0xffff - ¥¤®áâ â®ç® ¯ ¬ïâ¨
|
|
||||||
* eax = 0 - ãᯥè®
|
* eax = 0 - ãᯥè®
|
||||||
* ebx à §àãè ¥âáï
|
* ebx à §àãè ¥âáï
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* <20>஢¥àª ¯à ¢¨«ì®áâì åí¤« ¬¨¨¬ «ì - ¨áª«îç îâáï ⮫쪮
|
|
||||||
¥ ®ç¥ì ¥¯à ¢¨«ìë¥ ¥®âªàëâë¥ åí¤«ë.
|
|
||||||
* —¨á«® ¡ ©â ¤«ï § ¯¨á¨ ¥ ¬®¦¥â ¯à¥¢ëè âì 1500-40,
|
* —¨á«® ¡ ©â ¤«ï § ¯¨á¨ ¥ ¬®¦¥â ¯à¥¢ëè âì 1500-40,
|
||||||
å®âï ᮮ⢥âáâ¢ãî饩 ¯à®¢¥àª¨ ¥ ¤¥« ¥âáï.
|
å®âï ᮮ⢥âáâ¢ãî饩 ¯à®¢¥àª¨ ¥ ¤¥« ¥âáï.
|
||||||
|
|
||||||
@ -2717,19 +2716,14 @@ dword-
|
|||||||
* ebx = 8 - ®¬¥à ¯®¤äãªæ¨¨
|
* ebx = 8 - ®¬¥à ¯®¤äãªæ¨¨
|
||||||
* ecx = åí¤« ᮪¥â
|
* ecx = åí¤« ᮪¥â
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* eax = -1 - ¥¢¥àë© åí¤«
|
* eax = -1 - ®è¨¡ª (¥¢¥àë© åí¤« ¨«¨
|
||||||
* eax = 0xffff - ¥¤®áâ â®ç® ¯ ¬ï⨠¤«ï ¯ ª¥â § ªàëâ¨ï ᮪¥â
|
¥¤®áâ â®ç® ¯ ¬ï⨠¤«ï ¯ ª¥â § ªàëâ¨ï ᮪¥â )
|
||||||
* eax = 0 - ãᯥè®
|
* eax = 0 - ãᯥè®
|
||||||
* ¢® ¬®£¨å á«ãç ïå eax à §àãè ¥âáï (¢®§¢à é ¥âáï १ã«ìâ â äãªæ¨¨
|
|
||||||
queue) - ¢¨¤¨¬®, íâ® ¡ £, ª®â®àë© ¡ã¤¥â ¨á¯à ¢«¥
|
|
||||||
* ebx à §àãè ¥âáï
|
* ebx à §àãè ¥âáï
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* ’¥ªãé ï ॠ«¨§ æ¨ï ¥ § ªàë¢ ¥â ¢â®¬ â¨ç¥áª¨ ¢á¥ ᮪¥âë ¯®â®ª
|
* ’¥ªãé ï ॠ«¨§ æ¨ï ¥ § ªàë¢ ¥â ¢â®¬ â¨ç¥áª¨ ¢á¥ ᮪¥âë ¯®â®ª
|
||||||
¯à¨ ¥£® § ¢¥à襨¨. ‚ ç áâ®áâ¨, ¥ á«¥¤ã¥â ¯à¨¡¨¢ âì ¯®â®ª
|
¯à¨ ¥£® § ¢¥à襨¨. ‚ ç áâ®áâ¨, ¥ á«¥¤ã¥â ¯à¨¡¨¢ âì ¯®â®ª
|
||||||
á ªã祩 ®âªàëâëå ᮪¥â®¢ - ¡ã¤¥â ãâ¥çª à¥áãàᮢ.
|
á ªã祩 ®âªàëâëå ᮪¥â®¢ - ¡ã¤¥â ãâ¥çª à¥áãàᮢ.
|
||||||
* ’¥ªãé ï ॠ«¨§ æ¨ï ¥ ¤¥« ¥â ¯à®¢¥à®ª ª®à४â®áâì
|
|
||||||
(¥¤¨á⢥®¥, çâ® ¢®§¢à é ¥âáï ®è¨¡ª , - ¯®¯ë⪠§ ªàëâì
|
|
||||||
¥®âªàëâë© á®ª¥â á ª®à४âë¬ åí¤«®¬).
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
== ”ãªæ¨ï 53, ¯®¤äãªæ¨ï 9 - ¯à®¢¥à¨âì, ᢮¡®¤¥ «¨ «®ª «ìë© ¯®àâ. =
|
== ”ãªæ¨ï 53, ¯®¤äãªæ¨ï 9 - ¯à®¢¥à¨âì, ᢮¡®¤¥ «¨ «®ª «ìë© ¯®àâ. =
|
||||||
@ -2770,13 +2764,11 @@ dword-
|
|||||||
* esi = ç¨á«® ¡ ©â ¤«ï ç⥨ï;
|
* esi = ç¨á«® ¡ ©â ¤«ï ç⥨ï;
|
||||||
* esi = 0 - ç¨â âì ¢á¥ ¤ ë¥ (¬ ªá¨¬ã¬ 4096 ¡ ©â)
|
* esi = 0 - ç¨â âì ¢á¥ ¤ ë¥ (¬ ªá¨¬ã¬ 4096 ¡ ©â)
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* eax = ç¨á«® ¯à®ç¨â ëå ¡ ©â
|
* eax = ç¨á«® ¯à®ç¨â ëå ¡ ©â (0 ¯à¨ ¥¢¥à®¬ åí¤«¥)
|
||||||
* ebx à §àãè ¥âáï
|
* ebx à §àãè ¥âáï
|
||||||
‡ ¬¥ç ¨ï:
|
|
||||||
* <20>஢¥àª¨ ¯à ¢¨«ì®áâì åí¤« ¥ ¤¥« ¥âáï.
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
”ãªæ¨ï 53, ¯®¤äãªæ¨ï 255 - ®â« ¤®ç ï ¨ä®à¬ æ¨ï á¥â¥¢®£® ¤à ©¢¥à .
|
”ãªæ¨ï 53, ¯®¤äãªæ¨ï 255 - ®â« ¤®ç ï ¨ä®à¬ æ¨ï á¥â¥¢®£® ¤à ©¢¥à .
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 53 - ®¬¥à äãªæ¨¨
|
* eax = 53 - ®¬¥à äãªæ¨¨
|
||||||
@ -2807,59 +2799,6 @@ dword-
|
|||||||
* 6: áâ âãá ¤à ©¢¥à ¯ ª¥â®¢, 0=¥ ªâ¨¢¥,
|
* 6: áâ âãá ¤à ©¢¥à ¯ ª¥â®¢, 0=¥ ªâ¨¢¥,
|
||||||
¥ã«¥¢®¥ § 票¥= ªâ¨¢¥
|
¥ã«¥¢®¥ § 票¥= ªâ¨¢¥
|
||||||
|
|
||||||
======================================================================
|
|
||||||
======== ”ãªæ¨ï 55, ¯®¤äãªæ¨ï 0 - § £à㧨âì ¤ ë¥ ¤«ï SB16. =======
|
|
||||||
======================================================================
|
|
||||||
<EFBFBD> à ¬¥âàë:
|
|
||||||
* eax = 55 - ®¬¥à äãªæ¨¨
|
|
||||||
* ebx = 0 - ®¬¥à ¯®¤äãªæ¨¨
|
|
||||||
* ecx = 㪠§ â¥«ì ¤ ë¥ (ª®¯¨àã¥âáï 64 ª¨«®¡ ©â , ¨á¯®«ì§ã¥âáï
|
|
||||||
á⮫쪮, ᪮«ìª® ãáâ ®¢«¥® ¯®¤äãªæ¨¥© 2)
|
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
|
||||||
* äãªæ¨ï ¥ ¢®§¢à é ¥â § 票ï
|
|
||||||
‡ ¬¥ç ¨ï:
|
|
||||||
* ”®à¬ â ¨ à §¬¥à ¤ ëå ãáâ ¢«¨¢ îâáï ¯®¤äãªæ¨¥© 2.
|
|
||||||
|
|
||||||
======================================================================
|
|
||||||
==== ”ãªæ¨ï 55, ¯®¤äãªæ¨ï 1 - ç âì ¯à®¨£àë¢ âì ¤ ë¥ SB16. ===
|
|
||||||
======================================================================
|
|
||||||
<EFBFBD> à ¬¥âàë:
|
|
||||||
* eax = 55 - ®¬¥à äãªæ¨¨
|
|
||||||
* ebx = 1 - ®¬¥à ¯®¤äãªæ¨¨
|
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
|
||||||
* äãªæ¨ï ¥ ¢®§¢à é ¥â § 票ï
|
|
||||||
‡ ¬¥ç ¨ï:
|
|
||||||
* <20>।¢ à¨â¥«ì® ¤ ë¥ ¤®«¦ë ¡ëâì § £àã¦¥ë ¯®¤äãªæ¨¥© 0 ¨
|
|
||||||
®¯à¥¤¥«ñ ¨å ä®à¬ â ¯®¤äãªæ¨¥© 2.
|
|
||||||
* ”ãªæ¨ï ¢®§¢à é ¥â ã¯à ¢«¥¨¥, ª®£¤ ç «®áì ¯à®¨£àë¢ ¨¥ ¤ ëå;
|
|
||||||
¯®á«¥ í⮣® ¯à®¨£àë¢ ¨¥ ¨¤ñâ ¥§ ¢¨á¨¬® ®â ¯à¨«®¦¥¨ï (¨ ¢®®¡é¥
|
|
||||||
¥ âॡã¥â § £à㧪¨ ¯à®æ¥áá®à ).
|
|
||||||
* <20>।¢ à¨â¥«ì® ¤®«¦ë ¡ëâì ®¯à¥¤¥«¥ë ¡ §®¢ë© ¯®àâ SB16
|
|
||||||
(¯®¤äãªæ¨¥© 4 äãªæ¨¨ 21) ¨ ª « DMA
|
|
||||||
(¯®¤äãªæ¨¥© 10 äãªæ¨¨ 21).
|
|
||||||
|
|
||||||
======================================================================
|
|
||||||
====== ”ãªæ¨ï 55, ¯®¤äãªæ¨ï 2 - ãáâ ®¢¨âì ä®à¬ â ¤ ëå SB16. =====
|
|
||||||
======================================================================
|
|
||||||
<EFBFBD> à ¬¥âàë:
|
|
||||||
* eax = 55 - ®¬¥à äãªæ¨¨
|
|
||||||
* ebx = 2 - ®¬¥à ¯®¤äãªæ¨¨
|
|
||||||
* ecx = 0 - ãáâ ®¢¨âì à §à冷áâì
|
|
||||||
* edx = 1 - 8¡¨â ¬®®
|
|
||||||
* edx = 2 - 8¡¨â áâ¥à¥®
|
|
||||||
* ecx = 1 - ãáâ ®¢¨âì à §¬¥à ¤ ëå
|
|
||||||
* edx = à §¬¥à ¢ ¡ ©â å
|
|
||||||
* ecx = 2 - ãáâ ®¢¨âì ç áâ®â㠯ந£àë¢ ¨ï
|
|
||||||
* edx = ç áâ®â
|
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
|
||||||
* äãªæ¨ï ¥ ¢®§¢à é ¥â § 票ï
|
|
||||||
‡ ¬¥ç ¨ï:
|
|
||||||
* <20>ਠ§ £à㧪¥ á¨á⥬ë ãáâ ¢«¨¢ îâáï á«¥¤ãî騥 ¯ à ¬¥âàë
|
|
||||||
¯® 㬮«ç ¨î: à §à冷áâì - 8 ¡¨â ¬®®, à §¬¥à - 64 Š¡,
|
|
||||||
ç áâ®â 44100 ƒæ. ’¥¬ ¥ ¬¥¥¥ ४®¬¥¤ã¥âáï  ãáâ ¢«¨¢ âì
|
|
||||||
¥®¡å®¤¨¬ë¥ § 票ï, ¯®áª®«ìªã ®¨ ¬®£«¨ ¡ëâì ¯¥à¥ãáâ ®¢«¥ë
|
|
||||||
ª ª®©-¨¡ã¤ì ¯à®£à ¬¬®©.
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
====================== ”ãªæ¨ï 55, ¯®¤äãªæ¨ï 55 =====================
|
====================== ”ãªæ¨ï 55, ¯®¤äãªæ¨ï 55 =====================
|
||||||
========== <20> ç âì ¯à®¨£àë¢ âì ¤ ë¥ ¢áâ஥®¬ ᯨª¥à¥. ==========
|
========== <20> ç âì ¯à®¨£àë¢ âì ¤ ë¥ ¢áâ஥®¬ ᯨª¥à¥. ==========
|
||||||
@ -3071,8 +3010,8 @@ dword-
|
|||||||
* <20> §¬¥à ¡«®ª - 512 ¡ ©â; ç¨â ¥âáï ®¤¨ ¡«®ª.
|
* <20> §¬¥à ¡«®ª - 512 ¡ ©â; ç¨â ¥âáï ®¤¨ ¡«®ª.
|
||||||
* <20>¥ á«¥¤ã¥â ¯®« £ âìáï ¢®§¢à é ¥¬®¥ § 票¥,
|
* <20>¥ á«¥¤ã¥â ¯®« £ âìáï ¢®§¢à é ¥¬®¥ § 票¥,
|
||||||
®® ¬®¦¥â ¨§¬¥¨âìáï ¢ á«¥¤ãîé¨å ¢¥àá¨ïå.
|
®® ¬®¦¥â ¨§¬¥¨âìáï ¢ á«¥¤ãîé¨å ¢¥àá¨ïå.
|
||||||
* ’ॡã¥âáï, çâ®¡ë ¡ë« à §à¥èñ LBA-¤®áâ㯠ª ãáâனá⢠¬
|
* ’ॡã¥âáï, çâ®¡ë ¡ë« à §à¥èñ LBA-¤®áâ㯠ª ãáâனá⢠¬
|
||||||
¯®¤äãªæ¨¥© 11 äãªæ¨¨ 21. “§ âì íâ® ¬®¦® ¢ë§®¢®¬
|
¯®¤äãªæ¨¥© 11 äãªæ¨¨ 21. “§ âì íâ® ¬®¦® ¢ë§®¢®¬
|
||||||
¯®¤äãªæ¨¥© 11 äãªæ¨¨ 26.
|
¯®¤äãªæ¨¥© 11 äãªæ¨¨ 26.
|
||||||
* LBA-ç⥨¥ ¤¨áª¥âë ¥ ¯®¤¤¥à¦¨¢ ¥âáï.
|
* LBA-ç⥨¥ ¤¨áª¥âë ¥ ¯®¤¤¥à¦¨¢ ¥âáï.
|
||||||
* ”ãªæ¨ï áç¨âë¢ ¥â ¤ ë¥ ä¨§¨ç¥áª®£® ¦ñá⪮£® ¤¨áª ;
|
* ”ãªæ¨ï áç¨âë¢ ¥â ¤ ë¥ ä¨§¨ç¥áª®£® ¦ñá⪮£® ¤¨áª ;
|
||||||
@ -3086,7 +3025,7 @@ dword-
|
|||||||
íâ® ¡ã¤¥â áç¨â âìáï ãᯥ宬 (eax=0).
|
íâ® ¡ã¤¥â áç¨â âìáï ãᯥ宬 (eax=0).
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
= ”ãªæ¨ï 58, ¯®¤äãªæ¨ï 15 - ¯®«ãç¨âì ¨ä®à¬ æ¨î ® ä ©«®¢®© á¨á⥬¥.
|
= ”ãªæ¨ï 58, ¯®¤äãªæ¨ï 15 - ¯®«ãç¨âì ¨ä®à¬ æ¨î ® ä ©«®¢®© á¨á⥬¥.
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 58 - ®¬¥à äãªæ¨¨
|
* eax = 58 - ®¬¥à äãªæ¨¨
|
||||||
@ -3183,10 +3122,10 @@ IPC
|
|||||||
<EFBFBD>à®£à ¬¬¥ ¤®áâã¯ë ¤ ë¥ £à ä¨ç¥áª®£® íªà (®¡« áâì ¯ ¬ïâ¨, ª®â®à ï
|
<EFBFBD>à®£à ¬¬¥ ¤®áâã¯ë ¤ ë¥ £à ä¨ç¥áª®£® íªà (®¡« áâì ¯ ¬ïâ¨, ª®â®à ï
|
||||||
ᮡá⢥® ¨ ®â®¡à ¦ ¥â ᮤ¥à¦¨¬®¥ íªà ) ¯àï¬ãî ¡¥§ ¢ë§®¢®¢
|
ᮡá⢥® ¨ ®â®¡à ¦ ¥â ᮤ¥à¦¨¬®¥ íªà ) ¯àï¬ãî ¡¥§ ¢ë§®¢®¢
|
||||||
á¨á⥬ëå äãªæ¨© ç¥à¥§ ᥫ¥ªâ®à gs:
|
á¨á⥬ëå äãªæ¨© ç¥à¥§ ᥫ¥ªâ®à gs:
|
||||||
mov eax, [gs:0]
|
mov eax, [gs:0]
|
||||||
¯®¬¥áâ¨â ¢ eax ¯¥à¢ë© dword ¡ãä¥à , ᮤ¥à¦ 騩 ¨ä®à¬ æ¨î ® 梥â¥
|
¯®¬¥áâ¨â ¢ eax ¯¥à¢ë© dword ¡ãä¥à , ᮤ¥à¦ 騩 ¨ä®à¬ æ¨î ® 梥â¥
|
||||||
«¥¢®© ¢¥à奩 â®çª¨ (¨, ¢®§¬®¦®, 梥⠥᪮«ìª¨å á«¥¤ãîé¨å).
|
«¥¢®© ¢¥à奩 â®çª¨ (¨, ¢®§¬®¦®, 梥⠥᪮«ìª¨å á«¥¤ãîé¨å).
|
||||||
mov [gs:0], eax
|
mov [gs:0], eax
|
||||||
¯à¨ à ¡®â¥ ¢ ०¨¬ å VESA c LFB
|
¯à¨ à ¡®â¥ ¢ ०¨¬ å VESA c LFB
|
||||||
ãáâ ®¢¨â 梥⠫¥¢®© ¢¥à奩 â®çª¨
|
ãáâ ®¢¨â 梥⠫¥¢®© ¢¥à奩 â®çª¨
|
||||||
(¨ ¢®§¬®¦®, 梥⠥᪮«ìª¨å á«¥¤ãîé¨å).
|
(¨ ¢®§¬®¦®, 梥⠥᪮«ìª¨å á«¥¤ãîé¨å).
|
||||||
@ -3418,7 +3357,7 @@ IPC
|
|||||||
* ebx = 㪠§ â¥«ì ¨§®¡à ¦¥¨¥
|
* ebx = 㪠§ â¥«ì ¨§®¡à ¦¥¨¥
|
||||||
* ecx = [à §¬¥à ¯® ®á¨ x]*65536 + [à §¬¥à ¯® ®á¨ y]
|
* ecx = [à §¬¥à ¯® ®á¨ x]*65536 + [à §¬¥à ¯® ®á¨ y]
|
||||||
* edx = [ª®®à¤¨ â ¯® ®á¨ x]*65536 + [ª®®à¤¨ â ¯® ®á¨ y]
|
* edx = [ª®®à¤¨ â ¯® ®á¨ x]*65536 + [ª®®à¤¨ â ¯® ®á¨ y]
|
||||||
* esi = ç¨á«® ¡¨â ¯¨ªá¥«ì, ¤®«¦® ¡ëâì 1, 4, 8, 15, 16, 24 ¨«¨ 32
|
* esi = ç¨á«® ¡¨â ¯¨ªá¥«ì, ¤®«¦® ¡ëâì 1,2,4,8,15,16,24 ¨«¨ 32
|
||||||
* edi = 㪠§ â¥«ì ¯ «¨âàã (2 ¢ á⥯¥¨ esi 梥⮢ 0x00RRGGBB);
|
* edi = 㪠§ â¥«ì ¯ «¨âàã (2 ¢ á⥯¥¨ esi 梥⮢ 0x00RRGGBB);
|
||||||
¨£®à¨àã¥âáï ¯à¨ esi > 8
|
¨£®à¨àã¥âáï ¯à¨ esi > 8
|
||||||
* ebp = ᬥ饨¥ ¤ ëå ª ¦¤®© á«¥¤ãî饩 áâப¨ ¨§®¡à ¦¥¨ï
|
* ebp = ᬥ饨¥ ¤ ëå ª ¦¤®© á«¥¤ãî饩 áâப¨ ¨§®¡à ¦¥¨ï
|
||||||
@ -3428,27 +3367,28 @@ IPC
|
|||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* Š®®à¤¨ âë ¨§®¡à ¦¥¨ï - íâ® ª®®à¤¨ âë ¢¥à奣® «¥¢®£® 㣫
|
* Š®®à¤¨ âë ¨§®¡à ¦¥¨ï - íâ® ª®®à¤¨ âë ¢¥à奣® «¥¢®£® 㣫
|
||||||
¨§®¡à ¦¥¨ï ®â®á¨â¥«ì® ®ª .
|
¨§®¡à ¦¥¨ï ®â®á¨â¥«ì® ®ª .
|
||||||
* <20> §¬¥à ¨§®¡à ¦¥¨ï ¢ ¡ ©â å ¥áâì xsize*ysize.
|
|
||||||
* ”®à¬ â ¨§®¡à ¦¥¨ï á 1 ¡¨â®¬ ¯¨ªá¥«ì: ª ¦¤ë© ¡ ©â ¨§®¡à ¦¥¨ï,
|
* ”®à¬ â ¨§®¡à ¦¥¨ï á 1 ¡¨â®¬ ¯¨ªá¥«ì: ª ¦¤ë© ¡ ©â ¨§®¡à ¦¥¨ï,
|
||||||
§ ¨áª«î票¥¬, ¡ëâì ¬®¦¥â, ¯®á«¥¤¨å ¡ ©â®¢ áâப, ᮤ¥à¦¨â
|
§ ¨áª«î票¥¬, ¡ëâì ¬®¦¥â, ¯®á«¥¤¨å ¡ ©â®¢ áâப, ᮤ¥à¦¨â
|
||||||
¨ä®à¬ æ¨î ® 梥⥠8 ¯¨ªá¥«¥©, áâ à訩 ¡¨â ᮮ⢥âáâ¢ã¥â ¯¥à¢®¬ã
|
¨ä®à¬ æ¨î ® 梥⥠8 ¯¨ªá¥«¥©, áâ à訩 ¡¨â ᮮ⢥âáâ¢ã¥â ¯¥à¢®¬ã
|
||||||
¯¨ªá¥«î.
|
¯¨ªá¥«î.
|
||||||
|
* ”®à¬ â ¨§®¡à ¦¥¨ï á 2 ¡¨â ¬¨ ¯¨ªá¥«ì: ª ¦¤ë© ¡ ©â ¨§®¡à ¦¥¨ï,
|
||||||
|
§ ¨áª«î票¥¬, ¡ëâì ¬®¦¥â, ¯®á«¥¤¨å ¡ ©â®¢ áâப, ᮤ¥à¦¨â
|
||||||
|
¨ä®à¬ æ¨î ® 梥⥠4 ¯¨ªá¥«¥©, áâ à訥 ¤¢ ¡¨â ᮮ⢥âáâ¢ãîâ
|
||||||
|
¯¥à¢®¬ã ¯¨ªá¥«î.
|
||||||
* ”®à¬ â ¨§®¡à ¦¥¨ï á 4 ¡¨â ¬¨ ¯¨ªá¥«ì: ª ¦¤ë© ¡ ©â ¨§®¡à ¦¥¨ï,
|
* ”®à¬ â ¨§®¡à ¦¥¨ï á 4 ¡¨â ¬¨ ¯¨ªá¥«ì: ª ¦¤ë© ¡ ©â ¨§®¡à ¦¥¨ï,
|
||||||
§ ¨áª«î票¥¬ ¯®á«¥¤¨å ¡ ©â®¢ áâப (¥á«¨ è¨à¨ ¨§®¡à ¦¥¨ï
|
§ ¨áª«î票¥¬ ¯®á«¥¤¨å ¡ ©â®¢ áâப (¥á«¨ è¨à¨ ¨§®¡à ¦¥¨ï
|
||||||
¥çñâ ), ᮤ¥à¦¨â ¨ä®à¬ æ¨î ® 梥⥠2 ¯¨ªá¥«¥©, áâ àè ï â¥âà ¤
|
¥çñâ ), ᮤ¥à¦¨â ¨ä®à¬ æ¨î ® 梥⥠2 ¯¨ªá¥«¥©, áâ àè ï â¥âà ¤
|
||||||
ᮮ⢥âáâ¢ã¥â ¯¥à¢®¬ã ¯¨ªá¥«î.
|
ᮮ⢥âáâ¢ã¥â ¯¥à¢®¬ã ¯¨ªá¥«î.
|
||||||
* ”®à¬ â ¨§®¡à ¦¥¨ï á 8 ¡¨â ¬¨ ¯¨ªá¥«ì: ª ¦¤ë© ¡ ©â ¨§®¡à ¦¥¨ï
|
* ”®à¬ â ¨§®¡à ¦¥¨ï á 8 ¡¨â ¬¨ ¯¨ªá¥«ì: ª ¦¤ë© ¡ ©â ¨§®¡à ¦¥¨ï
|
||||||
à áᬠâਢ ¥âáï ª ª ¨¤¥ªá ¢ ¯ «¨âà¥.
|
à áᬠâਢ ¥âáï ª ª ¨¤¥ªá ¢ ¯ «¨âà¥.
|
||||||
* …᫨ ¨§®¡à ¦¥¨¥ ¨á¯®«ì§ã¥â ¥ ¢á¥ 256 梥⮢, ¬¥ìè¥,
|
|
||||||
à §¬¥à ¯ «¨âàë ¬®¦¥â ¡ëâì ¬¥ìè¥ 256.
|
|
||||||
* ”®à¬ â ¨§®¡à ¦¥¨ï á 15 ¡¨â ¬¨ ¯¨ªá¥«ì: 梥⠪ ¦¤®£® ¯¨ªá¥«ï
|
* ”®à¬ â ¨§®¡à ¦¥¨ï á 15 ¡¨â ¬¨ ¯¨ªá¥«ì: 梥⠪ ¦¤®£® ¯¨ªá¥«ï
|
||||||
ª®¤¨àã¥âáï ª ª (¢ ¡¨â®¢®¬ ¯à¥¤áâ ¢«¥¨¨) 0RRRRRGGGGGBBBBB -
|
ª®¤¨àã¥âáï ª ª (¢ ¡¨â®¢®¬ ¯à¥¤áâ ¢«¥¨¨) 0RRRRRGGGGGBBBBB -
|
||||||
¯® 5 ¯¨ªá¥«¥© ª ¦¤ë© 梥â.
|
¯® 5 ¯¨ªá¥«¥© ª ¦¤ë© 梥â.
|
||||||
* ”®à¬ â ¨§®¡à ¦¥¨ï á 16 ¡¨â ¬¨ ¯¨ªá¥«ì: 梥⠪ ¦¤®£® ¯¨ªá¥«ï
|
* ”®à¬ â ¨§®¡à ¦¥¨ï á 16 ¡¨â ¬¨ ¯¨ªá¥«ì: 梥⠪ ¦¤®£® ¯¨ªá¥«ï
|
||||||
ª®¤¨àã¥âáï ª ª RRRRRGGGGGGBBBBB (á奬 5+6+5).
|
ª®¤¨àã¥âáï ª ª RRRRRGGGGGGBBBBB (á奬 5+6+5).
|
||||||
* ”®à¬ â ¨§®¡à ¦¥¨ï á 24 ¡¨â ¬¨ ¯¨ªá¥«ì: 梥⠪ ¦¤®£® ¯¨ªá¥«ï
|
* ”®à¬ â ¨§®¡à ¦¥¨ï á 24 ¡¨â ¬¨ ¯¨ªá¥«ì: 梥⠪ ¦¤®£® ¯¨ªá¥«ï
|
||||||
ª®¤¨àã¥âáï âà¥¬ï ¡ ©â ¬¨ - ¯®á«¥¤®¢ â¥«ì® á¨ïï, §¥«ñ ï,
|
ª®¤¨àã¥âáï âà¥¬ï ¡ ©â ¬¨ - ¯®á«¥¤®¢ â¥«ì® á¨ïï, §¥«ñ ï, ªà á ï
|
||||||
ªà á ï á®áâ ¢«ïî騥 梥â .
|
á®áâ ¢«ïî騥 梥â .
|
||||||
* ”®à¬ â ¨§®¡à ¦¥¨ï á 32 ¡¨â ¬¨ ¯¨ªá¥«ì: «®£¨ç® 24, ⮫쪮
|
* ”®à¬ â ¨§®¡à ¦¥¨ï á 32 ¡¨â ¬¨ ¯¨ªá¥«ì: «®£¨ç® 24, ⮫쪮
|
||||||
¥áâì ¥éñ ¨£®à¨àã¥¬ë© ç¥â¢ñàâë© ¡ ©â.
|
¥áâì ¥éñ ¨£®à¨àã¥¬ë© ç¥â¢ñàâë© ¡ ©â.
|
||||||
* ‚맮¢ äãªæ¨¨ 7 íª¢¨¢ «¥â¥ ¢ë§®¢ã í⮩ äãªæ¨¨ á ¯ à ¬¥âà ¬¨
|
* ‚맮¢ äãªæ¨¨ 7 íª¢¨¢ «¥â¥ ¢ë§®¢ã í⮩ äãªæ¨¨ á ¯ à ¬¥âà ¬¨
|
||||||
@ -3814,65 +3754,58 @@ Architecture Software Developer's Manual, Volume 3, Appendix B);
|
|||||||
* ‘®¤¥à¦¨¬®¥ ¯ ¬ï⨠¢¯«®âì ¤® ¨¬¥ì襣® ¨§ áâ ண® ¨ ®¢®£®
|
* ‘®¤¥à¦¨¬®¥ ¯ ¬ï⨠¢¯«®âì ¤® ¨¬¥ì襣® ¨§ áâ ண® ¨ ®¢®£®
|
||||||
à §¬¥à®¢ á®åà ï¥âáï.
|
à §¬¥à®¢ á®åà ï¥âáï.
|
||||||
|
|
||||||
===========================================================================
|
======================================================================
|
||||||
====== ”ãªæ¨ï 68, ¯®¤äãªæ¨ï 22 - ®âªàëâì ¨¬¥®¢ ãî ®¡« áâì ¯ ¬ïâ¨. =====
|
=== ”ãªæ¨ï 68, ¯®¤äãªæ¨ï 22 - ®âªàëâì ¨¬¥®¢ ãî ®¡« áâì ¯ ¬ïâ¨. ==
|
||||||
===========================================================================
|
======================================================================
|
||||||
|
<EFBFBD> à ¬¥âàë:
|
||||||
<EFBFBD> à ¬¥âàë
|
|
||||||
* eax = 68 - ®¬¥à äãªæ¨¨
|
* eax = 68 - ®¬¥à äãªæ¨¨
|
||||||
* ebx = 22 - ®¬¥à ¯®¤äãªæ¨¨
|
* ebx = 22 - ®¬¥à ¯®¤äãªæ¨¨
|
||||||
* ecx = ¨¬ï ®¡« áâ¨. Œ ªá¨¬ã¬ 32 ᨬ¢®« ¢ª«îç ï § ¢¥àè î騩 ®«ì
|
* ecx = ¨¬ï ®¡« áâ¨. Œ ªá¨¬ã¬ 31 ᨬ¢®«, ¢ª«îç ï § ¢¥àè î騩 ®«ì
|
||||||
* edx = à §¬¥à ®¡« á⨠¢ ¡ ©â å ¤«ï SHM_CREATE ¨ SHM_OPEN_ALWAYS
|
* edx = à §¬¥à ®¡« á⨠¢ ¡ ©â å ¤«ï SHM_CREATE ¨ SHM_OPEN_ALWAYS
|
||||||
* esi = ä« £¨ ®âªàëâ¨ï ¨ ¤®áâã¯
|
* esi = ä« £¨ ®âªàëâ¨ï ¨ ¤®áâ㯠:
|
||||||
|
* SHM_OPEN = 0x00 - ®âªàëâì áãé¥áâ¢ãîéãî ®¡« áâì ¯ ¬ïâ¨.
|
||||||
SHM_OPEN = 0x00
|
…᫨ ®¡« áâì á â ª¨¬ ¨¬¥¥¬ ¥ áãé¥áâ¢ã¥â,
|
||||||
SHM_OPEN_ALWAYS = 0x04
|
äãªæ¨ï ¢¥àñâ ª®¤ ®è¨¡ª¨ 5.
|
||||||
SHM_CREATE = 0x08
|
* SHM_OPEN_ALWAYS = 0x04 - ®âªàëâì áãé¥áâ¢ãîéãî ¨«¨ ᮧ¤ âì ®¢ãî
|
||||||
SHM_READ = 0x00
|
®¡« áâì ¯ ¬ïâ¨.
|
||||||
SHM_WRITE = 0x01
|
* SHM_CREATE = 0x08 - ᮧ¤ âì ®¢ãî ®¡« áâì ¯ ¬ïâ¨.
|
||||||
|
…᫨ ®¡« áâì á â ª¨¬ ¨¬¥¥¬ 㦥 áãé¥áâ¢ã¥â,
|
||||||
SHM_CREATE - ᮧ¤ âì ®¢ãî ®¡« áâì ¯ ¬ïâ¨. …᫨ ®¡« áâì á
|
äãªæ¨ï ¢¥àñâ ª®¤ ®è¨¡ª¨ 10.
|
||||||
â ª¨¬ ¨¬¥¥¬ 㦥 áãé¥áâ¢ã¥â äãªæ¨ï ¢¥àñâ ª®¤ ®è¨¡ª¨ E_ACCESS
|
* SHM_READ = 0x00 - ¤®áâ㯠⮫쪮 ç⥨¥
|
||||||
SHM_OPEN_ALWAYS - ®âªàë¢ ¥â áãé¥áâ¢ãîéãî ¨«¨ ᮧ¤ ñâ ®¢ãî
|
* SHM_WRITE = 0x01 - ¤®áâ㯠ç⥨¥ ¨ § ¯¨áì
|
||||||
®¡« áâì ¯ ¬ïâ¨.
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
SHM_OPEN - ®âªàë¢ ¥â áãé¥áâ¢ãîéãî ®¡« áâì ¯ ¬ïâ¨. …᫨
|
* eax = 㪠§ â¥«ì ®¡« áâì ¯ ¬ïâ¨, 0 ¯à¨ ®è¨¡ª¥
|
||||||
®¡« áâì á â ª¨¬ ¨¬¥¥¬ ¥ áãé¥áâ¢ã¥â äãªæ¨ï ¢¥àñâ ª®¤
|
* ¯à¨ ᮧ¤ ¨¨ ®¢®© ®¡« á⨠(SHM_CREATE ¨«¨ SHM_OPEN_ALWAYS):
|
||||||
®è¨¡ª¨ E_NOTFOUND.
|
edx = 0 - ãᯥå, ¨ ç¥ - ª®¤ ®è¨¡ª¨
|
||||||
|
* ¯à¨ ®âªàë⨨ áãé¥áâ¢ãî饩 ®¡« á⨠(SHM_OPEN ¨«¨ SHM_OPEN_ALWAYS):
|
||||||
SHM_READ - ¤®áâ㯠⮫쪮 ç⥨¥.
|
edx = ª®¤ ®è¨¡ª¨ (¯à¨ eax=0) ¨«¨ à §¬¥à ®¡« á⨠¢ ¡ ©â å
|
||||||
SHM_WRITE - ¤®áâ㯠ç⥨¥ ¨ § ¯¨áì.
|
|
||||||
|
|
||||||
‚®§¢à é ¥¬ë¥ § 票ï:
|
|
||||||
* eax = 㪠§ â¥«ì ®¡« áâì ¯ ¬ï⨠¨«¨ ®«ì ¢ á«ãç ¥ ®è¨¡ª¨
|
|
||||||
* edx = ¥á«¨ ®¢ ï ®¡« áâì ᮧ¤ ñâáï SHM_CREATE ¨«¨ SHM_OPEN_ALWAYS
|
|
||||||
®«ì ¢ á«ãç ¥ ãá¯¥å ¨«¨ ª®¤ ®è¨¡ª¨.
|
|
||||||
¥á«¨ áãé¥áâ¢ãîé ï ®¡« áâì ®âªàë¢ ¥âáï SHM_OPEN ¨«¨ SHM_OPEN_ALWAYS
|
|
||||||
à §¬¥à ®¡« á⨠¢ ¡ ©â å ¨«¨ ª®¤ ®è¨¡ª¨
|
|
||||||
|
|
||||||
Š®¤ë ®è¨¡®ª:
|
Š®¤ë ®è¨¡®ª:
|
||||||
* E_NOTFOUND = 5
|
* E_NOTFOUND = 5
|
||||||
* E_ACCESS = 10
|
* E_ACCESS = 10
|
||||||
* E_NOMEM = 30
|
* E_NOMEM = 30
|
||||||
* E_PARAM = 33
|
* E_PARAM = 33
|
||||||
|
|
||||||
‡ ¬¥ç ¨ï:
|
‡ ¬¥ç ¨ï:
|
||||||
* …᫨ ᮧ¤ ñâáï ®¢ ï ®¡« áâì â® ä« £¨ ¤®áâ㯠ãáâ ¢«¨¢ îâ
|
* …᫨ ᮧ¤ ñâáï ®¢ ï ®¡« áâì, â® ä« £¨ ¤®áâ㯠ãáâ ¢«¨¢ îâ
|
||||||
¬ ªá¨¬ «ìë¥ ¯à ¢ ¤®áâ㯠¤«ï ®áâ «ìëå ¯à®æ¥áᮢ.
|
¬ ªá¨¬ «ìë¥ ¯à ¢ ¤®áâ㯠¤«ï ®áâ «ìëå ¯à®æ¥áᮢ. <20>®¯ëâª
|
||||||
* <20>®¤¨â¥«ì᪨© ¯à®æ¥áá ¢á¥£¤ ¨¬¥¥â ¤®áâ㯠§ ¯¨áì.
|
®âªàëâ¨ï ¤à㣨¬ ¯®â®ª®¬ á ¥à §à¥èñ묨 ¯à ¢ ¬¨ ¯à®¢ «¨âáï
|
||||||
|
á ª®¤®¬ ®è¨¡ª¨ E_ACCESS.
|
||||||
|
* <20>à®æ¥áá, ᮧ¤ ¢è¨© ®¡« áâì, ¢á¥£¤ ¨¬¥¥â ¤®áâ㯠§ ¯¨áì.
|
||||||
|
|
||||||
|
======================================================================
|
||||||
===========================================================================
|
=== ”ãªæ¨ï 68, ¯®¤äãªæ¨ï 23 - § ªàëâì ¨¬¥®¢ ãî ®¡« áâì ¯ ¬ïâ¨. ==
|
||||||
====== ”ãªæ¨ï 68, ¯®¤äãªæ¨ï 23 - § ªàëâì ¨¬¥®¢ ãî ®¡« áâì ¯ ¬ïâ¨. =====
|
======================================================================
|
||||||
===========================================================================
|
<EFBFBD> à ¬¥âàë:
|
||||||
|
|
||||||
<EFBFBD> à ¬¥âàë
|
|
||||||
* eax = 68 - ®¬¥à äãªæ¨¨
|
* eax = 68 - ®¬¥à äãªæ¨¨
|
||||||
* ebx = 23 - ®¬¥à ¯®¤äãªæ¨¨
|
* ebx = 23 - ®¬¥à ¯®¤äãªæ¨¨
|
||||||
* ecx = ¨¬ï ®¡« áâ¨. Œ ªá¨¬ã¬ 32 ᨬ¢®« ¢ª«îç ï § ¢¥àè î騩 ®«ì
|
* ecx = ¨¬ï ®¡« áâ¨. Œ ªá¨¬ã¬ 31 ᨬ¢®«, ¢ª«îç ï § ¢¥àè î騩 ®«ì
|
||||||
|
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* ¥ ®¯à¥¤¥«¥®
|
* eax à §àãè ¥âáï
|
||||||
|
‡ ¬¥ç ¨ï:
|
||||||
|
* Ž¡« áâì ¯ ¬ï⨠䨧¨ç¥áª¨ ®á¢®¡®¦¤ ¥âáï (á § ¡ë¢ ¨¥¬ ¢á¥å ¤ ëå
|
||||||
|
¨ ¢ë᢮¡®¦¤¥¨¥¬ 䨧¨ç¥áª®© ¯ ¬ïâ¨), ª®£¤ ¥ñ § ªà®îâ
|
||||||
|
¢á¥ ®âªàë¢è¨¥ ¯®â®ª¨.
|
||||||
|
* <20>ਠ§ ¢¥à襨¨ ¯®â®ª ®á¢®¡®¦¤ îâáï ¢á¥ ®âªàëâë¥ ¨¬
|
||||||
|
®¡« á⨠¯ ¬ïâ¨.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
======================== ”ãªæ¨ï 69 - ®â« ¤ª . =======================
|
======================== ”ãªæ¨ï 69 - ®â« ¤ª . =======================
|
||||||
@ -3907,8 +3840,8 @@ Architecture Software Developer's Manual, Volume 3, Appendix B);
|
|||||||
…᫨ ®â« ¤ç¨ª í⮣® ¥ å®ç¥â, ® ¤®«¦¥ ¯à¥¤¢ à¨â¥«ì® ®âª«îç¨âìáï
|
…᫨ ®â« ¤ç¨ª í⮣® ¥ å®ç¥â, ® ¤®«¦¥ ¯à¥¤¢ à¨â¥«ì® ®âª«îç¨âìáï
|
||||||
¯®¤äãªæ¨¥© 3.
|
¯®¤äãªæ¨¥© 3.
|
||||||
|
|
||||||
‚ᥠ¯®¤äãªæ¨¨, ªà®¬¥ 4 ¨ 5, ¯à¨¬¥¨¬ë ⮫쪮 ª ¯à®æ¥áá ¬/¯®â®ª ¬,
|
‚ᥠ¯®¤äãªæ¨¨ ¯à¨¬¥¨¬ë ⮫쪮 ª ¯à®æ¥áá ¬/¯®â®ª ¬, § ¯ãé¥ë¬
|
||||||
§ ¯ãé¥ë¬ ¨§ ⥪ã饣® äãªæ¨¥© 70 á ãáâ ®¢«¥ë¬ ä« £®¬ ®â« ¤ª¨.
|
¨§ ⥪ã饣® äãªæ¨¥© 70 á ãáâ ®¢«¥ë¬ ä« £®¬ ®â« ¤ª¨.
|
||||||
Žâ« ¤ª ¬®£®¯®â®çëå ¯à®£à ¬¬ ¯®ª ¥ ¯®¤¤¥à¦¨¢ ¥âáï.
|
Žâ« ¤ª ¬®£®¯®â®çëå ¯à®£à ¬¬ ¯®ª ¥ ¯®¤¤¥à¦¨¢ ¥âáï.
|
||||||
<EFBFBD>®«ë© ᯨ᮪ ¯®¤äãªæ¨©:
|
<EFBFBD>®«ë© ᯨ᮪ ¯®¤äãªæ¨©:
|
||||||
* ¯®¤äãªæ¨ï 0 - ®¯à¥¤¥«¨âì ®¡« áâì ¤ ëå ¤«ï ®â« ¤®çëå á®®¡é¥¨©
|
* ¯®¤äãªæ¨ï 0 - ®¯à¥¤¥«¨âì ®¡« áâì ¤ ëå ¤«ï ®â« ¤®çëå á®®¡é¥¨©
|
||||||
@ -3941,7 +3874,7 @@ Architecture Software Developer's Manual, Volume 3, Appendix B);
|
|||||||
¨ ¯à¨ ¯®áâ㯫¥¨¨ ®¢®£® á®®¡é¥¨ï á¨á⥬ ¡ã¤¥â ¦¤ âì.
|
¨ ¯à¨ ¯®áâ㯫¥¨¨ ®¢®£® á®®¡é¥¨ï á¨á⥬ ¡ã¤¥â ¦¤ âì.
|
||||||
„«ï á¨åந§ 樨 ®¡à ¬«ï©â¥ ¢áî à ¡®âã á ¡ãä¥à®¬ ®¯¥à æ¨ï¬¨
|
„«ï á¨åந§ 樨 ®¡à ¬«ï©â¥ ¢áî à ¡®âã á ¡ãä¥à®¬ ®¯¥à æ¨ï¬¨
|
||||||
¡«®ª¨à®¢ª¨/à §¡«®ª¨à®¢ª¨
|
¡«®ª¨à®¢ª¨/à §¡«®ª¨à®¢ª¨
|
||||||
neg [bufsize]
|
neg [bufsize]
|
||||||
* „ ë¥ ¢ ¡ãä¥à¥ âà ªâãîâáï ª ª ¬ áᨢ í«¥¬¥â®¢ ¯¥à¥¬¥®© ¤«¨ë -
|
* „ ë¥ ¢ ¡ãä¥à¥ âà ªâãîâáï ª ª ¬ áᨢ í«¥¬¥â®¢ ¯¥à¥¬¥®© ¤«¨ë -
|
||||||
á®®¡é¥¨©. ”®à¬ â á®®¡é¥¨ï 㪠§ ¢ ®¡é¥¬ ®¯¨á ¨¨.
|
á®®¡é¥¨©. ”®à¬ â á®®¡é¥¨ï 㪠§ ¢ ®¡é¥¬ ®¯¨á ¨¨.
|
||||||
|
|
||||||
@ -4006,7 +3939,7 @@ Architecture Software Developer's Manual, Volume 3, Appendix B);
|
|||||||
* …᫨ ¯à®æ¥áá ¡ë« ¯à¨®áâ ®¢«¥, ® ¢®§®¡®¢«ï¥â ¢ë¯®«¥¨¥.
|
* …᫨ ¯à®æ¥áá ¡ë« ¯à¨®áâ ®¢«¥, ® ¢®§®¡®¢«ï¥â ¢ë¯®«¥¨¥.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
=========== ”ãªæ¨ï 69, ¯®¤äãªæ¨ï 4 - ¯à¨®áâ ®¢¨âì ¯®â®ª. ==========
|
==== ”ãªæ¨ï 69, ¯®¤äãªæ¨ï 4 - ¯à¨®áâ ®¢¨âì ®â« ¦¨¢ ¥¬ë© ¯®â®ª. ====
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 69 - ®¬¥à ¯à®æ¥áá
|
* eax = 69 - ®¬¥à ¯à®æ¥áá
|
||||||
@ -4014,10 +3947,13 @@ Architecture Software Developer's Manual, Volume 3, Appendix B);
|
|||||||
* ecx = ¨¤¥â¨ä¨ª â®à
|
* ecx = ¨¤¥â¨ä¨ª â®à
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* äãªæ¨ï ¥ ¢®§¢à é ¥â § 票ï
|
* äãªæ¨ï ¥ ¢®§¢à é ¥â § 票ï
|
||||||
|
‡ ¬¥ç ¨ï:
|
||||||
|
* <20>à®æ¥áá ¤®«¦¥ ¡ëâì § £à㦥 ¤«ï ®â« ¤ª¨ (ª ª 㪠§ ® ¢
|
||||||
|
®¡é¥¬ ®¯¨á ¨¨).
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
====================== ”ãªæ¨ï 69, ¯®¤äãªæ¨ï 5 ======================
|
====================== ”ãªæ¨ï 69, ¯®¤äãªæ¨ï 5 ======================
|
||||||
=================== ‚®§®¡®¢¨âì ¢ë¯®«¥¨¥ ¯®â®ª . ===================
|
============ ‚®§®¡®¢¨âì ¢ë¯®«¥¨¥ ®â« ¦¨¢ ¥¬®£® ¯®â®ª . ============
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 69 - ®¬¥à äãªæ¨¨
|
* eax = 69 - ®¬¥à äãªæ¨¨
|
||||||
@ -4025,6 +3961,9 @@ Architecture Software Developer's Manual, Volume 3, Appendix B);
|
|||||||
* ecx = ¨¤¥â¨ä¨ª â®à
|
* ecx = ¨¤¥â¨ä¨ª â®à
|
||||||
‚®§¢à é ¥¬®¥ § 票¥:
|
‚®§¢à é ¥¬®¥ § 票¥:
|
||||||
* äãªæ¨ï ¥ ¢®§¢à é ¥â § 票ï
|
* äãªæ¨ï ¥ ¢®§¢à é ¥â § 票ï
|
||||||
|
‡ ¬¥ç ¨ï:
|
||||||
|
* <20>à®æ¥áá ¤®«¦¥ ¡ëâì § £à㦥 ¤«ï ®â« ¤ª¨ (ª ª 㪠§ ® ¢
|
||||||
|
®¡é¥¬ ®¯¨á ¨¨).
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
====================== ”ãªæ¨ï 69, ¯®¤äãªæ¨ï 6 ======================
|
====================== ”ãªæ¨ï 69, ¯®¤äãªæ¨ï 6 ======================
|
||||||
@ -4046,7 +3985,7 @@ Architecture Software Developer's Manual, Volume 3, Appendix B);
|
|||||||
®¡é¥¬ ®¯¨á ¨¨).
|
®¡é¥¬ ®¯¨á ¨¨).
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
”ãªæ¨ï 69, ¯®¤äãªæ¨ï 7 - § ¯¨á âì ¢ ¯ ¬ïâì ®â« ¦¨¢ ¥¬®£® ¯à®æ¥áá .
|
”ãªæ¨ï 69, ¯®¤äãªæ¨ï 7 - § ¯¨á âì ¢ ¯ ¬ïâì ®â« ¦¨¢ ¥¬®£® ¯à®æ¥áá .
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> à ¬¥âàë:
|
<EFBFBD> à ¬¥âàë:
|
||||||
* eax = 69 - ®¬¥à äãªæ¨¨
|
* eax = 69 - ®¬¥à äãªæ¨¨
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
SYSTEM FUNCTIONS of OS Kolibri 0.7.1.0
|
SYSTEM FUNCTIONS of OS Kolibri 0.7.5.0
|
||||||
|
|
||||||
Number of the function is located in the register eax.
|
Number of the function is located in the register eax.
|
||||||
The call of the system function is executed by "int 0x40" command.
|
The call of the system function is executed by "int 0x40" command.
|
||||||
@ -219,9 +219,6 @@ Remarks:
|
|||||||
and does not make any operations at all. If it is really required
|
and does not make any operations at all. If it is really required
|
||||||
to transfer control to the next process (to complete a current
|
to transfer control to the next process (to complete a current
|
||||||
time slice), use subfunction 1 of function 68.
|
time slice), use subfunction 1 of function 68.
|
||||||
* At current implementation there will be an immediate return from
|
|
||||||
the function, if the addition of ebx with current value of
|
|
||||||
time counter will call 32-bit overflow.
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
============== Function 6 - read the file from ramdisk. ==============
|
============== Function 6 - read the file from ramdisk. ==============
|
||||||
@ -613,16 +610,20 @@ Parameters:
|
|||||||
* eax = 17 - function number
|
* eax = 17 - function number
|
||||||
Returned value:
|
Returned value:
|
||||||
* if the buffer is empty, function returns eax=1
|
* if the buffer is empty, function returns eax=1
|
||||||
* if the buffer is not empty, function returns:
|
* if the buffer is not empty:
|
||||||
high 24 bits of eax contain button identifier (in particular, ah
|
* high 24 bits of eax contain button identifier (in particular,
|
||||||
contains low byte of the identifier; if all buttons have
|
ah contains low byte of the identifier; if all buttons have
|
||||||
the identifier less than 256, ah is enough to distinguish),
|
the identifier less than 256, ah is enough to distinguish)
|
||||||
and al contain 0 - if used left mouse button or bit of the used another mouse button
|
* al = 0 - the button was pressed with left mouse button
|
||||||
|
* al = bit corresponding to used mouse button otherwise
|
||||||
Remarks:
|
Remarks:
|
||||||
* "Buffer" keeps only one button, at pressing the new button the
|
* "Buffer" keeps only one button, at pressing the new button the
|
||||||
information about old is lost.
|
information about old is lost.
|
||||||
* The call of this function by an application with inactive window
|
* The call of this function by an application with inactive window
|
||||||
will return answer "buffer is empty".
|
will return answer "buffer is empty".
|
||||||
|
* Returned value for al corresponds to the state of mouse buttons
|
||||||
|
as in subfunction 2 of function 37 at the beginning
|
||||||
|
of button press, excluding lower bit, which is cleared.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
= Function 18, subfunction 2 - terminate process/thread by the slot. =
|
= Function 18, subfunction 2 - terminate process/thread by the slot. =
|
||||||
@ -731,7 +732,7 @@ Returned value:
|
|||||||
* function does not return value
|
* function does not return value
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
============ Function 18, subfunction 9 - system shutdown. ===========
|
== Function 18, subfunction 9 - system shutdown with the parameter. ==
|
||||||
======================================================================
|
======================================================================
|
||||||
Parameters:
|
Parameters:
|
||||||
* eax = 18 - function number
|
* eax = 18 - function number
|
||||||
@ -747,8 +748,7 @@ Returned value:
|
|||||||
Remarks:
|
Remarks:
|
||||||
* Do not rely on returned value by incorrect call, it can be
|
* Do not rely on returned value by incorrect call, it can be
|
||||||
changed in future versions of the kernel.
|
changed in future versions of the kernel.
|
||||||
* It is possible to use subfunction 1, that on the last step
|
|
||||||
the user makes choice himself.
|
|
||||||
======================================================================
|
======================================================================
|
||||||
===== Function 18, subfunction 10 - minimize application window. =====
|
===== Function 18, subfunction 10 - minimize application window. =====
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1126,11 +1126,6 @@ Remarks:
|
|||||||
* CD base is used by function 24.
|
* CD base is used by function 24.
|
||||||
* To get CD base use subfunction 3 of function 26.
|
* To get CD base use subfunction 3 of function 26.
|
||||||
|
|
||||||
======================================================================
|
|
||||||
====== Function 21, subfunction 4 - set Sound Blaster base port. =====
|
|
||||||
======================================================================
|
|
||||||
Removed
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
========== Function 21, subfunction 5 - set system language. =========
|
========== Function 21, subfunction 5 - set system language. =========
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1191,11 +1186,6 @@ Remarks:
|
|||||||
subfunction 11 of function 18.
|
subfunction 11 of function 18.
|
||||||
* It is also necessary to define used HD base by subfunction 7.
|
* It is also necessary to define used HD base by subfunction 7.
|
||||||
|
|
||||||
======================================================================
|
|
||||||
======== Function 21, subfunction 10 - set sound DMA channel. ========
|
|
||||||
======================================================================
|
|
||||||
Removed
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
Function 21, subfunction 11 - enable/disable low-level access to HD.
|
Function 21, subfunction 11 - enable/disable low-level access to HD.
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1483,11 +1473,6 @@ Remarks:
|
|||||||
* The function is supported only for ATAPI devices (CD and DVD).
|
* The function is supported only for ATAPI devices (CD and DVD).
|
||||||
* An example of usage of the function is the application CD_tray.
|
* An example of usage of the function is the application CD_tray.
|
||||||
|
|
||||||
======================================================================
|
|
||||||
=================== Function 25 - set SBPro volume. ==================
|
|
||||||
======================================================================
|
|
||||||
Removed
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
======== Function 26, subfunction 1 - get MPU MIDI base port. ========
|
======== Function 26, subfunction 1 - get MPU MIDI base port. ========
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1547,11 +1532,6 @@ Remarks:
|
|||||||
* CD base is used by function 24.
|
* CD base is used by function 24.
|
||||||
* To set CD base use subfunction 3 of function 21.
|
* To set CD base use subfunction 3 of function 21.
|
||||||
|
|
||||||
======================================================================
|
|
||||||
====== Function 26, subfunction 4 - get Sound Blaster base port. =====
|
|
||||||
======================================================================
|
|
||||||
Removed
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
========== Function 26, subfunction 5 - get system language. =========
|
========== Function 26, subfunction 5 - get system language. =========
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1614,11 +1594,6 @@ Remarks:
|
|||||||
than 497 days.
|
than 497 days.
|
||||||
* To get system time use function 3.
|
* To get system time use function 3.
|
||||||
|
|
||||||
======================================================================
|
|
||||||
======== Function 26, subfunction 10 - get sound DMA channel. ========
|
|
||||||
======================================================================
|
|
||||||
Removed
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
===================== Function 26, subfunction 11 ====================
|
===================== Function 26, subfunction 11 ====================
|
||||||
========== Find out whether low-level HD access is enabled. ==========
|
========== Find out whether low-level HD access is enabled. ==========
|
||||||
@ -1646,11 +1621,6 @@ Remarks:
|
|||||||
* The current implementation uses only low bit of ecx.
|
* The current implementation uses only low bit of ecx.
|
||||||
* To set the current state use subfunction 12 of function 21.
|
* To set the current state use subfunction 12 of function 21.
|
||||||
|
|
||||||
======================================================================
|
|
||||||
=================== Function 28 - set SB16 volume. ===================
|
|
||||||
======================================================================
|
|
||||||
Removed
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
=================== Function 29 - get system date. ===================
|
=================== Function 29 - get system date. ===================
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1689,6 +1659,56 @@ Remarks:
|
|||||||
* If the buffer is too small to hold all data, only first (edx-1)
|
* If the buffer is too small to hold all data, only first (edx-1)
|
||||||
bytes are copied and than terminating 0 is inserted.
|
bytes are copied and than terminating 0 is inserted.
|
||||||
|
|
||||||
|
======================================================================
|
||||||
|
=============== Function 32 - delete file from ramdisk. ==============
|
||||||
|
======================================================================
|
||||||
|
Parameters:
|
||||||
|
* eax = 32 - function number
|
||||||
|
* ebx = pointer to the filename
|
||||||
|
Returned value:
|
||||||
|
* eax = 0 - success; otherwise file system error code
|
||||||
|
Remarks:
|
||||||
|
* This function is obsolete; function 58 allows to fulfill
|
||||||
|
the same operations with the extended possibilities.
|
||||||
|
* The current implementation returns only values 0(success) and
|
||||||
|
5(file not found).
|
||||||
|
* The filename must be either in the format 8+3 characters
|
||||||
|
(first 8 characters - name itself, last 3 - extension,
|
||||||
|
the short names and extensions are supplemented with spaces),
|
||||||
|
or in the format 8.3 characters "FILE.EXT"/"FILE.EX "
|
||||||
|
(name no more than 8 characters, dot, extension 3 characters
|
||||||
|
supplemented if necessary by spaces).
|
||||||
|
The filename must be written with capital letters. The terminating
|
||||||
|
character with code 0 is not necessary (not ASCIIZ-string).
|
||||||
|
* This function does not support folders on the ramdisk.
|
||||||
|
|
||||||
|
======================================================================
|
||||||
|
================ Function 33 - write file to ramdisk. ================
|
||||||
|
======================================================================
|
||||||
|
Parameters:
|
||||||
|
* eax = 33 - function number
|
||||||
|
* ebx = pointer to the filename
|
||||||
|
* ecx = pointer to data for writing
|
||||||
|
* edx = number of bytes for writing
|
||||||
|
* should be set esi=0
|
||||||
|
Returned value:
|
||||||
|
* eax = 0 - success, otherwise file system error code
|
||||||
|
Remarks:
|
||||||
|
* This function is obsolete; function 70 allows to fulfil
|
||||||
|
the same operations with extended possibilities.
|
||||||
|
* If esi contains non-zero value and selected file already exists,
|
||||||
|
one more file with the same name will be created.
|
||||||
|
* Otherwise file will be overwritten.
|
||||||
|
* The filename must be either in the format 8+3 characters
|
||||||
|
(first 8 characters - name itself, last 3 - extension,
|
||||||
|
the short names and extensions are supplemented with spaces),
|
||||||
|
or in the format 8.3 characters "FILE.EXT"/"FILE.EX "
|
||||||
|
(name no more than 8 characters, dot, extension 3 characters
|
||||||
|
supplemented if necessary by spaces).
|
||||||
|
The filename must be written with capital letters. The terminating
|
||||||
|
character with code 0 is not necessary (not ASCIIZ-string).
|
||||||
|
* This function does not support folders on the ramdisk.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
======= Function 35 - read the color of a pixel on the screen. =======
|
======= Function 35 - read the color of a pixel on the screen. =======
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -1707,12 +1727,12 @@ Remarks:
|
|||||||
the current videomode, use function 61.
|
the current videomode, use function 61.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
=============== Function 36 - read screen area. ===============
|
=================== Function 36 - read screen area. ==================
|
||||||
======================================================================
|
======================================================================
|
||||||
Paramters:
|
Paramters:
|
||||||
* eax = 36 - function number
|
* eax = 36 - function number
|
||||||
* ebx = pointer on the previously allocated area of memory,
|
* ebx = pointer to the previously allocated memory area,
|
||||||
where will be placed the image in the format BBGGRRBBGGRR...
|
where will be placed the image in the format BBGGRRBBGGRR...
|
||||||
* ecx = [size on axis x]*65536 + [size on axis y]
|
* ecx = [size on axis x]*65536 + [size on axis y]
|
||||||
* edx = [coordinate on axis x]*65536 + [coordinate on axis y]
|
* edx = [coordinate on axis x]*65536 + [coordinate on axis y]
|
||||||
Returned value:
|
Returned value:
|
||||||
@ -1915,45 +1935,36 @@ Returned value:
|
|||||||
* eax = -1 for incorrect ebx
|
* eax = -1 for incorrect ebx
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
==================== Function 42 - work with IRQ data. ===============
|
================== Function 42 - work with IRQ data. =================
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
||||||
------------------------ Reading data --------------------------------
|
|
||||||
|
|
||||||
When an IRQ occurs, the system reads data from ports indicated
|
When an IRQ occurs, the system reads data from ports indicated
|
||||||
earlier by function 44 and writes this data to
|
earlier by function 44 and writes this data to
|
||||||
internal buffer. This function reads out data from that buffer
|
internal buffer. This function reads out data from that buffer.
|
||||||
to the buffer specified as parameter.
|
|
||||||
|
--------------------- Subfunction 0 - read data ----------------------
|
||||||
Parameters:
|
Parameters:
|
||||||
* eax = 42 - function number
|
* eax = 42 - function number
|
||||||
* bl = IRQ number, 0..15
|
* bl = IRQ number, 0..15
|
||||||
* bh = subfunction number, 0
|
* bh = 0 - subfunction number
|
||||||
Other part of register ebx, must be zero.
|
* rest of ebx must be zeroed
|
||||||
* ecx = pointer to the receive buffer
|
* ecx = pointer to a buffer with size not less than 4000 bytes
|
||||||
Returned value: (use value of eax to distinguish)
|
Returned value: (use value of eax to distinguish)
|
||||||
* if the thread is not IRQ owner (or IRQ number is incorrect):
|
* if the thread is not IRQ owner
|
||||||
* eax = -1
|
(or IRQ number is incorrect): eax = -1
|
||||||
* if there is no data:
|
* if there is no data: eax = 0
|
||||||
* eax = 0
|
|
||||||
* if all is ok:
|
* if all is ok:
|
||||||
* eax = byte size of data, read from buffer
|
eax = size of data read (in bytes)
|
||||||
|
|
||||||
See remarks below.
|
|
||||||
|
|
||||||
------------------------ Get data size -------------------------------
|
|
||||||
|
|
||||||
|
------------- Subfunction 1 - get size of data in buffer -------------
|
||||||
Parameters:
|
Parameters:
|
||||||
* eax = 42 - function number
|
* eax = 42 - function number
|
||||||
* bl = IRQ number, 0..15
|
* bl = IRQ number, 0..15
|
||||||
* bh = subfunction number, 0
|
* bh = 0 - subfunction number
|
||||||
Other part of register ebx, must be zero.
|
* rest of ebx must be zeroed
|
||||||
* ecx = pointer to receive buffer
|
Returned value:
|
||||||
Returned value: (use value of eax to distinguish)
|
* if the thread is not IRQ owner
|
||||||
* if the thread is not IRQ owner (or IRQ number is incorrect):
|
(or IRQ number is incorrect): eax = -1
|
||||||
* eax = -1
|
* otherwise eax = size of data in buffer
|
||||||
* if all is ok:
|
|
||||||
* eax = byte size of data in buffer
|
|
||||||
|
|
||||||
Remarks:
|
Remarks:
|
||||||
* Previously the thread must reserve indicated IRQ for itself
|
* Previously the thread must reserve indicated IRQ for itself
|
||||||
by function 45.
|
by function 45.
|
||||||
@ -2578,9 +2589,6 @@ Remarks:
|
|||||||
sockets of a thread at termination. In particular, one should not
|
sockets of a thread at termination. In particular, one should not
|
||||||
kill a thread with many opened sockets - there will be an outflow
|
kill a thread with many opened sockets - there will be an outflow
|
||||||
of resources.
|
of resources.
|
||||||
* The current implementation does no checks on correctness
|
|
||||||
(function returns error only if thread tries to close not opened
|
|
||||||
socket with correct handle).
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
============== Function 53, subfunction 2 - poll socket. =============
|
============== Function 53, subfunction 2 - poll socket. =============
|
||||||
@ -2590,10 +2598,8 @@ Parameters:
|
|||||||
* ebx = 2 - subfunction number
|
* ebx = 2 - subfunction number
|
||||||
* ecx = socket handle
|
* ecx = socket handle
|
||||||
Returned value:
|
Returned value:
|
||||||
* eax = number of read bytes
|
* eax = number of read bytes, 0 for incorrect handle
|
||||||
* ebx destroyed
|
* ebx destroyed
|
||||||
Remarks:
|
|
||||||
* There is no checks for correctness.
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
========= Function 53, subfunction 3 - read byte from socket. ========
|
========= Function 53, subfunction 3 - read byte from socket. ========
|
||||||
@ -2603,12 +2609,10 @@ Parameters:
|
|||||||
* ebx = 3 - subfunction number
|
* ebx = 3 - subfunction number
|
||||||
* ecx = socket handle
|
* ecx = socket handle
|
||||||
Returned value:
|
Returned value:
|
||||||
* if there is no read data: eax=0, bl=0,
|
* if there is no read data or handle is incorrect: eax=0, bl=0,
|
||||||
other bytes of ebx are destroyed
|
other bytes of ebx are destroyed
|
||||||
* if there are read data: eax=number of rest bytes
|
* if there are read data: eax=number of rest bytes
|
||||||
(possibly 0), bl=read byte, other bytes of ebx are destroyed
|
(possibly 0), bl=read byte, other bytes of ebx are destroyed
|
||||||
Remarks:
|
|
||||||
* There is no checks for correctness.
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
========== Function 53, subfunction 4 - write to UDP-socket. =========
|
========== Function 53, subfunction 4 - write to UDP-socket. =========
|
||||||
@ -2620,13 +2624,10 @@ Parameters:
|
|||||||
* edx = number of bytes to write
|
* edx = number of bytes to write
|
||||||
* esi = pointer to data to write
|
* esi = pointer to data to write
|
||||||
Returned value:
|
Returned value:
|
||||||
* eax = 0xffffffff - invalid handle
|
* eax = 0xffffffff - error (invalid handle or not enough memory)
|
||||||
* eax = 0xffff - not enough memory
|
|
||||||
* eax = 0 - success
|
* eax = 0 - success
|
||||||
* ebx destroyed
|
* ebx destroyed
|
||||||
Remarks:
|
Remarks:
|
||||||
* Check on validity of handle is minimal - only not very incorrect
|
|
||||||
not opened handles are eliminated.
|
|
||||||
* Number of bytes to write must not exceed 1500-28, though
|
* Number of bytes to write must not exceed 1500-28, though
|
||||||
the appropriate check is not made.
|
the appropriate check is not made.
|
||||||
|
|
||||||
@ -2654,7 +2655,7 @@ Parameters:
|
|||||||
* ebx = 6 - subfunction number
|
* ebx = 6 - subfunction number
|
||||||
* ecx = socket handle
|
* ecx = socket handle
|
||||||
Returned value:
|
Returned value:
|
||||||
* eax = socket status: one of
|
* eax = 0 for incorrect handle or socket status: one of
|
||||||
* TCB_LISTEN = 1
|
* TCB_LISTEN = 1
|
||||||
* TCB_SYN_SENT = 2
|
* TCB_SYN_SENT = 2
|
||||||
* TCB_SYN_RECEIVED = 3
|
* TCB_SYN_RECEIVED = 3
|
||||||
@ -2666,9 +2667,7 @@ Returned value:
|
|||||||
* TCB_LAST_ASK = 9
|
* TCB_LAST_ASK = 9
|
||||||
* TCB_TIME_WAIT = 10
|
* TCB_TIME_WAIT = 10
|
||||||
* TCB_CLOSED = 11
|
* TCB_CLOSED = 11
|
||||||
* ebx destroys
|
* ebx destroyed
|
||||||
Remarks:
|
|
||||||
* There is no checks for correctness.
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
========== Function 53, subfunction 7 - write to TCP-socket. =========
|
========== Function 53, subfunction 7 - write to TCP-socket. =========
|
||||||
@ -2680,13 +2679,10 @@ Parameters:
|
|||||||
* edx = number of bytes to write
|
* edx = number of bytes to write
|
||||||
* esi = pointer to data to write
|
* esi = pointer to data to write
|
||||||
Returned value:
|
Returned value:
|
||||||
* eax = 0xffffffff - error
|
* eax = 0xffffffff - error (invalid handle or not enough memory)
|
||||||
* eax = 0xffff - not enough memory
|
|
||||||
* eax = 0 - success
|
* eax = 0 - success
|
||||||
* ebx destroyed
|
* ebx destroyed
|
||||||
Remarks:
|
Remarks:
|
||||||
* Check on validity of handle is minimal - only not very incorrect
|
|
||||||
not opened handles are eliminated.
|
|
||||||
* Number of bytes to write must not exceed 1500-40, though
|
* Number of bytes to write must not exceed 1500-40, though
|
||||||
the appropriate check is not made.
|
the appropriate check is not made.
|
||||||
|
|
||||||
@ -2698,20 +2694,15 @@ Parameters:
|
|||||||
* ebx = 8 - subfunction number
|
* ebx = 8 - subfunction number
|
||||||
* ecx = socket handle
|
* ecx = socket handle
|
||||||
Returned value:
|
Returned value:
|
||||||
* eax = -1 - invalid handle
|
* eax = -1 - error (invalid handle or
|
||||||
* eax = 0xffff - not enough memory for socket close packet
|
not enough memory for socket close packet)
|
||||||
* eax = 0 - success
|
* eax = 0 - success
|
||||||
* in many cases eax is destroyed (the result of function 'queue'
|
|
||||||
is returned) - probably this is bug, which will be corrected
|
|
||||||
* ebx destroyed
|
* ebx destroyed
|
||||||
Remarks:
|
Remarks:
|
||||||
* The current implementation does not close automatically all
|
* The current implementation does not close automatically all
|
||||||
sockets of a thread at termination. In particular, one should not
|
sockets of a thread at termination. In particular, one should not
|
||||||
kill a thread with many opened sockets - there will be an outflow
|
kill a thread with many opened sockets - there will be an outflow
|
||||||
of resources.
|
of resources.
|
||||||
* The current implementation does no checks on correctness
|
|
||||||
(function returns error only if thread tries to close not opened
|
|
||||||
socket with correct handle).
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
=== Function 53, subfunction 9 - check whether local port is free. ===
|
=== Function 53, subfunction 9 - check whether local port is free. ===
|
||||||
@ -2752,10 +2743,8 @@ Paramters:
|
|||||||
* esi = number of bytes to read;
|
* esi = number of bytes to read;
|
||||||
* esi = 0 - read all data (maximum 4096 bytes)
|
* esi = 0 - read all data (maximum 4096 bytes)
|
||||||
Returned value:
|
Returned value:
|
||||||
* eax = number of bytes read
|
* eax = number of bytes read (0 for incorrect handle)
|
||||||
* ebx destroyed
|
* ebx destroyed
|
||||||
Remakrs:
|
|
||||||
* There is no check on handle correctness.
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
= Function 53, subfunction 255 - debug information of network driver.
|
= Function 53, subfunction 255 - debug information of network driver.
|
||||||
@ -2788,58 +2777,6 @@ Possible values for ecx:
|
|||||||
* 5: total number of received ARP-packets
|
* 5: total number of received ARP-packets
|
||||||
* 6: status of packet driver, 0=inactive, nonzero=active
|
* 6: status of packet driver, 0=inactive, nonzero=active
|
||||||
|
|
||||||
======================================================================
|
|
||||||
========== Function 55, subfunction 0 - load data for SB16. ==========
|
|
||||||
======================================================================
|
|
||||||
Parameters:
|
|
||||||
* eax = 55 - function number
|
|
||||||
* ebx = 0 - subfunction number
|
|
||||||
* ecx = pointer to data (is copied 64 kilobytes, is used as much as
|
|
||||||
set by subfunction 2)
|
|
||||||
Returned value:
|
|
||||||
* function does not return value
|
|
||||||
Remarks:
|
|
||||||
* Format and size of data are set by subfunction 2.
|
|
||||||
|
|
||||||
======================================================================
|
|
||||||
======== Function 55, subfunction 1 - begin play data on SB16. =======
|
|
||||||
======================================================================
|
|
||||||
Parameters:
|
|
||||||
* eax = 55 - function number
|
|
||||||
* ebx = 1 - subfunction number
|
|
||||||
Returned value:
|
|
||||||
* function does not return value
|
|
||||||
Remarks:
|
|
||||||
* Previously data must be loaded by subfunction 0 and
|
|
||||||
their format must be defined by subfunction 2.
|
|
||||||
* Function returns control, when playing of data began; after that
|
|
||||||
play goes independently from application (and does not use
|
|
||||||
processor time at all).
|
|
||||||
* Previously must be defined SB16 base port
|
|
||||||
(by subfunction 4 of function 21) and DMA channel
|
|
||||||
(by subfunction 10 of function 21).
|
|
||||||
|
|
||||||
======================================================================
|
|
||||||
======== Function 55, subfunction 2 - set format of SB16 data. =======
|
|
||||||
======================================================================
|
|
||||||
Parameters:
|
|
||||||
* eax = 55 - function number
|
|
||||||
* ebx = 2 - subfunction number
|
|
||||||
* ecx = 0 - set digit capacity
|
|
||||||
* edx = 1 - 8bit mono
|
|
||||||
* edx = 2 - 8bit stereo
|
|
||||||
* ecx = 1 - set data size
|
|
||||||
* edx = size in bytes
|
|
||||||
* ecx = 2 - set play frequency
|
|
||||||
* edx = frequency
|
|
||||||
Returned value:
|
|
||||||
* function does not return value
|
|
||||||
Remarks:
|
|
||||||
* When the system boots, it sets following default parameters:
|
|
||||||
digit capacity - 8bit mono, size - 64 Kb, frequency - 44100 Hz.
|
|
||||||
Nevertheless it is recommended to set necessary values obviously
|
|
||||||
as they could be reset by some application.
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
Function 55, subfunction 55 - begin to play data on built-in speaker.
|
Function 55, subfunction 55 - begin to play data on built-in speaker.
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -3391,19 +3328,36 @@ Parameters:
|
|||||||
* ebx = pointer to the image
|
* ebx = pointer to the image
|
||||||
* ecx = [size on axis x]*65536 + [size on axis y]
|
* ecx = [size on axis x]*65536 + [size on axis y]
|
||||||
* edx = [coordinate on axis x]*65536 + [coordinate on axis y]
|
* edx = [coordinate on axis x]*65536 + [coordinate on axis y]
|
||||||
* esi = number of bits per pixel, must be 8, 24 or 32
|
* esi = number of bits per pixel, must be 1,2,4,8,15,16,24 or 32
|
||||||
* edi = pointer to palette (256 colors 0x00RRGGBB);
|
* edi = pointer to palette (2 to the power esi colors 0x00RRGGBB);
|
||||||
ignored when esi = 24 and 32
|
ignored when esi > 8
|
||||||
* ebp = offset of next row data relative to previous row data
|
* ebp = offset of next row data relative to previous row data
|
||||||
Returned value:
|
Returned value:
|
||||||
* function does not return value
|
* function does not return value
|
||||||
Remarks:
|
Remarks:
|
||||||
* Coordinates of the image are coordinates of the upper left corner
|
* Coordinates of the image are coordinates of the upper left corner
|
||||||
of the image relative to the window.
|
of the image relative to the window.
|
||||||
* Size of the image in bytes is xsize*ysize.
|
* Format of image with 1 bit per pixel: each byte of image
|
||||||
* Each byte of image is index in the palette.
|
(possibly excluding last bytes in rows), contains information on
|
||||||
* If the image uses less than 256 colors, palette size may be
|
the color of 8 pixels, MSB corresponds to first pixel.
|
||||||
less than 256 too.
|
* Format of image with 2 bits per pixel: each byte of image
|
||||||
|
(possibly excluding last bytes in rows), contains information on
|
||||||
|
the color of 4 pixels, two MSBs correspond to first pixel.
|
||||||
|
* Format of image with 4 bits per pixel: each byte of image
|
||||||
|
excluding last bytes in rows (if width is odd) contains
|
||||||
|
information on the color of 2 pixels, high-order tetrad
|
||||||
|
corresponds to first pixel.
|
||||||
|
* Format of image with 8 bits per pixel: each byte of image is
|
||||||
|
index in the palette.
|
||||||
|
* Format of image with 15 bits per pixel: the color of each pixel
|
||||||
|
is coded as (bit representation) 0RRRRRGGGGGBBBBB - 5 bits per
|
||||||
|
each color.
|
||||||
|
* Format of image with 16 bits per pixel: the color of each pixel
|
||||||
|
is coded as RRRRRGGGGGGBBBBB (5+6+5).
|
||||||
|
* Format of image with 24 bits per pixel: the color of each pixel
|
||||||
|
is coded as 3 bytes - sequentially blue, green, red components.
|
||||||
|
* Format of image with 32 bits per pixel: similar to 24, but
|
||||||
|
one additional ignored byte is present.
|
||||||
* The call to function 7 is equivalent to call to this function
|
* The call to function 7 is equivalent to call to this function
|
||||||
with esi=24, ebp=0.
|
with esi=24, ebp=0.
|
||||||
|
|
||||||
@ -3769,43 +3723,6 @@ Remarks:
|
|||||||
* The contents of the block are unchanged up to the shorter of
|
* The contents of the block are unchanged up to the shorter of
|
||||||
the new and old sizes.
|
the new and old sizes.
|
||||||
|
|
||||||
======================================================================
|
|
||||||
======= Function 68, subfunction 22 - open memory block. =======
|
|
||||||
======================================================================
|
|
||||||
Parameters:
|
|
||||||
* eax = 68 - function number
|
|
||||||
* ebx = 22 - subfunction number
|
|
||||||
* ecx = pointer to already allocated block (max 32 symbols)
|
|
||||||
* edx = block's size in bytes for SHM_CREATE and SHM_OPEN_ALWAYS
|
|
||||||
* esi = flags for opening and getting access
|
|
||||||
SHM_OPEN = 0x00
|
|
||||||
SHM_OPEN_ALWAYS = 0x04
|
|
||||||
SHM_CREATE = 0x08
|
|
||||||
SHM_READ = 0x00
|
|
||||||
SHM_WRITE = 0x01
|
|
||||||
Returned value:
|
|
||||||
* eax = pointer to the readed block, 0 = error
|
|
||||||
* edx = if SHM_CREATE, SHM_OPEN, or SHM_OPEN_ALWAYS active
|
|
||||||
Error codes:
|
|
||||||
* E_NOTFOUND = 5
|
|
||||||
* E_ACCESS = 10
|
|
||||||
* E_NOMEM = 30
|
|
||||||
* E_PARAM = 33
|
|
||||||
Remarks:
|
|
||||||
*
|
|
||||||
*
|
|
||||||
|
|
||||||
======================================================================
|
|
||||||
======= Function 68, subfunction 22 - close memory block. =======
|
|
||||||
======================================================================
|
|
||||||
Parameters:
|
|
||||||
* eax = 68 - function number
|
|
||||||
* ebx = 23 - subfunction number
|
|
||||||
* ecx = pointer to already allocated block (max 32 symbols)
|
|
||||||
|
|
||||||
Returned value:
|
|
||||||
* not defined
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
====================== Fucntion 69 - debugging. ======================
|
====================== Fucntion 69 - debugging. ======================
|
||||||
======================================================================
|
======================================================================
|
||||||
@ -3837,9 +3754,8 @@ When debugger terminates, all debugged processes are killed.
|
|||||||
If debugger does not want this, it must previously detach by
|
If debugger does not want this, it must previously detach by
|
||||||
subfunction 3.
|
subfunction 3.
|
||||||
|
|
||||||
All subfunctions except 4 and 5 are applicable only to
|
All subfunctions are applicable only to processes/threads started
|
||||||
processes/threads started from the current by function 70
|
from the current by function 70 with set debugging flag.
|
||||||
with set debugging flag.
|
|
||||||
Debugging of multithreaded programs is not supported yet.
|
Debugging of multithreaded programs is not supported yet.
|
||||||
The full list of subfunctions:
|
The full list of subfunctions:
|
||||||
* subfunction 0 - define data area for debug messages
|
* subfunction 0 - define data area for debug messages
|
||||||
@ -3937,7 +3853,7 @@ Remarks:
|
|||||||
* If the process was suspended, it resumes execution.
|
* If the process was suspended, it resumes execution.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
============= Function 69, subfunction 4 - suspend thread. ===========
|
======== Function 69, subfunction 4 - suspend debugged thread. =======
|
||||||
======================================================================
|
======================================================================
|
||||||
Parameters:
|
Parameters:
|
||||||
* eax = 69 - function number
|
* eax = 69 - function number
|
||||||
@ -3945,9 +3861,12 @@ Parameters:
|
|||||||
* ecx = thread identifier
|
* ecx = thread identifier
|
||||||
Returned value:
|
Returned value:
|
||||||
* function does not return value
|
* function does not return value
|
||||||
|
Remarks:
|
||||||
|
* Process must be loaded for debugging (as is shown in
|
||||||
|
general description).
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
============= Function 69, subfunction 5 - resume thread. ============
|
======== Function 69, subfunction 5 - resume debugged thread. ========
|
||||||
======================================================================
|
======================================================================
|
||||||
Parameters:
|
Parameters:
|
||||||
* eax = 69 - function number
|
* eax = 69 - function number
|
||||||
@ -3955,6 +3874,9 @@ Parameters:
|
|||||||
* ecx = thread identifier
|
* ecx = thread identifier
|
||||||
Returned value:
|
Returned value:
|
||||||
* function does not return value
|
* function does not return value
|
||||||
|
Remarks:
|
||||||
|
* Process must be loaded for debugging (as is shown in
|
||||||
|
general description).
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
= Fucntion 69, subfunction 6 - read from memory of debugged process. =
|
= Fucntion 69, subfunction 6 - read from memory of debugged process. =
|
||||||
|
@ -113,7 +113,7 @@ use16
|
|||||||
org 0x0
|
org 0x0
|
||||||
jmp start_of_code
|
jmp start_of_code
|
||||||
|
|
||||||
version db 'Kolibri OS version 0.7.1.0 ',13,10,13,10,0
|
version db 'Kolibri OS version 0.7.5.0 ',13,10,13,10,0
|
||||||
|
|
||||||
include "boot/bootstr.inc" ; language-independent boot messages
|
include "boot/bootstr.inc" ; language-independent boot messages
|
||||||
include "boot/preboot.inc"
|
include "boot/preboot.inc"
|
||||||
@ -2186,7 +2186,7 @@ endg
|
|||||||
|
|
||||||
iglobal
|
iglobal
|
||||||
version_inf:
|
version_inf:
|
||||||
db 0,7,1,0 ; version 0.7.1.0
|
db 0,7,5,0 ; version 0.7.5.0
|
||||||
db UID_KOLIBRI
|
db UID_KOLIBRI
|
||||||
dd __REV__
|
dd __REV__
|
||||||
version_end:
|
version_end:
|
||||||
@ -4297,7 +4297,9 @@ putimage_init8bpp:
|
|||||||
|
|
||||||
align 16
|
align 16
|
||||||
putimage_get24bpp:
|
putimage_get24bpp:
|
||||||
mov eax, [esi]
|
movzx eax, byte [esi+2]
|
||||||
|
shl eax, 16
|
||||||
|
mov ax, [esi]
|
||||||
add esi, 3
|
add esi, 3
|
||||||
ret 4
|
ret 4
|
||||||
align 16
|
align 16
|
||||||
|
Loading…
Reference in New Issue
Block a user