From: utzoo!decvax!ucbvax!ARPAVAX:C70:info-cpm Newsgroups: fa.info-cpm Title: Article-I.D.: ucb.2095 Posted: Fri Oct 8 00:24:30 1982 Received: Tue Oct 12 00:04:51 1982 >From tj@Okc-Unix Fri Oct 8 00:24:07 1982 when cp/m reads in a .COM file to execute, the command line which was used (excluding the accual file name) to invoke this is placed at 0x80. the first byte (0x80) indicates how many bytes following this (0x81 to 0xff) came from the original command line. also, the first two arguments in the command line are assumed to be files and cp/m creats two File Control Blocks (I for get the accual address, somewhere between 0x40 and 0x80) thus making it convenient for the new program to go and muck with either of these two files. the FCB's overlap, so only one can be used. if you want to use both, one has to be moved someplace else. invoke DDT with come bogus arguments and then tell it to display the base page. the format it simple. so, what it seems you'll have to do is manually set the base page up each time, or else set it up once, move that part to 0x100, G0, save 1 foo (or is it save foo 1?)(blast SDOS!) and then read in foo each time and move it back to base page. cal