johangardhage/dos-bcdemos
Über uns
Retro programming in Borland C++ 3.1
Design und MedienGemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
Originaldos-bcdemos
Retro programming in Borland C++ 3.1

Prerequisites
To build and run the Borland C++ demos, you must first install the following tools:
Install DOSBox Staging
Ubuntu
$ sudo add-apt-repository ppa:feignint/dosbox-staging
$ sudo apt update
$ sudo apt install dosbox-staging 7zip
macOS
$ brew install dosbox-staging sevenzip
Configuration
When starting dosbox-staging the first time, the configuration file dosbox-staging.conf will be generated in
- Ubuntu:
~/.config/dosbox/dosbox-staging.conf - macOS:
~/Library/Preferences/DOSBox/dosbox-staging.conf
Install Borland C++
Download Borland CPP 3.1 and Application Frameworks (1992) (3.5-1.44mb).7z
$ curl -o "Borland CPP 3.1 and Application Frameworks (1992) (3.5-1.44mb).7z" "https://dl.winworldpc.com/Borland%20CPP%203.1%20and%20Application%20Frameworks%20(1992)%20(3.5-1.44mb).7z"Extract the downloaded Borland C++ archive
$ 7zz x "Borland CPP 3.1 and Application Frameworks (1992) (3.5-1.44mb).7z"Extract the Borland C++ disk images
$ cd "Borland CPP 3.1 and Application Frameworks (1992) (3.5-1.44mb)"/ $ for i in *.img; do echo $i; 7zz x -y -obcsetup $i; doneMove the extracted files to the DOS C: drive
$ mkdir -p ~/DOSBox $ mv bcsetup ~/DOSBox/Configure DOSBox Staging
Edit
dosbox-staging.conf(see Configuration) and add the following autoexec options[autoexec] mount c ~/DOSBox path %PATH%;C:\BORLANDC\BIN c:To run the demos at about the speed of a 486 DX2-66, set the following settings
[dosbox] machine = svga_paradise vmem_delay = off [cpu] core = auto cputype = auto cpu_cycles = 50000 cpu_throttle = offStart
dosbox-stagingand execute the Borland C++ installation program$ dosbox-staging C:\> cd bcsetup C:\BCSETUP> install.exeIn the installation program, select the following options
Enter the SOURCE drive to use: C Enter the SOURCE Path: \BCSETUP Windows Options... WINDOWS Capability: No Start Installation
Build demos
Link the dos-bcdemos git repository to the DOS C: drive
$ ln -s ~/git/dos-bcdemos ~/DOSBox/bcdemos
Build demos from DOS terminal
Execute build script
C:\BCDEMOS> buildall.batThe demos will be located in the
C:\BCDEMOS\BUILDdirectoryRun demo
C:\BCDEMOS> build\demo01.exe
Build demos from Borland C++ IDE
Start Borland C++ IDE
C:\BCDEMOS> bcConfigure Borland C++
Press
ALT+Ofor optionsSelect
Directoriesand type in the following directoriesInclude Directories: C:\BORLANDC\INCLUDE;C:\BCDEMOS\SRC Library Directories: C:\BORLANDC\LIB Output Directory: C:\BCDEMOS\BUILDSelect
Debuggerand the following optionsProgram Heap Size: 512 K BytesSelect
Environment,Preferencesand the following options[ ] Auto-SaveSelect
Environment,Editorand the following options[ ] Create backup filesSelect
SaveOpen demo source file
Press
F3to open fileBuild demo source file
Press
F9to build fileRun demo
Press
ALT+RandRto run demo
License
Licensed under MIT license. See LICENSE for more information.
Authors
- Johan Gardhage
- Original code written by Ben Houston
Screenshots

Ähnliche Projekte entdecken
Wird geladen…