2

I've become interested in how the Amiga's LoadSeg() function from dos.library works.

So I'm looking for commented disassemblies of any version of the dos.library from an Amiga ROM or Kickstart etc.

I can find disassemblies of exec.library, ramdrive.device, and disk.resource, but so far nothing that includes dos.library - but I haven't been in the Amiga scene for a long time so other than Google I don't know where to look.

6
  • 1
    I assume there would be a reimplementation in AROS for the dos.library Commented Jul 30 at 14:58
  • @JoakimElofsson Nice idea! I'd still like to see one of the original implementations, but internalloadseg_aos.c is definitely going to be useful in the meantime. Commented Jul 30 at 15:24
  • 2
    Be careful what you wish for :-) dos.library is weird, owing to it being written in BCPL in the Kickstart 1.x series. It was re-written in C for Kickstart 2.0 and later, but I can only imagine how ugly the backward-compatibility would make it look. Commented Jul 30 at 18:06
  • It might be simpler to just disassemble it on an Amiga. LoadSeg()'s jump address appears to be loaded into memory at DosBase-$96.
    – Brian H
    Commented Jul 31 at 0:49
  • @KelvinSherlock Wow that's a weird collection. Lots of non-OS stuff in there and multiple copies of OS stuff. I don't know if it's original old source, late original source from after the acquisitions, or commented disassembly, but LoadSeg() and friends is in there several times. Commented Jul 31 at 3:38

0

You must log in to answer this question.

Browse other questions tagged .