forked from KolibriOS/kolibrios
Set align 4 for subroutines in main loop.
git-svn-id: svn://kolibrios.org@1168 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
49698c69f7
commit
83e2f051b2
@ -681,6 +681,7 @@ EjectMedium:
|
|||||||
;* ChannelNumber - íîìåð êàíàëà; *
|
;* ChannelNumber - íîìåð êàíàëà; *
|
||||||
;* DiskNumber - íîìåð äèñêà íà êàíàëå. *
|
;* DiskNumber - íîìåð äèñêà íà êàíàëå. *
|
||||||
;*************************************************
|
;*************************************************
|
||||||
|
align 4
|
||||||
check_ATAPI_device_event:
|
check_ATAPI_device_event:
|
||||||
pusha
|
pusha
|
||||||
mov eax,[timer_ticks]
|
mov eax,[timer_ticks]
|
||||||
|
@ -282,6 +282,7 @@ save_timer_fdd_motor:
|
|||||||
;*****************************************
|
;*****************************************
|
||||||
;* 闲温判世 抢呐衅嗜 论仕拮磐冗 涛椅欣 *
|
;* 闲温判世 抢呐衅嗜 论仕拮磐冗 涛椅欣 *
|
||||||
;*****************************************
|
;*****************************************
|
||||||
|
align 4
|
||||||
check_fdd_motor_status:
|
check_fdd_motor_status:
|
||||||
cmp [fdd_motor_status],0
|
cmp [fdd_motor_status],0
|
||||||
je end_check_fdd_motor_status_1
|
je end_check_fdd_motor_status_1
|
||||||
|
@ -423,7 +423,7 @@ negativebutton:
|
|||||||
;
|
;
|
||||||
; first at 0x10
|
; first at 0x10
|
||||||
|
|
||||||
|
align 4
|
||||||
checkbuttons:
|
checkbuttons:
|
||||||
|
|
||||||
cmp [BTN_DOWN],byte 0 ; mouse buttons pressed
|
cmp [BTN_DOWN],byte 0 ; mouse buttons pressed
|
||||||
|
@ -1016,7 +1016,7 @@ osloop:
|
|||||||
; MAIN OS LOOP END ;
|
; MAIN OS LOOP END ;
|
||||||
; ;
|
; ;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
align 4
|
||||||
checkidle:
|
checkidle:
|
||||||
pushad
|
pushad
|
||||||
call change_task
|
call change_task
|
||||||
|
@ -198,6 +198,7 @@ ret
|
|||||||
; This is a kernel function, called in the main loop
|
; This is a kernel function, called in the main loop
|
||||||
;
|
;
|
||||||
;***************************************************************************
|
;***************************************************************************
|
||||||
|
align 4
|
||||||
stack_handler:
|
stack_handler:
|
||||||
|
|
||||||
call ethernet_driver
|
call ethernet_driver
|
||||||
|
@ -113,7 +113,7 @@ palette320x200:
|
|||||||
loop palnew
|
loop palnew
|
||||||
|
|
||||||
ret
|
ret
|
||||||
|
align 4
|
||||||
uglobal
|
uglobal
|
||||||
novesachecksum dd 0x0
|
novesachecksum dd 0x0
|
||||||
EGA_counter db 0
|
EGA_counter db 0
|
||||||
@ -123,7 +123,7 @@ uglobal
|
|||||||
temp:
|
temp:
|
||||||
.cx dd 0
|
.cx dd 0
|
||||||
endg
|
endg
|
||||||
|
align 4
|
||||||
checkVga_N13:
|
checkVga_N13:
|
||||||
|
|
||||||
cmp [SCR_MODE],dword 0x13
|
cmp [SCR_MODE],dword 0x13
|
||||||
|
Loading…
Reference in New Issue
Block a user