bootloader issues
https://gitlab.redox-os.org/redox-os/bootloader/-/issues
2023-07-02T15:01:57Z
https://gitlab.redox-os.org/redox-os/bootloader/-/issues/5
typeof bootloader x86_64 startup-i386.asm
2023-07-02T15:01:57Z
stardust
typeof bootloader x86_64 startup-i386.asm
Is the assembly is NASM?
Is the assembly is NASM?
https://gitlab.redox-os.org/redox-os/bootloader/-/issues/3
[MacOS] bootloader/x86_64/disk.asm:1: error: parser: instruction expected
2023-09-24T09:25:24Z
Jeremy Soller
[MacOS] bootloader/x86_64/disk.asm:1: error: parser: instruction expected
*Created by: csi-adziahel*
Repro:
1. check out recent sources, install dependencies, usual yada-yada.
2. run `make build/bootloader`
Expected: build succeeds
Instead: build fails reporting following error
```
~/s/r/redox (master|✔) ...
*Created by: csi-adziahel*
Repro:
1. check out recent sources, install dependencies, usual yada-yada.
2. run `make build/bootloader`
Expected: build succeeds
Instead: build fails reporting following error
```
~/s/r/redox (master|✔) $ make build/bootloader
mkdir -p build
nasm -f bin -o build/bootloader -D ARCH_x86_64 -ibootloader/x86_64/ bootloader/x86_64/disk.asm
bootloader/x86_64/disk.asm:1: error: parser: instruction expected
startup-x86_64.asm:126: warning: numeric constant 0xFFFFFF0000080000 does not fit in 32 bits
startup-x86_64.asm:157: warning: numeric constant 0xFFFFFFFFFFFFFFF0 does not fit in 32 bits
make: *** [build/bootloader] Error 1
```
Environment: Mac OS X 10.13.3 x64 on Intel(R) Core(TM) i5-4308U CPU @ 2.80GHz (Mac mini).
https://gitlab.redox-os.org/redox-os/bootloader/-/issues/1
Misleading documentation
2018-06-16T15:58:02Z
Jeremy Soller
Misleading documentation
*Created by: povilasb*
See: https://github.com/redox-os/bootloader/blob/master/x86_64/print16.asm
```asm
; print a string and a newline
; IN
; si: points at zero-terminated String
; CLOBBER
; ax
print_line:
mov al, 13
...
*Created by: povilasb*
See: https://github.com/redox-os/bootloader/blob/master/x86_64/print16.asm
```asm
; print a string and a newline
; IN
; si: points at zero-terminated String
; CLOBBER
; ax
print_line:
mov al, 13
call print_char
mov al, 10
jmp print_char
```
This function ignores documented parameter `si`
> si: points at zero-terminated String
and prints new line only.