search for: replace_bootstrap_noclearmod

Displaying 1 result from an estimated 1 matches for "replace_bootstrap_noclearmod".

2011 Mar 06
1
[PATCH] core: Fix 'trackbuf' descriptor list byte length
...(*) dst, src, and len are four bytes each +; pm_shuffle: cli ; End interrupt service (for good) mov ebx,edi ; EBX <- descriptor list diff --git a/core/bootsect.inc b/core/bootsect.inc index b4402f1..6c20409 100644 --- a/core/bootsect.inc +++ 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 ; D...