home *** CD-ROM | disk | FTP | other *** search
- Uses Crt;
-
- Var I : Integer;
-
- Procedure Fekete; Assembler;
- asm
- mov dx,03c8h
- xor al,al
- out dx,al
- inc dx
- out dx,al
- out dx,al
- out dx,al
- end;
-
- Procedure Feher; Assembler;
- asm
- mov dx,03c8h
- xor al,al
- out dx,al
- inc dx
- mov al,63
- out dx,al
- out dx,al
- out dx,al
- end;
-
- Procedure Gron; Assembler;
- asm
- mov ax,013h
- int 10h
- end;
-
- Procedure Retrace; Assembler;
- asm
- mov dx,03dah
- @y1: in al,dx
- test al,8
- jz @y1
- @y2: in al,dx
- test al,8
- jnz @y2
- end;
-
- Begin
- Gron;
- I:=0;
- Repeat
- Fekete;
- Inc(I);
- If I=9 Then Begin
- Feher;
- I:=0;
- End;
- Retrace;
- Until Keypressed;
- While Keypressed Do ReadKey;
- End.