2019-05-06 10:47:59 +02:00
|
|
|
|
; <20><><EFBFBD><EFBFBD>⮩ <20>ਬ<EFBFBD><E0A8AC> <20>ணࠬ<E0AEA3><E0A0AC> <20><><EFBFBD> KolibriOS
|
|
|
|
|
; <20><><EFBFBD><EFBFBD>稢<EFBFBD><E7A8A2><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD>⮩ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
;
|
|
|
|
|
; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E0AEA2><EFBFBD> FASM'<27><>
|
|
|
|
|
; <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> example.asm <20><>१ <20>ணࠬ<E0AEA3><E0A0AC> FASM (<28><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
|
|
|
|
; <20><> ࠡ<>祬 <20>⮫<EFBFBD>)
|
|
|
|
|
; <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> F9 <20> Tinypad'<27>. <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>樨
|
|
|
|
|
; <20>⮡ࠦ<E2AEA1><E0A0A6><EFBFBD><EFBFBD><EFBFBD> <20><> <20><>᪥ <20>⫠<EFBFBD><E2ABA0><EFBFBD> (<28>ணࠬ<E0AEA3><E0A0AC> BOARD)
|
|
|
|
|
;
|
|
|
|
|
; <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20>ணࠬ<E0AEA3><E0A0AC><EFBFBD><E0AEA2><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
|
|
|
|
; <20><><EFBFBD><EFBFBD><EFBFBD> <20>㭪樨 <20><><EFBFBD><EFBFBD>頥<EFBFBD><E9A0A5><EFBFBD> <20> ॣ<><E0A5A3><EFBFBD><EFBFBD> eax.
|
|
|
|
|
; <20>맮<EFBFBD> <20><><EFBFBD>⥬<EFBFBD><E2A5AC><EFBFBD> <20>㭪樨 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⢫<EFBFBD><E2A2AB><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "int 0x40".
|
|
|
|
|
; <20><><EFBFBD> ॣ<><E0A5A3><EFBFBD><EFBFBD><EFBFBD>, <20><EFBFBD> <> 㪠<><E3AAA0><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>頥<EFBFBD><E9A0A5><EFBFBD> <20><><EFBFBD>祭<EFBFBD><E7A5AD>,
|
|
|
|
|
; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ॣ<><E0A5A3><EFBFBD><EFBFBD> 䫠<><E4ABA0><EFBFBD> eflags, <20><><EFBFBD>࠭<EFBFBD><E0A0AD><EFBFBD><EFBFBD><EFBFBD>.
|
|
|
|
|
;
|
|
|
|
|
; <20>ਬ<EFBFBD><E0A8AC>:
|
|
|
|
|
; mov eax, 1 ;<3B>㭪<EFBFBD><E3ADAA><EFBFBD> 1 - <20><><EFBFBD>⠢<EFBFBD><E2A0A2><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD>
|
|
|
|
|
; ;ᯨ᮪ <20><><EFBFBD><EFBFBD>㭪権 <20><>. <20> DOCPACK - sysfuncr.txt
|
|
|
|
|
; mov ebx, 10 ; <20><><EFBFBD>न<EFBFBD><E0A4A8><EFBFBD><EFBFBD> x=10
|
|
|
|
|
; mov ecx, 20 ; <20><><EFBFBD>न<EFBFBD><E0A4A8><EFBFBD><EFBFBD> y=10
|
|
|
|
|
; mov edx, 0xFFFfff ;梥<> <20><>窨
|
|
|
|
|
; int 0x40 ;<3B>맢<EFBFBD><EBA7A2><EFBFBD> <20>㭪<EFBFBD><E3ADAA><EFBFBD>
|
|
|
|
|
;
|
|
|
|
|
; <20><><EFBFBD><EFBFBD> ᠬ<><E1A0AC> <20> <20>ᯮ<EFBFBD>짮<EFBFBD><ECA7AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
|
|
|
|
; mcall 1, 10, 20, 0xFFFfff
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
use32 ; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 32-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ०<><E0A5A6> <20><>ᥬ<EFBFBD><E1A5AC><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
org 0 ; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
db 'MENUET01' ; 8-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>䨪<EFBFBD><E4A8AA><EFBFBD><EFBFBD> MenuetOS
|
|
|
|
|
dd 1 ; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28>ᥣ<EFBFBD><E1A5A3> 1)
|
|
|
|
|
dd START ; <20><><EFBFBD><EFBFBD><EFBFBD> <20><>ࢮ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
dd I_END ; ࠧ<><E0A0A7><EFBFBD> <20>ணࠬ<E0AEA3><E0A0AC>
|
|
|
|
|
dd MEM ; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⢮ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
dd STACKTOP ; <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>設<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
dd 0 ; <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><>ࠬ<EFBFBD><E0A0AC>
|
|
|
|
|
dd 0 ; <20><>१<EFBFBD>ࢨ<E0A2A8><E0AEA2><EFBFBD>
|
|
|
|
|
|
2019-05-14 09:33:19 +02:00
|
|
|
|
include "lang.inc"
|
2019-05-06 10:47:59 +02:00
|
|
|
|
include "../../macros.inc" ; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><>ᥬ<EFBFBD><E1A5AC><EFBFBD><EFBFBD>騪<EFBFBD><E9A8AA>!
|
|
|
|
|
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
;--- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ----------------------------------------------
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
START:
|
|
|
|
|
|
|
|
|
|
red: ; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ᮢ<EFBFBD><E1AEA2><EFBFBD> <20><><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
call draw_window ; <20><><EFBFBD>뢠<EFBFBD><EBA2A0> <20><><EFBFBD>楤<EFBFBD><E6A5A4><EFBFBD> <20><><EFBFBD><EFBFBD>ᮢ<EFBFBD><E1AEA2> <20><><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
;--- <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ----------------------------------------
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
still:
|
|
|
|
|
;mcall 10 ; <20>㭪<EFBFBD><E3ADAA><EFBFBD> 10 - <20><><EFBFBD><EFBFBD><EFBFBD> ᮡ<><E1AEA1><EFBFBD><EFBFBD>
|
|
|
|
|
mov eax, 10
|
|
|
|
|
int 0x40
|
|
|
|
|
|
|
|
|
|
cmp eax,2 ; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ?
|
|
|
|
|
je key ; <20> <20><> - <20><> key
|
|
|
|
|
cmp eax,3 ; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ?
|
|
|
|
|
je button ; <20> <20><> - <20><> button
|
|
|
|
|
cmp eax,1 ; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ᮢ<EFBFBD><E1AEA2><EFBFBD> <20><><EFBFBD><EFBFBD> ?
|
|
|
|
|
je red ; <20> <20><> - <20><> <20><><EFBFBD><EFBFBD><EFBFBD> red
|
|
|
|
|
|
|
|
|
|
jmp still ; <20> <20><>㣮<EFBFBD> ᮡ<>⨥ - <20> <20><>砫<EFBFBD> 横<><E6A8AA>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
key: ; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><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------
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _0c
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x51 ; key Q
|
|
|
|
|
jnz @f
|
|
|
|
|
_11:
|
|
|
|
|
mov ah, 0x11
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x40 ; key @
|
|
|
|
|
jnz @f
|
|
|
|
|
_12:
|
|
|
|
|
mov ah, 0x12
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x57 ; key W
|
|
|
|
|
jnz @f
|
|
|
|
|
_13:
|
|
|
|
|
mov ah, 0x13
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x23 ; key #
|
|
|
|
|
jnz @f
|
|
|
|
|
_14:
|
|
|
|
|
mov ah, 0x14
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x45 ; key E
|
|
|
|
|
jnz @f
|
|
|
|
|
_15:
|
|
|
|
|
mov ah, 0x15
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x52 ; key R
|
|
|
|
|
jnz @f
|
|
|
|
|
_16:
|
|
|
|
|
mov ah, 0x16
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x25 ; key %
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _17
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x54 ; key T
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _18
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x5e ; key ^
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _19
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x59 ; key Y
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _1a
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x26 ; key &
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _1b
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x55 ; key U
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _1c
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x49 ; key I
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _21
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x28 ; key (
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _22
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x4f ; key O
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _23
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x29 ; key )
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _24
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x50 ; key P
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _25
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x7b ; key {
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _26
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x2b ; key +
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _27
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x7d ; key }
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _28
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x7c ; key |
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _29
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x61 ; a - if Caps Lock OFF
|
|
|
|
|
jnz @f
|
|
|
|
|
_17:
|
|
|
|
|
mov ah, 0x17
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x7a ; z
|
|
|
|
|
jnz @f
|
|
|
|
|
_18:
|
|
|
|
|
mov ah, 0x18
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x73 ; s
|
|
|
|
|
jnz @f
|
|
|
|
|
_19:
|
|
|
|
|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|
|
|
|
|
_41:
|
|
|
|
|
mov ah, 0x41
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x38 ; key 8
|
|
|
|
|
jnz @f
|
|
|
|
|
mov ah, 0x42
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x69 ; key i
|
|
|
|
|
jnz @f
|
|
|
|
|
mov ah, 0x43
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x39 ; key 9
|
|
|
|
|
jnz @f
|
|
|
|
|
mov ah, 0x44
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x6f ; key o
|
|
|
|
|
jnz @f
|
|
|
|
|
mov ah, 0x45
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x70 ; key p
|
|
|
|
|
jnz @f
|
|
|
|
|
mov ah, 0x46
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x2d ; key -
|
|
|
|
|
jnz @f
|
|
|
|
|
mov ah, 0x47
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x5b ; key [
|
|
|
|
|
jnz @f
|
|
|
|
|
mov ah, 0x48
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x3d ; key =
|
|
|
|
|
jnz @f
|
|
|
|
|
mov ah, 0x49
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x5d ; key ]
|
|
|
|
|
jnz @f
|
|
|
|
|
mov ah, 0x4a
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x5c ; key \
|
|
|
|
|
jnz @f
|
|
|
|
|
mov ah, 0x4b
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x08 ; key backspace
|
|
|
|
|
jnz @f
|
|
|
|
|
mov ah, 0x4c
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x0d ; key enter
|
|
|
|
|
jnz @f
|
|
|
|
|
mov ah, 0x51
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x66 ; key f
|
|
|
|
|
jnz @f
|
|
|
|
|
mov ah, 0x01
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x6a ; key j
|
|
|
|
|
jnz @f
|
|
|
|
|
mov ah, 0x05
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x33 ; key 3
|
|
|
|
|
jnz @f
|
|
|
|
|
mov ah, 0x08
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x37 ; key 7
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _11
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x30 ; key 0
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _15
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0xb4 ; key home
|
|
|
|
|
jnz @f
|
|
|
|
|
mov ah, 0x10
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0xb5 ; key end
|
|
|
|
|
jnz @f
|
|
|
|
|
_70:
|
|
|
|
|
mov ah, 0xfc
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0xb8 ; key Page Up
|
|
|
|
|
jnz @f
|
|
|
|
|
mov ah, 0x20
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0xb7 ; key Page Down
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _70
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0xff ; key F12
|
|
|
|
|
jnz @f
|
|
|
|
|
mov ah, 0x00
|
|
|
|
|
jmp p
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0xb6 ; key Del
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _70
|
|
|
|
|
@@:
|
|
|
|
|
|
|
|
|
|
p:
|
|
|
|
|
mov [M+1], ah ; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> ᨬ<><E1A8AC><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
; <20>㭪<EFBFBD><E3ADAA><EFBFBD> 55-55: <20><><EFBFBD>⥬<EFBFBD><E2A5AC><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ("PlayNote")
|
|
|
|
|
; esi - <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
mov eax,55
|
|
|
|
|
mov ebx,eax
|
|
|
|
|
mov esi,M
|
|
|
|
|
int 0x40
|
|
|
|
|
|
|
|
|
|
; <20><><EFBFBD> <20><><EFBFBD><EFBFBD>⪮:
|
|
|
|
|
;mcall 55, , , , Music
|
|
|
|
|
|
|
|
|
|
jmp still ; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><>砫<EFBFBD> 横<><E6A8AA>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
button:
|
|
|
|
|
mcall 17 ; 17 - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>䨪<EFBFBD><E4A8AA><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>⮩ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
cmp ah, 0xa1 ; button 1
|
|
|
|
|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|
|
jmp _39
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x3a
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _3a
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x3b
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _3b
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x3c
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _3c
|
|
|
|
|
@@:
|
|
|
|
|
cmp ah, 0x41
|
|
|
|
|
jnz @f
|
|
|
|
|
jmp _41
|
|
|
|
|
@@:
|
|
|
|
|
|
|
|
|
|
cmp ah, 1 ; <20> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> 1,
|
|
|
|
|
jne still ; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
.exit:
|
|
|
|
|
mcall -1 ; <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20>ணࠬ<E0AEA3><E0A0AC>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
;--- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> ----------------------------------
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
|
2019-05-10 19:36:11 +02:00
|
|
|
|
WHITE_W=48 ; While key width
|
|
|
|
|
BLACK_W=30 ; Black key width
|
|
|
|
|
BLACK_X=34 ; Black key X offset
|
|
|
|
|
|
2019-05-06 10:47:59 +02:00
|
|
|
|
draw_window:
|
|
|
|
|
|
|
|
|
|
mcall 12, 1 ; <20>㭪<EFBFBD><E3ADAA><EFBFBD> 12: ᮮ<><E1AEAE><EFBFBD><EFBFBD><EFBFBD> <20><> <20> <20><>砫<EFBFBD> <20><><EFBFBD><EFBFBD>ᮢ<EFBFBD><E1AEA2>
|
|
|
|
|
|
|
|
|
|
mcall 48, 3, sc,sizeof.system_colors
|
|
|
|
|
|
|
|
|
|
; <20><><EFBFBD><EFBFBD><EFBFBD>: ᭠砫<E1ADA0> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ਠ<EFBFBD><E0A8A0> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E0AEA2><EFBFBD><EFBFBD><EFBFBD>)
|
|
|
|
|
; <20><>⥬ <20><><EFBFBD><EFBFBD>⪨<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20>ᯮ<EFBFBD>짮<EFBFBD><ECA7AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ᮢ
|
|
|
|
|
|
|
|
|
|
; mov eax,0 ; <20>㭪<EFBFBD><E3ADAA><EFBFBD> 0: <20><>।<EFBFBD><E0A5A4><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
|
|
|
|
; mov ebx,200*65536+300 ; [x <20><><EFBFBD><EFBFBD><EFBFBD>] *65536 + [x ࠧ<><E0A0A7><EFBFBD>]
|
|
|
|
|
; mov ecx,200*65536+150 ; [y <20><><EFBFBD><EFBFBD><EFBFBD>] *65536 + [y ࠧ<><E0A0A7><EFBFBD>]
|
|
|
|
|
; mov edx, [sc.work] ; 梥<> 䮭<>
|
|
|
|
|
; or edx, 0x33000000 ; <20> ⨯ <20><><EFBFBD><EFBFBD> 3
|
|
|
|
|
; mov edi,header ; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
|
|
|
|
; int 0x40
|
|
|
|
|
|
|
|
|
|
mov edx, [sc.work] ; 梥<> 䮭<>
|
|
|
|
|
or edx, 0x33000000 ; <20> ⨯ <20><><EFBFBD><EFBFBD> 3
|
2019-05-14 09:33:19 +02:00
|
|
|
|
mcall 0, <20,WHITE_W*15+9>, <200,250>, , ,caption
|
2019-05-10 19:36:11 +02:00
|
|
|
|
|
|
|
|
|
mcall 8, <WHITE_W*0,WHITE_W>, <0,100>, 0x21, 0xff7a74
|
|
|
|
|
mcall 8, <WHITE_W*1,WHITE_W>, <0,100>, 0x23, 0x907040
|
|
|
|
|
mcall 8, <WHITE_W*2,WHITE_W>, <0,100>, 0x25, 0xa08050
|
|
|
|
|
mcall 8, <WHITE_W*3,WHITE_W>, <0,100>, 0x26, 0xb09060
|
|
|
|
|
mcall 8, <WHITE_W*4,WHITE_W>, <00,100>, 0x28, 0xc0a070
|
|
|
|
|
mcall 8, <WHITE_W*5,WHITE_W>, <00,100>, 0x2a, 0xd0b080
|
|
|
|
|
mcall 8, <WHITE_W*6,WHITE_W>, <0,100>, 0x2c, 0xe0c090
|
|
|
|
|
mcall 8, <WHITE_W*7,WHITE_W>, <0,100>, 0x31, 0xffa97c
|
|
|
|
|
mcall 8, <WHITE_W*8,WHITE_W>, <0,100>, 0x33, 0xaf8d8d
|
|
|
|
|
mcall 8, <WHITE_W*9,WHITE_W>, <0,100>, 0x35, 0xbf9d9d
|
|
|
|
|
mcall 8, <WHITE_W*10,WHITE_W>, <0,100>, 0x36, 0xcfadad
|
|
|
|
|
mcall 8, <WHITE_W*11,WHITE_W>, <00,100>, 0x38, 0xdfbdbd
|
|
|
|
|
mcall 8, <WHITE_W*12,WHITE_W>, <00,100>, 0x3a, 0xefcdcd
|
|
|
|
|
mcall 8, <WHITE_W*13,WHITE_W>, <0,100>, 0x3c, 0xffdddd
|
|
|
|
|
mcall 8, <WHITE_W*14,WHITE_W>, <0,100>, 0x41, 0xffe558
|
|
|
|
|
|
|
|
|
|
mcall 8, <WHITE_W*0+BLACK_X,BLACK_W>, <0,50>, 0x22, 0x221100
|
|
|
|
|
mcall 8, <WHITE_W*1+BLACK_X,BLACK_W>, <0,50>, 0x24, 0x221100
|
|
|
|
|
mcall 8, <WHITE_W*3+BLACK_X,BLACK_W>, <0,50>, 0x27, 0x221100
|
|
|
|
|
mcall 8, <WHITE_W*4+BLACK_X,BLACK_W>, <0,50>, 0x29, 0x221100
|
|
|
|
|
mcall 8, <WHITE_W*5+BLACK_X,BLACK_W>, <0,50>, 0x2b, 0x221100
|
|
|
|
|
mcall 8, <WHITE_W*7+BLACK_X,BLACK_W>, <0,50>, 0x32, 0x221100
|
|
|
|
|
mcall 8, <WHITE_W*8+BLACK_X,BLACK_W>, <0,50>, 0x34, 0x221100
|
|
|
|
|
mcall 8, <WHITE_W*10+BLACK_X,BLACK_W>, <0,50>, 0x37, 0x221100
|
|
|
|
|
mcall 8, <WHITE_W*11+BLACK_X,BLACK_W>, <0,50>, 0x39, 0x221100
|
|
|
|
|
mcall 8, <WHITE_W*12+BLACK_X,BLACK_W>, <0,50>, 0x3b, 0x221100
|
|
|
|
|
|
|
|
|
|
mcall 8, <WHITE_W*0,WHITE_W>, <100,100>, 0xa1, 0x702050
|
|
|
|
|
mcall 8, <WHITE_W*1,WHITE_W>, <100,100>, 0x03, 0x683638
|
|
|
|
|
mcall 8, <WHITE_W*2,WHITE_W>, <100,100>, 0x05, 0x784648
|
|
|
|
|
mcall 8, <WHITE_W*3,WHITE_W>, <100,100>, 0x06, 0x885658
|
|
|
|
|
mcall 8, <WHITE_W*4,WHITE_W>, <100,100>, 0x08, 0x986668
|
|
|
|
|
mcall 8, <WHITE_W*5,WHITE_W>, <100,100>, 0x0a, 0xa87678
|
|
|
|
|
mcall 8, <WHITE_W*6,WHITE_W>, <100,100>, 0x0c, 0xb88688
|
|
|
|
|
mcall 8, <WHITE_W*7,WHITE_W>, <100,100>, 0x11, 0x880040
|
|
|
|
|
mcall 8, <WHITE_W*8,WHITE_W>, <100,100>, 0x13, 0x90622b
|
|
|
|
|
mcall 8, <WHITE_W*9,WHITE_W>, <100,100>, 0x15, 0xa0723b
|
|
|
|
|
mcall 8, <WHITE_W*10,WHITE_W>, <100,100>, 0x16, 0xb0824b
|
|
|
|
|
mcall 8, <WHITE_W*11,WHITE_W>, <100,100>, 0x18, 0xc0925b
|
|
|
|
|
mcall 8, <WHITE_W*12,WHITE_W>, <100,100>, 0x1a, 0xd0a26b
|
|
|
|
|
mcall 8, <WHITE_W*13,WHITE_W>, <100,100>, 0x1c, 0xe0b27b
|
|
|
|
|
mcall 8, <WHITE_W*14,WHITE_W>, <100,100>, 0x21, 0xff7a74
|
|
|
|
|
|
|
|
|
|
mcall 8, <WHITE_W*0+BLACK_X,BLACK_W>, <100,50>, 0x02, 0x221100
|
|
|
|
|
mcall 8, <WHITE_W*1+BLACK_X,BLACK_W>, <100,50>, 0x04, 0x221100
|
|
|
|
|
mcall 8, <WHITE_W*3+BLACK_X,BLACK_W>, <100,50>, 0x07, 0x221100
|
|
|
|
|
mcall 8, <WHITE_W*4+BLACK_X,BLACK_W>, <100,50>, 0x09, 0x221100
|
|
|
|
|
mcall 8, <WHITE_W*5+BLACK_X,BLACK_W>, <100,50>, 0x0b, 0x221100
|
|
|
|
|
mcall 8, <WHITE_W*7+BLACK_X,BLACK_W>, <100,50>, 0x12, 0x221100
|
|
|
|
|
mcall 8, <WHITE_W*8+BLACK_X,BLACK_W>, <100,50>, 0x14, 0x221100
|
|
|
|
|
mcall 8, <WHITE_W*10+BLACK_X,BLACK_W>, <100,50>, 0x17, 0x221100
|
|
|
|
|
mcall 8, <WHITE_W*11+BLACK_X,BLACK_W>, <100,50>, 0x19, 0x221100
|
|
|
|
|
mcall 8, <WHITE_W*12+BLACK_X,BLACK_W>, <100,50>, 0x1b, 0x221100
|
2019-05-06 10:47:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; <20>뢮<EFBFBD> ⥪<>⮢<EFBFBD><E2AEA2> <20><>ப<EFBFBD>
|
|
|
|
|
mov ecx, [sc.work_text] ; 梥<> 䮭<>
|
|
|
|
|
or ecx, 0x90000000 ; <20> ⨯ <20><>ப<EFBFBD>
|
|
|
|
|
mcall 4, <50, 205>, , message
|
|
|
|
|
mcall 4, <10, 235>, , message1
|
|
|
|
|
mcall 4, <10, 260>, , message2
|
|
|
|
|
mcall 4, <10, 285>, , message3
|
|
|
|
|
mcall 4, <10, 310>, , message4
|
2019-05-10 19:36:11 +02:00
|
|
|
|
mcall 4, <16, 185>, , t_notes
|
2019-05-06 10:47:59 +02:00
|
|
|
|
|
|
|
|
|
mcall 12, 2 ; <20>㭪<EFBFBD><E3ADAA><EFBFBD> 12.2, <20><><EFBFBD><EFBFBD><EFBFBD>稫<EFBFBD> <20><>ᮢ<EFBFBD><E1AEA2><EFBFBD>
|
|
|
|
|
|
|
|
|
|
ret ; <20><>室<EFBFBD><E5AEA4> <20><> <20><><EFBFBD>楤<EFBFBD><E6A5A4><EFBFBD>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
;--- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ----------------------------------------------
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; <20><><EFBFBD>ன <20><><EFBFBD><EFBFBD> <20> M (Music) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>⨥<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
M:
|
|
|
|
|
db 0x90, 0x30, 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sc system_colors
|
|
|
|
|
|
2019-05-14 09:33:19 +02:00
|
|
|
|
if lang eq ru
|
|
|
|
|
message db '<27><>ࠢ<EFBFBD><E0A0A2>: <20><EFBFBD><F1ABAAAD><EFBFBD> 2 ࠧ<> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.',0
|
|
|
|
|
message1 db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>᪫<EFBFBD><E1AAAB><EFBFBD><EFBFBD> - ',0
|
|
|
|
|
message2 db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><E0AEA5><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!)',0
|
|
|
|
|
message3 db '<27><><EFBFBD><EFBFBD> "<22><>" - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> V,Tab,U,Enter',0
|
|
|
|
|
message4 db '<27><><EFBFBD> <20><><EFBFBD><EFBFBD>祭<EFBFBD><E7A5AD> Caps Lock - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> V,Q,I.',0
|
|
|
|
|
t_notes db '<27><> <20><> <20><> <20><> <20><><EFBFBD><EFBFBD> <20><> <20><> <20><>',0
|
|
|
|
|
caption db '<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',0
|
|
|
|
|
else
|
|
|
|
|
message db 'To see help click twice on the window header',0
|
|
|
|
|
message1 db 'Press any key in English keyboard layout - ',0
|
|
|
|
|
message2 db 'so you will hear the sound from the PC-speaker (Beeper)',0
|
|
|
|
|
message3 db 'Note "C" is the key V,Tab,U,Enter',0
|
|
|
|
|
message4 db 'and when Caps Lock is on then the keys V,Q,I.',0
|
|
|
|
|
t_notes db 'C D E F G A B C ',0
|
|
|
|
|
caption db 'Baby piano',0
|
|
|
|
|
end if
|
2019-05-06 10:47:59 +02:00
|
|
|
|
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
I_END: ; <20><>⪠ <20><><EFBFBD><EFBFBD><EFBFBD> <20>ணࠬ<E0AEA3><E0A0AC>
|
|
|
|
|
rb 4096 ; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20>⥪<EFBFBD>
|
|
|
|
|
align 16
|
|
|
|
|
STACKTOP: ; <20><>⪠ <20><><EFBFBD>設<EFBFBD> <20>⥪<EFBFBD> (<28><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>⥪
|
|
|
|
|
; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> 㬥<><E3ACA5>襭<EFBFBD><E8A5AD> <20><><EFBFBD><EFBFBD>ᮢ, <20><>⮬<EFBFBD>
|
|
|
|
|
; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20>ணࠬ<E0AEA3><E0A0AC> <20><><EFBFBD><EFBFBD><EFBFBD>砥<EFBFBD><E7A0A5><EFBFBD>
|
|
|
|
|
; ࠭<><E0A0AD><EFBFBD> 祬 <20><><EFBFBD> <20><><EFBFBD>設<EFBFBD>)
|
|
|
|
|
MEM: ; <20><>⪠ 㪠<>뢠<EFBFBD><EBA2A0><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20>ணࠬ<E0AEA3><E0A0AC> <20><><EFBFBD><EFBFBD>
|
|
|
|
|
; ࠧ<><E0A0A7><EFBFBD> <20>ᯮ<EFBFBD><E1AFAE><EFBFBD>㥬<EFBFBD><E3A5AC> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>⨢<EFBFBD><E2A8A2><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
; <20><><EFBFBD><EFBFBD><EFBFBD> <20><>⪨ MEM <20>ᥣ<EFBFBD><E1A5A3> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 祬 <20><><EFBFBD><EFBFBD><EFBFBD> <20><>⪨ I_END.
|
|
|
|
|
; <20><>⪠ STACKTOP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ᯮ<EFBFBD><E1AFAE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><>⪨ I_END <20> <20><>। <20><>⪮<EFBFBD>
|
|
|
|
|
; MEM. STACKTOP <20><><EFBFBD><EFBFBD><EFBFBD> <20><>室<EFBFBD><E5AEA4><EFBFBD><EFBFBD> <20> <20><>। I_END, <20><> <20><><EFBFBD> <20><> <20>ࠢ<EFBFBD><E0A0A2>쭮.
|
|
|
|
|
; <20><><EFBFBD><EFBFBD><EFBFBD> <20><>⮪ <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD>묨 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ﬨ, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ᮡ<><EFBFBD><EEA4A0>
|
|
|
|
|
; <20>ࠢ<EFBFBD><E0A0A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>冷<EFBFBD> <20><> <20><>ᯮ<EFBFBD><E1AFAE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|