Moved '/DEBUGPORT=SCREEN' from loadros to (a)boot.bat.

svn path=/trunk/; revision=2882
This commit is contained in:
Hartmut Birr 2002-04-27 19:20:29 +00:00
parent 608baa209c
commit a253312fcf
3 changed files with 27 additions and 3 deletions

View file

@ -1 +1,2 @@
loadros system32\ntoskrnl.exe system32\hal.dll system32\drivers\acpi.sys bootc.lst
loadros system32\ntoskrnl.exe system32\hal.dll system32\drivers\acpi.sys /DEBUGPORT=SCREEN bootc.lst

View file

@ -1 +1 @@
loadros system32\ntoskrnl.exe system32\hal.dll bootc.lst
loadros system32\ntoskrnl.exe system32\hal.dll /DEBUGPORT=SCREEN bootc.lst

View file

@ -189,6 +189,29 @@ entry:
;;
cmp byte [di], '/'
jne .no_next_module
mov si, _multiboot_kernel_cmdline
.find_end:
cmp byte [si], 0
je .line_end
inc si
jmp .find_end
.line_end
mov byte [si], ' '
inc si
.line_copy
cmp di, [dos_cmdline_end]
je .done_copy
cmp byte [di], 0
je .done_copy
mov al, byte [di]
mov byte [si], al
inc di
inc si
jmp .line_copy
.done_copy:
mov byte [si], 0
jmp .next_module
.no_next_module:
@ -1213,7 +1236,7 @@ _multiboot_address_ranges:
times (64*multiboot_address_range_size) db 0
_multiboot_kernel_cmdline:
db 'multi(0)disk(0)rdisk(0)partition(1)\reactos /DEBUGPORT=SCREEN'
db 'multi(0)disk(0)rdisk(0)partition(1)\reactos'
times 255-($-_multiboot_kernel_cmdline) db 0
;;