Welcome, Guest. Please login or register.

Author Topic: How can executables work when being thrown into different addresses on 68000 ?  (Read 12811 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline rewlako

  • Newbie
  • *
  • Join Date: Apr 2012
  • Posts: 41
    • Show all replies
The Amiga HUNK file format allows you to have both relative and absolute addressing on the data chunks. A file can contain a combination of many different HUNK types.

In short, when the EXEC loader hits a relocateable chunk (for example HUNK_RELOC32, $000003f7), the contents are loaded into an allocated memory space. The loader then proceeds to work on a lookup-table (also provided by the HUNK file) which contains the addresses to adjust accordingly.
 

Offline rewlako

  • Newbie
  • *
  • Join Date: Apr 2012
  • Posts: 41
    • Show all replies
Quote from: Thomas;765189
There is no such think like an EXEC loader.

Loading modules is a function of  DOS.


You know perfectly well what I mean.