Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Latest commit

 

History

History
49 lines (39 loc) · 2.13 KB

README.md

File metadata and controls

49 lines (39 loc) · 2.13 KB

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