Home
  Academia
    Sist.Tiempo Real
      Pascal-FC 2

Language
  English
  Español

  Circuitos IV
  Computación III
  Rad&Propag.
  Tiempo real

On this page:
  Intro
  New primitives
  Changes
  Linux package
  DOS32 package

Realtime Operating System
Pascal FC 2
Professor: Ing. John Coppens
Introduction

We've been using Alan Burns' and G. Davies' Pascal FC compiler as a teaching tool for a few years now, and felt the necessity to have a few more elements available to make the tool more 'likeable' to the students. Particularly, some 'graphic' element would be welcome.

As a first step, I included the gotoxy and clrscr procedures, so that multitasking programs can show text graphics.

The original version of G. Davies and Alan Burns, is still available at this site.

Pascal FC extensions

Primitive Type Description Desde versión
gotoxy(x, y: integer) procedure Allows cursor addressing. X varies from 1 (left) to the width available, and Y from 1 (top) to the height available. 0.9.22
clrscr procedure Clears the entire screen, and leaves the cursor in position 1, 1. 0.9.22

Download - Linux

Package Description
Demos 1 Original example programes from Pascal-FC
gas.pfc Simple demo showing the use of gotoxy/clrscr
pfc2-0.9.24.tar.gz Executables for Linux (with libc) of pfc2 and pfc2int, (compiler and interpreter).
pfc2-0.9.25.tar.gz Executables for Linux (with libc) of pfc2 and pfc2int, (compiler and interpreter).

Download - DOS 32bit packages

Note: These programs are compiled to work with DOS, but need a DOS extender. Most of you will have one running if you have windoze installed. If not, install the free extender below in the directory of pfc2, or in a directory in the search path.

Package Description
Demos 1 Original example programs for Pascal-FC
gas.pfc Simple demo to show off the new gotoxy and clrscr procedures.
pfc2-0_9_24.zip Executables for DOS (32bit) of pfc2 and pfc2int, the compilador and interpreter.
pfc2-0_9_25.zip Executables for DOS (32bit) of pfc2 and pfc2int, the compilador and interpreter.
cwsdpmi.exe DOS extender necessary only if using a 16 bit DOS version.

Change history

0.9.25, 2002-05-06
Added tab expansion.
Corrected an error when actually specifying the source file extension on the command line.
0.9.24, 2002-04-22
Problem corrected:
If a source line ended without ';', then this line was concatenated with the next line, causing syntax errors.
0.9.23, 2002-04-21
Two bugs:
-It wasn't possible to declare more than one real (not sure where this error originated),
-From the original version, unitary negation wasn't functional for real expressions (it did work for integer expressions).
0.9.22, 2002-04-20
First public release. To get here, lots of changes where made to the original source code just to make it compile on a modern compiler. I'm sure a few new bugs sneaked in...
To validate the changed, a few new procedures where added. (gotoxy, y clrscr).
I hope to receive problem reports, so I can continue to improve the compiler. Once the code seems more or less stable, and a little better organized, I'll publish the source code.

(c) John Coppens ON6JC/LW3HAZ mail