forked from KolibriOS/kolibrios
eliza readme uploaded, mblocks trunk optimizations
git-svn-id: svn://kolibrios.org@2285 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
d8fd58b4f5
commit
ba1dd02bde
12
programs/games/eliza/readme.txt
Normal file
12
programs/games/eliza/readme.txt
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
Eliza 0.2
|
||||||
|
|
||||||
|
=================
|
||||||
|
|
||||||
|
Теперь эта классическая программа искусственного интеллекта есть и в KolibriOS.
|
||||||
|
|
||||||
|
=================
|
||||||
|
|
||||||
|
Александр Богомаз aka Albom
|
||||||
|
albom85@yandex.ru
|
||||||
|
http://albom06.boom.ru
|
1952
programs/games/mblocks/branches/mblocks_C--/icons.txt
Normal file
1952
programs/games/mblocks/branches/mblocks_C--/icons.txt
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -258,37 +258,31 @@ first_click:
|
|||||||
jmp @b
|
jmp @b
|
||||||
|
|
||||||
draw_window:
|
draw_window:
|
||||||
push 48
|
mov eax, 48
|
||||||
pop eax
|
mov ebx, 3
|
||||||
push 3
|
|
||||||
pop ebx
|
|
||||||
mov ecx, color_table
|
mov ecx, color_table
|
||||||
push 4*10
|
mov edx, 40
|
||||||
pop edx
|
|
||||||
int 0x40 ; get color table
|
int 0x40 ; get color table
|
||||||
push 12
|
|
||||||
pop eax
|
mov eax, 12
|
||||||
push 1
|
mov ebx, 1
|
||||||
pop ebx
|
|
||||||
int 0x40 ; start redraw
|
int 0x40 ; start redraw
|
||||||
push ebx
|
|
||||||
xor eax, eax
|
xor eax, eax
|
||||||
mov ebx, 100*65536 + WindowWidth
|
mov ebx, 100*65536 + WindowWidth
|
||||||
mov ecx, 100*65536 + WindowHeight
|
mov ecx, 100*65536 + WindowHeight
|
||||||
add ecx, [SkinHeight]
|
add ecx, [SkinHeight]
|
||||||
mov edx, 4C0C0C0h
|
mov edx, 0x14C0C0C0
|
||||||
int 0x40 ; define window
|
mov edi, caption
|
||||||
mov al, 71
|
int 0x40
|
||||||
pop ebx
|
|
||||||
mov ecx, caption
|
|
||||||
int 0x40 ; set caption
|
|
||||||
call draw_aux
|
call draw_aux
|
||||||
call draw_field
|
call draw_field
|
||||||
push 12
|
|
||||||
pop eax
|
mov eax, 12
|
||||||
push 2
|
mov ebx, 2
|
||||||
pop ebx
|
int 0x40 ; end redraw
|
||||||
int 0x40
|
|
||||||
ret
|
ret
|
||||||
|
|
||||||
caption db 'Memory Blocks L&V Edition',0
|
caption db 'Memory Blocks L&V Edition',0
|
||||||
|
Loading…
Reference in New Issue
Block a user