mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 09:36:33 +00:00
[FREELDR]
Fix syntax for ML svn path=/trunk/; revision=52347
This commit is contained in:
parent
37a3e0c675
commit
8ea179b79b
3 changed files with 11 additions and 10 deletions
|
@ -49,8 +49,8 @@
|
|||
|
||||
PUBLIC start
|
||||
start:
|
||||
// This code is loaded at 0000:8000 so we have to
|
||||
// encode a jmp instruction to jump to 0000:8200
|
||||
// This code is loaded at 0000:F800 so we have to
|
||||
// encode a jmp instruction to jump to 0000:FA00
|
||||
.byte HEX(e9), HEX(fd), HEX(01)
|
||||
|
||||
// Now starts the extra boot code that we will store
|
||||
|
@ -217,7 +217,8 @@ IsFat12_Done:
|
|||
ret
|
||||
|
||||
|
||||
msgLoading: .asciz "Loading FreeLoader...", CR, LF
|
||||
msgLoading:
|
||||
.ascii "Loading FreeLoader...", CR, LF, NUL
|
||||
|
||||
.org 510 // Pad to 510 bytes
|
||||
.word HEX(0aa55) // BootSector signature
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
PnpBiosGetDeviceNodeCount:
|
||||
|
||||
mov ax, word ptr [BSS_PnpBiosDataSegment]
|
||||
mov ax, word ptr ds:[BSS_PnpBiosDataSegment]
|
||||
push ax
|
||||
|
||||
push cs
|
||||
|
@ -27,16 +27,16 @@ PnpBiosGetDeviceNodeCount:
|
|||
PnpBiosGetDeviceNode:
|
||||
|
||||
/* push bios segment */
|
||||
mov ax, word ptr [BSS_PnpBiosDataSegment]
|
||||
mov ax, word ptr ds:[BSS_PnpBiosDataSegment]
|
||||
push ax
|
||||
|
||||
/* push control flag */
|
||||
push 1
|
||||
|
||||
/* push pointer to node buffer (segment/offset) */
|
||||
mov ax, word ptr [BSS_PnpBiosBufferSegment]
|
||||
mov ax, word ptr ds:[BSS_PnpBiosBufferSegment]
|
||||
push ax
|
||||
mov ax, word ptr [BSS_PnpBiosBufferOffset]
|
||||
mov ax, word ptr ds:[BSS_PnpBiosBufferOffset]
|
||||
push ax
|
||||
|
||||
/* push pointer to node number (segment/offset) */
|
||||
|
|
|
@ -20,11 +20,11 @@
|
|||
|
||||
PxeCallApi:
|
||||
|
||||
mov ax, [BSS_PxeBufferSegment]
|
||||
mov ax, word ptr ds:[BSS_PxeBufferSegment]
|
||||
push ax
|
||||
mov ax, [BSS_PxeBufferOffset]
|
||||
mov ax, word ptr ds:[BSS_PxeBufferOffset]
|
||||
push ax
|
||||
mov ax, [BSS_PxeFunction]
|
||||
mov ax, word ptr ds:[BSS_PxeFunction]
|
||||
push ax
|
||||
call dword ptr ds:[BSS_PxeEntryPoint]
|
||||
add esp, 6
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue