Browse Source

Enabled A20 line - fixed large video glitch

Stephen Downward 1 year ago
parent
commit
e5616f54b0
1 changed files with 5 additions and 0 deletions
  1. 5 0
      boot/bootsect2.asm

+ 5 - 0
boot/bootsect2.asm

@ -48,6 +48,11 @@ error:
48 48
	
49 49
	[bits 32]
50 50
BEGIN_PM:
51
	;; Set the A20 line
52
	in al, 0x92
53
	or al, 2
54
	out 0x92, al
55
	
51 56
	mov ebx, MSG_PROT_MODE
52 57
	call print_string_pm
53 58
	call KERNEL_OFFSET; Give control to the kernel