Giter VIP home page Giter VIP logo

vscode-dosboxx's Introduction

VSCode-DosboxX

My setup for compiling and running Turbo Pascal, TASM & A86 programs in DosBoxX (on a Mac)

What is this?

  • This allows you to to build and run old DOS-based compilers in DosBoxX from within VS Code.
  • It define is a build task that runs a script file within DosBoxX
  • Based on the file-ending different compilers will be launched
    • Turbo Pascal (.PAS)
    • TASM (.ASM)
    • A86 Assembly (.A86)
  • The compiled files will be moved in an output directory
  • You can run or debug the compiled files (or any .COM or .EXE file)
  • Inside DosBoxX you can also call "CC [filename]" to start the script that the build task uses

VSCode & DosBoxX

What you need

  • DosBoxX
  • 4DOS installed inside DosBoxX
  • The proper paths defined in the AUTOEXEC.BAT
  • Old compilers, e.g. Turbo Pascal 7.0, TASM 5, TD 3.2, A86 (look at archive.org)

How to configure

  • Create a DOS folder
  • Add your compilers in there
  • Add 4DOS in there
  • Configure your PATHs in the AUTOEXEC.BAT
  • Copy the CC.BTM in the DOS folder
  • Add the build task to VSCode
  • Add the workspace.json to the DOS folder
  • Install DosBoxX (e.g. via brew)
  • Configure DosBoX
    • Set 4DOS.COM to be the command shell
    • Add 4DOS Settings
[4dos]
ColorDir = com exe bat btm: BRI WHI; dir: BRI BLUE
AppendToDir = Yes
BeepLength = 0
EditMode = Insert
CursorIns = -1
AmPm = No
BatchEcho = No
Environment = 2048

vscode-dosboxx's People

Contributors

lennarthennigs avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

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.