# HG changeset patch # User Oleksandr Gavenko # Date 1278056749 -10800 # Node ID 7eae6f4baa38fb996c4b86ba451b9755600514d0 # Parent 9ed9bd59c0fde70959abd8488d557c383bed13eb# Parent 2cbd7bbb1012975146d72ad2740c94148160469f merged diff -r 2cbd7bbb1012 -r 7eae6f4baa38 3d.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/3d.rst Fri Jul 02 10:45:49 2010 +0300 @@ -0,0 +1,11 @@ +-*- outline -*- + +* POV-Ray. + +The Persistence of Vision Raytracer, or POV-Ray, is a ray tracing program. + + http://www.povray.org/ + home page + http://en.wikipedia.org/wiki/POV-Ray + http://xahlee.org/3d/povray.html + http://xahlee.org/3d/povray_emacs.html diff -r 2cbd7bbb1012 -r 7eae6f4baa38 cygwin.rst --- a/cygwin.rst Wed Jun 16 16:24:31 2010 +0300 +++ b/cygwin.rst Fri Jul 02 10:45:49 2010 +0300 @@ -23,6 +23,12 @@ set HOME=d:\home +Set TMP and TEMP env vars with good path (without spaces, etc.; these vars +already set as used defined, so you need change their values): + + set TMP=c:\tmp + set TEMP=c:\tmp + Also you need edit /etc/passwd to point to correct home path. * Users and groups. diff -r 2cbd7bbb1012 -r 7eae6f4baa38 power.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/power.rst Fri Jul 02 10:45:49 2010 +0300 @@ -0,0 +1,76 @@ +-*- mode: outline -*- + +* ACPI power states. + + http://en.wikipedia.org/wiki/Advanced_Configuration_and_Power_Interface + +** Global states. + + * G0 (S0) Working + * G1 Sleeping (subdivides into the four states S1 through S4) + * S1: All processor caches are flushed, and the CPU(s) stop executing + instructions. Power to the CPU(s) and RAM is maintained; devices that do + not indicate they must remain on may be powered down. + * S2: CPU powered off. + * S3: Commonly referred to as Standby, Sleep, or Suspend to RAM. RAM + remains powered. + * S4: Hibernation or Suspend to Disk. All content of main memory is saved + to non-volatile memory such as a hard drive, and is powered down. + * G2 (S5) Soft Off. G2, S5, and Soft Off are synonyms. G2 is almost the same + as G3 Mechanical Off, but some components remain powered so the computer + can "wake" from input from the keyboard, clock, modem, LAN, or USB device. + * G3 Mechanical Off: The computer's power consumption approaches close to + zero, to the point that the power cord can be removed and the system is + safe for dis-assembly (typically, only the real-time clock is running off + its own small battery). + +** System states. + + * S0 Working (G0), Processor in C0-C3, full context save RAM maintained + * S1 Sleeping with processor context maintained, RAM maintained + * S2 Sleeping with processor content not necessarily maintained, RAM + maintained, most devices in D3 + * S3 Sleeping, lower than S2, RAM maintained, most devices in D3 + * S4 Sleeping, lower than S3, RAM not maintained, most devices in D3 + * S5 Sleeping, lower than S4, no context saved, reboot necessary + +** Device states. + + * D0 Fully-On is the operating state. + * D1 and D2 are intermediate power-states whose definition varies by device. + * D3 Off has the device powered off and unresponsive to its bus. + +** Processor states. + + * C0 is the operating state. + * C1 (often known as Halt) is a state where the processor is not executing + instructions, but can return to an executing state essentially + instantaneously. All ACPI-conformant processors must support this power state. + * C2 (often known as Stop-Clock) is a state where the processor maintains all + software-visible state, but may take longer to wake up. This processor + state is optional. + * C3 (often known as Sleep) is a state where the processor does not need to + keep its cache coherent, but maintains other state. Some processors have + variations on the C3 state (Deep Sleep, Deeper Sleep, etc.) that differ in + how long it takes to wake the processor. This processor state is optional. + +** Performance states. + + * P0 max power and frequency. + * P1 less than P0, voltage/frequency scaled. + * Pn less than P(n-1), voltage/frequency scaled. + +* Control power schema under Windows. + +Use powercfg utility. To se current state: + + cmd> powercfg /QUERY + +To see all available states: + + cmd> powercfg /LIST + +To restore power configurtion: + + cmd> powercfg /RestoreDefaultPolicies + diff -r 2cbd7bbb1012 -r 7eae6f4baa38 windows.rst --- a/windows.rst Wed Jun 16 16:24:31 2010 +0300 +++ b/windows.rst Fri Jul 02 10:45:49 2010 +0300 @@ -26,6 +26,10 @@ VEN_10DE DEV_0247 VID_22B8 PID_2A62 +Also you can find updates on: + + http://www.microsoft.com/downloads/ru-ru/default.aspx + * XP. ** Check system files integrity. @@ -195,3 +199,37 @@ http://msdn.microsoft.com/en-us/library/aa365247.aspx Naming Files, Paths, and Namespaces + +* Memory. + + http://msdn.microsoft.com/en-us/library/ff542275%28v=VS.85%29.aspx + Boot Parameters to Configure DEP and PAE + +** PAE. + +All 32-bit Windows XP support only 4 GiB RAM. To enable PAE (Physical Address +Extension) edit 'c:\boot.ini', add option '/pae': + + multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="MS Windows XP Prof" /fastdetect /pae + + http://msdn.microsoft.com/en-us/library/ff557168%28v=VS.85%29.aspx + /pae option + http://www.microsoft.com/whdc/system/platform/server/pae/paedrv.mspx + PAE support + +** NX. + +NX (no execute) in Windows realised in Data Execution Prevention (DEP) +technology. + +On 64-bit processes, DEP is enabled by default and cannot be disabled. For +32-bit Windows DEP is supported in Windows Server 2003 with SP1, Windows XP +with SP2, Windows Vista, and later versions of Windows. + +To enable NX on 32-bit Windows edit 'c:\boot.ini', add option +'/noexecute=...': + + multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="MS Windows XP Prof" /fastdetect /noexecute=alwayson + + http://msdn.microsoft.com/en-us/library/ff557134%28VS.85%29.aspx + /noexecute parameter