Displaying 5 results from an estimated 5 matches for "cb_readsector".
2013 Jul 03
2
Problems with gfxboot.c32
...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 should be no loss of functionality if required files are part of the bootlogo archive.
Sebastian
2008 Nov 22
5
[RFC][PATCH] Gfxboot COMBOOT module
...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_cb_end:
+ retf
+
+; Return status info
+;
+; return:
+; edx filename buffer (64 byt...
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
...sts 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 should be no loss of functionality if required files are part of
> the bootlogo archive.
>
> Sebastian
>
Looks like you're right. I added '*.tr *.hlp *.pcx back.jpg gfxboot.cfg
langlist' to the 'bootlogo'...
2009 Apr 05
3
[PATCH] Gfxboot COMBOOT module
...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_cb_end:
+ retf
+
+; Return status info
+;
+; return:
+; edx filename buffer (64 byt...