GithubHelp home page GithubHelp logo

decocq-stuff / msx-pascal-project-template Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 2.0 2.4 MB

Template build environment for MSX Turbo Pascal with MS Visual Code IDE integration

License: The Unlicense

Batchfile 98.60% Pascal 1.40%
pascal-language turbo-pascal msx msxdos visual-studio-code visual-code pascal-programming hello-world

msx-pascal-project-template's Introduction

msx-pascal-project-template

Template build environment for Turbo Pascal with MS Visual Code IDE integration

This Make script will compile with Turbo Pascal 3.3f to a MSX-dos compatible COM file, even on a Windows 10 machine. It works completely stand-alone, and includes setting files to integrate with MS Visual Code. Runs on Windows Vista and later (tested), probably runs on all NT versions since it also works on ReactOS! Running MAKE.BAT creates a DSK file in the build folder. The included PAS file is a simple Hello World application.

When using MS Visual Code editor, open the folder; the tasks.json has a default build task with problem matcher, so compiler errors are handled (SHIFT+CTRL+B). Install Pascal language from the marketplace for correct formatting (in the settings.json, the .inc file type is already set to be Pascal syntax, you may want to add other file types depending how you call your include files)

(When using the option to create a floppy image .DSK file, you may need a specific Microsoft VC Runtime Library when you receive an error message about a missing DLL)

The project includes: vDOS - https://www.vdos.info

dsktool by Ricardo Bittencourt, Updated 2010 by Tony Cruise

Turbo Pascal 3.3f MSX Computer Club Enschede 1993

msx-pascal-project-template's People

Contributors

decocq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

msxall mteletin

msx-pascal-project-template's Issues

Unexpected compilation errors in DOSBox

A user reported unexpected errors during compilation of an extremely simple and completely legitimate program that just assigned some sprite string values.
Further investigation shows that DOSBox does not handle TP3.exe file reads correctly; the file is read in apparently random chunks.

settings.json error This setting cannot be applied now.

After copying project to new folder, open folder and save as workspace, error:
This setting cannot be applied now. It will be applied when you open this folder directly.
Applies to:L

{
    "files.associations": {
        "*.inc": "pascal"
    }  
}

Using temporary file temp.pas not necessery

now that the DOSComp.bat file is generated at compile time, there is no need to create a temp.pas file. That wuld not work when using Tubro Pascal "overlay" functions anyway so it needs to go.

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.