aboutsummaryrefslogtreecommitdiffstats
path: root/bcopy32.inc
diff options
context:
space:
mode:
Diffstat (limited to 'bcopy32.inc')
-rw-r--r--bcopy32.inc11
1 files changed, 10 insertions, 1 deletions
diff --git a/bcopy32.inc b/bcopy32.inc
index f72cb555..ae4f8d0e 100644
--- a/bcopy32.inc
+++ b/bcopy32.inc
@@ -31,9 +31,13 @@
; trackbuf area (1000h). The routine bcopy_over_self handles this mode
; of operation, including any necessary adjustments.
;
- align 4
+ section .text
+ align 8
__bcopy_start:
+ ; This is in the .text segment since it needs to be
+ ; contiguous with the rest of the bcopy stuff
+
bcopy_gdt: dw bcopy_gdt_size-1 ; Null descriptor - contains GDT
.adj1: dd bcopy_gdt ; pointer for LGDT instruction
dw 0
@@ -445,3 +449,8 @@ bcopy_over_self:
popfd
jmp 0:7c00h
__bcopy_end:
+
+ section .bss
+A20Test resw 1 ; Counter for testing status of A20
+A20Type resw 1 ; A20 type
+A20Tries resb 1 ; Times until giving up on A20