mirror of
https://gitlab.com/bztsrc/bootboot.git
synced 2023-02-13 20:54:32 -05:00
Finally found that stupid gzip bug in BIOS version
This commit is contained in:
parent
09ceab095f
commit
0befcbe2af
2 changed files with 2 additions and 2 deletions
BIN
bootboot.bin
BIN
bootboot.bin
Binary file not shown.
|
@ -28,14 +28,14 @@
|
||||||
;*
|
;*
|
||||||
|
|
||||||
;IN:
|
;IN:
|
||||||
; esi: gzipped initrd
|
; esi: gzipped initrd (without gzip header)
|
||||||
; edi: output buffer (guaranteed to be big enough)
|
; edi: output buffer (guaranteed to be big enough)
|
||||||
; ecx: output buffer size
|
; ecx: output buffer size
|
||||||
tinf_uncompress:
|
tinf_uncompress:
|
||||||
push ecx
|
push ecx
|
||||||
push edi
|
push edi
|
||||||
mov edi, tinf_bss_start
|
mov edi, tinf_bss_start
|
||||||
mov ecx, tinf_bss_end-tinf_bss_start
|
mov ecx, tinf_bss_end-tinf_bss_start+1
|
||||||
xor al, al
|
xor al, al
|
||||||
repnz stosb
|
repnz stosb
|
||||||
pop edi
|
pop edi
|
||||||
|
|
Loading…
Reference in a new issue