Re: Patch for boot for enabling gate A20 with BIOS

2010-03-01 Thread Giuseppe Magnotta
Tobias Weingartner wrote: > So, if you think this is something that should go in, then I'd > implore you to get more testing and test reports. I'd be wanting > all the MB/BIOS/cpu combinations that were tested before this is > committed. Testing a high number of MB/BIOS/cpu requires a lot of time

Re: Patch for boot for enabling gate A20 with BIOS

2010-03-01 Thread Giuseppe Magnotta
Tobias Weingartner wrote: > While I applaud your efforts to send in patches, I do have a > small niggle. Why do you feel the need to splatter your > authorship all over the code in comments? Why not just add > your name to the copyright statement and be done with it? Yes, You're right. It may se

Re: Patch for boot for enabling gate A20 with BIOS

2010-03-01 Thread Giuseppe Magnotta
Ted Unangst wrote: > Can you explain this? I'd think A20 issues would have been sorted out > 15 years ago. Hi, reading gateA20.c code, I've found that only two methods for enabling the A20 line were used: the fast gate that use the I/O port 0x92 and the "classic" one that use the keyboard contro

Re: Patch for boot for enabling gate A20 with BIOS

2010-03-01 Thread Giuseppe Magnotta
Mar 2004 13:48:18 - 1.10 +++ gateA20.c 1 Mar 2010 14:27:58 - @@ -41,6 +41,31 @@ enable data line enable clock line */ +/* + * Author: Giuseppe Magnotta + * + * Enable the gate A20 by using the

Patch for boot for enabling gate A20 with BIOS

2010-03-01 Thread Giuseppe Magnotta
Hello, please find attached a patch for "boot" that allows it to enable the gate A20 directly by the BIOS if the INT 15/AX=2401h is supported for i386 machines. If you can please test it and tell me if it works as expected. Regards, Giuseppe. [demime 1.01d removed an attachment of type text/

Re: enhancing i386 mbr.S

2010-02-21 Thread Giuseppe Magnotta
and Tobias Weingartner * Copyright (c) 2003 Tom Cosgrove + * Copyright (c) 2010 Giuseppe Magnotta * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -172,7 +173,7 @@ /* Initialize the serial port to 9600 baud, 8N1. */

Re: enhancing i386 mbr.S

2010-02-20 Thread Giuseppe Magnotta
ff and Tobias Weingartner * Copyright (c) 2003 Tom Cosgrove + * Copyright (c) 2010 Giuseppe Magnotta * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -223,13 +224,25 @@ movb$0x80, %dl drive_ok: - /* Find the first active partiti

Re: enhancing i386 mbr.S

2010-02-20 Thread Giuseppe Magnotta
Tobias Weingartner wrote: > Possibly. Is your real name "Guiseppe Magnotta"? > > --Toby. My real name is Giuseppe Magnotta. Giuseppe

Re: enhancing i386 mbr.S

2010-02-20 Thread Giuseppe Magnotta
Tobias Weingartner wrote: > Are you ok with the modification to your copyright/comment statement above? > > --Toby. Sure! So do you think is useful and can be included in official code? Regards, Giuseppe

Re: enhancing i386 mbr.S

2010-02-20 Thread Giuseppe Magnotta
in the file. */ +/* Copyright (c) 2010 Giuseppe Magnotta + * last edited 20 Feb 2010 + * Added the check for a single bootable partition. + * You may use this code or fragments thereof in a manner consistent + * with the other copyrights as long as you retain my pseudonym and + * this copyright not

enhancing i386 mbr.S

2010-02-20 Thread Giuseppe Magnotta
uot; label will check for it. The original source is "$OpenBSD: mbr.S,v 1.21 2007/06/25 14:10:17 tom Exp $" fetched from 4.6 release. I hope this can be useful... Best Regards Giuseppe The patch is: diff mbr.S.orig mbr.S: 37a38,44 > /* Copyright (c) 2010 Giuseppe Magnotta >