Rev 2121 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2121 | Rev 2129 | ||
---|---|---|---|
Line 708... | Line 708... | ||
708 | push ix |
708 | push ix |
709 | push iy |
709 | push iy |
710 | rst 0x08 ;out: a=key (NOKEY=no key), de=mouse position (y,x), l=mouse buttons (bits 0,1,2: 0=pressed)+mouse wheel (bits 7..4), h=high bits of key|register, bc=keynolang, lx=kempston joystick, nz=no focus (mouse position=0, ignore it!) |
710 | rst 0x08 ;out: a=key (NOKEY=no key), de=mouse position (y,x), l=mouse buttons (bits 0,1,2: 0=pressed)+mouse wheel (bits 7..4), h=high bits of key|register, bc=keynolang, lx=kempston joystick, nz=no focus (mouse position=0, ignore it!) |
711 | pop iy |
711 | pop iy |
712 | pop ix |
712 | pop ix |
- | 713 | ld h,c |
|
713 | ld b,d |
714 | ld b,d |
714 | ld c,e |
715 | ld c,e |
715 | - | ||
716 | ld h,0 |
716 | ret |
717 | ret ;B = флаг фокуса C=0 H=код интернациональный L=код с языком |
- | |
718 | ENDMOD |
717 | ENDMOD |
719 | 718 | ||
720 | MODULE OS_SETCOLOR |
719 | MODULE OS_SETCOLOR |
721 | PUBLIC OS_SETCOLOR |
720 | PUBLIC OS_SETCOLOR |
722 | #include "sysdefs.asm" |
721 | #include "sysdefs.asm" |