22 January 2024, 14:57 | #21 |
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,451
|
Well, if you look for example at the evolution of DPaint, then it had used some form of "overlay management" in (almost) every version. The first versions used the MANX overlay manager. The last version used external libraries, one library for CPU blitting, another library for custom-chip blitting. The net effect of these two designs is identical: You only load the program code needed, and leave the unused code just sitting on disk "in case".
However, the library solution has a drawback: You can no longer just move the program around on your harddisk, you need to copy it along with the libraries. Or store the libraries in LIBS: However, as the API of these libraries is private and undocumented, they are of no use for any other program - it is somehow the wrong answer for the problem EA wanted to solve (despite falling RAM prices), namely to use system RAM wisely. With overlays, the entire program code is kept nicely together in a single place, and there is no need to clutter the application directory with private libraries nobody else is able to use anyhow. |
22 January 2024, 17:44 | #22 |
Moderator
Join Date: Sep 2004
Location: France
Age: 51
Posts: 4,277
|
EOB2 main game file use OVERLAY structure (which caused me some problems resourcing the game code)
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hunks | BippyM | Coders. General | 42 | 27 May 2022 02:02 |
Purple Overlay to screen | SteveE | support.Hardware | 2 | 12 March 2011 23:48 |
Overlay effect | MrX_Cuci | request.UAE Wishlist | 15 | 30 June 2010 17:35 |
Amiga Exe Hunks | heavy | Coders. General | 4 | 16 August 2007 00:20 |
AmigaDOS hunks documentation & HUNK_OVERLAY | AmiGer | Coders. General | 2 | 06 February 2004 08:00 |
|
|