POV-Ray : Newsgroups : povray.off-topic : Dynamic loading : Re: Dynamic loading Server Time
29 Jul 2024 20:27:45 EDT (-0400)
  Re: Dynamic loading  
From: clipka
Date: 20 May 2011 09:00:46
Message: <4dd665fe$1@news.povray.org>
Am 20.05.2011 10:12, schrieb Invisible:

>> A COM file is raw machine code without any headers, at least on CP/M. A
>> COM file was executed by reading it into 0x100 and branching to 0x100.
>
> That appears to be the case for MS-DOS as well. (I know gasm has a "COM
> output" option which appears to match this description.)

I'm not exactly sure, but AFAIR the MS-DOS COM files had a small header 
before the actual code. (That one was simply copied into memory as well 
though.)

MS-DOS also didn't place COM files at address 0x100, but rather at a 
fixed offset in an arbitrary segment.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.