search for: not_vk

Displaying 4 results from an estimated 4 matches for "not_vk".

Did you mean: not_ok
2009 Apr 27
3
Question about vk_check and rllunpack
...t don't want to "cry wolf" (again), so let's start with a question: ui.inc: ; ; Now check if it is a "virtual kernel" ; vk_check: mov esi,[HighMemSize] ; Start from top of memory .scan: cmp esi,[VKernelEnd] jbe .not_vk mov di,VKernelBuf call rllunpack ; ESI updated on return Since "shuffler: make the new shuffler actually work" (0d8c3d040d9f733f95384f2d5e46609f73bd9c78) rllunpack in rllpack.inc looks like: ; ; rllunpack: ; Unpack bytes from SI in...
2008 Aug 31
1
[RFC][PATCH] ui: label completion on tab key
...42,6 +144,48 @@ mov byte [FuncFlag],1 jmp short get_char_2 +display_labels: + cmp word [LabelCompl],1 ; Label completion enabled? + jnz get_char_2 + mov cx,di + sub cx,command_line + call crlf + mov esi,[HighMemSize] ; Start from top of memory +.scan: + cmp esi,[VKernelEnd] + jbe .not_vk + + push cx ; save command line size + + mov di,VKernelBuf + call rllunpack + ; ESI updated on return + + sub di,cx ; Return to beginning of buf + pop cx ; restore command line size + push si ; save SI + cmp cx,0 + jz .print + push di + push cx + mov si,command_line + es rep...
2010 Jul 27
2
[PATCH] core: remove HAS_LOCALBOOT
...,12 +415,10 @@ vk_check: mov al,[VKernelBuf+vk_type] mov [KernelType],al -%if HAS_LOCALBOOT ; Is this a "localboot" pseudo-kernel? cmp al,VK_LOCALBOOT ; al == KernelType mov ax,[VKernelBuf+vk_rname] ; Possible localboot type je local_boot -%endif jmp get_kernel .not_vk:
2010 Jul 15
1
Accessing command_line from core C code
...c @@ -150,44 +150,8 @@ set_func_flag: display_labels: cmp word [NoComplete],0 ; Label completion enabled? jne get_char_2 - push di ; Save pointer - mov cx,di - sub cx,command_line - call crlf - mov esi,[HighMemSize] ; Start from top of memory -.scan: - cmp esi,[VKernelEnd] - jbe .not_vk - - push cx ; save command line size - - mov edi,VKernelBuf - pm_call rllunpack - ; ESI updated on return - - sub di,cx ; Return to beginning of buf - pop cx ; restore command line size - push si ; save SI - cmp cx,0 - jz .print push di - push cx - mov si,command_line - es...