2019-07-13 20:49:22 +02:00
|
|
|
use16
|
|
|
|
align 1
|
|
|
|
|
2019-07-09 18:30:00 +02:00
|
|
|
include "..\include\mem.h"
|
|
|
|
include "..\include\fat.h"
|
|
|
|
include "..\include\divers.h"
|
|
|
|
include "..\include\3d.h"
|
|
|
|
|
|
|
|
org 0h
|
|
|
|
|
2019-07-14 12:47:14 +02:00
|
|
|
header exe 1,0,imports,0,realstart
|
2019-07-09 18:30:00 +02:00
|
|
|
|
|
|
|
realstart:
|
|
|
|
invoke randomize
|
|
|
|
invoke savestate
|
|
|
|
invoke setvideomode,10
|
|
|
|
invoke clearscreen
|
|
|
|
mov cx,65535
|
|
|
|
show:
|
|
|
|
invoke random
|
|
|
|
and ax,1111b
|
|
|
|
push ax
|
|
|
|
invoke random
|
|
|
|
push ax
|
|
|
|
invoke random
|
|
|
|
push ax
|
|
|
|
invoke random
|
|
|
|
push ax
|
|
|
|
invoke random
|
|
|
|
push ax
|
|
|
|
invoke line
|
|
|
|
dec cx
|
|
|
|
jnz show
|
|
|
|
invoke bioswaitkey
|
|
|
|
invoke restorestate
|
2019-07-17 17:29:13 +02:00
|
|
|
ret
|
2019-07-09 18:30:00 +02:00
|
|
|
|
|
|
|
importing
|
|
|
|
use VIDEO.LIB,print
|
|
|
|
use VIDEO,savestate
|
|
|
|
use VIDEO,clearscreen
|
|
|
|
use VIDEO,setvideomode
|
|
|
|
use VIDEO,restorestate
|
|
|
|
use VIDEO,waitretrace
|
|
|
|
use GRAPHIC,line ;@x1:word,@y1:word,@x2:word,@y2:word,@color:word
|
|
|
|
use GRAPHIC,polyfill ;@pointer:word,@nbfaces:word,@color:word;
|
|
|
|
use SYSTEME,bioswaitkey
|
|
|
|
use MATH.LIB,randomize
|
|
|
|
use MATH.LIB,random
|
|
|
|
endi
|