Amiga development for VCC
2.2K
Docker image for the development of Amiga demos, tools, etc. Many useful tools have been added:
Usage examples.
First clone the repository using git clone [email protected]:pararaum/amigaexamples.git and change into the "amigaexamples" directory. There a simple
docker run -u 1000:uucp -v $PWD:/host -w /host --rm vintagecomputingcarinthia/vbcc4vcc make -C scr
oller
Will build the scroller executables. Enjoy the "scroller3" executable in an Amiga emulator.
In this repository are some examples of Amiga programming: https://github.com/Sakura-IT/. To build the assembler hello world the following can be used:
git clone git clone https://github.com/Sakura-IT/Amiga-programming-examples/
cd Amiga-programming-examples/ASM/HelloWorld/
docker run -u 1000:uucp -v $PWD:/host -w /host --rm vintagecomputingcarinthia/vbcc4vcc vasmm68k_mot -Fhunkexe helloworld.s
docker run -e HOME=/dev/shm -u 1000:uucp -v $PWD:/host -w /host --rm vintagecomputingcarinthia/vbcc4vcc vamos a.out
After cloning the repository and changing into the appropriate directory the binary is build using the assembler, after this it is executed using vamos and the output can be seen on the standard output.
A simple C program, like the following, is saved under the name "testc.c".
#include <stdio.h>
int main(void) {
puts("Hello World!");
return 0;
}
Then use docker run -u 1000:uucp -v $PWD:/host -w /host --rm vintagecomputingcarinthia/vbcc4vcc vc +aos68k -o testc testc.c -lamiga to compile. Again using vamos the correct funtioning can be tested docker run -e HOME=/dev/shm -u 1000:uucp -v $PWD:/host -w /host --rm vintagecomputingcarinthia/vbcc4vcc vamos testc. Putting the executable onto an Amiga disk can be accomplished using the following two commands.
docker run -u 1000:uucp -v $PWD:/host -w /host --rm vintagecomputingcarinthia/vbcc4vcc xdftool disk.adf format "Disk Image"docker run -u 1000:uucp -v $PWD:/host -w /host --rm vintagecomputingcarinthia/vbcc4vcc xdftool disk.adf write testcContent type
Image
Digest
sha256:0f442cd66…
Size
312.1 MB
Last updated
about 1 month ago
docker pull vintagecomputingcarinthia/vbcc4vcc