For compile Microwindows for DOS & TURBO C
|
For compile Microwindows for DOS & TURBO C
|
you should have the following:
|
you should have the following:
|
====================================================
|
====================================================
|
1. Microwin 0.87 - microwindows.censoft.com
|
1. Microwin 0.87 - microwindows.censoft.com
|
2. Turbo C++ ver. 1.0 or Borland C ver. 3.1
|
2. Turbo C++ ver. 1.0 or Borland C ver. 3.1
|
|
|
|
|
You should do the following:
|
You should do the following:
|
----------------------------
|
----------------------------
|
|
|
- copy mwin-tcn.prj to microwin\src\
|
- copy mwin-tcn.prj to microwin\src\
|
- copy mwin-tcw.prj to microwin\src\
|
- copy mwin-tcw.prj to microwin\src\
|
|
|
- run tc or bc IDE
|
- run tc or bc IDE
|
- load the project
|
- load the project
|
|
|
|
|
You should check the next:
|
You should check the next:
|
-------------------------
|
-------------------------
|
|
|
- correct paths
|
- correct paths
|
- settings defines in :
|
- settings defines in :
|
options | compiler | code generation - defines :
|
options | compiler | code generation - defines :
|
|
|
ERASEMOVE=1;
|
ERASEMOVE=1;
|
MSDOS=1;
|
MSDOS=1;
|
DOS_TURBOC=1;
|
DOS_TURBOC=1;
|
|
|
|
|
MAKE !
|
MAKE !
|
====================================================
|
====================================================
|
|
|
- mwin-pcw.prj = mwin demo
|
- mwin-pcw.prj = mwin demo
|
- mwin-pcn.prj = nanox demo
|
- mwin-pcn.prj = nanox demo
|
|
|
For nanox add next defines:
|
For nanox add next defines:
|
NONETWORK=1;
|
NONETWORK=1;
|
SCREEN_PIXTYPE=PF_PALETTE;
|
SCREEN_PIXTYPE=PF_PALETTE;
|
|
|
|
|
! NOT all demos have been tested.
|
! NOT all demos have been tested.
|
====================================================
|
====================================================
|
|
|
The project for mwin demo must have next files:
|
The project for mwin demo must have next files:
|
|
|
\DEMOS\MWIN\DEMO.C
|
\DEMOS\MWIN\DEMO.C
|
\DRIVERS\GENFONT.C
|
\DRIVERS\GENFONT.C
|
\DRIVERS\KBD_TC.C
|
\DRIVERS\KBD_TC.C
|
\DRIVERS\MOU_DOS.C
|
\D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CS1.C
|
|
|
The project for nanox demo must have next files:
|
The project for nanox demo must have next files:
|
|
|
\DEMOS\NANOX\DEMO.C
|
\DEMOS\NANOX\DEMO.C
|
\DRIVERS\GENFONT.C
|
\DRIVERS\GENFONT.C
|
\DRIVERS\KBD_TC.C
|
\DRIVERS\KBD_TC.C
|
\DRIVERS\MOU_DOS.C
|
\DRIVERS\MOU_DOS.C
|
\DRIVERS\SCR_TC.C
|
\DRIVERS\SCR_TC.C
|
\FONTS\ROM8X16.C
|
\FONTS\ROM8X16.C
|
\FONTS\ROM8X8.C
|
\FONTS\ROM8X8.C
|
\FONTS\WINFRE~1.C
|
\FONTS\WINFRE~1.C
|
\ENGINE\DEVCLIP.C
|
\ENGINE\DEVCLIP.C
|
\ENGINE\DEVDRAW.C
|
\ENGINE\DEVDRAW.C
|
\ENGINE\DEVKBD.C
|
\ENGINE\DEVKBD.C
|
\ENGINE\DEVMOUSE.C
|
\ENGINE\DEVMOUSE.C
|
\ENGINE\DEVPAL1.C
|
\ENGINE\DEVPAL1.C
|
\ENGINE\DEVPAL2.C
|
\ENGINE\DEVPAL2.C
|
\ENGINE\DEVPAL4.C
|
\ENGINE\DEVPAL4.C
|
\NANOX\SRVEVENT.C
|
\NANOX\SRVEVENT.C
|
\NANOX\SRVFUNC.C
|
\NANOX\SRVFUNC.C
|
\NANOX\SRVMAIN.C
|
\NANOX\SRVMAIN.C
|
\NANOX\SRVUTIL.C
|
\NANOX\SRVUTIL.C
|
\NANOX\STUBS.C
|
\NANOX\STUBS.C
|
|
|
====================================================
|
====================================================
|
Victor Rogachev
|
Victor Rogachev
|
|
|