Coder Social home page Coder Social logo

pl-m-80-tools's Introduction

PLM-80-Tools

Cross-compilation tools PL/M for 8080.

Based on: C ports of PL/M 80 and Fortran applications Copyright (C) 2020 Mark Ogden [email protected]. https://github.com/ogdenpm/c-ports.git

Modified programs have been assigned new versions, so that there is no confusion.

The code is adapted for the Open WATCOM compiler.

For compilation the sources code request environment variable 'WATCOM'. If the environment variables are not set, then you need to set the 'DRIVE' variable in the file MAKE.BAT, specifying the disk with the WATCOM compiler installed.

New features:

ASM80:

  • Fixed all found errors.
  • The maximum file name is now 8 characters. In the original - 6 characters.
  • The maximum length of identifiers is 18 characters. In the original - 6 characters.
  • The '_' character is allowed in identifier names.
  • The stack of identifiers has been increased from 8 to 16 elements. This allows you to specify more elements in one line of the directives 'DB' and 'DW'.
  • File paths are set via environment variables, such as :F1: - :F9:, as it was done in the original compiler from Intel, for the ISIS system.
  • Works correctly with Russian ascii characters.
  • Return results in ERRORLEVEL.
  • Print to screen source file name.
  • Fixed bug with opening a file in UPDATE mode.
  • Fixed a bug in the XREF module.
  • Support for source code files in UNIX format.
  • Added help output on compiler options.

LINK:

  • Fixed all found errors.
  • The ability to transfer parameters via a file. Example: link @:f1:fileparams.txt
  • The maximum file name is now 8 characters.
  • Return results in ERRORLEVEL.
  • Print to screen source file name.

LOCATE:

  • Fixed all found errors.
  • The maximum file name is now 8 characters.
  • Return results in ERRORLEVEL.
  • Print to screen source file name.

OBJCPM:

  • Support for paths as in ISIS-II
  • The maximum file name is now 8 characters.
  • Return results in ERRORLEVEL.

PLM80:

  • Fixed all found errors.
  • The maximum file name is now 8 characters.
  • Added two words: 'Break' and 'Continue', for cycles.
  • The '_' character is allowed in identifier names, as in PL/M-286.
  • The page length for the listing file has been expanded from 255 to 65535 lines.
  • Works correctly with Russian ascii characters.
  • File paths are set via environment variables, such as :F1: - :F9:, as it was done in the original compiler from Intel, for the ISIS system.
  • Return results in ERRORLEVEL.
  • Print to screen source file name.
  • Added a new cycle DO-UNTIL to the language.
  • Increased the working memory of the compiler, for large source code programs.
  • Increased the maximum size of strings defined via the LITERALLY directive from 256 to 4096 characters.
  • Increased the number of elements in structures from 32 to 256.
  • Added help output on compiler options.

PS: File SETENV.BAT make PLM80 environment. My all PL/M-programs request this variable for compilation.

pl-m-80-tools's People

Contributors

mrdemonid avatar

Stargazers

Alexandr avatar Sylvain Maltais avatar  avatar Cronomantic avatar Oleg N. Cher avatar

Watchers

Oleg N. Cher avatar  avatar  avatar

Forkers

prokushev

pl-m-80-tools's Issues

OBJCPM reports "bad record" on ED.PLM and SUBMIT.PLM

--- output ---
ISIS-II PL/M-80 COMPILER V5.0
:F1:ed.plm
PL/M-80 COMPILATION COMPLETE. 0 PROGRAM ERRORS

ISIS-II OBJECT LINKER V4.0
ISIS-II OBJECT LOCATER V4.0
INPUT: :F4:ed
Error: bad record!

ISIS-II PL/M-80 COMPILER V5.0
:F1:submit.plm
PL/M-80 COMPILATION COMPLETE. 0 PROGRAM ERRORS

ISIS-II OBJECT LINKER V4.0
ISIS-II OBJECT LOCATER V4.0
INPUT: :F4:submit
Error: bad record!

---- compilation script ----

SET :F1:=src\ed
plm80 :F1:ed.plm pagewidth(80) debug object(:F2:ed.obj) print(:F5:ed.lst)
link :F2:mcd80a.obj,:F2:ed.obj,:F3:plm80.lib to :F2:ed.mod
locate :F2:ed.mod to :F4:ed code(0100H) stacksize(100)
objcpm :F4:ed

SET :F1:=src\submit
plm80 :F1:submit.plm pagewidth(100) debug optimize object(:F2:submit.obj) print(:F5:submit.lst)
link :F2:mcd80a.obj,:F2:submit.obj,:F3:plm80.lib to :F2:submit.mod
locate :F2:submit.mod to :F4:submit code(0100H) stacksize(100)
objcpm :F4:submit

---- source code ----

https://github.com/prokushev/micro-80-cpm

Any ideas whats wrong? In LST files nothing strange. All as usual.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.