Displaying 5 results from an estimated 5 matches for "cb_fopen".
Did you mean:
_fopen
2013 Jul 03
2
Problems with gfxboot.c32
...ls *out* into a realmode section compiled into gfxboot.c32
> (realmode_callback.asm) to do things like open files, read sectors, etc.
>
> It's these utility functions that no longer work.
Calls to those functions only happen if the gfxboot core (bincode.asm) requests them.
cb_status, cb_fopen and cb_fread are only called from gfxboot core (prim_findfile) if
the requested file is not part of the bootlogo archive.
cb_getcwd is deprecated, cb_chdir and cb_mount were never supported on upstream syslinux.
The only function left is cb_readsector which seems optional in gfxboot core.
There sh...
2008 Nov 22
5
[RFC][PATCH] Gfxboot COMBOOT module
...it
+
+input:
+ call gfx_input
+ jc exit
+
+ cmp eax,1
+ jz exit
+
+ cmp eax,2
+ jz boot
+
+ jmp input
+
+boot:
+ call far [gfx_bc_done]
+ mov ax,cs
+ mov es,ax
+ mov bx,command_line
+ mov ax,3
+ int 22h
+exit:
+ call far [gfx_bc_done]
+error:
+ ret
+
+cb_table dw cb_status ; 0
+ dw cb_fopen ; 1
+ dw cb_fread ; 2
+ dw cb_getcwd ; 3
+ dw cb_chdir ; 4
+ dw cb_readsector ; 5
+cb_len equ ($-cb_table)/2
+
+gfx_cb:
+ push cs
+ pop ds
+
+ cmp al,cb_len
+ jae gfx_cb_error
+
+ movzx bx,al
+ add bx,bx
+ call word [bx+cb_table]
+ jmp gfx_cb_end
+gfx_cb_error:
+ mov al,0ffh
+gfx_...
2013 Jul 03
2
Problems with gfxboot.c32
Matt Fleming wrote:
> On Wed, 03 Jul, at 03:02:19PM, Andreas Heinlein wrote:
>> I had to add at least one boot entry to get a working config, so I
>> ended up with this isolinux.cfg:
>>
>> label live
>> menu label ^Try Ubuntu without installing
>> kernel /casper/vmlinuz
>> append file=/cdrom/preseed/ubuntu.seed boot=casper
>>
2013 Jul 04
0
Problems with gfxboot.c32
...n compiled into gfxboot.c32
>> (realmode_callback.asm) to do things like open files, read sectors, etc.
>>
>> It's these utility functions that no longer work.
>
> Calls to those functions only happen if the gfxboot core (bincode.asm)
> requests them.
> cb_status, cb_fopen and cb_fread are only called from gfxboot core
> (prim_findfile) if
> the requested file is not part of the bootlogo archive.
> cb_getcwd is deprecated, cb_chdir and cb_mount were never supported on
> upstream syslinux.
> The only function left is cb_readsector which seems optional...
2009 Apr 05
3
[PATCH] Gfxboot COMBOOT module
...it
+
+input:
+ call gfx_input
+ jc exit
+
+ cmp eax,1
+ jz exit
+
+ cmp eax,2
+ jz boot
+
+ jmp input
+
+boot:
+ call far [gfx_bc_done]
+ mov ax,cs
+ mov es,ax
+ mov bx,command_line
+ mov ax,3
+ int 22h
+exit:
+ call far [gfx_bc_done]
+error:
+ ret
+
+cb_table dw cb_status ; 0
+ dw cb_fopen ; 1
+ dw cb_fread ; 2
+ dw cb_getcwd ; 3
+ dw cb_chdir ; 4
+ dw cb_readsector ; 5
+cb_len equ ($-cb_table)/2
+
+gfx_cb:
+ push cs
+ pop ds
+
+ cmp al,cb_len
+ jae gfx_cb_error
+
+ movzx bx,al
+ add bx,bx
+ call word [bx+cb_table]
+ jmp gfx_cb_end
+gfx_cb_error:
+ mov al,0ffh
+gfx_...