From dae57bb1a1ab98e370b01eb007212c9513ae9c4c Mon Sep 17 00:00:00 2001 From: pantonshire Date: Wed, 5 Mar 2025 09:00:39 +0000 Subject: [PATCH] fix s3 a20 --- stages/s3/a20.s | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stages/s3/a20.s b/stages/s3/a20.s index e37120e..a2e7dbc 100644 --- a/stages/s3/a20.s +++ b/stages/s3/a20.s @@ -1,12 +1,14 @@ +[bits 16] + %include "fn.s" %include "ps2.s" - %macro mov_out 3 mov %1, %3 out %2, %1 %endmacro +section .s3_text ; Check whether the A20 line is enabled. Writes to the boot sector identifier. ; Arguments: none