â„–36163[Quote]
gem
â„–36164[Quote]
>>36162 (OP)so, it's running in protected 32-bit mode, it has sound, but only through beeps
â„–36165[Quote]
it has CMOS, FAT16, PSF font, PS/2 keyboard, VESA and VGA support
â„–36166[Quote]
>>36165running in qemu, right?
I assume you ported basic utilities like cat, ls from unix
â„–36167[Quote]
How did you implement global descriptor table, or does it use just basic segmentation? Did you use a premade bootloader or did you write a little bootstrapping one yourself?
â„–36169[Quote]
>>36166yeah, it's running in QEMU. i didn't port them from Unix, in fact, it is not unix like at all. why make another unix system?
>>36167i wrote one by myself. I apply the GDT at boot, i don't know how to format code on the sharty doe so i cant show it
â„–36181[Quote]
>>36162 (OP)Holy gemerald. keep developing it, deploy to /soy/, then publish the ISO and get a 'ki page up.
â„–36182[Quote]
>>36181it won't boot on modern uefi thoughie
â„–36183[Quote]
Absolute gem, do you have a VFS or is it just a direct FAT16 driver?
Also add pipes and FIFOs, any OS becomes 10x more keyed with those.
â„–36184[Quote]
>>36183I don't have processes, because i'm a retard. i just write the program to 0x0 and execute it, and if there's no ret at the end of it, it will just crash. I don't have a VFS either
â„–36188[Quote]
great project bro
â„–36197[Quote]
this is actually so kool keep devving it make the p programming language a reality o algo!!!!
â„–36198[Quote]
>got an ISO file to work, it's gonna be a pain in the ass to write the installer in assembly GEG>>36186asm is gooder doe we all love x86 here
â„–36200[Quote]
>it won't boot on modern uefi thoughie>>36182doesn t matter making a bootloader for old bios is easier and noone is actually going to install this soooo
â„–36201[Quote]
>>36200i tried to at least find out how UEFI works, and i found a 4 thousand page handbook
â„–36202[Quote]
>>36201hey don't worry i hit the same roadbump learning this stupid crap i feel like for a toy/hobby os the old bios is best
â„–36205[Quote]
>>36202im gonna make an ISO installer i think
â„–36206[Quote]
put it on github
â„–36208[Quote]
>>36206it's too shit made to be shown to others GEG
â„–36243[Quote]
How hard is making simple OS?
I was told you need to be 190IQ gigachad with 10+ years of x86_64 ASM in order to do that
â„–36246[Quote]
>>36243i spent a few months just tweaking around in Real Mode Assembly, then I found out how to go into protected mode C. then i just could make basically anything i wanted
â„–36252[Quote]
>>36246What programming experience you had before starting this project? What resources have you used?
â„–36256[Quote]
>>36252I used wiki.osdev.org and some other resources I can't remember. before that, I wrote a 3D renderer for OBJ files working in tui, but nothing more than that
â„–36257[Quote]
>>36256You wrote it in C right? And that was your first project?
â„–36258[Quote]
>>36257yeah, it's in C. not my first project doe
â„–36259[Quote]
>>36258What other programming languages you know or used?
â„–36260[Quote]
>>36259uhh, Python, C++ and C#(don't really use them anymore)
â„–36271[Quote]
>>36243you can make a simple boot sector program in 10 minutes, you can make a bootstrapping bootloader (that just reads some sectors from disk (number from dl register), without any actual filesystem stuff) in a hour at worst, from that you can make a simple shell like basic interpreter that works in real mode, not a real OS, just a sole programm. You can then learn to jump into protected mode by setting up GDT and segment registers right or some shit I don't remember. It's not rocket science to build a toy ""OS""
â„–36272[Quote]
>>36271if you don't leave real mode, you'll be stuck with just 1 MB.
â„–36283[Quote]
gemmy
upload it when you're done
â„–36301[Quote]
>>36250i finished the ISO installer, but im a retard and my kernel defaults to ATA SLAVE 1, so i'm gonna have to fix that
â„–36310[Quote]
is it based on any existing kernel/os or was it made from scratch?
â„–36312[Quote]
>>36162 (OP)When can we download this?
â„–36323[Quote]
>>36310i made it from scratch
>>36312im still writing the ISO installer
â„–36326[Quote]
>>36283How do I upload it? I cannot send a zip or iso file
â„–36347[Quote]
>>36326Just host it on gofile, then post the 9 characters after the final slash since gofile links and obfuscation get you auto-'nished.
You could also try hosting on MEGA, but MEGA links will likely get you auto-'nished from the 'arty
â„–36352[Quote]
Use disk_fat.img as the FAT16 drive in the installer. The Wait command is broken, but that's not a problem. There is no editing files, so use the Host OS for that, i guess.
>>36347V61MNSBx
â„–36363[Quote]
How did you manage to write sich low level code for this? How did you learn the skill/knowledge? Can you share some resources? How long did it take you to be this good at programming?
â„–36366[Quote]
>>36363I really don't know how to teach others, but I mainly used wiki.osdev.org for most of my research. I have been at programming for about 4-5 years, but for most of it i wasn't making anything low-level
â„–36369[Quote]
>>36352I might run this in GNOME Boxes AMA
â„–36370[Quote]
>>36369I didn't run it outside of QEMU, so you should try it. A 512 Kilobyte disk for the OS itself should do it
â„–36371[Quote]
>>36370Is this i386 or 8086?
â„–36372[Quote]
Also, what's disk_fat.ing for?
â„–36373[Quote]
>>36372It has all the files for it to boot properly, so just use it as root.
>>36371use x86_64, it is 32-bit
â„–36374[Quote]
>>36373So I mount soyos.iso and disk_fat.img? Where do I put disk_fat.img? I can't put more images in the Boxes virtual USB so I might have to test this on real hardware (which I don't wanna do since this is closed source)
â„–36375[Quote]
>>36374no, i usually do SoyOS.ISO as a cdrom.
Then there is a 512K disk for the OS, and then disk_fat.img.
In the installer, you choose the first 512K disk, and choose disk_fat.img as the root drive.(you can identify disk_fat.img by 32K sectors)
â„–36377[Quote]
>>36372disk_fat.img has some demos in /Home/Demo/ too, if i remember correctly, there is a flower drawing and a sign that says "FUCK NIGGERS"
â„–36379[Quote]
New plan:
Make bootable usb using Rufus
Turn bootable usb into iso file
Use in gnome boxes again for any luck
â„–36380[Quote]
>>36379what even is gnome boxes? im gonna try to get it to boot myself
â„–36382[Quote]
>>36379I checked out Gnome Boxes, don't use that shit. Not only does it have niggerslop UI, it doesnt let you do anything meaningful with disks. Use QEMU.
Just do
dd if=/dev/zero of=disk.img bs=512K count=1
qemu-system-x86_64 -cdrom SoyOS.iso -drive file=disk.img,ide=0 -drive file=disk_fat.img,ide=1
â„–36408[Quote]
>>36407no, because im a retard and cannot implement it. It just defaults to the drive you choose in the installer as root