Coder Social home page Coder Social logo

osfree-project / win16 Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 1.0 13.1 MB

osFree Windows Kernel for osFree Win16 Personality

License: Other

Batchfile 0.24% Shell 0.17% C 81.95% Makefile 1.01% C++ 9.70% Lex 0.08% Assembly 3.62% HTML 0.69% CMake 0.02% Python 0.01% Ruby 0.01% Pascal 2.48%
windows win16 dpmi dos kernel multitasking krnl286 krnl386 cooperative cooperative-multitasking

win16's Introduction

osFree Windows Kernel

This is attempt to reimplement 16-bit Windows kernel for usage in VDM. It is heavely reuses TWIN, WINE and HX-DOS. As well as Mett Pietrek "Windows Internals" and Andrew Schulman "Undocumented Windows" book heavy used to reconstruct Kernel internal structure.

Design

Because original OS/2 uses mostly unchanged Windows so you can consider this is reimplementation of vanilla Windows 3.x. This means most of code is written to start without any underline system, like Win32 or XFree or something like this. KRNL286/386 must start from pure DOS and start working.

Most of initialization code and module manager are from HX-DOS. HX-DOS is a staring base for implementation.

Most other API functions taken from Wine and TWIN, depending on how hard to port to pure 16-bit environment. Many functions ported back to pure DOS 16-bit environment.

Status

Very-very alpha development stage. GDI and USER not handled at all. Most of higher level dll also not implemented.

First goal is to correctly start simple program like WinVer or something like this. This means KERNEL must correctly load and initialise drivers (system, mouse, keyboard) and GDI.EXE with USER.EXE.

Dirs

resources	Icons, bitmaps, cursors from TWIN, fonts from Wine
dlls		Standard Windows DLLs
doc			Some documentation. Mostly outdated and for reference only.
dosx		286 DOS Extender
drivers		Standard Windows drivers
include		Include files. For reference only.
kernel		KERNEL.EXE/KRNL286.EXE/KRNL386.EXE - new kernel
mmsystem
multimedia
pal			Platform Abstration Layer - drivers for X11 (not used, for reference only)
programs	Standard Windows programs. Mix of TWIN, Wine sources, as well as MS File Manager
samples		Various Sample programs
tests		WIN16 unit tests
tools		various tools
user    USER.EXE
utilities
win			WIN.COM - Windows loader
winkrnl		TWIN Windows kernel, gdi, user. For reference only. Current kernel in kernel directory.

win16's People

Contributors

prokushev avatar valerius2k avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

retro-dos-dev

win16's Issues

Fix HDPMI16 port

Need to replace attempt to backport to 16-bit cpu by original version (something wrong with backport, but don't want waste time for debugging).

Add execution of WSWAP.EXE/DSWAP.EXE

Add execution of task swapper to win.com to allow execute DOS programs. Needed for 3.1 and higher. For 3.0 not needed. Seems WSWAP executed by win.com, and wswap executes dosx.exe.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.