This commit is contained in:
Frater 2017-09-24 01:45:36 +02:00
commit 43352ff262
1291 changed files with 220976 additions and 0 deletions

27
DDSTARS/KR.C Normal file
View file

@ -0,0 +1,27 @@
#include <stdio.h>
char *vram=(char *)0xa0000000L;
main()
{
unsigned int seed;
_asm mov ax,13h
_asm int 10h
_asm int 3
rand();
while(!kbhit())
{
vram[seed]++;
_asm
{
mov ax,seed
shl ax,1
jnc l1
add ax,0f7ffh
l1: mov seed,ax
}
}
getch();
_asm mov ax,3h
_asm int 10h
}