I mean "real" as in bootable; from scratch.
Right now I don't have a real floppy and I don't want to waste a CD so I am making it inside of a VM! *hurray* And it boots in the same VM independently! *hurray*
.ASM downloads (COPY AND PASTE):
v0.01
If you have Virtual PC 2007, make a virtual floppy disk and save it somewhere. In VirtualBox or what you use, make a floppy controller and leave it. Make sure that the floppy comes before the HDD in the boot order. Boot the machine, insert the floppy, and execute this:
nasm boot.asm -f bin -o boot.bin sudo dd if=boot.bin of=/dev/fd0
Reboot
Last edited by ThePCKid (2011-05-12 20:03:51)
Offline
v0.01: Only thing that works is text output and ctrl+alt+del restart
mov ax, 0x07C0
mov ds, ax
mov si, msg
ch_loop:lodsb
or al, al
jz hang
mov ah, 0x0E
int 0x10
jmp ch_loop
hang:
jmp hang
msg db 'Welcome to TheOS', 13, 10, 0
times 510-($-$$) db 0
db 0x55
db 0xAAOffline
I've just made a minimalistic kernel that can write to video memory in C!
However, I had a long list of commands to do.
Last edited by ThePCKid (2011-05-13 17:24:53)
Offline
This thing looks pwn. Nice job! Looking forward to all the things you'll add in this.
Offline