Skip to content

nbs32k/open98

Repository files navigation

open98

An NT-Styled Kernel Clone | x86_64 architecture. It is able to read & write ATA Disks. Supports FAT32 Filesystem.

Made out of Clean Room Reverse Engineering

Features

  • Global Descriptor Table
  • Interrupt Descriptor Table
  • Programmable Interval Timer
  • Exceptions Handler
  • Keyboard & Mouse Driver
  • Physical Memory Manager
  • Virtual Memory Manager
  • Heap ( heap.c )
  • Real Time Clock
  • Mutex
  • Some "UNC" VFS
  • ATA Read / Write ( NtCreateFile, NtWriteFile, NtReadFile, NtClose )
  • ACPI Support ( NtShutdownSystem )
  • Preemptive Multitasking
  • Syscalls
  • Panic Screen
  • Basic GUI

Example of how to read files:

        PCHAR pcBuffer;
	ULONG dwBytes;
	PHANDLE hFile;
	BOOLEAN bSuccess;

	pcBuffer = ( PCHAR )malloc( 512 );

	hFile = NtCreateFile( "C:\\SYSTEM\\POG.TXT", GENERIC_ALL, 0, 0, OPEN_EXISTING, 0, 0 );
	bSuccess = NtReadFile( hFile, pcBuffer, 512, &dwBytes, NULL );

	NtClose( hFile );

	if(bSuccess)
		DbgPrintFmt( "File has been read successfully!" );

	free( pcBuffer );

qemu-system-x86_64_ZvbQLWIKe1 qemu-system-x86_64_0kYM6K1KMf

vlc_rv3SOV5q4O vlc_yBORa2eSn8

About

An NT-Styled Kernel Clone

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages