Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joncloud/dos-build-action
DOS Build GitHub action with programs like Borland Turbo C
https://github.com/joncloud/dos-build-action
actions borland dos dosbox turbo-assembler turbo-c turbo-c-plus-plus
Last synced: about 2 months ago
JSON representation
DOS Build GitHub action with programs like Borland Turbo C
- Host: GitHub
- URL: https://github.com/joncloud/dos-build-action
- Owner: joncloud
- License: mit
- Created: 2023-02-20T05:22:42.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-15T23:43:58.000Z (almost 2 years ago)
- Last Synced: 2024-10-31T07:42:18.496Z (2 months ago)
- Topics: actions, borland, dos, dosbox, turbo-assembler, turbo-c, turbo-c-plus-plus
- Language: C++
- Homepage:
- Size: 10.1 MB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# DOS Build GitHub action
This action calls `dosbox-x`, and provides several compilers (like Borland Turbo C) in order to compile in DOS.
## Inputs
### `run`
The contents of a DOS compatible batch file, which is invoked when DOS is first booted.
### `programs`
Mount paths to programs to host in DOS. This should be a multiline string, which is formatted as `SOURCE:TARGET`. For programs that are hosted in this project, use the prefix `$/`.
For example `$/turbo-asm/2.01:c:\tasm` will allow access to the Turbo Assembly v2.01 program contents in `c:\tasm`.
Note that if the `config.json` in the repository has a `PATH` field, then the `PATH` environment variable will get the mounted path included.
Default `""`.
### `conf`
Optional configuration for DOSBox-X. Default `""`.
## Example usage
```yml
- name: 'Build'
uses: joncloud/dos-build-action@v1
with:
run: |
C:
CD SRC
TASM /zi MAIN.ASM
TLINK /v MAIN.OBJ
MAIN.EXE > .\RUN.TXT
programs: |
$/turbo-asm/2.01:C:\TASM
sample:C:\SRC
conf: |
[dosbox]
memsize=256[cpu]
cycles=max
turbo=true
```## Sample Projects
* [joncloud/got](https://github.com/joncloud/got)