Displaying 4 results from an estimated 4 matches for "msg_memory".
Did you mean:
map_memory
2009 Jul 15
0
[PATCH] gfxboot: display error message if bootlogo file not found
...0.orig/modules/gfxboot.asm
+++ syslinux-3.82-440-g6483c80/modules/gfxboot.asm
@@ -417,6 +417,14 @@ gfx_read_file:
mov si,pspCmdArg+1
int 22h
jnc gfx_file_read
+
+ mov ax,2
+ mov bx,pspCmdArg+1
+ int 22h
+
+ mov ax,2
+ mov bx,msg_not_found
+ int 22h
stc
ret
@@ -890,6 +898,7 @@ msg_memory db 'Could not detect availab
msg_bootlogo_toobig db 'bootlogo file too big',0dh,0ah,0
msg_pxelinux db 'pxelinux is not supported',0dh,0ah,0
msg_unknown_file_size db 'unknown file size',0dh,0ah,0
+msg_not_found db ' not found',0dh,0ah,0
msg_space db '...
2009 Jul 15
1
[PATCH] gfxboot: remove obsolete message regarding pxelinux support
...================================================================
--- syslinux-3.82-440-g6483c80.orig/modules/gfxboot.asm
+++ syslinux-3.82-440-g6483c80/modules/gfxboot.asm
@@ -968,7 +968,6 @@ msg_missing db 'missing',0
msg_usage db 'Usage: gfxboot.com <bootlogo>',0dh,0ah,0
msg_memory db 'Could not detect available memory size',0dh,0ah,0
msg_bootlogo_toobig db 'bootlogo file too big',0dh,0ah,0
-msg_pxelinux db 'pxelinux is not supported',0dh,0ah,0
msg_unknown_file_size db 'unknown file size',0dh,0ah,0
msg_not_found db ' not found',0d...
2008 Nov 22
5
[RFC][PATCH] Gfxboot COMBOOT module
...s
+ mov ax,19h
+ xor esi,esi
+ xor edi,edi
+ mov cx,1
+ mov bx,trackbuf
+ int 22h
+ pop edi
+ pop esi
+ mov edx,ds
+ shl dx,4
+ add edx,trackbuf
+ xor al,al
+ ret
+
+gfx_init:
+ mov ax,0e801h
+ xor bx,bx
+ xor cx,cx
+ xor dx,dx
+ int 15h
+ jnc got_e801
+
+ mov ax,2
+ mov bx, msg_memory
+ int 22h
+ stc
+ ret
+
+got_e801:
+ cmp ax,3c00h
+ jb mem_below_16mb
+ shl ebx,6
+ add eax,ebx
+
+mem_below_16mb:
+ shl eax,10
+ mov [gfx_bios_mem_size],eax
+ shr eax,20
+ cmp ax,16
+ jb skip_extended
+
+ mov word [gfx_xmem_0],81h ; 1MB at 8MB
+ mov word [gfx_xmem_1],0a1h...
2009 Apr 05
3
[PATCH] Gfxboot COMBOOT module
...1
+ mov bx,trackbuf
+ int 22h
+ pop edi
+ pop esi
+ mov al,1
+ jc cb_readsector_end
+ mov edx,ds
+ shl dx,4
+ add edx,trackbuf
+ xor al,al
+cb_readsector_end:
+ ret
+
+gfx_init:
+ mov ax,0e801h
+ xor bx,bx
+ xor cx,cx
+ xor dx,dx
+ int 15h
+ jnc got_e801
+
+ mov ax,2
+ mov bx, msg_memory
+ int 22h
+ stc
+ ret
+
+got_e801:
+ cmp ax,3c00h
+ jb mem_below_16mb
+ shl ebx,6
+ add eax,ebx
+
+mem_below_16mb:
+ shl eax,10
+ mov [gfx_bios_mem_size],eax
+ shr eax,20
+ cmp ax,16
+ jb skip_extended
+
+ mov word [gfx_xmem_0],88h ; 8MB at 8MB
+ mov dword [gfx_save_area1],7f0...