Remote Initial Program Load (RIPL orRPL) is a protocol for starting a computer andloading itsoperating system from aserver via anetwork. Such a server runs anetwork operating system such asLAN Manager,LAN Server,Windows NT Server,NovellNetWare,LANtastic,Solaris orLinux.[1]
RIPL is similar toPreboot Execution Environment (PXE), but it uses the Novell NetWare-basedboot method. It was originally developed byIBM.
IBM LAN Server enables clients (RIPL requesters) to load the operating systemsDOS orOS/2 via the802.2/DLC-protocol from theLAN (oftenToken Ring). Therefore, the server compares the clients' requests with entries in its RPL.MAP table. Remote booting DOS workstations viaboot images was supported as early as 1990 by IBM LAN Server 1.2 via its PCDOSRPL protocol. IBM LAN Server 2.0 introduced remote booting of OS/2 stations (since OS/2 1.30.1) in 1992.
For DOS remote boot to work, the RPL boot loader is loaded into the client's memory over the network before the operating system starts. Without special precautions the operating system could easily overwrite the RPL code during boot, since the RPL code resides in unallocated memory (typically at the top of the availableconventional memory).[2][3][4] The RPL code hides and thereby protects itself from being overwritten by hookingINT 12h[5][4] and reducing the memory reported by this BIOS service by its own size. INT 12h is used by DOS to query the amount of available memory when initializing its own real-mode memory allocation scheme.[5][4] This causes problems on more modern DOS systems, where free real-mode address ranges may be utilized by the operating system in order torelocate parts of itself andload drivers high, so that the amount of available conventional memory is maximized. Typically, various operating system vendor and version specific "dirty tricks" had to be used by the RPL code in order to survive this very dynamic boot process[2] and let DOS regain control over the memory occupied by RPL once the boot is complete in a seamless manner.
SinceMS-DOS/PC DOS 5.0 andDR DOS 6.0, the operating system checks if the RPL has hookedINT 2Fh by looking for a "RPL" signature at the code pointed to by INT 2Fh. If present, DOS calls INT 2Fh/AX=4A06h[3][4][6] to retrieve the amount of memory from the RPL and integrate it into its own memory allocation, thereby protecting the RPL code from being overwritten by other programs.[3][4] Still, it remained the RPL's difficult responsibility to cleanly remove itself from memory at the end of the boot phase, if possible.
In addition to this "RPL" interface, DR DOS 6.0 and higher since 1991 support a more flexible extension named "RPLOADER".[7][4] If DR DOS detects the presence of RPLOADER rather than RPL only, it starts to issue INT 2F/AX=12FFh/BX=0005h[3][7][4] broadcasts at certain critical stages in the boot process.[3][7][4] The RPL code can use them to relocate itself in memory (in order to avoid conflicts with other resident software or to avoidmemory fragmentation when the RPL memory is freed later on), or to hook into and better integrate with the operating system in order to perform its final cleanup tasks in a well-defined and coordinated manner through a robust and supportedbackend interface rather than mere hacks.[3][7][4] This helps to improve compatibility without having to adapt the RPL code with each new version of the operating system, and it avoids unnecessary memory fragmentation and thereby increases available memory for DOS programs to run. The interface can also be utilized to run DR DOS as a task under a host operating system such asConcurrent DOS.[6]
Since 2018,RxDOS 7.24 supports the "RPLOADER" broadcasts as well.[8]