Path: utzoo!utgpu!attcan!uunet!husc6!cmcl2!rutgers!att!ihlpl!knudsen From: knudsen@ihlpl.ATT.COM (Knudsen) Newsgroups: comp.sys.m6809 Subject: Re: TOP project files Summary: Maybe... Keywords: COCO OS9 Message-ID: <7238@ihlpl.ATT.COM> Date: 17 Oct 88 15:43:24 GMT References: <1558@cbnews.ATT.COM> Distribution: na Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 27 In article <1558@cbnews.ATT.COM>, mdk@cbnews.ATT.COM (Shadow) writes: > If you have seen some of the files that were just posted to comp.os.os9 > from the TOP project in Germany, do you think that there are any commands > that could be adapted for use on OS9/6809? Some of the files that I saw > were rename, ttyname, umask, hostname, mdir, info, crypt, etc. I haven't > looked at the code very closely, but do you think that it could be ported? I haven't looked, but to go from OS/K to OS9 the things to look for are: (1) If the source is in C, it's a lot less work than if assembly! (2) Look for system calls of OSK that OS9 lacks. Also for common calls, fix the argument passing conventions. (3) If C source, watch out for machine-dependent things like 32-bit integers and sign extensions and >1 register variable [none of these stop you from porting, but must be checked for when you're really doing it] (4) Memory requirements -- a 68000 can address 16 Megs of RAM, against 64K for 6809. Some mighty BIG programs turn up under OSK. I don't think any of the TOPS utilities listed above would be very big though, even by 6809 standards. -- Mike Knudsen Bell Labs(AT&T) att!ihlpl!knudsen "Lawyers are like handguns and nuclear bombs. Nobody likes them, but the other guy's got one, so I better get one too."