Search found 574 matches

by andymc
Mon Jun 28, 2021 10:40 pm
Forum: General
Topic: Visopsys 0.91 - Return of the RAMdisk?
Replies: 14
Views: 9623

Re: Visopsys 0.91 - Return of the RAMdisk?

Breakthrough! I took the plunge and integrated a GCC cross-compiler into the Visopsys build system. I'm back to being able to build a working system, and the executable size problem is solved. I should be able to investigate this RAMdisk thing now, and should be able to (still) fit the result on a 1...
by andymc
Mon Jun 21, 2021 11:27 am
Forum: General
Topic: Visopsys 0.91 - Return of the RAMdisk?
Replies: 14
Views: 9623

Re: Visopsys 0.91 - Return of the RAMdisk?

Unfortunately, it gets worse. Even with a custom linker script, the kernel that I'm building is not usable as a kernel. I think there's too much Linux optimization going on here now -- the latest GCC on Mint creates an executable that's effectively relocatable and requires runtime loader fixups (whi...
by andymc
Tue May 04, 2021 11:40 pm
Forum: General
Topic: Visopsys 0.91 - Return of the RAMdisk?
Replies: 14
Views: 9623

Re: Visopsys 0.91 - Return of the RAMdisk?

I'm getting there, slowly. Yes, the newer GNU ld outputs a kernel executable that's quite different. Most notably, it has moved the read-only data out of the code section, and into its own loadable section. My BIOS OS loader isn't equipped; it's necessarily fairly simple-minded w/r/t ELF layout, as ...
by andymc
Wed Apr 07, 2021 9:33 am
Forum: General
Topic: Visopsys 0.91 - Return of the RAMdisk?
Replies: 14
Views: 9623

Re: Visopsys 0.91 - Return of the RAMdisk?

Just an update: I'm experimenting with using clang now, in place of gcc. It looks promising, size-wise, but the kernel still crashes on startup, in what looks like the same sort of way. I think it's probably a linking issue.
by andymc
Sun Mar 28, 2021 10:36 pm
Forum: General
Topic: Visopsys 0.91 - Return of the RAMdisk?
Replies: 14
Views: 9623

Re: Visopsys 0.91 - Return of the RAMdisk?

Hi Qmastery, Ok, that sounds like the best solution for the time being -- making it 2.88. Of course the binaries I'm building now with GCC 9 have some kind of bug in them; they crash on kernel startup. I'm trying to debug that first. But also, I'm in the middle of moving house, so it'll be a little ...
by andymc
Wed Mar 17, 2021 1:11 am
Forum: General
Topic: Visopsys 0.91 - Return of the RAMdisk?
Replies: 14
Views: 9623

Re: Visopsys 0.91 - Return of the RAMdisk?

Hi qmastery I've tried gcc down to version 7, which is the lowest binary version available from the mint repos, and the resulting binaries are smaller, but still much too large to build a working, graphical version of the OS that fits on a 1.44M floppy. I've also tried various size optimization tric...
by andymc
Mon Feb 22, 2021 1:08 am
Forum: General
Topic: Visopsys 0.91 - Return of the RAMdisk?
Replies: 14
Views: 9623

Re: Visopsys 0.91 - Return of the RAMdisk?

Argh. I've sorted out my differences with gcc 9, but the kernel it generates is about 10% bigger :angry-cussing:, so the filesystem gets filled up, and making a boot floppy is going to require some fancy footwork. If I can't get the latest gcc to make a smaller kernel, continuing to provide a boot f...
by andymc
Wed Feb 17, 2021 11:12 pm
Forum: General
Topic: Visopsys 0.91 - Return of the RAMdisk?
Replies: 14
Views: 9623

Re: Visopsys 0.91 - Return of the RAMdisk?

Hi qmastery Sorry again for being so slow. Lots going on around here. I also re-installed my OS on my dev workstation, to the latest Mint, and now I have to figure out why I can't build my sources with gcc 9 and the usual gcc-multilib package. It's rejecting my inline assembly bits, trying to build ...
by andymc
Fri Jan 01, 2021 7:26 pm
Forum: General
Topic: Visopsys 0.91 - Return of the RAMdisk?
Replies: 14
Views: 9623

Re: Visopsys 0.91 - Return of the RAMdisk?

Hi qmastery, sorry for the delay. I haven't had much spare time lately, and I've been working on a couple of Visopsys things already that required all my attention. I got a minute just now and tried the /ramdisk. It seems like the RAM disk loading fails for me in the bootloader? The progress bar sto...
by andymc
Fri Dec 11, 2020 12:19 am
Forum: Partition Logic
Topic: Won't finish booting
Replies: 15
Views: 20496

Re: Won't finish booting

Hmm. I'm trying this out - skipping PIC initialization. It works fine in a VM, but not so much on my dev workstation.

If I can get something working, what format do you prefer to try? ISO image?

[ EDIT: I see that you've earlier stated a preference for USB]