Which Website To I Learn Source Files in Assembly Language Format Like .s Format?
I Want To Implement Maximum Display Resolution Within VESA BIOS Extension Of ReactOS Loader In ReactOS Source Code
I am Implement Logic Incorrectly Source Files in Assembly Language Format:
148: setMaxDisplayResolution:
149: ; Check for VBE support
150: mov ax, 4F00h
151: mov di, offset VBE_Info_Block ; Pointer to buffer for VBE info
152: int 10h
153: cmp ax, 4Fh ; Check for VBE signature
154:
155: mov ax, 4F02h
156: mov bx, [desired_vbe_mode_number]
157: int 10h
And I am tried To Compile It In ReactOS Build Enviroment:
D:\Windows\windows\output-MinGW-i386>ninja all
[1/9765] Performing build step for 'host-tools'
ninja: no work to do.
[3/5] Generating frldr16.bin.o
FAILED: boot/freeldr/freeldr/frldr16.bin.o
cmd.exe /C "cd /D D:\Windows\windows\output-MinGW-i386\boot\freeldr\freeldr && C:\RosBE\i386\bin\gcc.exe -x assembler-with-cpp -o D:/Windows/windows/output-MinGW-i386/boot/freeldr/freeldr/frldr16.bin.o -ID:/Windows/windows/sdk/include/asm -ID:/Windows/windows/output-MinGW-i386/sdk/include/asm -ID:/Windows/windows/boot/freeldr/freeldr/include -ID:/Windows/windows/sdk/include -ID:/Windows/windows/sdk/include/crt -ID:/Windows/windows/sdk/include/ddk -ID:/Windows/windows/sdk/include/ndk -ID:/Windows/windows/sdk/include/psdk -ID:/Windows/windows/sdk/include/reactos -ID:/Windows/windows/sdk/include/reactos/libs -ID:/Windows/windows/sdk/include/vcruntime -ID:/Windows/windows/sdk/include/winrt -ID:/Windows/windows/output-MinGW-i386/sdk/include -ID:/Windows/windows/output-MinGW-i386/sdk/include/psdk -ID:/Windows/windows/output-MinGW-i386/sdk/include/ddk -ID:/Windows/windows/output-MinGW-i386/sdk/include/dxsdk -ID:/Windows/windows/output-MinGW-i386/sdk/include/reactos -ID:/Windows/windows/output-MinGW-i386/sdk/include/reactos/mc -ID:/Windows/windows/sdk/include/dxsdk -ID:/Windows/windows/sdk/lib/pseh/include -ID:/Windows/windows/ntoskrnl/include -ID:/Windows/windows/sdk/lib/cmlib -ID:/Windows/windows/sdk/include/reactos/libs -ID:/Windows/windows/sdk/include/reactos/elf -D__REACTOS__ -D_CRT_NON_CONFORMING_SWPRINTFS -DDBG=1 -D_SEH_ENABLE_TRACE -DWINVER=0x502 -D_WIN32_IE=0x603 -D_WIN32_WINNT=0x502 -D_WIN32_WINDOWS=0x502 -D_SETUPAPI_VER=0x502 -DMINGW_HAS_SECURE_API=1 -DD3D_UMD_INTERFACE_VERSION=0x000C -DDXGKDDI_INTERFACE_VERSION=0x1052 -DDLL_EXPORT_VERSION=0x502 -D_M_IX86 -D_X86_ -D__i386__ -Di386 -D_NEW_DELETE_OPERATORS_ -DUSE_COMPILER_EXCEPTIONS -D_USE_32BIT_TIME_T -D_USE_PSEH3=1 -D_GLIBCXX_HAVE_BROKEN_VSWPRINTF -D_CRT_SUPPRESS_RESTRICT -D_NTHAL_ -D_BLDR_ -D_NTSYSTEM_ -D__ASM__ -c D:/Windows/windows/boot/freeldr/freeldr/arch/realmode/i386.S"
D:/Windows/windows/boot/freeldr/freeldr/arch/realmode/i386.S: Assembler messages:
D:/Windows/windows/boot/freeldr/freeldr/arch/realmode/i386.S:14: Error: no such instruction: `desired_vbe_mode_number dword 4117h'
D:/Windows/windows/boot/freeldr/freeldr/arch/realmode/i386.S:14: Error: junk at end of line, first unrecognized character is `1'
D:/Windows/windows/boot/freeldr/freeldr/arch/realmode/i386.S:149: Error: no such instruction: `check for VBE support'
D:/Windows/windows/boot/freeldr/freeldr/arch/realmode/i386.S:150: Error: junk `F00h' after expression
D:/Windows/windows/boot/freeldr/freeldr/arch/realmode/i386.S:151: Error: no such instruction: `pointer to buffer for VBE info'
D:/Windows/windows/boot/freeldr/freeldr/arch/realmode/i386.S:152: Error: junk `h' after expression
D:/Windows/windows/boot/freeldr/freeldr/arch/realmode/i386.S:153: Error: junk `Fh' after expression
D:/Windows/windows/boot/freeldr/freeldr/arch/realmode/i386.S:153: Error: no such instruction: `check for VBE signature'
D:/Windows/windows/boot/freeldr/freeldr/arch/realmode/i386.S:155: Error: junk `F02h' after expression
D:/Windows/windows/boot/freeldr/freeldr/arch/realmode/i386.S:157: Error: junk `h' after expression
ninja: build stopped: subcommand failed.