search for: trackbuf

Displaying 20 results from an estimated 20 matches for "trackbuf".

Did you mean: trace_buf
2011 Mar 06
1
[PATCH] core: Fix 'trackbuf' descriptor list byte length
...+++ b/core/bootsect.inc @@ -169,7 +169,7 @@ replace_bootstrap_noclearmode: mov [es:di+8],ax ; New DI mov [es:di+4],bx ; New ES %endif - pop ax ; List length + pop ax ; descriptor list entries count push di push es @@ -179,8 +179,8 @@ replace_bootstrap_noclearmode: mov ebx,trackbuf imul di,ax,12 + push di ; length of list add di,bx ; DI <- end of list - push di ; Terminating entry... lea eax,[replace_stub] ; Entrypoint @@ -196,8 +196,10 @@ replace_bootstrap_noclearmode: mov cx,__replacestub_dwords rep movsd + ; ECX <- final list length xor...
2008 Nov 22
5
[RFC][PATCH] Gfxboot COMBOOT module
...22h + + push es + mov ax,0ah + mov cl,9 + int 22h + pop es + cmp al,32h + jnz not_pxelinux + + mov ax,2 + mov bx,msg_pxelinux + int 22h + ret +not_pxelinux: + mov [derivative_id],al + mov [drivenumber],dl + mov [sectorshift],cl + mov ax,1 + shl ax,cl + mov [sectorsize],ax + mov ax,trackbufsize + shr ax,cl + mov [BufSafe],ax + + xor cx,cx + mov cl,[pspCmdLen] + dec cx + and cx,cx + jne continue + + mov ax,2 + mov bx, msg_usage + int 22h + ret +continue: + mov di,pspCmdArg+1 + add di,cx + dec di + std + mov al,' ' + repe scasb + inc cx + cld + mov [pspCmdLen...
2003 Jul 05
2
Anyone tried SYSLINUX 2.05-pre2 yet?
-?
2004 Dec 08
3
isolinux needing mkisofs
...add eax,(2047 >> 2) > shr eax,9 ; dwords->sectors > mov [ImageSectors],ax ; boot file sectors 319,365d326 < ;DEB -- Patch to have code actually insert values for bi_file and bi_length < mov bx, trackbuf ;DEB < mov eax, 17 ;DEB Location of Boot Record Volume < call getonesec ;DEB Retrieve Boot Record Volume < < mov eax, dword [trackbuf+47h] ;DEB EAX is now address of Boot Catalog < <...
2009 Apr 05
3
[PATCH] Gfxboot COMBOOT module
...ax,0ah + mov cl,9 + int 22h + pop es + cmp al,32h + jnz not_pxelinux + + mov dl,0 ; fake drive number + mov cl,11 ; fake sector size 2048 bytes + +not_pxelinux: + mov [derivative_id],al + mov [drivenumber],dl + mov [sectorshift],cl + mov ax,1 + shl ax,cl + mov [sectorsize],ax + mov ax,trackbufsize + shr ax,cl + mov [BufSafe],ax + + xor cx,cx + mov cl,[pspCmdLen] + dec cx + and cx,cx + jne continue + + mov ax,2 + mov bx, msg_usage + int 22h + ret +continue: + mov di,pspCmdArg+1 + add di,cx + dec di + std + mov al,' ' + repe scasb + inc cx + cld + mov [pspCmdLen...
2019 Jan 21
2
A bug in command localboot was introduced in version 6.03.
...,7 +63,6 @@ __export void local_boot(int16_t ax) ireg.eax.w[0] = 0; /* Reset drive */ __intcall(0x13, &ireg, NULL); - memset(&ireg, 0, sizeof(ireg)); ireg.eax.w[0] = 0x0201; /* Read one sector */ ireg.ecx.w[0] = 0x0001; /* C/H/S = 0/0/1 (first sector) */ ireg.ebx.w[0] = OFFS(trackbuf); 21.01.2019 11:03, Erwan Velu writes: > Can you share the patch you used ? >
2002 Aug 14
0
re: using mac-addr for selecting configfile now working
...(vendor part) +; MyMAC2 - client MAC address ; ServerIP - boot server IP address ; Netmask - network mask ; Gateway - default gateway router IP @@ -2082,6 +2111,10 @@ parse_dhcp: mov byte [OverLoad],0 ; Assume no overload + mov eax, [trackbuf+bootp.macaddr] ; get macaddr (vendor part) + mov [MyMAC1], eax + mov eax, [trackbuf+bootp.macaddr+3] ; get macaddr (netcard part) + mov [MyMAC2], eax mov eax, [trackbuf+bootp.yip] and eax, eax jz .noyip...
2008 Jul 16
1
[PATCH] isolinux: rename CurDir to CurrentDir
...ffer ISOFileNameEnd equ $ -CurDir resb dir_t_size ; Current directory +CurrentDir resb dir_t_size ; Current directory RootDir resb dir_t_size ; Root directory FirstSecSum resd 1 ; Checksum of bytes 64-2048 ImageDwords resd 1 ; isolinux.bin size, dwords @@ -891,7 +891,7 @@ mov eax,[trackbuf+156+2] mov [RootDir+dir_lba],eax - mov [CurDir+dir_lba],eax + mov [CurrentDir+dir_lba],eax %ifdef DEBUG_MESSAGES mov si,dbg_rootdir_msg call writemsg @@ -900,11 +900,11 @@ %endif mov eax,[trackbuf+156+10] mov [RootDir+dir_len],eax - mov [CurDir+dir_len],eax + mov [CurrentDir+di...
2002 Jul 11
1
help with porting patch from 1.62 to 1.75
..."swap" kernel -- wingel +; +check_for_swap: + mov si,swap_name + mov di,KernelName + mov cx,11 + repe cmpsb + je is_swap + ret + +is_swap: + call crlf + mov si,swap_loading + call cwritestr + + push bx + mov ax,0201h ; read disk, 1 sector + mov bx,trackbuf + mov cx,1 ; track 0, sector 1 + xor dh,dh ; head 0 + mov dl,81h ; second hard drive + int 13h + pop bx + jnc swap_read_ok + call crlf + mov si,swap_failed + jmp abort_load +swap_read_ok: + + mov bx,[bsBytesPerSec] + mov ax,[bx+trackbuf-2] + cmp ax,0AA55h ; Boot sec...
2019 Jan 21
2
A bug in command localboot was introduced in version 6.03.
I created a bootable usb flash with boot menu. One of items was "Boot from hard drive" with command "localboot 0x81". This item worked when this usb flash was prepared with syslinux 6.02. And it stopped working when the flash was prepared with syslinux 6.03. The message was Booting from local disk... Boot error I extracted the source code, investigated, changed, compiled
2019 Jan 21
0
A bug in command localboot was introduced in version 6.03.
....w[0] = 0; /* Reset drive */ > __intcall(0x13, &ireg, NULL); > > - memset(&ireg, 0, sizeof(ireg)); > ireg.eax.w[0] = 0x0201; /* Read one sector */ > ireg.ecx.w[0] = 0x0001; /* C/H/S = 0/0/1 (first sector) */ > ireg.ebx.w[0] = OFFS(trackbuf); > > 21.01.2019 11:03, Erwan Velu writes: > > Can you share the patch you used ? I'd rather lean towards clearing state and having to set EDX/EAX again but let's look at them all. The first or second memset() seems redundant since it's never used in between. If we can as...
2008 Sep 09
1
[PATCH] parsecmd: show keyword in err_noparm message
...===== --- syslinux-3.72-pre5.orig/core/parsecmd.inc 2008-06-23 17:11:47.000000000 +0200 +++ syslinux-3.72-pre5/core/parsecmd.inc 2008-09-09 22:11:35.000000000 +0200 @@ -82,9 +82,11 @@ ; No parameter .noparm: mov si,err_noparm - mov al,10 ; Already at EOL -.error: call writestr + mov si,trackbuf + call writestr + call crlf + mov al,10 ; Already at EOL jmp short .skipline .found_keywd: lodsw ; Load argument into ax @@ -103,7 +105,7 @@ section .data err_badcfg db 'Unknown keyword in configuration file: ',0 -err_noparm db 'Missing parameter in configura...
2004 Jan 09
1
Developing
...n 0000:5000) and font data to 0000:5000 (now at 0000:E000). So we have additional 4K to code. I don't understand however why we have to retain font data... Does EGA card read from system memory all the time?? I don't think so... Perhaps it's better to read font data at another location (trackbuf??) and remove this part of data so to gain 8K of code. Another option would be to compress syslinux (using LZ or other simple algorithm) in order to reduce disk usage. I would like to add support for: - disk > 8GB (this MUST fit in first 512 bytes so I have no size problem...) - span disks I alr...
2011 Mar 06
1
PXELINUX Debugging Output
I am sending a patch that makes the debugging output of PXELINUX slightly more concise, without (intentionally) affecting its completeness at all. Additionally, I am proposing that the debugging output of PXELINUX -- specifically the messages that appear after the copyright statement, but before the menu is loaded -- only be shown in response to keyboard input (such as holding Shift or Alt, or
2009 Apr 30
2
[1/1] [gfxboot] align buffer used to read data from disk to a 512 byte boundary
...2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/modules/gfxboot.asm b/modules/gfxboot.asm index e3aed13..2c3f809 100644 --- a/modules/gfxboot.asm +++ b/modules/gfxboot.asm @@ -871,6 +871,8 @@ drivenumber db 0 sectorshift db 0 sectorsize dw 0 trackbufsize equ 16384 +align 512 ; must be 512 byte aligned because it will be passed + ; to int 22h, AX=07h trackbuf times trackbufsize db 0 BufSafe dw 0 file_length dd 0 -- 1.6.2.4
2011 Apr 01
1
[GIT PULL] elflink core
Hi, I recently ran into an issue where the dependencies generated in modules.dep created a circular reference, which meant that qemu spun forever in modules_load_dependencies(). I did think about detecting this kind of circular dependency at modules.dep generation time but if we ever move to using DT_NEEDED to track dependencies we would need this functionality in the elflink core anyway.
2002 Mar 08
0
PXELINUX: suggestion for improvement
...ord [di-4],0 + + ; check if we can change EFLAGS.ID + pushfd + pop eax + mov edx,eax + xor eax,1<<21 ; EFLAGS.ID + push eax + popfd + pushfd + pop eax + xor eax,edx + and eax,1<<21 + jnz .do_cpuid + .done_cpuid: + mov si,trying_msg + call writestr + mov di,trackbuf + mov si,di + call writestr + call crlf + call open + popad + pop dword [di-8] + pop dword [di-4] + ret + + .do_cpuid: + xor eax,eax + cpuid + cmp ecx,'cAMD' + jne .not_amd + mov byte [di-8],'a' + mov eax,80000001h + cpuid + shr eax,8 + and ax,0Fh...
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...* localboot.c @@ -32,7 +36,6 @@ extern void local_boot16(void); void local_boot(int16_t ax) { com32sys_t ireg, oreg; - unsigned long data; int i; vgaclearmode(); @@ -73,7 +76,7 @@ void local_boot(int16_t ax) kaboom(); cli(); /* Abandon hope, ye who enter here */ - memcpy(0x07C00, trackbuf, 512); + memcpy((void *)0x07C00, trackbuf, 512); ireg.esi.w[0] = OFFS(trackbuf); ireg.edi.w[0] = 0x07C00; diff --git a/core/mem/malloc.c b/core/mem/malloc.c index d27fc27..fa1d26a 100644 --- a/core/mem/malloc.c +++ b/core/mem/malloc.c @@ -93,7 +93,12 @@ void *malloc(size_t size) void *lmal...
2011 May 25
1
[GIT PULL] elflink ldlinux
Hi, These patches contain support for some features that are already in Syslinux 4 but weren't working properly on the elflink branch. It's another step closer to feature parity with Syslinux 4. Having to jump through the comboot API for localboot support is less than ideal and I'll eventually fix that, probably when we move a big chunk of code from asm to C. Also, there's a
2012 Mar 23
19
[PATCH 00/19][elflink] Improve compatibility with 4.x
From: Matt Fleming <matt.fleming at intel.com> The following patch series is available at, git://git.zytor.com/users/mfleming/syslinux.git elflink All patches are against the 'elflink' branch. This series fixes a few serious bugs and some behavioural incompatibilities with the 4.x series. Matt Fleming (19): ldlinux: Initialise 'p' before using it. ldlinux: Parse