commit eae0a50e74b20086155960a9b28d8963476fbb33
parent b960d56cde215127a964e237754e1a2b45a31136
Author: erai <erai@omiltem.net>
Date: Mon, 11 Nov 2024 18:48:04 -0500
Use 192.168.30.1 as the tftp server
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/attic/pxe.asm b/attic/pxe.asm
@@ -414,8 +414,8 @@ download:
mov word [di], 0 ; status
mov byte [di + 2], 192 ; server ip
mov byte [di + 3], 168
- mov byte [di + 4], 1
- mov byte [di + 5], 178
+ mov byte [di + 4], 30
+ mov byte [di + 5], 1
mov dword [di + 6], 0 ; gateway ip
mov word [di + 138], 69 ; port
mov word [di + 140], 512 ; packet size
@@ -807,7 +807,7 @@ parse_mb:
mov ax, cs
shl eax, 4
add eax, ebx
- add eax, (mmap + 4 - .1)
+ add eax, (mmap - .1)
mov dword ds:[edi + 48], eax
popf