[Solved] Enabling A20 on a 64-bit machine

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
madanra
Member
Member
Posts: 149
Joined: Mon Sep 07, 2009 12:01 pm

[Solved] Enabling A20 on a 64-bit machine

Post by madanra »

http://wiki.osdev.org/A20 describes 3 ways to enable A20 - keyboard controller, fast A20 gate and BIOS.
Presubably using fast A20 gate is the fastest (!), but on most info about enbaling A20 (which seems to generally be aimed at 32-bit development) advises against using only that as it's not always supported. My question is: is it a safe assumption that any 64-bit machine will support using the fast A20 gate?
Last edited by madanra on Mon Mar 29, 2010 1:14 pm, edited 1 time in total.
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re: Enabling A20 on a 64-bit machine

Post by Brendan »

Hi,
madanra wrote:My question is: is it a safe assumption that any 64-bit machine will support using the fast A20 gate?
It's a safe assumption that the BIOS function will use the best method, and will be supported on modern computers.

Even if fast A20 does work it can cause problems later (e.g. for hibernate).


Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
madanra
Member
Member
Posts: 149
Joined: Mon Sep 07, 2009 12:01 pm

Re: Enabling A20 on a 64-bit machine

Post by madanra »

Thanks, I'll go with that then :)
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: Enabling A20 on a 64-bit machine

Post by Love4Boobies »

Brendan wrote:Even if fast A20 does work it can cause problems later (e.g. for hibernate).
Could you describe what kind of problems and why they might occur?
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
StephanvanSchaik
Member
Member
Posts: 127
Joined: Sat Sep 29, 2007 5:43 pm
Location: Amsterdam, The Netherlands

Re: Enabling A20 on a 64-bit machine

Post by StephanvanSchaik »

Love4Boobies wrote:
Brendan wrote:Even if fast A20 does work it can cause problems later (e.g. for hibernate).
Could you describe what kind of problems and why they might occur?
I would like to know this as well.


Regards,
Stephan J.R. van Schaik.
Post Reply