-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Welcome to the modula-2 XDS wiki
-
Edit modula-2.config.Config-Alien.bsc and modula-2.config.env-Alien.bsc Change at least the file name; replace Alien with the machine name of your system.
-
Unzip binary SDK from https://github.com/excelsior-oss/xds-ide/releases and install it
-
Set your path to include the SDK bin; and set include and lib to point at the MSVC SDK.
-
Download and install NASM
-
Select the 8.1 SDK e.g. "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86 8.1
-
Run the script xdswork.bat
I had to increase the memory in the project heap limits to get everything to compile; I doubled it generally.
The heap limits were set to 12MB I think in the project files; setting them to 128MB or much higher is harmless when you have Gigabytes of memory in a PC; and these are limits; the settings in the source code are so low; the samples do not all compile; so it is worth increasing them.
Alternative plan: (for 2..3) Unzip the XDS zip folder from this repo; that contains the SDK and NASM; add that to your path. I tend to use the compilers in the XDS folder to compile new compilers in the XDS folder. Or more often compile something else.
Testing path etc.
If you type xc or xm you should get the version displayed.
e.g.
O2/M2 development system v2.51 TS (c) 1991-2010 Excelsior, LLC. (build 18.08.2019)
Configuration:
Front end: Modula-2 v2.40
Back end: x86, v1.51
...