Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-compiled boot records #99

Open
marcosfrm opened this issue Feb 7, 2023 · 7 comments
Open

Pre-compiled boot records #99

marcosfrm opened this issue Feb 7, 2023 · 7 comments
Labels
enhancement New feature or request

Comments

@marcosfrm
Copy link

Older FreeDOS versions used to have a KERNELS.ZIP file with source\ukernel\boot\fat32lba.bin and friends, as mentioned here:

http://wiki.freedos.org/wiki/index.php/How_to_Create_a_USB_Boot_Disk_Using_FreeDOS

Could these get packaged somewhere again?

Thanks.

@ecm-pushbx
Copy link
Contributor

ecm-pushbx commented Feb 7, 2023

I've set up an automatic build of the kernel (using NASM 2.16 and gcc-ia16), the latest revision is always at https://pushbx.org/ecm/download/fdkernel.zip -- older at https://pushbx.org/ecm/download/old/fdkernel/

These generally include the six boot sector loaders (boot12, boot16, oemboot12, oemboot16, 8086 CHS boot32, 386 LBA boot32), as well as the SYS program.

@andrewbird
Copy link
Contributor

I've set up an automatic build of the kernel (using NASM 2.16 and gcc-ia16), the latest revision is always at https://pushbx.org/ecm/download/fdkernel.zip

Why not in the CI here?

@ecm-pushbx
Copy link
Contributor

I don't have access to that.

@andrewbird
Copy link
Contributor

No special access required as everything is in the repo, just make a PR. See how ci_build.sh populates the _output directory with stuff to include and if the build/test is completely successful an artefact .zip file is produced at the end of the run. Note that artefact zips are only produced from the main FDOS/master branch, which is a little inconvenient for your testing, but avoids the proliferation of zips from people's topic branches when they submit a PR.

@ecm-pushbx
Copy link
Contributor

Why don't you do that? What files are included in the artefact zip file? What needs changing from the current script? @ https://github.com/FDOS/kernel/blob/384e68529ad6553a559727e07d1b1f679444d222/ci_build.sh

@andrewbird
Copy link
Contributor

Why don't you do that?

I could but then again I didn't feel the need to take on the build task in the first place.

What files are included in the artefact zip file?

Have a look at the most recent build https://github.com/FDOS/kernel/actions/runs/3886100464, see the snapshot zip at the bottom.

What needs changing from the current script?

Build of the new components needs to happen, then the files to be published should be moved to the _output directory, and since you mention using gcc they probably should occupy that subdirectory. These changes probably should be added around line 28 after share.

Or stick with what you have, I really don't mind.

@marcosfrm
Copy link
Author

Thank you. Automated nightly builds are welcome. It would be nice also have stable boot record binaries in "Releases" (keXXXX_br.zip or so), compiled from the corresponding git tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants