Compare commits
143
Commits
1.1.3
...
aa0f537b5b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aa0f537b5b | ||
|
|
00a9da42f1 | ||
|
|
9fa1c859ac | ||
|
|
d01b534a3d | ||
|
|
491b0ea5c3 | ||
|
|
de6fde05cc | ||
|
|
fb675a2299 | ||
|
|
aa374b6816 | ||
|
|
f427b7bcc7 | ||
|
|
4ba3c5b524 | ||
|
|
7180ad39d8 | ||
|
|
6c7bcc1911 | ||
|
|
e09c9b5595 | ||
|
|
9476bb0c8a | ||
|
|
8f7db8507b | ||
|
|
188b1aebb0 | ||
|
|
452203b7b4 | ||
|
|
76c419336e | ||
|
|
2ad0ae8420 | ||
|
|
c0c199bfe6 | ||
|
|
7ec3bcb9b9 | ||
|
|
4bd0a2dfbf | ||
|
|
431e5bc8f4 | ||
|
|
8169d93a9c | ||
|
|
547251dbd0 | ||
|
|
7bbcc44c5e | ||
|
|
25475a88a7 | ||
|
|
db49c29627 | ||
|
|
c237553508 | ||
|
|
0c96d32754 | ||
|
|
3f83f279d7 | ||
|
|
82fe9fa6df | ||
|
|
983d9a428d | ||
|
|
2fa77d8295 | ||
|
|
f53afc1d2d | ||
|
|
cb7144f282 | ||
|
|
afdc83eaf6 | ||
|
|
2239d9c848 | ||
|
|
beb4b253ab | ||
|
|
084130da80 | ||
|
|
f752be48ce | ||
|
|
dbe6e958e2 | ||
|
|
201cda4c29 | ||
|
|
e54b34aa93 | ||
|
|
fcfe7c3204 | ||
|
|
be4b482bde | ||
|
|
6f50b053b7 | ||
|
|
ece376660c | ||
|
|
98a14bc7dc | ||
|
|
989e36ffe2 | ||
|
|
ceb03a9d7e | ||
|
|
924305a1ab | ||
|
|
4ef61b0d3b | ||
|
|
2b071a58c7 | ||
|
|
1145b900e4 | ||
|
|
436cd86d8c | ||
|
|
540444dfbf | ||
|
|
2d7c51ed15 | ||
|
|
c842d9774f | ||
|
|
5963504f6b | ||
|
|
e64a59714a | ||
|
|
dd5d908e43 | ||
|
|
28846af43c | ||
|
|
b1e3953960 | ||
|
|
7e00e23801 | ||
|
|
bd12bbe862 | ||
|
|
48c203f028 | ||
|
|
d859e40e4a | ||
|
|
8be364c990 | ||
|
|
0e2c6b2936 | ||
|
|
8c3649f691 | ||
|
|
b47194ed99 | ||
|
|
6bca42f2a5 | ||
|
|
f1211f3cca | ||
|
|
0913daebc6 | ||
|
|
d1a4b4d42f | ||
|
|
2906b8724b | ||
|
|
5e6e6c394a | ||
|
|
315050f095 | ||
|
|
f795ba24f8 | ||
|
|
738307d070 | ||
|
|
04cff2e2c3 | ||
|
|
0b5981242b | ||
|
|
f0dc598f44 | ||
|
|
d4236f455e | ||
|
|
96fcf19c14 | ||
|
|
8c51bd8690 | ||
|
|
43464bb550 | ||
|
|
6a1b87e250 | ||
|
|
9473e26b50 | ||
|
|
f19444201d | ||
|
|
f907b7e072 | ||
|
|
632c3fa66b | ||
|
|
80d0183391 | ||
|
|
5f3de290f3 | ||
|
|
875e3e4765 | ||
|
|
07106b9aed | ||
|
|
25df276101 | ||
|
|
dbc5105b9b | ||
|
|
a61289a318 | ||
|
|
e28d68128d | ||
|
|
a9969d58f8 | ||
|
|
d7a54d858d | ||
|
|
4e991c3e6f | ||
|
|
a3217de71a | ||
|
|
19b433a19f | ||
|
|
69d1d22a18 | ||
|
|
5c15343ed0 | ||
|
|
3ae349fbc8 | ||
|
|
78c060c114 | ||
|
|
cd925e96c2 | ||
|
|
142dd486dd | ||
|
|
beeeabd441 | ||
|
|
b73c66f6d6 | ||
|
|
189526cab8 | ||
|
|
595dd4fbac | ||
|
|
ba6d8037d2 | ||
|
|
208bda92c8 | ||
|
|
a7111d3cac | ||
|
|
d182fd7f46 | ||
|
|
4c5038b001 | ||
|
|
98481ea1ce | ||
|
|
b5582b1284 | ||
|
|
346dc4e4c9 | ||
|
|
b2eee58df4 | ||
|
|
161cea4920 | ||
|
|
6b81c4ece0 | ||
|
|
ee17f69115 | ||
|
|
81c19bff16 | ||
|
|
e7cda58113 | ||
|
|
44f18554e1 | ||
|
|
52b42ec975 | ||
|
|
2815dd9e4d | ||
|
|
d057bfc3ff | ||
|
|
e4621c8aaa | ||
|
|
170b93dd69 | ||
|
|
34d6873a6a | ||
|
|
e69d06ea4f | ||
|
|
2939afa729 | ||
|
|
ad8e80913a | ||
|
|
33cb042b8c | ||
|
|
4d25ceef77 | ||
|
|
439d4ef8ac |
No files matched your search
+66
@@ -0,0 +1,66 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: build
|
||||
|
||||
steps:
|
||||
- name: build-image
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: t3hn3rd/asuro-build
|
||||
tags: latest
|
||||
dockerfile: Dockerfile
|
||||
registry: docker.io
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
|
||||
- name: compile
|
||||
image: t3hn3rd/asuro-build:latest
|
||||
depends_on:
|
||||
- build-image
|
||||
commands:
|
||||
- git fetch --tags
|
||||
- find . -type f -print0 | xargs -0 dos2unix
|
||||
- chmod +x /drone/src/*.sh
|
||||
- /drone/src/compile.sh
|
||||
|
||||
- name: upload-iso-artifact
|
||||
image: alpine/git
|
||||
depends_on:
|
||||
- compile
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
environment:
|
||||
GITEA_TOKEN:
|
||||
from_secret: gitea_token
|
||||
commands:
|
||||
- apk add --no-cache curl
|
||||
- chmod +w Asuro.iso
|
||||
- cp Asuro.iso "Asuro-$(git rev-parse --short HEAD).iso"
|
||||
- echo "Uploading Asuro-$(git rev-parse --short HEAD).iso to Gitea Packages..."
|
||||
- |
|
||||
curl -X PUT "https://gitea.spexeah.com/api/packages/Spexeah/generic/asuro-iso/$(git rev-parse --short HEAD)/Asuro.iso" \
|
||||
-H "Authorization: token $GITEA_TOKEN" --upload-file "Asuro-$(git rev-parse --short HEAD).iso"
|
||||
- echo "Updating latest ISO reference..."
|
||||
- |
|
||||
curl -X DELETE https://gitea.spexeah.com/api/packages/Spexeah/generic/asuro-iso/latest/Asuro.iso \
|
||||
-H "Authorization: token $GITEA_TOKEN" || echo "No previous latest version found."
|
||||
- |
|
||||
curl -X PUT https://gitea.spexeah.com/api/packages/Spexeah/generic/asuro-iso/latest/Asuro.iso \
|
||||
-H "Authorization: token $GITEA_TOKEN" --upload-file "Asuro-$(git rev-parse --short HEAD).iso"
|
||||
|
||||
- name: msg status
|
||||
image: appleboy/drone-discord
|
||||
failure: ignore
|
||||
depends_on:
|
||||
- compile
|
||||
when:
|
||||
status: [success, failure, changed]
|
||||
settings:
|
||||
webhook_id:
|
||||
from_secret: discord_webhook_id
|
||||
webhook_token:
|
||||
from_secret: discord_webhook_secret
|
||||
message: "**Asuro Build**\n\n{{#success build.status}}✅ Build successful!\n\n{{else}}❌ Build failed!\n\n{{/success}}Repository: `{{repo.namespace}}/{{repo.name}}`\nBranch: `{{commit.branch}}`\nCommit: `{{commit.sha}}`\nAuthor: `{{commit.author}} <{{commit.email}}>`\n\nGitea Diff: [Link](<{{commit.link}}>)\nDrone Build: [Link](<{{build.link}}>)\n\nMessage: {{commit.message}}"
|
||||
@@ -1 +1,8 @@
|
||||
* text=auto eol=lf
|
||||
lvglh/** linguist-vendored
|
||||
lvgl/** linguist-vendored
|
||||
.vscode/* linguist-vendored
|
||||
lib/* linguist-generated
|
||||
release/* linguist-generated
|
||||
iso/* linguist-generated
|
||||
*.asm linguist-detectable
|
||||
+15
-12
@@ -1,14 +1,17 @@
|
||||
/lib/*.ppu
|
||||
/lib/*.a
|
||||
/lib/*.o
|
||||
/release/*.svg
|
||||
/release/*.iso
|
||||
/bin/*.bin
|
||||
/iso/boot/asuro.bin
|
||||
/*.iso
|
||||
/*.md5
|
||||
/*.sh~
|
||||
*.o
|
||||
*.ppu
|
||||
*.s
|
||||
*.iso
|
||||
*.elf
|
||||
lib/
|
||||
release/
|
||||
doc/
|
||||
bin/
|
||||
/*.img
|
||||
src/include/asuro.pas
|
||||
.vscode/launch.json
|
||||
.vscode
|
||||
localenv.json
|
||||
/lvgl/
|
||||
dockerout.txt
|
||||
AGENTS.md
|
||||
*.log
|
||||
/doc/*.md
|
||||
@@ -1,99 +0,0 @@
|
||||
stages:
|
||||
- Generate Stub and Versions
|
||||
- Generate Version Files
|
||||
- Compile Sources
|
||||
- Link
|
||||
- Generate ISO
|
||||
- Generate Sources List
|
||||
- Generate Documentation
|
||||
|
||||
compile_stub:
|
||||
stage: Generate Stub and Versions
|
||||
script:
|
||||
- chmod +x ./compile_stub.sh
|
||||
- ./compile_stub.sh
|
||||
artifacts:
|
||||
paths:
|
||||
- lib/stub.o
|
||||
|
||||
vergen:
|
||||
stage: Generate Stub and Versions
|
||||
script:
|
||||
- chmod +x ./compile_vergen.sh
|
||||
- ./compile_vergen.sh
|
||||
artifacts:
|
||||
paths:
|
||||
- release/*.svg
|
||||
- src/include/asuro.pas
|
||||
|
||||
compile_sources:
|
||||
stage: Compile Sources
|
||||
script:
|
||||
- chmod +x ./compile_sources.sh
|
||||
- ./compile_sources.sh
|
||||
artifacts:
|
||||
paths:
|
||||
- lib/*.o
|
||||
dependencies:
|
||||
- compile_stub
|
||||
- vergen
|
||||
needs:
|
||||
- vergen
|
||||
- compile_stub
|
||||
|
||||
link:
|
||||
stage: Link
|
||||
script:
|
||||
- chmod +x ./compile_link.sh
|
||||
- ./compile_link.sh
|
||||
artifacts:
|
||||
paths:
|
||||
- bin/kernel.bin
|
||||
dependencies:
|
||||
- compile_sources
|
||||
needs:
|
||||
- compile_sources
|
||||
|
||||
isogen:
|
||||
stage: Generate ISO
|
||||
script:
|
||||
- chmod +x ./compile_isogen.sh
|
||||
- ./compile_isogen.sh
|
||||
- chmod +x ./compile_sumgen.sh
|
||||
- ./compile_sumgen.sh
|
||||
artifacts:
|
||||
paths:
|
||||
- ./Asuro.iso
|
||||
- ./release/checksum.svg
|
||||
dependencies:
|
||||
- link
|
||||
needs:
|
||||
- link
|
||||
|
||||
sourcelist:
|
||||
stage: Generate Sources List
|
||||
script:
|
||||
- chmod +x ./compile_sourcelist.sh
|
||||
- ./compile_sourcelist.sh
|
||||
artifacts:
|
||||
paths:
|
||||
- ./sources.list
|
||||
dependencies:
|
||||
- vergen
|
||||
needs:
|
||||
- vergen
|
||||
|
||||
docgen:
|
||||
stage: Generate Documentation
|
||||
script:
|
||||
- chmod +x ./compile_docs.sh
|
||||
- ./compile_docs.sh
|
||||
artifacts:
|
||||
paths:
|
||||
- ./doc/*
|
||||
dependencies:
|
||||
- vergen
|
||||
- sourcelist
|
||||
needs:
|
||||
- vergen
|
||||
- sourcelist
|
||||
@@ -0,0 +1,13 @@
|
||||
# Map all Aaron identities to a single preferred identity
|
||||
Aaron Hance <[email protected]> aaron <aaron@6dbc8c32-bb84-406f-8558-d1cf31a0ab0c>
|
||||
Aaron Hance <[email protected]> aaronhance <[email protected]>
|
||||
Aaron Hance <[email protected]> aaron hance <[email protected]>
|
||||
Aaron Hance <[email protected]> Aaron <[email protected]>
|
||||
|
||||
# Map all Kieron identities to a single preferred identity
|
||||
Kieron Morris <[email protected]> kieron <kieron@6dbc8c32-bb84-406f-8558-d1cf31a0ab0c>
|
||||
Kieron Morris <[email protected]> Kieron <[email protected]>
|
||||
Kieron Morris <[email protected]> t3hn3rd <[email protected]>
|
||||
|
||||
# Map goose's multiple identities
|
||||
goose <goose@6dbc8c32-bb84-406f-8558-d1cf31a0ab0c> goose <[email protected]>
|
||||
Vendored
+3
-10
@@ -3,18 +3,11 @@
|
||||
{
|
||||
"name":"Run",
|
||||
"request": "launch",
|
||||
"type": "coreclr",
|
||||
"type": "PowerShell",
|
||||
"preLaunchTask": "Build",
|
||||
"program": "VBoxSDL",
|
||||
"args": [
|
||||
"--comment",
|
||||
"Asuro",
|
||||
"--startvm",
|
||||
"7d395c96-891c-4139-b77d-9b6b144b0b93"
|
||||
],
|
||||
"script": "${workspaceFolder}/virtualbox-wrapper.ps1",
|
||||
"args": ["-Command", "up"],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"console": "internalConsole",
|
||||
"internalConsoleOptions": "neverOpen"
|
||||
}
|
||||
]
|
||||
}
|
||||
Vendored
+24
-2
@@ -9,14 +9,18 @@
|
||||
"command": "docker-compose",
|
||||
"args": [
|
||||
"run",
|
||||
"builder"
|
||||
"builder",
|
||||
],
|
||||
"type": "shell",
|
||||
"problemMatcher": [],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
"dependsOn": [
|
||||
"Close VirtualBox",
|
||||
"Clean"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Build (Builder)",
|
||||
@@ -26,6 +30,24 @@
|
||||
"builder"
|
||||
],
|
||||
"type": "shell"
|
||||
},
|
||||
{
|
||||
"label": "Clean",
|
||||
"command": "docker-compose",
|
||||
"args": [
|
||||
"down",
|
||||
"--remove-orphans"
|
||||
],
|
||||
"type": "shell"
|
||||
},
|
||||
{
|
||||
"label": "Close VirtualBox",
|
||||
"command": "./virtualbox-wrapper.ps1",
|
||||
"args": [
|
||||
"-Command",
|
||||
"down"
|
||||
],
|
||||
"type": "shell"
|
||||
}
|
||||
]
|
||||
}
|
||||
+13
-9
@@ -2,18 +2,22 @@ FROM ubuntu:latest
|
||||
|
||||
VOLUME ["/code"]
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN dpkg --add-architecture i386
|
||||
RUN apt-get update
|
||||
RUN apt-get install nasm curl make:i386 binutils:i386 xorriso grub-pc-bin dos2unix -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
|
||||
RUN apt-get update && apt-get install -y \
|
||||
curl dos2unix wget git make nasm binutils xorriso grub-pc-bin gcc gcc-multilib && \
|
||||
apt-get clean my room
|
||||
|
||||
WORKDIR ./fpc-2.6.4.i386-linux
|
||||
RUN ./install.sh
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
ARG FPC_VERSION=3.2.2
|
||||
RUN curl -sL https://sourceforge.net/projects/freepascal/files/Linux/$FPC_VERSION/fpc-$FPC_VERSION.i386-linux.tar/download | tar -xf - && \
|
||||
pushd fpc-$FPC_VERSION.i386-linux && ./install.sh && popd && \
|
||||
rm -rf fpc-$FPC_VERSION.i386-linux
|
||||
|
||||
COPY compile.sh /compile.sh
|
||||
RUN mkdir /code
|
||||
ADD https://raw.githubusercontent.com/fsaintjacques/semver-tool/master/src/semver /usr/bin/semver
|
||||
RUN chmod +x /usr/bin/semver
|
||||
WORKDIR /code
|
||||
RUN find . -type f -print0 | xargs -0 dos2unix
|
||||
ENTRYPOINT ["/bin/bash", "/compile.sh"]
|
||||
ENTRYPOINT ["/bin/bash", "-c"]
|
||||
CMD ["/compile.sh"]
|
||||
+135
@@ -0,0 +1,135 @@
|
||||
|
||||
c1e267c6b88cab4d1e3c86fa7f2f8ab1 src//contextswitcher.pas
|
||||
0be0d543ea50325c0dee1693c5854c48 src//cpu.pas
|
||||
ac76654ddebbeb1d3cc16ca4c85e77ff src//drivermanagement.pas
|
||||
693ca299a852a25d3d8820bb0d76dfeb src//faults.pas
|
||||
eff5f36e129bc22770d643173c426cbd src//gdt.pas
|
||||
42d014445ddc0fd4d01c59e690795532 src//idt.pas
|
||||
b40f0c2f3ec166a0bf2ebcf8f11f5614 src//irq.pas
|
||||
160ca7f01eb779595a5c90174f8d545e src//isr.pas
|
||||
03963c1b5cf5f661df5598de9af51458 src//kernel.pas
|
||||
71a3e1a6c21a76ff71e06e0743c0c57f src//lmemorymanager.pas
|
||||
8e6a6f36c53ecd90e4669189aa9312b4 src//pmemorymanager.pas
|
||||
4a5f5bf0f2ca7fff89074ad02813091c src//processloader.pas
|
||||
e600e339593a8bb35964e7531c074e7b src//progmanager.pas
|
||||
81d4b5c4a25a1a855d75a88c725b77fe src//scheduler.pas
|
||||
1be263e53e4838f6a06d2ece86400ef2 src//stdio.pas
|
||||
940a7ed5808841c6ba344b67965ecba7 src//syslog.pas
|
||||
fe1dba288d3a3ab427a9dea0a9f747ae src//tracer.pas
|
||||
4598f9b19f3e3748394b6f1cb8e52043 src//tss.pas
|
||||
1a0461e1028921131594edae0a01e608 src//vmemorymanager.pas
|
||||
44b09f7af29af7d7fb9711ee0ea5968d src/driver/bus/PCI.pas
|
||||
6e970ae957a3fbc600c8ee6b42634c78 src/driver/bus/usb/EHCI.pas
|
||||
181e6c09e33ff59b3eb827085591d19f src/driver/bus/usb/OHCI.pas
|
||||
820defeb214b59d2329881670cbb493f src/driver/bus/usb/UHCI.pas
|
||||
6edd4a1e9c92e092aea1368d9aa2724f src/driver/bus/usb/USB.pas
|
||||
8588f4da48c37646c969b7d51aa28676 src/driver/bus/usb/XHCI.pas
|
||||
e064e466ca4a89b2c88df80f75ab0bdc src/driver/bus/usb/usbcore.pas
|
||||
e8aabf9e1ba0c09ede43ed2844802aa0 src/driver/bus/usb/usbhub.pas
|
||||
631d06f67ee6af6bfdcec3279967bca0 src/driver/bus/usb/usbtypes.pas
|
||||
45f1afa1170ab00ec92e52de18f1de19 src/driver/exp/testdriver.pas
|
||||
28e9e1ff635893639c4442656b763d4b src/driver/hid/keyboard.pas
|
||||
25a86d7379eae581d6c69ccbcfb9d722 src/driver/hid/mouse.pas
|
||||
84ceeacce04bc9659c73cba838c94cca src/driver/hid/ps2/ps2_keyboard.pas
|
||||
16a706312825c01b6dd13f51aa385c5f src/driver/hid/ps2/ps2_keyboard_isr.pas
|
||||
d272f2bd62399a119e93118a81a74833 src/driver/hid/ps2/ps2_mouse.pas
|
||||
57615a202dd2cf26c64601d86bd5e36c src/driver/hid/usb/usb_keyboard.pas
|
||||
da94fe43ff22d2050ccd8eec602aa4b5 src/driver/hid/usb/usb_mouse.pas
|
||||
3f6f56b05d141194fa1e48d46d441042 src/driver/include/drivertypes.pas
|
||||
8a6f0bf9d2c77d32f2ce5dede4e15d9a src/driver/interface/serial.pas
|
||||
2d3bcfceef94d7e1138ca465bb32aea5 src/driver/net/include/nettypes.pas
|
||||
63a3fa928b17ffd31c9ea033f3443b41 src/driver/net/include/netutils.pas
|
||||
9aca959358eaa2159421434a4d1855df src/driver/net/l1/net.pas
|
||||
033c08a36b2e99d573e09f1e182937e0 src/driver/net/l2/eth2.pas
|
||||
418cdb2657980f11172bb0c70ff4326d src/driver/net/l3/arp.pas
|
||||
e71bc0e877d736be29378ecdfb91c615 src/driver/net/l3/ipv4.pas
|
||||
38facb711f1153b80011e1adee8cfba5 src/driver/net/l4/icmp.pas
|
||||
fd577fe3e13389f4ffddfe7480935ae1 src/driver/net/l4/tcp.pas
|
||||
0cda1d5d8c298b577b49cc8f1ae031bf src/driver/net/l4/udp.pas
|
||||
004a93b3d4cc1efe1172564239eaf795 src/driver/net/l5/dhcp.pas
|
||||
1cf47de6c18308e1d140ce47e74bb204 src/driver/netdev/E1000.pas
|
||||
bd529497b38ce6bc7697a6dcde6f7fd7 src/driver/storage/MBR.pas
|
||||
333c3bb46b3ca14746281b4921a25630 src/driver/storage/iobuffer.pas
|
||||
08a8280503120f3a90a9a041bc8b67d3 src/driver/storage/partitiontable.pas
|
||||
2bc09f8f54dd10717440b74017bdeb3d src/driver/storage/storagemanager.pas
|
||||
91d10f7ef29d62e633968d72ceeea2b1 src/driver/storage/storagetypes.pas
|
||||
76e01e83220c1882dc429129c0ad937b src/driver/storage/usb_storage.pas
|
||||
e42fdff36185dd92498378ab470a4b35 src/driver/storage/vfs.pas
|
||||
621d834536a649b3b483016060bbfafc src/driver/storage/volumemanager.pas
|
||||
0e300d4c833bab776e8d91a348a5b60c src/driver/storage/AHCI/AHCI.pas
|
||||
16304358a6278c23a751e31bb464eae5 src/driver/storage/AHCI/AHCITypes.pas
|
||||
b5e3bcb914b585a95ac646cfea7d016e src/driver/storage/Filesystems/asfs.pas
|
||||
cb23855b8bad502999656d3121882c74 src/driver/storage/Filesystems/fat32.pas
|
||||
9bceba956d3eeffe97e07bdd45a9476f src/driver/storage/Filesystems/filesystemmanager.pas
|
||||
e03d028cc2915c3cb0a8245407c99b7b src/driver/storage/Filesystems/flatfs.pas
|
||||
5bd48e9a8c97ea11edc2789d2ec7902a src/driver/storage/Filesystems/iso9660.pas
|
||||
753c6bbb3c5f84cdd7300330456980d7 src/driver/storage/IDE/IDE.pas
|
||||
f5e13673000388c7b8fa980824139163 src/driver/storage/IDE/ata.pas
|
||||
5760feea5b9a4ce3fad820b542113c56 src/driver/storage/IDE/atapi.pas
|
||||
900eb584e797111c1a54ca86542e71d0 src/driver/storage/IDE/idetypes.pas
|
||||
6d9508503dca0543fe932c32ef8267fc src/driver/timers/RTC.pas
|
||||
c025ffabb5bba2272578d04903637d11 src/driver/timers/TMR_0_ISR.pas
|
||||
4a7434e5567f738b8545d56558902d9f src/driver/timers/TMR_1_ISR.pas
|
||||
a4459a13e30281d020d0a8730e243b02 src/driver/timers/graphicsrefresh.pas
|
||||
4503465b3f62464f25e17e1d1a67e54d src/driver/timers/usbhotplug.pas
|
||||
0434cc7b77429f971d372e89a8a6972d src/driver/video/desktop.pas
|
||||
fef57dc0269caad191652df07da04466 src/driver/video/doublebuffer.pas
|
||||
a2c0d973e133f2624599d12fc0ec13f6 src/driver/video/lvgl.pas
|
||||
dce8755865885e41c08b062c162b06c9 src/driver/video/uidebug.pas
|
||||
20dc95321989d632fa4c39a5faf74733 src/driver/video/vesa.pas
|
||||
19c988cfcc36bcc78e73747662672d8f src/driver/video/vesa16.pas
|
||||
f6714e6972770155cf2c72822ab76128 src/driver/video/vesa24.pas
|
||||
81e2f271055c2a89dfc8b7f1d19bf509 src/driver/video/vesa32.pas
|
||||
8ea870a31f4a9b11b3dcd639a65d9ca8 src/driver/video/vesa8.pas
|
||||
542aa1da8f8e9d6e5cb5e0b90a3c9de5 src/driver/video/video.pas
|
||||
d499b828752660e1a03272eb4f63eebb src/driver/video/videotypes.pas
|
||||
b9f4c8f07d26c77cb49bd032202775c0 src/driver/video/windows.pas
|
||||
aadcb02abac658feec02042bf5ea4ad0 src/fault/ACE.pas
|
||||
d530d3094d335ce5ab78475de5b5a39a src/fault/BPE.pas
|
||||
84c5c4e3981b9718403e7fdeb9ef9f7f src/fault/BTSSE.pas
|
||||
01acde61a8f3f27592e9c6d15349348d src/fault/CFE.pas
|
||||
0f5db45e5979949114dba7d9ba205103 src/fault/CSOE.pas
|
||||
a7565ac9d1dadc801c16758d2c4e84fe src/fault/DBGE.pas
|
||||
c45fb023b19f7240a911e189c1771c41 src/fault/DBZ.pas
|
||||
b5453d37dd18e375a15f50a870c6dea2 src/fault/DFE.pas
|
||||
25fdec8dd1c72680acd5a6246ced55eb src/fault/GPF.pas
|
||||
3c7671f86051aa727adcf547f175d338 src/fault/IDOE.pas
|
||||
710aadf1e601c74a0cd8563632f35c50 src/fault/IOPE.pas
|
||||
85d27bbbe7002ec3e5e73ff9e971844f src/fault/MCE.pas
|
||||
3f81337468d131b0c9896a588f230772 src/fault/NCE.pas
|
||||
7548539c52222f081d75841b929d439f src/fault/NMIE.pas
|
||||
f6a105e5873cc14a8a5c5b05298bdfd1 src/fault/OOBE.pas
|
||||
8f976f5663439e533347758cc79add39 src/fault/PF.pas
|
||||
3870beacc5b322fa63f633f14b1a8320 src/fault/SFE.pas
|
||||
522c6788021d8ebf966096311dd1f38d src/fault/SNPE.pas
|
||||
f32ed5dffb58626b7657a24866c6af4e src/fault/UIE.pas
|
||||
b6bfdc59f9962fc257e9adc7b57a3273 src/include/base64.pas
|
||||
dee8388dac0ca79ee6aef73469d75f6b src/include/bios_data_area.pas
|
||||
717b8c0a42983f6b8864d5deda4dd532 src/include/color.pas
|
||||
1987f262a6053e02080023554d942ae1 src/include/crc.pas
|
||||
7f6c812b5d7ae1a8af5ef00d42a4eb1d src/include/fonts.pas
|
||||
bf9fe2883789147e08980ab4c43220f7 src/include/hashmap.pas
|
||||
513d59ae08ba6d753a871e1a82b46ed4 src/include/lists.pas
|
||||
c5ef14ac60dad5a32ebfa43da153d05c src/include/md5.pas
|
||||
124f12d75de7ade6993ccd2f02b53ad4 src/include/multiboot.pas
|
||||
d8beadde6ebb05c8a3e74aae57d61f34 src/include/rand.pas
|
||||
cfa50e59e4bd9ea3a5b05c6b1275858d src/include/strings.pas
|
||||
cb254f95c5e09595c90db690bf98794f src/include/system.pas
|
||||
5df11e0052010580d13f1a5ce3acd60f src/include/targa.pas
|
||||
833967cf14697db6da421a4be58e9044 src/include/texture.pas
|
||||
635e5a8936a088a244ddfe48cd658a3f src/include/types.pas
|
||||
a770014537fb6c8d70cf4bc3ec325500 src/include/util.pas
|
||||
e23b0bef333262860e1f68034331e529 src/isr/ioapic.pas
|
||||
63f4a330383220a5cfad0253c09afde3 src/isr/isr_types.pas
|
||||
851217f90e902ca65bebb017eeb172e7 src/isr/isrmanager.pas
|
||||
027f34dc6d4e67d15cf10d6db5edd514 src/prog/base64_prog.pas
|
||||
2e9d0c9db496dafc3c3423deee644c83 src/prog/dhclient.pas
|
||||
6c58870722f8b5fd86308123ae8c934b src/prog/diskcmd.pas
|
||||
a0fa8cf89bee89802d506f2cd3a4dad7 src/prog/diskutil.pas
|
||||
31c7601131e09b0dfcc427cdb14bffb6 src/prog/edit.pas
|
||||
6fff6024194143a6ebbe849f9aff0326 src/prog/inio.pas
|
||||
1ff556cd50088e3ee3efa3103fdc6ba0 src/prog/md5sum.pas
|
||||
0f0e6dc1b2d1a6e14b2fd103826d1f12 src/prog/partcmd.pas
|
||||
0c7c7f62e8bf76fc2eec7f02e7a092b7 src/prog/vbeinfo.pas
|
||||
60bf159fa0a3efb34f73fa15a93acd7c src/prog/volcmd.pas
|
||||
88d71b607256928831a33b363a44c006 src/prog/vterminal.pas
|
||||
+29
-41
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
ERRCOUNT=0
|
||||
echo " "
|
||||
echo "======================="
|
||||
@@ -7,56 +7,44 @@ echo "Asuro Compilation"
|
||||
echo " "
|
||||
|
||||
#Compile Stub.asm
|
||||
./compile_stub.sh
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
echo "Failed to compile stub!"
|
||||
ERRCOUNT=$((ERRCOUNT+1))
|
||||
else
|
||||
echo "Success."
|
||||
fi
|
||||
rm -f lib/*
|
||||
|
||||
#Generate .pas with versioning headers.
|
||||
./compile_vergen.sh
|
||||
|
||||
#Compile all .pas sources
|
||||
./compile_sources.sh
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
echo " "
|
||||
echo "Failed to compile FPC Sources!"
|
||||
ERRCOUNT=$((ERRCOUNT+1))
|
||||
else
|
||||
echo " "
|
||||
runOrFail() {
|
||||
local binary=$1
|
||||
local errorText=$2
|
||||
if $binary; then
|
||||
echo "Success."
|
||||
fi
|
||||
|
||||
#Link into a binary.
|
||||
./compile_link.sh
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
echo "Failed linking!"
|
||||
ERRCOUNT=$((ERRCOUNT+1))
|
||||
else
|
||||
echo "Success."
|
||||
fi
|
||||
|
||||
#Generate an ISO with GRUB as the Bootloader.
|
||||
./compile_isogen.sh
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
echo "Failed to create ISO!"
|
||||
echo "$errorText"
|
||||
ERRCOUNT=$((ERRCOUNT+1))
|
||||
else
|
||||
echo "Success."
|
||||
fi
|
||||
}
|
||||
|
||||
declare -a run_steps=(
|
||||
"compile_stub.sh" "Failed to compile stub!"
|
||||
"compile_vergen.sh" "Versions failed to compile"
|
||||
"compile_lvgl.sh" "Failed to compile LVGL!"
|
||||
"compile_sources.sh" "Failed to compile FPC Sources!"
|
||||
"compile_link.sh" "Failed linking!"
|
||||
"compile_isogen.sh" "Failed to create ISO!"
|
||||
)
|
||||
|
||||
for ((i=0; i<${#run_steps[@]}; i+=2))
|
||||
do
|
||||
if [ "$ERRCOUNT" -eq "0" ]
|
||||
then
|
||||
script=$(pwd)/"${run_steps[$i]}"
|
||||
message="${run_steps[$i+1]}"
|
||||
runOrFail "$script" "$message"
|
||||
fi
|
||||
done
|
||||
|
||||
#Call generate final artifacts based on failure or success of the above.
|
||||
if [ "$ERRCOUNT" -ne "0" ]
|
||||
then
|
||||
./compile_finish.sh "failed"
|
||||
. ./compile_finish.sh "failed"
|
||||
else
|
||||
./compile_finish.sh "success"
|
||||
. ./compile_finish.sh "success"
|
||||
fi
|
||||
|
||||
cd ..
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
echo > checksums.md5
|
||||
for directory in $(find src/ -maxdepth 10 -type d); do
|
||||
for filename in $directory/*.pas; do
|
||||
|
||||
+1
-2
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
echo " "
|
||||
echo "======================="
|
||||
echo " "
|
||||
@@ -15,4 +15,3 @@ rm -rf ./doc/*
|
||||
echo "Generating Docs..."
|
||||
./pasdoc/bin/pasdoc -N "Asuro" -T "Asuro OS Documentation" -O "html" -E ./doc/ -S sources.list --use-tipue-search
|
||||
echo "Docgen finished."
|
||||
exit 0
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
#/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
echo " "
|
||||
echo "======================="
|
||||
echo " "
|
||||
if [ "$1" == "failed" ]
|
||||
if [[ "$1" == "failed" ]]
|
||||
then
|
||||
echo "Errors Occurred, please review."
|
||||
wget -q https://img.shields.io/badge/build-failed-red.svg -O release/build.svg 2>/dev/null
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
echo " "
|
||||
echo "======================="
|
||||
echo " "
|
||||
|
||||
+7
-2
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
echo " "
|
||||
echo "======================="
|
||||
echo " "
|
||||
@@ -14,4 +14,9 @@ done;
|
||||
objstring=lib/stub.o" "$objstring
|
||||
echo "Object Files: "$objstring
|
||||
echo " "
|
||||
ld -m elf_i386 -s --gc-sections -Tlinker.script -o bin/kernel.bin $objstring
|
||||
|
||||
# Find libgcc for i386 (needed by LVGL compiled with gcc)
|
||||
LIBGCC=$(gcc -m32 -print-libgcc-file-name)
|
||||
echo "libgcc: ${LIBGCC}"
|
||||
|
||||
ld -m elf_i386 -s --gc-sections -Tlinker.script -o bin/kernel.bin $objstring --start-group lib/liblvgl.a ${LIBGCC} --end-group
|
||||
+132
@@ -0,0 +1,132 @@
|
||||
#!/usr/bin/env bash
|
||||
# compile_lvgl.sh — Download LVGL v9.2 source and compile into lib/liblvgl.a
|
||||
# Clone & compile in /tmp (fast container-local fs).
|
||||
# Cache liblvgl.a on host mount (/code/lvgl/) to skip rebuild.
|
||||
set -e
|
||||
|
||||
LVGL_VERSION="v9.2.2"
|
||||
LVGL_REPO="https://github.com/lvgl/lvgl.git"
|
||||
LVGL_DIR="/tmp/lvgl"
|
||||
OBJ_DIR="/tmp/lvgl_obj"
|
||||
CONF_DIR="$(pwd)/lvglh"
|
||||
OUT_DIR="$(pwd)/lib"
|
||||
CACHE_DIR="/code/lvgl"
|
||||
|
||||
CC="gcc"
|
||||
CFLAGS="-m32 -march=i686 -ffreestanding \
|
||||
-fno-builtin -fno-stack-protector -fno-pic -fno-pie \
|
||||
-O2 -Wall -Wno-unused-function -Wno-unused-variable \
|
||||
-I${CONF_DIR} \
|
||||
-I${LVGL_DIR} \
|
||||
-I${LVGL_DIR}/.. \
|
||||
-DLV_CONF_INCLUDE_SIMPLE"
|
||||
|
||||
echo " "
|
||||
echo "======================="
|
||||
echo " "
|
||||
echo "Compiling LVGL..."
|
||||
echo " "
|
||||
|
||||
# If cached liblvgl.a exists on host mount, just copy it and skip everything
|
||||
if [ -f "${CACHE_DIR}/liblvgl.a" ]; then
|
||||
echo "Found cached liblvgl.a in ${CACHE_DIR}, copying to ${OUT_DIR}..."
|
||||
cp "${CACHE_DIR}/liblvgl.a" "${OUT_DIR}/liblvgl.a"
|
||||
echo "(Delete lvgl/liblvgl.a to force a full rebuild.)"
|
||||
echo " "
|
||||
echo "LVGL compilation complete (cached)."
|
||||
echo " "
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Clone LVGL into /tmp (container-local)
|
||||
rm -rf "$LVGL_DIR"
|
||||
echo "Downloading LVGL ${LVGL_VERSION}..."
|
||||
git clone --depth 1 --branch "${LVGL_VERSION}" "${LVGL_REPO}" "${LVGL_DIR}" 2>&1
|
||||
echo "Download complete."
|
||||
|
||||
# Gather all LVGL .c source files (core library only, no demos/examples)
|
||||
SOURCES=$(find "${LVGL_DIR}/src" -name '*.c' -not -path '*/test/*')
|
||||
TOTAL=$(echo "$SOURCES" | wc -l)
|
||||
echo "Found ${TOTAL} LVGL source files."
|
||||
|
||||
# Compile each .c file to .o (container-local)
|
||||
rm -rf "$OBJ_DIR"
|
||||
mkdir -p "$OBJ_DIR"
|
||||
|
||||
COUNT=0
|
||||
ERRORS=0
|
||||
for src in $SOURCES; do
|
||||
COUNT=$((COUNT + 1))
|
||||
rel="${src#${LVGL_DIR}/src/}"
|
||||
obj_path="${OBJ_DIR}/${rel%.c}.o"
|
||||
mkdir -p "$(dirname "$obj_path")"
|
||||
|
||||
if ! $CC $CFLAGS -c "$src" -o "$obj_path" 2>&1; then
|
||||
echo "FAILED: $rel"
|
||||
ERRORS=$((ERRORS + 1))
|
||||
fi
|
||||
|
||||
if [ $((COUNT % 50)) -eq 0 ]; then
|
||||
echo " Compiled ${COUNT}/${TOTAL}..."
|
||||
fi
|
||||
done
|
||||
|
||||
echo "Compiled ${COUNT} files (${ERRORS} errors)."
|
||||
|
||||
if [ "$ERRORS" -ne 0 ]; then
|
||||
echo "LVGL compilation FAILED with ${ERRORS} errors."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Archive into static library
|
||||
OBJECTS=$(find "$OBJ_DIR" -name '*.o')
|
||||
ar rcs "${OUT_DIR}/liblvgl.a" $OBJECTS
|
||||
echo "Created ${OUT_DIR}/liblvgl.a"
|
||||
|
||||
# Compile custom LVGL extension files from lvglh/
|
||||
LVGLH_SOURCES=$(find "${CONF_DIR}" -name '*.c' 2>/dev/null || true)
|
||||
if [ -n "$LVGLH_SOURCES" ]; then
|
||||
echo " "
|
||||
echo "Compiling custom LVGL files from lvglh/..."
|
||||
LVGLH_OBJ_DIR="/tmp/lvglh_obj"
|
||||
rm -rf "$LVGLH_OBJ_DIR"
|
||||
mkdir -p "$LVGLH_OBJ_DIR"
|
||||
HCOUNT=0
|
||||
HERRORS=0
|
||||
for src in $LVGLH_SOURCES; do
|
||||
HCOUNT=$((HCOUNT + 1))
|
||||
rel="${src#${CONF_DIR}/}"
|
||||
obj_path="${LVGLH_OBJ_DIR}/${rel%.c}.o"
|
||||
mkdir -p "$(dirname "$obj_path")"
|
||||
echo " [lvglh] $rel"
|
||||
if ! $CC $CFLAGS -c "$src" -o "$obj_path" 2>&1; then
|
||||
echo " FAILED: $rel"
|
||||
HERRORS=$((HERRORS + 1))
|
||||
fi
|
||||
done
|
||||
echo "Compiled ${HCOUNT} custom files (${HERRORS} errors)."
|
||||
if [ "$HERRORS" -ne 0 ]; then
|
||||
echo "Custom LVGL compilation FAILED."
|
||||
exit 1
|
||||
fi
|
||||
# Append custom objects into the existing archive
|
||||
HOBJECTS=$(find "$LVGLH_OBJ_DIR" -name '*.o')
|
||||
ar rcs "${OUT_DIR}/liblvgl.a" $HOBJECTS
|
||||
echo "Updated ${OUT_DIR}/liblvgl.a with custom objects."
|
||||
else
|
||||
echo "No custom LVGL files in lvglh/."
|
||||
fi
|
||||
|
||||
# Cache liblvgl.a and source to host mount for next build
|
||||
echo "Caching LVGL to host mount..."
|
||||
mkdir -p "$CACHE_DIR"
|
||||
rm -rf ${CACHE_DIR}/* ${CACHE_DIR}/.[!.]* ${CACHE_DIR}/..?* 2>/dev/null || true
|
||||
cp "${OUT_DIR}/liblvgl.a" "${CACHE_DIR}/liblvgl.a"
|
||||
cp -a "$LVGL_DIR/src" "${CACHE_DIR}/src"
|
||||
cp -a "$LVGL_DIR"/*.h "${CACHE_DIR}/" 2>/dev/null || true
|
||||
cp -a "$OBJ_DIR" "${CACHE_DIR}/obj"
|
||||
echo "Done."
|
||||
|
||||
echo " "
|
||||
echo "LVGL compilation complete."
|
||||
echo " "
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
echo " "
|
||||
echo "======================="
|
||||
echo " "
|
||||
|
||||
+8
-2
@@ -1,7 +1,13 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
echo " "
|
||||
echo "======================="
|
||||
echo " "
|
||||
echo "Compiling FPC Sources..."
|
||||
echo " "
|
||||
fpc -Aelf -gw -n -va -O3 -Op3 -Si -Sc -Sg -Xd -CX -XXs -CfSSE -CfSSE2 -Rintel -Pi386 -Tlinux -FElib/ -Fusrc/* -Fusrc/driver/* -Fusrc/driver/net/* src/kernel.pas
|
||||
# Build -Fu flags for all directories under src/ and wasuro/
|
||||
FU_PATHS="-Fusrc -Fuwasuro"
|
||||
for dir in $(find src wasuro -type d 2>/dev/null); do
|
||||
FU_PATHS="$FU_PATHS -Fu$dir"
|
||||
done
|
||||
|
||||
fpc -Aelf -gw -g -gl -n -v0ew -O3 -OpPENTIUM3 -Si -Sc -Sg -Xd -CX -XXs -CfSSE -CfSSE2 -Rintel -Pi386 -Tlinux -FElib/ $FU_PATHS src/kernel.pas
|
||||
+1
-2
@@ -1,8 +1,7 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
echo " "
|
||||
echo "======================="
|
||||
echo " "
|
||||
echo "Compiling Stub..."
|
||||
echo " "
|
||||
rm lib/*
|
||||
nasm -f elf src/stub/stub.asm -o lib/stub.o
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
echo " "
|
||||
echo "======================="
|
||||
echo " "
|
||||
|
||||
Loaded 20 of 194 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user