mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[REACTOS] Refresh old URLs (#7632)
URLs are getting old. We have to update URLs for documentation purpose. JIRA issue: CORE-19963 - Refresh old URLs. - Add " (DEAD_LINK)" labels to dead links. - Use MS Learn links rather than MSDN ones. - Some dead links revived by Web Archive. - Don't change Wine Tests and Wine Sync. - Don't change 3rd party libraries. - Don't append "redirected" labels.
This commit is contained in:
@@ -33,8 +33,8 @@
|
||||
/*
|
||||
* BIOS Data Area at 0040:XXXX
|
||||
*
|
||||
* See: http://webpages.charter.net/danrollins/techhelp/0093.HTM
|
||||
* and: http://www.bioscentral.com/misc/bda.htm
|
||||
* See: http://www.techhelpmanual.com/93-rom_bios_variables.html
|
||||
* and: https://web.archive.org/web/20240119203029/http://www.bioscentral.com/misc/bda.htm
|
||||
* for more information.
|
||||
*/
|
||||
typedef struct
|
||||
@@ -111,7 +111,7 @@ C_ASSERT(sizeof(BIOS_DATA_AREA) == 0x100);
|
||||
/*
|
||||
* User Data Area at 0050:XXXX
|
||||
*
|
||||
* See: http://helppc.netcore2k.net/table/memory-map
|
||||
* See: https://helppc.netcore2k.net/table/memory-map
|
||||
* for more information.
|
||||
*/
|
||||
typedef struct
|
||||
|
||||
@@ -581,9 +581,9 @@ static VOID WINAPI BiosBootstrapLoader(LPWORD Stack)
|
||||
* For more information, see:
|
||||
* http://www.virtualbox.org/svn/vbox/trunk/src/VBox/Devices/PC/BIOS/orgs.asm
|
||||
* http://www.virtualbox.org/svn/vbox/trunk/src/VBox/Devices/PC/BIOS/boot.c
|
||||
* http://bochs.sourceforge.net/cgi-bin/lxr/source/iodev/cmos.cc
|
||||
* https://web.archive.org/web/20150813024016/http://bochs.sourceforge.net/cgi-bin/lxr/source/iodev/cmos.cc
|
||||
* https://web.archive.org/web/20111209041013/http://www-ivs.cs.uni-magdeburg.de/~zbrog/asm/cmos.html
|
||||
* http://www.bioscentral.com/misc/cmosmap.htm
|
||||
* https://web.archive.org/web/20240119203005/http://www.bioscentral.com/misc/cmosmap.htm
|
||||
*/
|
||||
IOWriteB(CMOS_ADDRESS_PORT, CMOS_REG_SYSOP);
|
||||
BootOrder = (IOReadB(CMOS_DATA_PORT) & 0x20) >> 5;
|
||||
@@ -933,7 +933,7 @@ static VOID BiosHwSetup(VOID)
|
||||
|
||||
/* Initialize PIT Counter 1 - Mode 2, 8bit binary count */
|
||||
IOWriteB(PIT_COMMAND_PORT, 0x54);
|
||||
// DRAM refresh every 15ms: http://www.cs.dartmouth.edu/~spl/Academic/Organization/docs/PC%20Timer%208253.html
|
||||
// DRAM refresh every 15ms: https://web.archive.org/web/20180723173420/http://www.cs.dartmouth.edu/~spl/Academic/Organization/docs/PC%20Timer%208253.html
|
||||
IOWriteB(PIT_DATA_PORT(1), 18);
|
||||
|
||||
/* Initialize PIT Counter 2 - Mode 3, 16bit binary count */
|
||||
|
||||
@@ -62,7 +62,7 @@ CreateUmaDescriptor(IN OUT PLIST_ENTRY ListHead,
|
||||
UmaDesc->Type = Type;
|
||||
|
||||
/*
|
||||
* We use the trick of http://www.osronline.com/article.cfm?article=499 to insert
|
||||
* We use the trick of https://www.osronline.com/article.cfm%5earticle=499.htm to insert
|
||||
* the new descriptor just after the current entry that we specify via 'ListHead'.
|
||||
* If 'ListHead' is NULL then we insert the descriptor at the tail of 'UmaDescriptorList'
|
||||
* (which is equivalent to inserting it at the head of 'UmaDescriptorList.Blink').
|
||||
|
||||
@@ -1925,7 +1925,7 @@ static CONST UCHAR Font8x16[VGA_FONT_CHARACTERS * 16] =
|
||||
/*
|
||||
* Table of supported Video Modes.
|
||||
*
|
||||
* See http://wiki.osdev.org/Drawing_In_Protected_Mode#Locating_Video_Memory
|
||||
* See https://wiki.osdev.org/Drawing_In_Protected_Mode#Locating_Video_Memory
|
||||
* Values of PageSize taken from DOSBox.
|
||||
*/
|
||||
|
||||
@@ -2347,14 +2347,14 @@ static VOID VidBiosSetCursorShape(WORD CursorStartEnd)
|
||||
* WARNING!!
|
||||
* =========
|
||||
* Contrary to what is mentioned in lots of literature out there, e.g. in:
|
||||
* http://webpages.charter.net/danrollins/techhelp/0072.HTM
|
||||
* http://www.bioscentral.com/misc/bda.htm
|
||||
* http://www.techhelpmanual.com/72-egamiscinforec.html
|
||||
* https://web.archive.org/web/20240119203029/http://www.bioscentral.com/misc/bda.htm
|
||||
* and in other various places, bit 0 of Bda->VGAOptions is 0 when
|
||||
* cursor emulation is ENABLED, and is 1 when it is DISABLED.
|
||||
*
|
||||
* The following documentation is right about this fact:
|
||||
* http://www.cs.nyu.edu/~mwalfish/classes/ut/s12-cs372h/ref/hardware/vgadoc/VGABIOS.TXT
|
||||
* https://sites.google.com/site/pcdosretro/biosdata
|
||||
* https://cs.nyu.edu/~mwalfish/classes/ut/s12-cs372h/ref/hardware/vgadoc/VGABIOS.TXT
|
||||
* https://web.archive.org/web/20220118094149/https://sites.google.com/site/pcdosretro/biosdata
|
||||
*
|
||||
* A proof that it is OK is that in the following code samples it is
|
||||
* explicitly mentioned that setting bit 0 disables cursor emulation:
|
||||
@@ -3113,7 +3113,7 @@ VOID WINAPI VidBiosVideoService(LPWORD Stack)
|
||||
#ifdef DOSBOX
|
||||
BYTE Index = getBL();
|
||||
|
||||
/* See: http://www.bioscentral.com/misc/bda.htm */
|
||||
/* See: https://web.archive.org/web/20240119203029/http://www.bioscentral.com/misc/bda.htm */
|
||||
Bda->CrtColorPaletteMask = (Bda->CrtColorPaletteMask & 0xE0) | (Index & 0x1F);
|
||||
|
||||
Index = ((Index << 1) & 0x10) | (Index & 0x7);
|
||||
@@ -3148,7 +3148,7 @@ VOID WINAPI VidBiosVideoService(LPWORD Stack)
|
||||
{
|
||||
BYTE Index = getBL();
|
||||
|
||||
/* See: http://www.bioscentral.com/misc/bda.htm */
|
||||
/* See: https://web.archive.org/web/20240119203029/http://www.bioscentral.com/misc/bda.htm */
|
||||
/* Reset bit 5: foreground colors index (0: green/red/yellow; 1: cyan/magenta/white) */
|
||||
Bda->CrtColorPaletteMask = (Bda->CrtColorPaletteMask & 0xDF) | ((Index & 1) ? 0x20 : 0x00);
|
||||
|
||||
|
||||
@@ -288,8 +288,8 @@ typedef struct _BIOS_DATA
|
||||
*
|
||||
* NOTE: For compatibility with some programs (including virii), PrevInt13 should
|
||||
* be at 0070:00B4, see for more details:
|
||||
* http://repo.hackerzvoice.net/depot_madchat/vxdevl/vdat/tuvd0001.htm
|
||||
* http://vxheaven.org/lib/vsm01.html
|
||||
* http://repo.hackerzvoice.net/depot_madchat/vxdevl/vdat/tuvd0001.htm (DEAD_LINK)
|
||||
* https://web.archive.org/web/20150407182047/http://vxheaven.org/lib/vsm01.html
|
||||
*/
|
||||
BYTE Padding0[0xB0 - /*FIELD_OFFSET(BIOS_DATA, StartupCode)*/ 20];
|
||||
DWORD RomBiosInt13; // 0xb0
|
||||
|
||||
@@ -201,7 +201,7 @@ WORD DosCreateFileEx(LPWORD Handle,
|
||||
FilePath, AccessShareModes, CreateActionFlags, Attributes);
|
||||
|
||||
//
|
||||
// The article about OpenFile API: http://msdn.microsoft.com/en-us/library/windows/desktop/aa365430(v=vs.85).aspx
|
||||
// The article about OpenFile API: https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-openfile
|
||||
// explains what those AccessShareModes are (see the uStyle flag).
|
||||
//
|
||||
|
||||
@@ -532,7 +532,7 @@ WORD DosOpenFile(LPWORD Handle,
|
||||
FilePath, AccessShareModes);
|
||||
|
||||
//
|
||||
// The article about OpenFile API: http://msdn.microsoft.com/en-us/library/windows/desktop/aa365430(v=vs.85).aspx
|
||||
// The article about OpenFile API: https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-openfile
|
||||
// explains what those AccessShareModes are (see the uStyle flag).
|
||||
//
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
* which can provide UMBs? It appears that this is not necessarily the case:
|
||||
* for example the MS HIMEM versions do not implement the UMB APIs; instead
|
||||
* it is the EMS driver (EMM386) which provides them, by hooking into the XMS
|
||||
* driver chain (see https://support.microsoft.com/en-us/kb/95555 : "MS-DOS 5.0
|
||||
* driver chain (see https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/95555: "MS-DOS 5.0
|
||||
* and later EMM386.EXE can also be configured to provide UMBs according to the
|
||||
* XMS. This causes EMM386.EXE to be a provider of the UMB portion of the XMS.").
|
||||
*
|
||||
@@ -36,8 +36,8 @@
|
||||
* and provide UMBs.
|
||||
*
|
||||
* For more details, see:
|
||||
* http://www.freedos.org/technotes/technote/txt/169.txt
|
||||
* http://www.freedos.org/technotes/technote/txt/202.txt
|
||||
* https://web.archive.org/web/20150326075136/http://www.freedos.org/technotes/technote/txt/169.txt
|
||||
* http://www.freedos.org/technotes/technote/txt/202.txt (DEAD_LINK)
|
||||
* http://www.uncreativelabs.net/textfiles/system/UMB.TXT
|
||||
*
|
||||
* This DOS XMS Driver provides the UMB APIs that are implemented on top
|
||||
|
||||
@@ -541,7 +541,7 @@ VOID CmosInitialize(VOID)
|
||||
|
||||
/*
|
||||
* Conventional memory size is 640 kB,
|
||||
* see: http://webpages.charter.net/danrollins/techhelp/0184.HTM
|
||||
* see: http://www.techhelpmanual.com/184-int_12h__conventional_memory_size.html
|
||||
* and see Ralf Brown: http://www.ctyme.com/intr/rb-0598.htm
|
||||
* for more information.
|
||||
*/
|
||||
|
||||
@@ -81,11 +81,11 @@ typedef enum _CMOS_REGISTERS
|
||||
* CMOS Memory Map
|
||||
*
|
||||
* See the following documentation for more information:
|
||||
* http://www.intel-assembler.it/portale/5/cmos-memory-map-123/cmos-memory-map-123.asp
|
||||
* http://wiki.osdev.org/CMOS
|
||||
* https://web.archive.org/web/20170825030728/http://www.intel-assembler.it/portale/5/cmos-memory-map-123/cmos-memory-map-123.asp
|
||||
* https://wiki.osdev.org/CMOS
|
||||
* http://www.walshcomptech.com/ohlandl/config/cmos_registers.html
|
||||
* http://www.fysnet.net/cmosinfo.htm
|
||||
* http://www.bioscentral.com/misc/cmosmap.htm
|
||||
* https://www.fysnet.net/cmosinfo.htm
|
||||
* https://web.archive.org/web/20240119203005/http://www.bioscentral.com/misc/cmosmap.htm
|
||||
*/
|
||||
#pragma pack(push, 1)
|
||||
typedef struct
|
||||
|
||||
@@ -36,9 +36,9 @@
|
||||
|
||||
/**************** HARD DRIVES -- VHD FIXED DISK FORMAT SUPPORT ****************/
|
||||
|
||||
// http://citrixblogger.org/2008/12/01/dynamic-vhd-walkthrough/
|
||||
// http://www.microsoft.com/en-us/download/details.aspx?id=23850
|
||||
// https://projects.honeynet.org/svn/sebek/virtualization/qebek/trunk/block/vpc.c
|
||||
// https://web.archive.org/web/20160131080555/http://citrixblogger.org/2008/12/01/dynamic-vhd-walkthrough/
|
||||
// https://www.microsoft.com/en-us/download/details.aspx?id=23850
|
||||
// https://projects.honeynet.org/svn/sebek/virtualization/qebek/trunk/block/vpc.c (DEAD_LINK)
|
||||
// https://git.virtualopensystems.com/trescca/qemu/raw/40645c7bfd7c4d45381927e1e80081fa827c368a/block/vpc.c
|
||||
// https://gitweb.gentoo.org/proj/qemu-kvm.git/tree/block/vpc.c?h=qemu-kvm-0.12.4-gentoo&id=827dccd6740639c64732418539bf17e6e4c99d77
|
||||
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
|
||||
/* DEFINES ********************************************************************/
|
||||
|
||||
// https://msdn.microsoft.com/en-us/library/windows/desktop/aa363972(v=vs.85).aspx
|
||||
// https://msdn.microsoft.com/en-us/library/windows/desktop/aa363976(v=vs.85).aspx
|
||||
// https://msdn.microsoft.com/en-us/library/windows/desktop/aa363969(v=vs.85).aspx
|
||||
// https://msdn.microsoft.com/en-us/library/windows/desktop/aa365231(v=vs.85).aspx
|
||||
// https://learn.microsoft.com/en-us/windows/win32/api/winioctl/ns-winioctl-disk_geometry
|
||||
// https://learn.microsoft.com/en-us/windows/win32/api/winioctl/ns-winioctl-disk_int13_info
|
||||
// https://learn.microsoft.com/en-us/windows/win32/api/winioctl/ns-winioctl-disk_ex_int13_info
|
||||
// https://learn.microsoft.com/en-us/windows/win32/api/winioctl/ne-winioctl-media_type
|
||||
|
||||
typedef struct _DISK_INFO
|
||||
{
|
||||
|
||||
@@ -458,7 +458,7 @@ DWORD DmaRequest(IN WORD iChannel,
|
||||
ret = min(pDcp->DmaChannel[Channel].CurrElemCnt, length / Size);
|
||||
length = ret * Size;
|
||||
|
||||
/* 16-bit mode addressing, see: http://wiki.osdev.org/ISA_DMA#16_bit_issues */
|
||||
/* 16-bit mode addressing, see: https://wiki.osdev.org/ISA_DMA#16_bit_issues */
|
||||
CurrAddress = (iChannel < 4) ? (DmaPageRegisters[iChannel].Page << 16) | ((pDcp->DmaChannel[Channel].CurrAddress << 0) & 0xFFFF)
|
||||
: (DmaPageRegisters[iChannel].Page << 16) | ((pDcp->DmaChannel[Channel].CurrAddress << 1) & 0xFFFF);
|
||||
|
||||
|
||||
@@ -127,7 +127,7 @@ static VOID WINAPI KeyboardCommand(LPVOID Param, BYTE Command)
|
||||
/*
|
||||
* Unsupported on PC-AT, they are just ignored
|
||||
* and acknowledged as discussed in:
|
||||
* http://stanislavs.org/helppc/keyboard_commands.html
|
||||
* https://stanislavs.org/helppc/keyboard_commands.html
|
||||
*/
|
||||
PS2QueuePush(KbdPS2Port, KEYBOARD_ACK);
|
||||
}
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
* Hermes Belusca-Maito ([email protected])
|
||||
*
|
||||
* DOCUMENTATION: IBM Personal System/2 Hardware Interface Technical Reference, May 1988 (Section 10)
|
||||
* http://wiki.osdev.org/%228042%22_PS/2_Controller
|
||||
* http://www.computer-engineering.org/ps2keyboard/
|
||||
* https://wiki.osdev.org/%228042%22_PS/2_Controller
|
||||
* http://www.computer-engineering.org/ps2keyboard/ (DEAD_LINK)
|
||||
*/
|
||||
|
||||
/* INCLUDES *******************************************************************/
|
||||
@@ -96,7 +96,7 @@ static BYTE WINAPI PS2ReadControl(USHORT Port)
|
||||
* On IBM PC-ATs this is the state of the hardware keyboard
|
||||
* lock mechanism. It is not widely used, but some programs
|
||||
* still use it, see for example:
|
||||
* http://www.os2museum.com/wp/the-dos-4-0-shell-mouse-mystery/
|
||||
* https://www.os2museum.com/wp/the-dos-4-0-shell-mouse-mystery/
|
||||
*/
|
||||
StatusRegister |= PS2_STAT_KBD_ENABLE;
|
||||
|
||||
@@ -300,7 +300,7 @@ static VOID WINAPI PS2WriteData(USHORT Port, BYTE Data)
|
||||
/*
|
||||
* Update the "System enabled" flag of the status register
|
||||
* with bit 2 of the controller configuration byte.
|
||||
* See: http://www.win.tue.nl/~aeb/linux/kbd/scancodes-11.html#kccb2
|
||||
* See: https://aeb.win.tue.nl/linux/kbd/scancodes-11.html#kccb2
|
||||
* for more details.
|
||||
*/
|
||||
if (ControllerConfig & PS2_CONFIG_SYSTEM)
|
||||
@@ -312,7 +312,7 @@ static VOID WINAPI PS2WriteData(USHORT Port, BYTE Data)
|
||||
* Update the "Keyboard enable" flag of the status register
|
||||
* with the "Ignore keyboard lock" flag of the controller
|
||||
* configuration byte (if set), then reset the latter one.
|
||||
* See: http://www.win.tue.nl/~aeb/linux/kbd/scancodes-11.html#kccb3
|
||||
* See: https://aeb.win.tue.nl/linux/kbd/scancodes-11.html#kccb3
|
||||
* for more details.
|
||||
*/
|
||||
if (ControllerConfig & PS2_CONFIG_NO_KEYLOCK)
|
||||
|
||||
Reference in New Issue
Block a user