Commit Graph
100 Commits
Author SHA1 Message Date
t3hn3rd 48c203f028 Fixed a DHCP bug
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
- Fixed a bug within `dhcp.pas` - `processPacket_OFFER` in which the client was responding with the client IP value within the DHCP header was incorrectly being filled out with the IP being requested & this value was then being used within the REQUESTED_IP_ADDRESS option. Corrected this to fill out the client IP with the currently configured IP, which will be NULL (0.0.0.0) on boot, and whatever is issued thereafter.
- Cascaded the change to use the currently configured IP as opposed to a NULL IP to any other functions that were calling `copyIPv4(@NULL_IP[0], @packetCtx^.IP.Source[0])`.
- Allowed `processPacket_OFFER` to process packets addressed to the BROADCAST MAC (WHY COULDN'T IT DO THIS ALREADY?!).
2025-03-17 00:00:21 +00:00
t3hn3rd 8c3649f691 Merge pull request 'feature/ci-cd-drone-migration' (#3) from feature/ci-cd-drone-migration into develop
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
Reviewed-on: #3
2025-03-09 22:32:16 +00:00
t3hn3rd b47194ed99 Final commit to merge through develop & master
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
- CI/CD Pipeline now working & tested.
- Commits to all branches will trigger the pipeline in DroneCI.
- Commits to master will trigger the resulting ISO artefact to be uploaded to Gitea as a Package.
2025-03-09 22:25:08 +00:00
t3hn3rd 6bca42f2a5 Final Test before finalizing
continuous-integration/drone/push Build is passing
- Single quotes were causing the first CURL to fail.
- This should be the penultimate commit before ready to progress through dev to master.
2025-03-09 22:18:19 +00:00
t3hn3rd f1211f3cca Slowly making progress
continuous-integration/drone/push Build is passing
- YAML is now valid - however, the attempt to temp store the revision number failed. Doing it inline instead.
2025-03-09 22:08:18 +00:00
t3hn3rd 0913daebc6 Still experiencing YAML errors, for some reason.
continuous-integration/drone/push Build is passing
2025-03-09 22:01:55 +00:00
t3hn3rd d1a4b4d42f Another attempt - issues with YAML layout for some reason
continuous-integration/drone/push Build encountered an error
2025-03-09 21:57:19 +00:00
t3hn3rd 2906b8724b Exports don't persist between commands
continuous-integration/drone/push Build encountered an error
- Exports don't persist between commands in Drone commands - removed these exports and made more verbose commands.
2025-03-09 21:45:29 +00:00
t3hn3rd 5e6e6c394a Debugging & Testing
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
- Mistakes made in the curl methods used & the curl upload-file flag - rectified.
2025-03-09 21:18:49 +00:00
t3hn3rd 315050f095 Further permission issues
continuous-integration/drone/push Build is failing
- Further attempts to fix permission issues within Drone when exporting the Asuro.iso artefact
- Switched to `alpine/git` instead of `curl` image, as git didn't exist under the `curl` image.
2025-03-09 20:42:40 +00:00
t3hn3rd f795ba24f8 Further tweaks to artefact upload step
continuous-integration/drone/push Build is failing
DroneCI wasn't happy with the mv of `Asuro.iso` - changed to a cp.
2025-03-09 20:36:19 +00:00
t3hn3rd 738307d070 Testing artefact upload
continuous-integration/drone/push Build is failing
- Testing the upload of the resulting `Asuro.iso` to Gitea fromt the Drone pipeline.
2025-03-09 20:30:45 +00:00
t3hn3rd 04cff2e2c3 Testing Succeeded - Refinement & removal of debugging code
continuous-integration/drone/push Build is passing
- Removed the debug `exit 1` from `compile_stub.sh`
- Improved `compile.sh` to use runOrFail in a more suitable way, correctly passing through failure messages.
2025-03-09 19:58:24 +00:00
t3hn3rd 0b5981242b Intentional edit to cause build failure
continuous-integration/drone/push Build is failing
- Intentional edit to `compile_stub.sh` in order to cause a build failure.
2025-03-09 19:44:19 +00:00
t3hn3rd f0dc598f44 Cleaning up compile scripts
continuous-integration/drone/push Build is passing
- Debugging removed from `compile_vergen.sh`
- `compile.sh` modified to use a for loop for each command & only continue if previous steps succeeded.
2025-03-09 19:39:25 +00:00
t3hn3rd d4236f455e DroneCI doesn't fetch tags by default
continuous-integration/drone/push Build is passing
- Added `git fetch --tags` as the first command
- Changes to compile_vergen.sh in order to debug.
2025-03-09 19:16:23 +00:00
t3hn3rd 96fcf19c14 Further updates to .drone.yml
continuous-integration/drone/push Build is passing
Still experiencing issues with not being able to find the .sh files due to missing /code directory.
2025-03-09 18:59:32 +00:00
t3hn3rd 8c51bd8690 Attempts to resolve issues with missing /code directory
continuous-integration/drone/push Build is failing
Dockerfile expects `/code` attempting to resolve this in the .drone.yml
2025-03-09 18:54:38 +00:00
t3hn3rd 43464bb550 Still not working
continuous-integration/drone/push Build is failing
Testing whether mount paths are the problem
2025-03-09 18:08:28 +00:00
t3hn3rd 6a1b87e250 .drone.yml modifications
continuous-integration/drone/push Build is passing
Modified drone.yml to copy source from the /drone/src directory to the /code directory.
2025-03-09 17:49:04 +00:00
t3hn3rd 9473e26b50 Dockerfile corrections
continuous-integration/drone/push Build is passing
- /code already exists, don't create it in Dockerfile
2025-03-09 17:42:06 +00:00
t3hn3rd f19444201d Updated registry to the registry server, as opposed to my username
continuous-integration/drone/push Build is failing
Oops.
2025-03-09 17:36:45 +00:00
t3hn3rd f907b7e072 First attempt at drone cicd migration
continuous-integration/drone/push Build is failing
- Created a new `.drone.yml` that will compile the Dockerfile, upload this to the Docker Registry & then use this for building.
2025-03-09 17:32:35 +00:00
t3hn3rd 80d0183391 Merge pull request 'DevOps Workflow Improvements' (#2) from feature/devlops-workflow-improvements into develop
Reviewed-on: #2
2025-03-09 13:03:04 +00:00
t3hn3rd 5f3de290f3 DevOps Workflow Improvements
- `VirtualBox-Wrapper.ps1` now takes 'up' or 'down' as opposed to a machine name. This allows start/stop of a virtualmachine.
- `VirtualBox-Wrapper.ps1` now relies on a gitignored `localenv.json` to work.
- `VirtualBox-Wrapper.ps1` can also optionally monitor the log file generated from the serial adapter in VirtualBox.
- `readme.md` updated to provide instructions on how to populate the `localenv.json` file.
- `tasks.json` updated to have a "Clean" task to --remove-orphans, the Build task depends on this.
- `tasks.json` updated to have a "Close VirtualBox" task, this runs the `virtualbox-wrapper.ps1` in 'down' mode. The Build task depends on this.
- `launch.json` updated to run the `VirtualBox-Wrapper.ps1` with the "-Command up" argument, instead of machine name.
- .gitignore updated to ignore any instances of `localenv.json`.
2025-03-09 13:01:10 +00:00
t3hn3rd 07106b9aed Merge pull request 'VirtualBox 7 Compatability Changes' (#1) from feature/virtualbox-7-compatibility into develop
Reviewed-on: #1
2025-03-08 19:19:40 +00:00
t3hn3rd 25df276101 VirtualBox 7 Compatability Changes
- Created a PowerShell script `virtualbox-wrapper.ps1` to wrap calls to vboxmanage and only exit once the virtual machine has been terminated.
- Updated launch.json to use the PowerShell launch type to launch `virtualbox-wrapper.ps1` with the machine name supplied as an argument.
- Updated `readme.md` to reflect these changes.
2025-03-08 18:59:12 +00:00
t3hn3rd ba6d8037d2 Compile Script Improvements
Improved the compile script (compile_sources.sh) to show line numbers on error and generally compile faster.
2022-02-06 13:32:57 +00:00
t3hn3rd 208bda92c8 Kernel Size Awareness
Modified the linker script + Added an init function to System.pas to be called at system boot, this allows tracking of the Kernel start & end addresses, and thus, allows us to calculate the kernel size.
2022-02-06 13:29:29 +00:00
t3hn3rd 4c5038b001 Merge branch 'cherry-pick-24c371ca' into 'develop'
Added new String functions

See merge request spexeah/asuro!30
2022-01-31 11:26:25 +00:00
t3hn3rd b2eee58df4 Update readme.md 2022-01-29 12:46:35 +00:00
t3hn3rd 170b93dd69 Merge branch 'feature/pipeline-docs-fix' into 'develop'
Docgen changes

See merge request spexeah/asuro!27
2021-07-06 19:42:57 +00:00
t3hn3rd 34d6873a6a Docgen changes
Changed docgen job to create doc folder, not public for now.
2021-07-06 20:35:26 +01:00
t3hn3rd e69d06ea4f Merge branch 'joe/ci-suggestions' into 'develop'
3 time the charm

See merge request spexeah/asuro!26
2021-07-06 19:18:24 +00:00
t3hn3rd ad8e80913a Merge branch 'feature/documentation' into 'develop'
Changed comments in Asuro.pas when generated

Changed the Asuro.pas comment to be the standard format in terms of Directory->File (no .pas) for PasDoc gen.

See merge request spexeah/asuro!23
2021-07-05 18:23:11 +00:00
t3hn3rd 33cb042b8c Changed comments in Asuro.pas when generated
Changed the Asuro.pas comment to be the standard format in terms of Directory->File (no .pas) for PasDoc gen.
2021-07-05 19:18:32 +01:00
t3hn3rd 4d25ceef77 Merge branch 'feature/documentation' into 'develop'
Tidied up comments for docgen.

Added some documentation to Asuro.pas, ProgManager, AHCI, asfs & ATA_ISR to fix some of the pasdoc/docgen issues.

See merge request spexeah/asuro!22
2021-07-05 18:09:51 +00:00
t3hn3rd 439d4ef8ac Tidied out comments for docgen.
Added some documentation to Asuro.pas & ProgManager.
2021-07-05 19:07:33 +01:00
t3hn3rd e07dcf63af Merge branch 'feature/pipeline-iso-checksum' into 'develop'
Feature/pipeline iso checksum

See merge request spexeah/asuro!20
2021-07-05 15:49:00 +00:00
t3hn3rd 94b283bd4c Second try... 2021-07-05 16:47:11 +01:00
t3hn3rd b2dbcd49ba Generate ISO checksum badge. 2021-07-05 16:45:43 +01:00
t3hn3rd 5658c3bcc3 Merge branch 'feature/pasdoc-gen' into 'develop'
Added pasdoc generation to the pipeline

See merge request spexeah/asuro!18
2021-07-05 15:22:11 +00:00
t3hn3rd 8d47223f5e Added tipue search to the generated docs. 2021-07-05 16:17:50 +01:00
t3hn3rd eb34e9b81f Fixed YAML again.... Using 'needs' incorrectly, oops... 2021-07-05 16:07:14 +01:00
t3hn3rd 9225e40751 Fixed YAML error 2021-07-05 16:01:34 +01:00
t3hn3rd c5bafa9fa9 Added pasdoc generation to the pipeline
Added documentation generation to the pipeline, this can be retreived as an artifact and deployed on the webserver from master.
2021-07-05 16:00:00 +01:00
t3hn3rd d31f278a76 Managed to missed the 'e' in Generate. 2021-06-26 23:12:29 +01:00
t3hn3rd af2013a0a3 Another cleanup! 2021-06-26 23:11:48 +01:00
t3hn3rd 428981f525 Add needs 2021-06-26 23:10:24 +01:00
t3hn3rd 6fbf2b2f79 Tidied up stage names 2021-06-26 23:05:35 +01:00
t3hn3rd ac866a3789 Pipeline Fixed!
Thanks Peter
2021-06-26 23:02:43 +01:00
t3hn3rd 3b7ea449b5 This shouldn't compile. 2021-06-26 22:34:27 +01:00
t3hn3rd 5431eaabeb Another test 2021-06-26 22:33:24 +01:00
t3hn3rd d83d8f7049 Change check in "compile_finish" for fail, as pipeline is still running 2021-06-26 15:19:59 +01:00
t3hn3rd 05eab9976b More changes for pipeline 2021-06-26 15:17:40 +01:00
t3hn3rd ab84c516e2 More attempts at getting pipeline to work 2021-06-26 15:15:17 +01:00
t3hn3rd 587e6d3320 More fixes 2021-06-26 15:06:25 +01:00
t3hn3rd b4b5abf36d Fixed YAML whitespace error 2021-06-26 03:08:23 +01:00
t3hn3rd 3dc65d5685 Another attempt to get the pipeline to work... 2021-06-26 03:05:54 +01:00
t3hn3rd f69d9e1bbc Checking compile_stub exists in second job... 2021-06-26 03:01:11 +01:00
t3hn3rd 2363c02627 Still trying to fix pipelines. 2021-06-26 02:59:55 +01:00
t3hn3rd 3527cf8ec6 See last commit 2021-06-26 02:56:03 +01:00
t3hn3rd e4920e59e2 Make scripts executable before the pipeline uses them... 2021-06-26 02:54:04 +01:00
t3hn3rd aa91842747 Fix attempt #1 2021-06-26 02:43:08 +01:00
t3hn3rd c69ac198ed Cleaned up Compile Scripts & Pipeline
Commiting to test.
2021-06-26 02:28:07 +01:00
t3hn3rd 51634cf469 Merge branch 'feature/base64' into 'develop'
Fix base64 decode function

See merge request spexeah/asuro!16
2021-06-25 19:38:38 +00:00
t3hn3rd becf513602 Fixed klfree being a function not procedure causing compilation bugs. 2021-06-24 00:10:45 +01:00
t3hn3rd e9fcb66d22 Added klalloc for large allocations.
Added a klalloc and a klfree (not yet implemented) to lmemorymanager.
Added a page_mappable method to vmemorymanager to check if a page is mappable before trying to map, this supports klalloc.
2021-06-23 23:57:06 +01:00
t3hn3rd b18c9384b3 Merge branch 'feature/line-endings' into 'develop'
Fixed line endings

See merge request spexeah/asuro!13
2021-06-22 23:00:51 +00:00
t3hn3rd 1e64931ec2 Merge branch 'feature/gitattributes' into 'develop'
added gitattributes

See merge request spexeah/asuro!11
2021-06-22 22:45:44 +00:00
t3hn3rd f1eac5e445 Merge branch 'develop' into 'master'
Develop

See merge request spexeah/asuro!10
2021-06-22 20:55:54 +00:00
t3hn3rd 07b7cb214d Update contributors.md 2021-06-22 20:55:23 +00:00
t3hn3rd 704b6a1757 Update license.md 2021-06-22 20:54:58 +00:00
t3hn3rd 847098987e Revert "Update license.md"
This reverts commit a12bba2cb1
2021-06-22 20:54:06 +00:00
t3hn3rd b254ca5f77 Revert "Update LICENSE"
This reverts commit 8f48027d2b
2021-06-22 20:53:14 +00:00
t3hn3rd 8f48027d2b Update LICENSE 2021-06-22 20:49:26 +00:00
t3hn3rd a12bba2cb1 Update license.md 2021-06-22 20:48:21 +00:00
t3hn3rd edaa3b1293 Merge branch 'develop' into 'master'
Develop

See merge request spexeah/asuro!9
2021-06-22 20:35:45 +00:00
t3hn3rd 64b3c9a7ba Apache License
Added the apache license to all source files, accounting for authors. Also added a license.md containing the apache license + contributors.md listing all contributors.
2021-06-22 21:31:17 +01:00
t3hn3rd c2a62e2006 Added VBE & VGA insmods to GRUB
Added insmod vbe + insmod vga to the grub.cfg.
2021-06-22 20:49:52 +01:00
t3hn3rd 18746a2195 Cleaned up junk from Kernel.pas
Cleaned out a load of Hashmap test code from Kernel.pas
2021-06-22 20:48:01 +01:00
t3hn3rd 6d0fa06d74 Merge branch 'develop' into 'master'
Develop

See merge request spexeah/asuro!5
2021-06-20 21:18:01 +00:00
t3hn3rd cd721ffd25 Merge branch 'feature/readme' into 'develop'
Readme.md added.

See merge request spexeah/asuro!4
2021-06-20 21:15:05 +00:00
t3hn3rd 4676665d22 Readme.md added.
Added a Readme file giving instructions on how to setup the Asuro development environment.
2021-06-20 22:14:23 +01:00
t3hn3rd 32565989ff Merge branch 'feature/vfs' into 'develop'
Added comments to init()

See merge request spexeah/asuro!3
2021-06-20 20:24:10 +00:00
t3hn3rd 224392358d Added comments to init()
Added comments to clearly indicate each step during the vfs init procedure.
2021-06-20 21:21:45 +01:00
t3hn3rd c140fd7e57 Merge branch 'develop' into 'master'
Develop

See merge request spexeah/asuro!2
2021-06-20 20:17:11 +00:00
t3hn3rd d269bb2d29 Merge remote-tracking branch 'origin/master' into develop
# Conflicts:
#	.gitignore
2021-06-20 21:14:16 +01:00
t3hn3rd b78b0e040a Merge branch 'feature/ignore-generated-files' into 'develop'
Added Asuro.pas to .gitignore

See merge request spexeah/asuro!1
2021-06-20 20:07:25 +00:00
t3hn3rd 57ba2f515a Added Asuro.pas to .gitignore
Asuro.pas is generated at compile-time by the compilation script.
2021-06-20 21:04:51 +01:00
t3hn3rd bd9fbd2da6 Added lots of stuff
Added stuff to vfs + Dockerized the compilation & added some vscode cfg.
2021-06-20 02:49:56 +01:00
t3hn3rd 1dca0d18e2 Versioning not grabbing all branches for revision. 2020-10-29 15:38:43 +00:00
t3hn3rd 303e96f18d More version file fixes. 2020-10-29 15:35:00 +00:00
t3hn3rd 41d86dd3d5 version readded after accidental deletion. 2020-10-29 15:33:28 +00:00
t3hn3rd 7e9674a63d Cleanup 2020-10-29 15:27:40 +00:00
t3hn3rd c6b7ba510d Cleanup and gitignore! 2020-10-29 15:23:40 +00:00
t3hn3rd cb3a812cb9 Update .gitlab-ci.yml 2020-10-29 12:37:57 +00:00
t3hn3rd 85bb527f61 Update .gitlab-ci.yml 2020-10-29 12:15:58 +00:00
t3hn3rd 0d60e8b354 Update .gitlab-ci.yml 2020-10-29 12:15:33 +00:00
t3hn3rd b4b668f204 Update .gitlab-ci.yml 2020-10-29 12:08:20 +00:00