Coder Social home page Coder Social logo

cregfix's Introduction

CREGFIX
=======

CREGFIX is a small program that works around an issue of many modern CSM BIOS
implementations where certain control register bits are left "dirty", thus
causing issues when trying to run legacy operating systems such as Microsoft
Windows 9x (see "While initializing device VCACHE: Windows protection error"
issue).

This program can be built using "nasm":

  nasm -DCREGFIX_BOOT cregfix.asm -fbin -o cregfix.img
  nasm -DCREGFIX_COM cregfix.asm -fbin -o cregfix.com

but included in this repository is prebuilt "cregfix.{img,com}" files.

The ".com" version of CREGFIX is a DOS-compatible .COM executable which can be
added to the beginning of the AUTOEXEC.BAT file and it will sanitise the
control register bits every time DOS boots up.

Alternatively, the ".img" version of CREGFIX is a PC booter floppy disk image
that will sanitise the control register bits before any OS runs.

Write this floppy disk image file to a USB stick or a real floppy disk using a
utility like "dd" or "cat".
On Windows, a utility such as Rufus (in dd mode!) or balenaEtcher should work.

The written disk can then be attached to the target PC, booted from, and it
will chainload the first hard drive after sanitising the control register bits.

If using a USB drive, make sure that the BIOS is emulating a floppy disk drive.

Make sure to tell the BIOS to boot from the USB/floppy drive first in order to
automate the process of running the CREGFIX chainloader.

cregfix's People

Contributors

mintsuki avatar

Stargazers

 avatar Braden Farmer avatar Doru Barbu avatar Masanori Ogino avatar mirabilos avatar Konstantinn Bonnet avatar Laura Kirsch avatar hellisabove avatar Sleepy Monax avatar Michał Skrzyński avatar niko avatar June 🍓🦴 avatar  avatar Neptune avatar  avatar

Watchers

 avatar  avatar

cregfix's Issues

Hi, how to contact you?

Hi, I'm an ex-V developer, and I saw you were inactive for quite a long. I want to ask you about your journey with V and how it ended.

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.