ALEXS1983 wrote:Ну вот набросал такое. Обрати внимание на:
;PAUSE=5 ; — пауза.
;!!!! error: reserved word used as symbol.
Отсутствие общего префикса, вид сбоку. pause - команда SSE2, опкод F3 90. Общий префикс обязательно должен быть, иначе будут случайные совпадения.
В случае конкретно функции 5, впрочем, общепринятоеназвание - sleep.
;Function 26
GET_MPU_MIDI_BASE_PORT=1 ;Function 26, subfunction 1 - get MPU MIDI base port.
GET_KEY_LAYOUT=2 ;Function 26, subfunction 2 - get keyboard layout.
GET_SYS_LANG=5 ;subfunction 5 - get system language.
GET_VALUE_TIME_COUNT=9 ; subfunction 9 - get the value of the time counter
GET_VALUE_HIGH_PRECRIS_TIME_COUNT=10; subfunction 10 - Get the value of the high precision time counter. =========
FIND_OUT_LOW_LEVEL_ACCESS=11 ; subfunction 11 - Find out whether low-level HD access is enabled
FIND_OUT_LOW_LEVEL_ACCESS_PCI=12 ; subfunction 12 , Find out whether low-level PCI access is enabled
GET_SYS_DATE=29 ; Function 29 - get system date.
WORK_CURRENT_FOLDER=30; Function 30 - work with the current folder
SET_CURRENT_FOLDER_THREAD=1 ;Subfunction 1 - set current folder for the thread
GET_CURRENT_FOLDER_THREAD=2 ; Subfunction 2 - get current folder for the thread.
INST_SYS_DIR_KERNEL=3 ; Subfunction 3 - install the add.system directory for the kernel
WHO_OWNER_PIXEL_SCREEN=34; - who owner the pixel on the screen.
READ_COLOR_PIXEL_SCREEN=35 ; read the color of a pixel on the screen.
WORK_CURRENT_FOLDER=30; Function 30 - work with the current folder
SET_CURRENT_FOLDER_THREAD=1 ;Subfunction 1 - set current folder for the thread
GET_CURRENT_FOLDER_THREAD=2 ; Subfunction 2 - get current folder for the thread.
=>SET_CURRENT_DIRECTORY, GET_CURRENT_DIRECTORY
INST_SYS_DIR_KERNEL => APPEND_KERNEL_SYSDIR
READ_COLOR_PIXEL_SCREEN => GET_PIXEL
Везде пиши либо directory либо folder, не надо мешать
READ_SCREEN_AREA=36 ; - read screen area. ==================
WORK_MOUSE=37; - work with mouse. ===================
.SCREEN_COORD_MOUSE=0;Subfunction 0 - screen coordinates of the mouse
.COORD_MOUSE_WINDOW=1; Subfunction 1 - coordinates of the mouse relative to the window
.STATE_MOUSE_BUTTON=2; Subfunction 2 - states of the mouse buttons
.STATE_EVENTS_MOUSE_BUTTON=3 ; Subfunction 3 - states and events of the mouse buttons
.LOAD_CURSOR=4; Subfunction 4 - load cursor
.SET_CURSOR=5;Subfunction 5 - set cursor
.DEL_CURSOR=6;Subfunction 6 - delete cursor --------------------
.GET_SCROLL_DATA=7;Subfunction 7 - get scroll data -------------------
DRAW_LINE=38; Function 38 - draw line.
;== Function 39,
.GET_SIZE_BACKGROUND_IMAGE=1; subfunction 1 - get a size of the background image.
.GET_PIXEL_BACKGROUND_IMAGE=2; subfunction 2 - get pixel from the background image.
.GET_DRAW_MODE_BACKGROUND=4 ; - get drawing mode for the background.
SET_MASK_EVENTS=40; - set the mask for expected events
IN_OUT_PORT=43 ; - input/output to a port.
RESERVE_OR_FREE_GROUP_IN_OUT_PORT=46; - reserve/free a group of input/output ports. =====
DRAW_NUMB_WINDOW=47 ;
;Function 48
.APLLY_SCREEN_SETING=0; subfunction 0 - apply screen settings.
.SET_BUTTON_STYLE=1 ; subfunction 1 - set button style
.SET_STANDARD_WINDOW_COLOR=2; - set standard window colors
.GET_STANDARD_WINDOW_COLOR=3; subfunction 3 - get standard window colors
.GET_SKIN_HEIGHT=4 ;subfunction 4 - get skin height
.GET_SCREEN_WORK_AREA=5 ;subfunction 5 - get screen working area.
.SET_SCREEN_WORK_AREA=6 ;subfunction 6 - set screen working area
.GET_SKIN_MARGINS=7 ;subfunction 7 - get skin margins
.SET_USED_SKIN=8; subfunction 8 - set used skin
.GET_FONT_SMOOTH_SETTING=9 ;subfunction 9 - get font smoothing setting.
.SET_FONT_SMOOTH=10;subfunction 10 - set font smoothing.
.GET_FONT_SIZE=11 ;subfunction 11 - get font size.
.SET_FONT_SIZE=12 ;subfunction 12 - set font size.
ADVANC_POWER_MANAGMETN=49 ; !!!или может APM ?!?! - Advanced Power Management (APM)
SET_WINDOW_SHAPE=50 ; - set window shape
CREATE_THREAD=51;- create thread
;Function 54,
.GET_NUMB_SLOT_CLIPBOARD=0 ; subfunction 0 - Get the number of slots in the clipboard.
.READ_DATA_CLIPBOARD=1 ;subfunction 1 - Read the data from the clipboard
.WRITE_DATA_CLIPBOARD=2 ; subfunction 2 - Write the data to the clipboard
.DEL_LAST_SLOT_CLIPBOARD=3; ;subfunction 3 - Delete the last slot in the clipboard
.ALARM_RESET_BUFFER=4; subfunction 4 - Alarm reset the lock buffer
; Function 55,
.BEGIN_PLAY_SPEAKER=55; subfunction 55 - begin to play data on built-in speaker.
PCI_BIOS=57; Function 57 - PCI BIOS.
INTER_PROCESS_COMMUNICAT=60; - Inter Process Communication (IPC).
.SET_AREA_FOR_IPC=1 ;Subfunction 1 - set the area for IPC receiving
.SEND_IPC_MESSAGE=2 ; Subfunction 2 - send IPC message
GET_PARAMETERS_DIRECT_GRAPH_ACCESS=61 ;- get parameters for the direct graphics access. ====
;Function 62
.GET_VERSION_PCI=0; ;-subfunction 0 - get version of PCI-interface.
.GET_NUMB_LAST_PCI=1; ;subfunction 1 - get number of the last PCI-bus
.GET_MECHANISM_ADRR_PCI_CONFIG=2 ;subfunction 2 - Get mechanism of addressing to the PCI configuration space.
;!!!!!!!!!.READ_PCI_REGISTER=4; ;subfunctions 4,5,6 - read PCI-register. ========
;!!!!!!!!!! .WRITE_PCI_REGISTER=8 subfunctions 8,9,10 - write to PCI-register. =====
WORK_DEBUG_BOARD=63; - work with the debug board
RESIZE_APP_MEM=64; - resize application memory.
DRAW_IMAGE_PALLETTE_WINDOW=65; - draw image with palette in the window.
Ну, что тут, за тишина, подозрительная такая ? Что-то делается ?... или не делается ?
Ну в смысле, утверждается ?... это или что-то другое?
Мне всё равно. Утвердите уже что нибудь. Хочу знать и видеть, что оно уже есть и оно уже утверждёно! )