moving to 2MB, need to modify ldscript for vma/lma
[com32] / src / startup.asm
index 8c2b643..99cbf6c 100644 (file)
@@ -1,14 +1,10 @@
        bits 32
-       section .ldrtext
+       section .text
 
        global startup
 startup:
        mov ebx, 0xb8000
-       sub ebx, [tmpsegbase]
        mov byte [ebx], '@'
        ret
 
-       global tmpsegbase
-tmpsegbase dd 0
-
 ; vi:set ts=8 sts=8 sw=8 ft=nasm: