kolibrios-fun/kernel/branches/Kolibri-A/trunk/bus/USER/special.inc
Artem Jerdev (art_zh) 2a927db105 direct detection of available memory
git-svn-id: svn://kolibrios.org@2047 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-08-14 09:08:02 +00:00

20 lines
341 B
PHP

;
; Kolibri-A Special service template -- art_zh 2011
;
; ah = syscall function# (default: 255)
; al = subfunction
;
align 4
special_srv:
mov cl, ah
and cl, 3
call dword[spec_servetable + ecx*4]
ret
align 4
spec_servetable:
dd paleholder ; set something special here
dd paleholder
dd paleholder
dd paleholder