Re: Gamma Function

From: N:dlzc D:aol T:com \(dlzc\) (net_at_nospam.com)
Date: 09/11/04


Date: Fri, 10 Sep 2004 17:04:31 -0700

Dear D. Baruth:

"D. Baruth" <danb@iging.com> wrote in message
news:a15d408.0409101242.2785919c@posting.google.com...
> "Androcles" <androc1es@nospamblueyonder.co.uk> wrote in message
> news:<3s70d.4075$FF7.41141383@news-text.cableinet.net>...
...
>> | There's a real barrier between DOS and Windows:
>> | DOS is a real 16 bit operating system, Windows a 32 bit operating
>> | system running in protected mode. Windows runs DOS programs
>> | in "Virtual 8086 mode", thus capturing all direct interrupt and port
>> | accessing requests for internal processing.
>>
>> Of course. However, the algorithm I provided was written in C and
>> assembler
>> and can easily be recompiled to suit a 32-bit system.
>> It is really no different to obtaining a text file into Notepad, pasting
>> this message in and saving it, except the file isn't ASCII.
>
> You don&#8217;t understand. A Windows program cannot be run in DOS
> (or Linux),
> while DOS can be run by Windows. Theoretically, any ANSI C or FORTRAN
> code can be compiled for any operating systems and/or different CPU
> types. Assembly, on the other hand, is bound to particular hardware
> types like
> Intel x86/7 (PC) or Motorola 68x (Mac), but it can interface smoothly
> with
> any computer language.

There are "generic" assembly languages, that are not optimized to
particular architectures. One should not confuse the text, uncompiled
code, for the resultant executable. In fact, C started out to be one such
attempt. If you recall the program dBase II, it was written entirely in
assembly language.

> To transfer a whole Windows program within a DOS program to Windows is
> possible, of course, but it will make the DOS program very large.

Probably wouldn't work either, since Windows programs and DOS programs are
nothing alike in program flow and structure.

> This would
> also be a most inefficient way to spread viruses through Windows.

David A. Smith



Relevant Pages

  • Re: what are the current dos compatible HP printers?
    ... And, as you rightly say, not all DOS programs can be run inside a ... windows printer driver to convert the plain text. ... a computer running a DOS program via its parallel port, ... hardware which will have the parallel port and no usb connection. ...
    (comp.periphs.printers)
  • Re: DOS, how long?
    ... Printers have to be connected by net use commands within a batch-file, ... you don't need any old DOS-machine to execute DOS programs! ... some old interpreters and other programs will not run in Windows XP. ... These programs look and taste like DOS-programs, ...
    (comp.programming)
  • running DOS program on Windows XP
    ... I recently bought a Dell computer with Windows XP ... We have two DOS programs we use frequently. ... can run them in full screen mode. ... Command prompt so that the font is Lucida ...
    (microsoft.public.windowsxp.general)
  • Re: DOS programs under Mac OS X
    ... |almost exclusively under Windows. ... |this is that I want to call the DOS programs from an R ... |possible with DOSbox (which uses Mac OS's file system), ...
    (comp.sys.mac.misc)
  • Re: Print to file from DOS program in Windows
    ... Most printers one buys these days do not seem to print from DOS programs, ... letting Windows render into memory, then feeding the pixels to the ... printer driver for mapping to printer controls. ...
    (soc.genealogy.computing)