TinyCOBOL

Software Screenshot:
TinyCOBOL
Software Details:
Version: 0.66
Upload Date: 11 May 15
Distribution Type: Freeware
Downloads: 6

Rating: nan/5 (Total Votes: 0)

TinyCOBOL is an open source COBOL compiler for the IA32 (x86) platforms.

Developer comments

This compiler was first implemented for generating a TSR (terminate and stay resident) program under DOS for my family of micro-terminals connected to a PC. The generated code could not be C (at that time), for there was no freely available C compiler for doing the "second phase" translation. I was supposed to generate masm-compatible assembly language.

The compiler was also required to communicate with a tiny multi task, responsible for making the PC console available for other tasks, while doing all processing on the background. So the code had to be fully reentrant (several terminals could be running it at the same time), with a separate stack and variable data segment areas, but with common literal area.

I had to disassemble a 2 feet high pile of listings, to understand how to make this work inside DOS, so no operation (even "pause" key) could make the system unavailable at the background, or the micro-terminals would not run.

The compiler was tiny, and accept only a subset of COBOL 74 standard, but could easily be expanded to full compliance. There were no "MOVE CORRESPONDING" nor "ALTER" statements, as most of COBOL programmers (our customers) didn't require them. There were no report generating functions also, because of the size constraints. We were supposed to run only with the first 640KB of memory, (I couldn't put at that time interrupts servicing outside that space) while leaving sufficient space for running the "foreground" applications.

I hope everyone understands now why this crappy thing had so many restrictions. Now, as we're moving to Linux, we will do much more, as there are none of those restrictions anymore.

Similar Software

Comments to TinyCOBOL

Comments not found
Add Comment
Turn on images!