Autor Beitrag
Doctor X
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 23

WinXP
Delphi 6 PE
BeitragVerfasst: Do 11.03.04 12:24 
Titel: Ergänzung
So noch einmal den kompletten Code:

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
procedure LED(led: byte);
begin
   asm
      mov dx, 378h
      mov al, led
      out dx, al
   end;
end;

procedure LED_out_1;
var aus: byte;
begin
   aus := $B11111110;
   asm
      mov dx, 378h
      mov al, aus
      out dx, al
   end;
end;


Du weist ja wie das mit Aus funzt! Have fun,

Doctor X
8) :twisted: 8)

_________________
Alle denken an sich, gut das ich an mich denke!