Added lots of stuff

Added stuff to vfs + Dockerized the compilation & added some vscode cfg.
This commit is contained in:
2021-06-20 02:49:56 +01:00
parent 1dca0d18e2
commit bd9fbd2da6
7 changed files with 226 additions and 8 deletions
+20
View File
@@ -0,0 +1,20 @@
{
"configurations": [
{
"name":"Run",
"request": "launch",
"type": "coreclr",
"preLaunchTask": "Build",
"program": "VBoxSDL",
"args": [
"--comment",
"Asuro",
"--startvm",
"7d395c96-891c-4139-b77d-9b6b144b0b93"
],
"cwd": "${workspaceFolder}",
"console": "internalConsole",
"internalConsoleOptions": "neverOpen"
}
]
}
+31
View File
@@ -0,0 +1,31 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "2.0.0",
"tasks": [
{
"label": "Build",
"command": "docker-compose",
"args": [
"run",
"builder"
],
"type": "shell",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Build (Builder)",
"command": "docker-compose",
"args": [
"build",
"builder"
],
"type": "shell"
}
]
}
+18
View File
@@ -0,0 +1,18 @@
FROM ubuntu:latest
VOLUME ["/code"]
RUN dpkg --add-architecture i386 && \
apt-get update
RUN apt-get install nasm curl make:i386 binutils:i386 xorriso grub-pc-bin -y
RUN apt-get clean
RUN curl https://sourceforge.net/projects/freepascal/files/Linux/2.6.4/fpc-2.6.4.i386-linux.tar/download --output fpc.tar -L && \
tar -xf fpc.tar
WORKDIR ./fpc-2.6.4.i386-linux
RUN ./install.sh
COPY compile.sh /compile.sh
RUN mkdir /code
WORKDIR /code
ENTRYPOINT ["/compile.sh"]
+1 -1
View File
@@ -101,7 +101,7 @@ echo " "
echo "======================="
echo " "
cp Asuro.iso ~/host/Asuro.iso
#cp Asuro.iso ~/host/Asuro.iso
cp Asuro.iso release/Asuro.iso
checksum=$(md5sum release/Asuro.iso | awk '{print $1}')
+6
View File
@@ -0,0 +1,6 @@
version: "3.9"
services:
builder:
build: .
volumes:
- .:/code
File diff suppressed because it is too large Load Diff
+24
View File
@@ -0,0 +1,24 @@
unit asuro;
interface
const
VERSION = '1.1.0-a';
VERSION_MAJOR = '1';
VERSION_MINOR = '1';
VERSION_SUB = '0';
REVISION = '';
RELEASE = 'a';
LINE_COUNT = 33270;
FILE_COUNT = 106;
DRIVER_COUNT = 34;
FPC_VERSION = '2.6.4';
NASM_VERSION = '2.14.02';
MAKE_VERSION = '4.2.1';
COMPILE_DATE = '20/06/21';
COMPILE_TIME = '01:26:22';
CHECKSUM = '7f99140bf11cfd367c86bca3e44db0d9';
implementation
end.