-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sylvain Maltais
committed
Apr 20, 2022
1 parent
33eba6c
commit c711f95
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ @author: Sylvain Maltais ([email protected]) | ||
@created: 2022 | ||
@website(https://www.gladir.com/unix-0) | ||
@abstract(Target: Turbo Pascal) | ||
} | ||
|
||
Program Reboot; | ||
|
||
Var | ||
FirstParam:String; | ||
|
||
BEGIN | ||
FirstParam:=ParamStr(1); | ||
If FirstParam='/?'Then Begin | ||
WriteLn('REBOOT Cette commande permet de redemarrer l''ordinateur'); | ||
WriteLn; | ||
WriteLn('Syntaxe:'); | ||
WriteLn; | ||
WriteLn('REBOOT [/?]'); | ||
WriteLn; | ||
WriteLn(' /? Ce parametre permet d''afficher l''aide sur cette commande'); | ||
End | ||
Else | ||
Begin | ||
{$IFNDEF FPC} | ||
MemW[Seg0040:$72]:=$1234; | ||
ASM | ||
INT 19h | ||
END; | ||
{$ENDIF} | ||
End; | ||
END. |