wok-6.x rev 19402
memtest: DOS shutdown (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 19:40:30 2016 +0200 (2016-09-03) |
parents | 50b423f7711b |
children | fd3dadf90ba9 |
files | memtest/stuff/bootloader.S |
line diff
1.1 --- a/memtest/stuff/bootloader.S Sat Sep 03 13:03:50 2016 +0200 1.2 +++ b/memtest/stuff/bootloader.S Sat Sep 03 19:40:30 2016 +0200 1.3 @@ -236,9 +236,7 @@ 1.4 popw %si 1.5 jne doiret 1.6 xorw %si, %si 1.7 - mov %si, %ds 1.8 - popl 4*0x19(%si) 1.9 -loadsp19: 1.10 + movw %si, %ds 1.11 pushw %cs 1.12 popw %ss 1.13 movw $stacktop-4-16, %sp 1.14 @@ -337,7 +335,7 @@ 1.15 movb $1, %al # 1 sector mini 1.16 tolastsect: 1.17 #else 1.18 - mov $FLOPPY_SECTORS+1, %al 1.19 + movb $FLOPPY_SECTORS+1, %al 1.20 subb %cl, %al # sectors remaining in track 1.21 #endif 1.22 cbw