devos
(Very) basic UNIX-like operating system built when I was younger
File Explorer
Download Latest Version (.zip)- alloc.cc
- architecture.cc
- architecture.h
- archprocess.h
- config.make
- io.cc
- io.h
- linker.ld
- Makefile
- start.asm
- switch.asm
- vmm.cc
- vmm.h
- x86.cc
- x86.h
- x86int.asm
- clock.h
- fb.h
- ioctl.h
- ipc.h
- keyboard.h
- proc.h
- tty.h
- syscall.h
- syscall_table.h
- api.h
- api_posix.cc
- boot.h
- class.cc
- device.cc
- device.h
- elf_loader.cc
- elf_loader.h
- env.cc
- env.h
- file.cc
- file.h
- filesystem.cc
- filesystem.h
- kernel.cc
- kernel.h
- keyboard.h
- Makefile
- modulelink.cc
- modulelink.h
- os.h
- process.cc
- process.h
- signal.h
- socket.cc
- socket.h
- syscalls.cc
- syscalls.h
- system.cc
- system.h
- user.cc
- user.h
- bochsvbe.cc
- bochsvbe.h
- clock_x86.cc
- clock_x86.h
- dospartition.cc
- dospartition.h
- ext2.cc
- ext2.h
- ide.cc
- ide.h
- keys.cc
- keys.h
- Makefile
- module.cc
- module.h
- modules.conf
- null.cc
- null.h
- stdtty.cc
- stdtty.h
- x86serial.cc
- x86serial.h
- alloc.h
- buffer.cc
- buffer.h
- cxx.cc
- itoa.cc
- libc.h
- list.h
- Makefile
- memory.cc
- string.cc
- string.h
- types.h
- config.h
- Makefile
- 1.png
- .gitkeep
- grub.conf
- menu.lst
- stage1
- stage2
- stage2_eltorito
- inet.h
- in.h
- cdefs.h
- ioctl.h
- mman.h
- mount.h
- param.h
- resource.h
- select.h
- socket.h
- stat.h
- time.h
- types.h
- wait.h
- _ansi.h
- alloca.h
- assert.h
- ctype.h
- dirent.h
- endian.h
- errno.h
- fcntl.h
- float.h
- getopt.h
- inttypes.h
- limits.h
- linker.ld
- locale.h
- math.h
- os.h
- pwd.h
- setjmp.h
- signal.h
- stdarg.h
- stddef.h
- stdint.h
- stdio.h
- stdlib.h
- string.h
- strings.h
- termios.h
- time.h
- unistd.h
- utime.h
- .gitkeep
- e_atan2.S
- e_exp.S
- e_fmod.S
- e_hypot.S
- e_log.S
- e_log10.S
- e_pow.S
- s_ceil.S
- s_cos.S
- s_fabs.S
- s_finite.S
- s_floor.S
- s_frexp.S
- s_scalbn.S
- s_sin.S
- getpagesize.c
- longjmp.S
- setjmp.S
- isalnum.c
- isalpha.c
- isascii.c
- isblank.c
- iscntrl.c
- isdigit.c
- isgraph.c
- islower.c
- isprint.c
- ispunct.c
- isspace.c
- isupper.c
- isxdigit.c
- toascii.c
- tolower.c
- toupper.c
- creat.c
- fcntl.c
- open.c
- getopt.c
- getopt_int.h
- getopt_long.c
- getopt_long_only.c
- localeconv.c
- setlocale.c
- s_ldexp.c
- s_modf.c
- inet_aton.c
- inet_ntoa.c
- debug.c
- ipc.c
- module.c
- os.c
- region.c
- semaphore.c
- syscall.c
- sysinfo.c
- thread.c
- endpwent.c
- getpwent.c
- getpwnam.c
- getpwuid.c
- setpwent.c
- kill.c
- killpg.c
- raise.c
- sigaction.c
- sigaddset.c
- sigdelset.c
- sigemptyset.c
- sigfillset.c
- sigismember.c
- signal.c
- sigprocmask.c
- clearerr.c
- fclose.c
- fdopen.c
- feof.c
- ferror.c
- fflush.c
- fgetc.c
- fgets.c
- fileno.c
- fopen.c
- fpurge.c
- fputc.c
- fputs.c
- fread.c
- freopen.c
- fseek.c
- ftell.c
- fwrite.c
- getc.c
- perror.c
- putc.c
- putchar.c
- puts.c
- remove.c
- rename.c
- rewind.c
- setvbuf.c
- stdio_internal.c
- stdio_internal.h
- streams.c
- support_bufio.c
- support_pf.c
- support_supcon.c
- ungetc.c
- abort.c
- abs.c
- atof.c
- atoi.c
- atol.c
- atoll.c
- bsearch.c
- getenv.c
- labs.c
- llabs.c
- malloc.c
- mkstemp.c
- mktemp.c
- qsort.c
- rand.c
- random.c
- srand.c
- srandom.c
- strtod.c
- strtol.c
- strtoll.c
- strtoul.c
- strtoull.c
- memchr.c
- memcmp.c
- memcpy.c
- memmove.c
- memset.c
- strcasecmp.c
- strcat.c
- strchr.c
- strcmp.c
- strcpy.c
- strcspn.c
- strdup.c
- strerror.c
- strlen.c
- strncasecmp.c
- strncat.c
- strncmp.c
- strncpy.c
- strndup.c
- strnlen.c
- strpbrk.c
- strrchr.c
- strsignal.c
- strspn.c
- strstr.c
- strtok.c
- strtok_r.c
- chmod.c
- connect.c
- fstat.c
- ioctl.c
- lstat.c
- mkdir.c
- mount.c
- select.c
- socket.c
- stat.c
- stime.c
- umask.c
- umount.c
- utime.c
- utimes.c
- wait.c
- wait3.c
- wait4.c
- waitpid.c
- tcflow.c
- tcflush.c
- tcgetattr.c
- tcgetpgrp.c
- tcsetattr.c
- tcsetpgrp.c
- asctime.c
- asctime_r.c
- ctime.c
- ctime_r.c
- gettimeofday.c
- gmtime.c
- gmtime_r.c
- localtime.c
- localtime_r.c
- mktime.c
- nanosleep.c
- strftime.c
- time.c
- time_int.c
- time_int.h
- tzset.c
- trio.c
- trio.h
- triodef.h
- trionan.c
- trionan.h
- triop.h
- triostr.c
- triostr.h
- access.c
- alarm.c
- chdir.c
- chown.c
- close.c
- dup.c
- dup2.c
- execlp.c
- execv.c
- execve.c
- execvp.c
- exit.c
- fchdir.c
- fork.c
- fpathconf.c
- ftruncate.c
- getcwd.c
- getdents.c
- getdtablesize.c
- getegid.c
- geteuid.c
- getgid.c
- gethostname.c
- getpgid.c
- getpgrp.c
- getpid.c
- getppid.c
- gettid.c
- getuid.c
- isatty.c
- link.c
- lseek.c
- mmap.c
- pipe.c
- pread.c
- pwrite.c
- read.c
- readlink.c
- rmdir.c
- sbrk.c
- setgid.c
- setpgid.c
- setpgrp.c
- setregid.c
- setreuid.c
- setuid.c
- sleep.c
- symlink.c
- ttyname.c
- unlink.c
- write.c
- closedir.c
- opendir.c
- readdir.c
- rewinddir.c
- sscanf.c
- start.c
- udivmoddi4.c
- Makefile
- build.mak
- diskimage.sh
- Makefile
- qemu.sh
- main.c
- Makefile
- Makefile
- .gitignore
- LICENSE
- Makefile
- README.md
- Vagrantfile
# Installation Guide
1. Get the code
git clone https://github.com/SamyPesse/devos
Downloads the entire project code from GitHub to your computer.
cd devos
Moves into the project folder you just downloaded.
2. Make
Medium RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make all
Compiles the code based on the generated build configuration to produce an executable.
make emulate
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
