🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
1 messages
1 total messages Started by Michael D Kretzer Sat, 08 Dec 1990 09:09
Re: Beginner's Questions
#1696
Author: Michael D Kretzer
Date: Sat, 08 Dec 1990 09:09
26 lines
1862 bytes
>1. How can I compile a file that will run under DOS, Windows and OS2?
>  I would like to include EGA resolution graphics with color.  The
>  program also includes BIOS calls.  I set the compiler flags -G2 -Lr
>  -AL(plus many others) and then tried to use the BIND command, but it
>  gave me an invalid executable file error.

        Compiling ONE file that can run under DOS, Windows and OS/2, would
        take some doing and would be very difficult if not impossible if
        you're working with the various Presentation Manager Flavors.
        As far as full-screen programs go (which I assume you are working
        with right now), to write something that would work in OS/2 and DOS,
        you need to use only Family API functions in your program in order
        to use the BIND command, and then you would run it as a DOS program 
        in Windows.  You cannot use BIOS calls (at least the ones that you're
        used to using in DOS) in OS/2, you must translate them to API functions,
        and their ilk if you want to program in OS/2.

>3. Is Emacs(GNU flavor) available?

        Yes, it's available by anonymous ftp on isca.icaen.uiowa.edu,
        they also have several OS/2 binaries and source in a directory
        something like /pub/os2...

>4. Can the OS/2 DOS box be run in a window instead of full-screen?

        As far as I know, you cannot run the OS/2 DOS box in a window.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads