a143b06054
git-svn-id: svn://kolibrios.org@9470 a494cfbc-eb01-0410-851d-a64ba20cac60
31 lines
1.5 KiB
PHP
31 lines
1.5 KiB
PHP
mov edi,params ; 㪠§ ⥫ì áâபã
|
||
call str_len ; ¯®«ãç ¥¬ ¤«¨ã áâப¨
|
||
cmp eax,0 ; áâà ¢¨¢ ¥¬ ¤«¨ã á ã«ñ¬
|
||
je red ; ¥á«¨ ¯ à ¬¥â஢ ¥â â® ã室¨¬
|
||
call _read_params ; ¨ ç¥ ç¨â ¥¬ ¯ à ¬¥âàë 梥â (®ç¥ì ªà¨¢®)
|
||
xor eax,eax ; § ã«ï¥¬ ॣ¨áâà
|
||
mov al,byte [params] ; ç¨â ¥¬ ¯ à ¬¥âà ¬®¤
|
||
cmp al,'N' ; áà ¢¨¢ ¥¬ á normal mode
|
||
jne _no_normalmode ; ¥á«¨ ¥â â® ã室¨¬ ¯à®¢¥àªã ¤ «ìè¥
|
||
mov [runmode],1 ; ¥á«¨ ¤ â® ãáâ ¢«¨¢ ¥¬ ¥£®
|
||
jmp red ; ¨¤ñ¬ ®âà¨á®¢ªã
|
||
_no_normalmode: ; ¥á«¨ ¥ normal mode â®
|
||
cmp al,'H' ; ¢®§¬®¦® hidden mode
|
||
jne _no_hiddenmode ; ¥á«¨ ¥ ® â® ã室¨¬ ¤ «ìè¥
|
||
mov [runmode],2 ; ¥á«¨ ® â® ãáâ ¢«¨¢ ¥¬ çâ® íâ® ® ( å?)
|
||
call set_background ; ¬¥ï¥¬ ä®
|
||
jmp bexit ; ¨ § ªàë¢ ¥¬ ¯à®£ã
|
||
_no_hiddenmode: ; ¥á«¨ ¥ hidden mode
|
||
cmp al,'B' ; ¢®§¬®¦® noise mode
|
||
jne _no_noisemode ; ¥á«¨ ¥ ® â® ã室¨¬ ¤ «ìè¥
|
||
mov [runmode],2 ; ¥á«¨ ® â® ãáâ ¢«¨¢ ¥¬ çâ® íâ® ® ( å?)
|
||
call set_background2 ; ¬¥ï¥¬ ä®
|
||
jmp bexit ; ¨ § ªàë¢ ¥¬ ¯à®£ã
|
||
_no_noisemode: ; ¥á«¨ ¥ noise mode
|
||
cmp al,'D' ; ¢®§¬®¦® íâ® color dialog mode
|
||
jne _no_dialogmode ; ¥á«¨ ¢áñ â ª¨ ¥ ® â® ã室¨¬
|
||
mov [runmode],3 ; ¨ ç¥ ãª §ë¢ ¥¬ çâ® íâ® â ª¨ ®
|
||
jmp red ; ¨ ã室¨¬ ¢ë¯®«¥¨¥
|
||
_no_dialogmode: ; ¥á«¨ íâ® ¨ ®¤¨ ¨§ § ¥ëå ¬®¤®¢
|
||
mov [runmode],1 ; â® á¡à áë¢ ¥¬ ¤¥ä®«â
|
||
jmp red ; ¨ à¨á㥬 |