Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 316 → Rev 315

/programs/demos/plasma/trunk/plasma.asm
31,7 → 31,7
mov al,7
mov ebx,virtual_screen_32
mov ecx,(WND_SIZE_X shl 16)+WND_SIZE_Y
xor edx,edx
mov edx,(4 shl 16)+24
int 0x40
call rotate_pal
jmp .event_loop
45,17 → 45,23
 
xor eax,eax
mov ebx,(100 shl 16)+(WND_SIZE_X+8)
mov ecx,(100 shl 16)+(WND_SIZE_Y+25)
mov edx,0x33000000
mov edi,header
mov ecx,(100 shl 16)+(WND_SIZE_Y+28)
mov edx,0x03000000
int 0x40
 
mov al,7
mov ebx,virtual_screen_32
mov ecx,(WND_SIZE_X shl 16)+WND_SIZE_Y
xor edx,edx
mov edx,(4 shl 16)+24
int 0x40
 
mov al,4
mov ebx,0x00060006
mov ecx,0x10ffffff
mov edx,window_title
mov esi,window_title_len
int 0x40
 
pop eax
and ebx,2 ; bit 1 is set
int 0x40
161,7 → 167,9
DATA
_multiplier dd 63.5
 
header db 'Plasma',0
window_title:
db 'Plasma'
window_title_len = $ - window_title
 
UDATA
_fpom32 rd 1