Coder Social home page Coder Social logo

Could Beelzebub fit on a floppy? about beelzebub HOT 15 OPEN

vercas avatar vercas commented on September 26, 2024
Could Beelzebub fit on a floppy?

from beelzebub.

Comments (15)

vercas avatar vercas commented on September 26, 2024 2

@informer2016 Sorry for the lack of updates, I've been really busy with work.
Once I finish a major project at work (really soon actually), I'll get back to development.
I have lots of changes that I just haven't pushed to the repo yet... I will once I make sure the build is stable.

from beelzebub.

vercas avatar vercas commented on September 26, 2024 1

from beelzebub.

vercas avatar vercas commented on September 26, 2024 1

Hm, I can certainly think of more use cases now.
Yeah, this is something I'd definitely work on eventually.

Only problem is: I don't have a coreboot-compatible mobo. Or a desktop, for that matter.

from beelzebub.

vercas avatar vercas commented on September 26, 2024 1

I am definitely interested in this with one goal in mind: being able to use the same OS installation with any disk, so you can swap disks in and out at any time, without having to make sure it's installed on each disk.
Beelzebub can also double as a bootloader in this case, so it may be able to chainload other OSes.
Or, even better: boot disks into VM.

I'll have to slim down the kernel a bit (which I'm already doing) and get rid of more bloat. For instance, the initrd shouldn't be the fake sysroot created in order to build the OS.
Things like headers and static libraries aren't needed.

from beelzebub.

vercas avatar vercas commented on September 26, 2024

from beelzebub.

informer2016 avatar informer2016 commented on September 26, 2024

@vercas Your OS could potentially become useful for some practical purposes - like KolibriOS which also fits on a floppy. Also - if you have a chance to get a coreboot supported motherboard - wouldn't it be cool to be able to launch your own OS straight from the BIOS? ;) Its very easy to add any floppy to coreboot BIOS build and then you see it as a boot entry, multiple floppies could be added this way (as long as you have enough space, luckily LZMA compression could be used for the stored floppies to reduce their occupied size)

from beelzebub.

informer2016 avatar informer2016 commented on September 26, 2024

@vercas, for example - imagine you would like to edit some text files at your hard drive very quickly and don't want to wait for the main OS to boot (which could take a few minutes). You just start your "floppy OS" from a BIOS ROM and instantly could access and edit these files! It would be nice to have such an opportunity - and in any case it can be a good idea to occupy the remaining free space at BIOS ROM chip with something useful - or just for fun

from beelzebub.

informer2016 avatar informer2016 commented on September 26, 2024

@vercas, Hopefully you will have a chance to get the coreboot-supported board in the future, e.g. I saw a used Lenovo G505S (powerful A10-5750M quad-core AMD laptop supported by coreboot, could have 16GB RAM also) for just $100 at eBay, not sure if its still there though... According to https://github.com/coreboot/seabios/blob/master/src/hw/floppy.c , any floppy could be added - as long as it is one of these sizes listed below

// 1 - 360KB, 5.25" - 2 heads, 40 tracks, 9 sectors
// 2 - 1.2MB, 5.25" - 2 heads, 80 tracks, 15 sectors
// 3 - 720KB, 3.5"  - 2 heads, 80 tracks, 9 sectors
// 4 - 1.44MB, 3.5" - 2 heads, 80 tracks, 18 sectors
// 5 - 2.88MB, 3.5" - 2 heads, 80 tracks, 36 sectors
// 6 - 160k, 5.25"  - 1 heads, 40 tracks, 8 sectors
// 7 - 180k, 5.25"  - 1 heads, 40 tracks, 9 sectors
// 8 - 320k, 5.25"  - 2 heads, 40 tracks, 8 sectors

it is possible to have more than 1 floppy of course, and if you use LZMA compression option while putting this floppy image to the BIOS - it will occupy less space there, and will be quickly uncompressed by the BIOS when you try to boot it

from beelzebub.

informer2016 avatar informer2016 commented on September 26, 2024

@vercas yes there are a lot of possible opportunities ;) I will be following your project and wish you good luck

from beelzebub.

informer2016 avatar informer2016 commented on September 26, 2024

@vercas Hi there, Alexandru ! 😉 Any updates regarding a possible floppy build? I'll be updating my coreboot in the near future and that would be a good opportunity to test your OS as a part of coreboot - I will do it if a floppy would be available

from beelzebub.

informer2016 avatar informer2016 commented on September 26, 2024

@vercas no problem, I'll be checking Beelzebub sometimes (nice name btw) to see if there are any news... Wish you a nice coming holidays ! 😉 🎄

from beelzebub.

informer2016 avatar informer2016 commented on September 26, 2024

@vercas Happy to see you back at Beelzebub 😃 any news about a floppy build? 😉

from beelzebub.

vercas avatar vercas commented on September 26, 2024

@informer2016 There's a lot of bizzare issues to fix before I can have a proper build...
If I just build it with all the bugs, I won't know which has something to do with the floppy build specifically and which doesn't.

from beelzebub.

vercas avatar vercas commented on September 26, 2024

@informer2016 FYI I'm nearly done squashing bugs. There's some weird stuff going on, probably because I'm using a newer GCC version to compile and it's finding more UB in my code, but I'm working on it...
e.g. When I remove the debug print at the beginning of the mailbox test, it stops working...

In the meantime, I added a proper scheduler (required for a couple of tests).

from beelzebub.

informer2016 avatar informer2016 commented on September 26, 2024

Good day @vercas ! Any news my friend?

from beelzebub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.