forked from KolibriOS/kolibrios
* bootcode: revision string is now calculated at compile-time
* taskman.inc: do not add '@' to thread names * @panel: do not draw undefined (zero-sized) windows * rd.inc: corrected folder creation git-svn-id: svn://kolibrios.org@437 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -160,20 +160,6 @@ printplain:
|
||||
popa
|
||||
ret
|
||||
|
||||
uint2str_16:
|
||||
cmp ax,cx
|
||||
jb @f
|
||||
xor dx,dx
|
||||
div cx
|
||||
push dx
|
||||
call uint2str_16
|
||||
pop ax
|
||||
@@: cmp al,10
|
||||
sbb al,$69
|
||||
das
|
||||
stosb
|
||||
ret
|
||||
|
||||
; Now int 16 is used for keyboard support.
|
||||
; This is shorter, simpler and more reliable.
|
||||
if 0
|
||||
@@ -576,26 +562,7 @@ wait_loop: ; variant 2
|
||||
mov [apm_data_16 - 0x10000 + 4], dl
|
||||
mov [es : 0x9040], ebx ; offset of APM entry point
|
||||
apm_end:
|
||||
; -----------------------------------------
|
||||
|
||||
; --------------- REVISION ----------------
|
||||
push ds
|
||||
pop es
|
||||
mov di,svn_num_buf - 0x10000
|
||||
mov ax,__REV__
|
||||
mov cx,10
|
||||
call uint2str_16
|
||||
mov ax,' '
|
||||
stosw
|
||||
sub di,svn_num_buf - 0x10000
|
||||
mov dx,80 - 1 - msg_svn.len
|
||||
sub dx,di
|
||||
call setcursor
|
||||
mov si,msg_svn - 0x10000
|
||||
call printplain
|
||||
mov si,svn_num_buf - 0x10000
|
||||
call printplain
|
||||
_setcursor d80x25_top_num,0
|
||||
_setcursor d80x25_top_num, 0
|
||||
; -----------------------------------------
|
||||
|
||||
; DISPLAY VESA INFORMATION
|
||||
|
Reference in New Issue
Block a user