Index: branches/azimutz/Chazi/doc/BootHelp.txt =================================================================== --- branches/azimutz/Chazi/doc/BootHelp.txt (revision 470) +++ branches/azimutz/Chazi/doc/BootHelp.txt (revision 471) @@ -77,7 +77,7 @@ VBIOS=Yes|No Inject VBIOS to device-properties. EthernetBuiltIn=Yes|No Automatic "built-in"=yes device-properties generation - for ethernet interfaces. + for ethernet interfaces. USBBusFix=Yes Enable all USB fixes below: EHCIacquire=Yes Enable the EHCI fix (disabled by default). @@ -104,12 +104,19 @@ values are kept. Scan Single Drive Scan the drive only where the booter got loaded from. - =Yes|No Fix rescan pbs when using a DVD reader in AHCI mode. + =Yes|No Fix rescan pbs when using a DVD reader in AHCI mode. Rescan=Yes Enable CD-ROM rescan mode. Rescan Prompt=Yes Prompts for enable CD-ROM rescan mode. - SystemId= Set manually the system id UUID, - SMUUID in smbios config (reserved field) isn't used. + SystemId= Set manually the system id UUID, SMUUID in smbios config + (reserved field) isn't used. SystemType= Set the system type where n is between 0..6 - (default =1 (Desktop) + (default =1 (Desktop) md0= Load raw img file into memory for use as XNU's md0 ramdisk. /Extra/Postboot.img is used otherwise. + + AutoResolution=Yes Enable native resolution setting for booter Gui and + system, even without graphics acceleration. + (disabled by default) +Azi: quotes?? check with Danielkza... + Graphics Mode + F2 Change resolution while at boot prompt, e.g.: + Graphics Mode=1024x768x32 + press F2 key. Index: branches/azimutz/Chazi/doc-azi/CHANGES.txt =================================================================== --- branches/azimutz/Chazi/doc-azi/CHANGES.txt (revision 470) +++ branches/azimutz/Chazi/doc-azi/CHANGES.txt (revision 471) @@ -265,7 +265,7 @@ DebugInfo=y enables display of debug info. Note: Boot Banner(*)=n will override DebugInfo=y , disabling the display of this info. - Key is disabled by default. + Disabled by default. Motif: just making this info easily accessible. @@ -276,10 +276,26 @@ Change: creation of this project, replacing Chazileon as my work folder. Ence, Chazileon is now frozen until archival and deletion. -Motif: Chazileon has no svn history. +Motif: Chazileon (Chazi) has no svn history. ---------------//---------------//--------------- +- (revs 465 --> ??) +Change: added AutoResolution patch, by Lebidou (AutoResolution branch). The main intention of this + patch, is allowing native resolution after boot, even without graphics acceleration (qe/ci). + The "side effect" is that it also enables native resolution at boot prompt (Gui). + The con: doesn't work for all devices!! + + AutoResolution=y enables the patch. + + Note: Obviously, it only works in Graphics Mode (Gui). + Disabled by default. + +Motif: ... mentioned above. Check the topic for more details: + http://forum.voodooprojects.org/index.php/topic,1227.0.html + + ---------------//---------------//--------------- + - (rev ) Change: template Index: branches/azimutz/Chazi/i386/libsaio/pci_setup.c =================================================================== --- branches/azimutz/Chazi/i386/libsaio/pci_setup.c (revision 470) +++ branches/azimutz/Chazi/i386/libsaio/pci_setup.c (revision 471) @@ -54,10 +54,10 @@ current->vendor_id, current->device_id, devicepath); setup_gma_devprop(current); break; - /* message to be removed once support for these cards is added - verbose("Intel VGA Controller [%04x:%04x] :: %s (currently NOT SUPPORTED)\n", - current->vendor_id, current->device_id, devicepath); - break;*/ + //message to be removed once support for these cards is added + //verbose("Intel VGA Controller [%04x:%04x] :: %s (currently NOT SUPPORTED)\n", + // current->vendor_id, current->device_id, devicepath); + //break; case PCI_VENDOR_ID_NVIDIA: setup_nvidia_devprop(current); Index: branches/azimutz/Chazi/i386/boot2/graphic_utils.h =================================================================== --- branches/azimutz/Chazi/i386/boot2/graphic_utils.h (revision 470) +++ branches/azimutz/Chazi/i386/boot2/graphic_utils.h (revision 471) @@ -9,8 +9,6 @@ #ifndef GRAPHIC_UTILS_H #define GRAPHIC_UTILS_H -//Azi:includes -//#include "boot.h" - "graphic_utils.h" included only on graphics.h atm, that already includes boot.h. typedef union { Index: branches/azimutz/Chazi/i386/boot2/gui.h =================================================================== --- branches/azimutz/Chazi/i386/boot2/gui.h (revision 470) +++ branches/azimutz/Chazi/i386/boot2/gui.h (revision 471) @@ -8,10 +8,6 @@ * */ -//Azi:include -//#include "boot.h" - included on graphics.h -//#include "bootstruct.h" - same as above -//#include "graphic_utils.h" - same as above #include "graphics.h" #include "picopng.h" @@ -106,7 +102,7 @@ uint16_t vsyncstart; uint16_t vsyncend; uint8_t mm; // Azi:autoresolution - debuginfo - uint16_t attr; // || || + uint16_t attr; } window_t; /* Index: branches/azimutz/Chazi/i386/boot2/options.c =================================================================== --- branches/azimutz/Chazi/i386/boot2/options.c (revision 470) +++ branches/azimutz/Chazi/i386/boot2/options.c (revision 471) @@ -22,9 +22,6 @@ * @APPLE_LICENSE_HEADER_END@ */ -//Azi:include -//#include "boot.h" - included on graphics.h, which is included on gui.h -//#include "bootstruct.h" - same as above #include "fdisk.h" #include "ramdisk.h" #include "gui.h" @@ -1089,10 +1086,8 @@ // New behavior: // Switch between text & graphic interfaces // Only Permitted if started in graphics interface - if (useGUI) //Azi: check if Tab still works with AutoResolution (boot.c, 370)*** - { - if (bootArgs->Video.v_display == GRAPHICS_MODE) //Azi: this is missing on Chazileon & AutoRes branch*** - { + if (useGUI) { + if (bootArgs->Video.v_display == GRAPHICS_MODE) { setVideoMode(VGA_TEXT_MODE, 0); setCursorPosition(0, 0, 0); @@ -1117,22 +1112,9 @@ showPrompt = (gDeviceCount == 0) || (menuBVR->flags & kBVFlagNativeBoot); showBootPrompt(nextRow, showPrompt); //changeCursor( 0, kMenuTopRow, kCursorTypeUnderline, 0 ); - - /* - * AutoResolution - make sure all values are set - */ - bootArgs->Video.v_display = VGA_TEXT_MODE; - useGUI = false; } else { gui.redraw = true; setVideoMode(GRAPHICS_MODE, 0); - - /* - * AutoResolution - make sure all values are set - */ - bootArgs->Video.v_display = GRAPHICS_MODE; - useGUI = true; - updateVRAM(); } }