BIOS: Fixed lslul helper function similar to lsrul.

This commit is contained in:
Volker Ruppert 2024-05-09 09:41:06 +02:00
parent 49736ddcf0
commit 4d5d31170c
4 changed files with 9 additions and 7 deletions

View File

@ -27,6 +27,10 @@ Detailed change log :
- Networking
- Added support for using libslirp library instead of builtin slirp code
- BIOS
- Added panic in legacy BIOS in case no VGA BIOS ROM is found at C000:0000,
- Fixed unwanted side effected caused by some helper functions.
- Misc
- bximage: added simple partition table viewer to the info function

Binary file not shown.

Binary file not shown.

View File

@ -536,17 +536,15 @@ typedef unsigned long Bit32u;
;; sl function
lsll:
lslul:
mov cx,di
push ecx
mov cx, di
jcxz lsl_exit
and eax, #0x0000FFFF
shl ebx, #16
or eax, ebx
lsl_loop:
shl eax, #1
shl ax, #1
rcl bx, #1
loop lsl_loop
mov ebx, eax
shr ebx, #16
lsl_exit:
pop ecx
ret
idiv_: