About...

This page describes what I have to offer on this site for Modula-2 programs and programming. I am a great admirer of Professor Wirth and I show it. Lately I have been aquiring his older books (mostly out of print by now) through Amazon.de and other webrelated book sites.
Read all about it in the section called 'Literature' in the links on the right.

Programming in Modula-2.

On the left, you see a lecture of Niklaus Wirth, the inventor of Pascal, Modula-2, Oberon and lots of other goodies. Mr Wirth was born in 1934 and is now a retired professor in computer sciences. We owe him a lot. Click on his picture to read more about him. I have found his birthdate so we ought to send him postcards for his birthday every year from now on. In the movie he kicks some ass...
He may not have invented all, but he saw things and picked them up. Later he applied these things in his own products. He was strongly influenced by what he saw at Xerox Palo Alto Labs (among which were the mouse and the graphical display). But instead of seeing and forgetting, he remembered it and designed his Lilith computer around these (now common) technologies.

Below you see a list with projects I finalised in Modula-2. If you want to know more of a specific project, just click on the related link in the navigator frame. Have fun. If you find a dead link or other error in the site or the software, please send me a short E-mail describing the problem and I will try to fix it ASAP.

Send your mail to the address in the navigator frame on the right.


Retyped the first 4 chapters of Systematic Programming. Marvelous book, especially when you realize the book is 35 years old! And still going strong.......

Published the banquet speech which makes me glad...

QC section

This is a neat program. Never been used. Ushio went bankrupt before I could introduce it. Late again.

The Parino ctrl topic also is an example of how the VGAlib3 libraries were meant to be used. See it in the VGAlib3 section.

'VGA example' is a demonstration of how to use the VGAlib3 functions in an easy way. See it in the VGAlib3 section.

In the Ruler section I explain how to make calibrated quality control tools with just about any (cheap) laserprinter.

In LDS04 I tried to make a disk recovery program. I did not finish it. Might be a nice job for you.

The program that was made while at Ushio for calculating coiling data of lamp filaments is published. Read all about it in the topic on the right.

I ported the Soup and Emit programs to DOS. These programs were originally written for Linux with the Mocka compiler but were so handy that I just needed to have them under DOS as well.

I made the VGAlib3 library to be able to use graphical functions easily from Modula-2.

The SOAP project also is a nice example for using the functions of VGAlib3.
SOAP is about making a datalogger on the LPT port with using a fully graphical user interface.

If you want to know more about Soap design check out this link. It puts a voltmeter on screen. Text only mode. But it explains about hardware interfacing.

Every HP Laserjet compatible printer (like my trusty old Brother HL-4Ve) is able to understand HPGL plotter commands. You only need to switch the machine into HPGL mode and back again.

This file is an example of how to use a high level language for producing high volumes of production administration sheets in the shortest time.

The BEPPY interface is for programming EEPROM's via a standard LPT port under DOS. This source is in Modula-2 too.

I learned myself Modula-2 with the Coronado tutorial It's a great course for self-study. And I have it on this site! Download it now!

I switched to Slackware Linux and now I need to program for that OS. So I downloaded the MOCKA Modula-2 compiler from Karlsruhe University. Mocka is a real GPL style Free compiler and you can follow me get experienced in these pages.

Mailinglists and webrings.

The Modula-2 WebRing

The Modula-2 webring

List all     Random     Previous     Next     Join

The Modula-2 headquarters.

Home of the Mocka compiler

How to get a Modula-2 compiler:

For all platforms at once (Linux, Unix, Mac, Windows, DOS):

The days of native compilers is over. Why produce code that will only run on 1 processor and one operating system? That's so 1970! Now that we have the Java Virtual Machine and a compiler that spits out Java Source code as intermediate language, this is the way to go. Read all about it in the MHC Modula-2 Compiler section.

For DOS and Windows:

I sincerely recommend the FST Modula-2 compiler. This is freeware and can be downloaded from this site. I made a lot of libraries for this DOS- compiler, all of which can also be downloaded from this site. Using all this, you can be going within hours from now at almost zero cost. You have to print some documentation and if you're not fluent in Modula-2 yet, you might consider studying the Coronado tutorial on Modula-2. Just click on the DOWNLOAD option in the navigatorframe.

For Linux or FreeBSD:

GNU M2 is a downright disaster to work with. It translates Modula-2 source into GCC source, but only for ONE archaic version. You need to install hours on end to find out that what you got, is the same value as what you donated to the lavatory last morning.
In the US there is the XDS compiler. It is a russian development, but marketed from the USA, as I understand it. The XDS compiler is very well endowed. It has masses of libraries and ready made functions. Plus utillities to convert C-style '.H' files to Modula-2 style 'DEFINITION MODULE's. But there's a drawback: XDS is good, but it's not GPL and hence not really FREE. You can get the XDS compiler via the Modula-2 headquarters (see above).
So I decided to go for the Mocka compiler from Karlsruhe University. Mocka IS really GPL-Free. It comes with the sources of everything: compiler, libraries, scripts, everything. You can get the Mocka compiler from the link above. Check out version 0608m which was handcrafted by Dr Maurer of Freie Universitaet Berlin. It even has routines and libraries for creating X Windows programs.

Books about Modula-2:

The Modula-2 bible by K.N. King. Alternative sources for information about Modula-2:


Page created in 2002,

Page equipped with googleBuster technology