Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Slave interface  





2 History  





3 Features  



3.1  How WHDLoad works  







4 Requirements  





5 References  





6 External links  





7 See also  














WHDLoad






Deutsch
Magyar
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


WHDLoad is a software package for the Amiga platform to make installation of software to a hard disk easier, for such things as demosorgames.[1][2][3] Allowing for better compatibility for Amiga software, which can sometimes have hardware incompatibilities making them hard to use in emulated environments due to the widely varying hardware specifications of the Amiga product line across its history. WHDLoad basically circumvents the operating system in the Amiga for greater compatibility and preserves the original program environment.

WHDLoad makes it possible to autostart an installed floppy disk image by clicking an icon.

Two special parts are required, each one specially written for the client program: To install media, it must be read from the original disk and written to an image file on the hard drive by the "Imager". Then the installed program can be run from a virtual disk drive with the "Slave" interface.

Slave interface[edit]

The "Slave" interface allows interaction between the program and WHDLoad, and co-ordinates the reading and writing of files. This makes it possible to run or emulate programs that are traditionally incompatible with common emulators such as WinFellow, or WinUAE. WHDLoad can be easier to use than trying to figure out the exact configuration for the aforementioned emulators as well.

History[edit]

The primary reason for this loader is that a large number of computer games for the Amiga don't properly interact with the AmigaOS operating system, but instead run directly on the Amiga hardware, making assumptions about specific control registers, memory locations, etc. The hardware of newer Amiga models had been greatly revised, causing these assumptions to break when trying to run the same games on newer hardware, and vice versa with newer games on older hardware. WHDLoad provides a way to install such games on an AmigaOS-compatible hard drive and run on newer hardware. An added benefit is the avoidance of loading times and disk swaps, because everything the game needs is stored on the hard drive.

The first public release of WHDLoad was on September 5, 1996, and the latest available version is 18.8 released in May 2022.

Features[edit]

WHDLoad takes over the entire operating system which may cause problems with some software (e.g. TCP/IP stack),[4] but quitting the game or demo restores the system back into its normal working state.

WHDLoad games are stored on the AmigaOS file system as disk images, relying on driver files known as "WHDLoad slaves" to work. These slave files are freely available from the Internet (asFreeware), but the games themselves have to be acquired separately, to prevent software piracy. Additionally, many fans have made their own freeware games, which are also freely, and legally, available.

How WHDLoad works[edit]

The WHDLoad "Slave" interface is integrated into the OS in such way that one can double-click a program icon to run the program at any time. When the user executes the program, by clicking a stored image icon, the AmigaOS operating system loads the WHDLoad executable and starts it. Then the loader checks the software and hardware environment, loads and checks the Slave interface required for that chosen demo or game and allocates required memory for the installed program. If the Preload feature is enabled into the requester page of WHDLoad, then the program attempts to load disk images and files into RAM (insofar as free memory is available).

At this point WHDLoad performs its main task of switching off the AmigaOS operating system, disables multitasking and interrupts, and copies memory regions which are used by AmigaOS and required by the installed program to an unused place until the AmigaOS is needed again.

WHDLoad also degrades the graphics hardware to OCS on original Amiga machines (this function actually can work also on emulated Amigas, but only on newer versions of WinUAE which recognizes WHDLoad and preserves its interrupts), then WHDLoad initializes all hardware with defined values and jumps into the Slave interface required for the program in question.

The Slave interface loads the main executable of the installed program by calling a WHDLoad function (resload_DiskLoadorresload_LoadFile), then patches the main executable (so that the loaded program will be capable of loading its data stored into the hard disk via the Slave, in order to fix compatibility problems, and to enable an exit from the program) and calls the main executable.

At this point, the program that has been installed can perform the task for which it has been written, loading its data as it would from a real floppy disk.

Users can break the execution of the loaded program by way of a "Quit" key (usually F10). When this action is performed, then the Slave interface returns to WHDLoad by calling a resload_Abort internal function.

The OS will be restored with all hardware registers and original display. The memory and all allocated resources are left free for any further usage.

Requirements[edit]

A standard Amiga 1200orAmiga 600 without any extra memory, will only work with a limited number of games. Which usually means games using OCS/ECS and one floppy disk. It is recommended to install either a 4 MBor8 MB RAM Board in the trapdoor slot to ensure compatibility for 99% of the games.

A harddisk is required, the number of games that can be installed depend on the size of the harddisk.

References[edit]

  1. ^ Drummond, Richard (May 2000). "AFCD52, Retro Gaming". Amiga Format. No. 136. Future Publishing. p. 69. ISSN 0957-4867.
  • ^ Kasík, Pavel (October 1998). "WHDLOAD V7.0". Amiga Review (in Czech). No. 37. Atlantida Publishing. p. 25. ISSN 1211-1465.
  • ^ Topolnicky, Peter (September 2006). "WHDLoad". Amiga Future (in German). No. 62. APC&TCP. p. 29.
  • ^ Topolnicky, Peter (November 2006). "Workshop: WHDLoad". Amiga Future (in German). No. 63. APC&TCP. pp. 40–41.
  • External links[edit]

    See also[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=WHDLoad&oldid=1115811059"

    Categories: 
    Amiga emulation software
    AmigaOS
    Hidden categories: 
    CS1 Czech-language sources (cs)
    CS1 German-language sources (de)
    Articles with short description
    Short description matches Wikidata
    Articles needing additional references from August 2016
    All articles needing additional references
     



    This page was last edited on 13 October 2022, at 09:43 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki