Closed SQLServerIO closed 2 years ago
Thanks for taking your time and writing this instruction!
I published the instruction here with some changes:
In Windows, the fastest and easiest thing from my point of view is to use WSL and follow the instructions like Linux, it is another additional option, and it is the one that I use :-)
Building BIOS'es For Fun and Profit
This isn't too difficult just follow the instructions.
Download and installs NASM - the latest stable version works NASM
GNUWin32 tools (includes make and tr) GNUWin32
rawwrite dd for windows version 0.6beta3 We need this since it implements /dev/zero internally rawwrite dd
rawwrite dd instructions rename GNUWin32\bin\dd.exe to dd_gnu.exe dd we downloaded and unzipped should be put in the GNUWin32\bin folder
Modify your Windows path Add NASM and GNUWin32 to the windows path under settings->advanced settings->Environment Variables->Path(ether local or system) NASM defaults to c:\program files\NASM GNUWin32 defaults to c:\program files (86)\GnuWin32\bin Just changing your path at the command prompt will not work!
Create batch file bios_lst.bat in the same folder as your source files place this in the file and save.
@echo off dir *.inc /B > bios.lst
(needed for building with NASM)
MakeFile Changes Modify the MakeFile replace ibs=1k to just bs=1k the version of dd we downloaded doesn't support ibs but it won't effect the build or the bin file
Running The Build Run start a administrator command console switch to your source directory run the bios_lst.bat file run make in the source folder take the output and enjoy!
Burning the BIOS There is no minipro alternative for windows other than the gui so if you have a minipro stick to what you know.
First startup Your first startup will be slow it will eventually complain about missing or corrupted nvram settings go into the settings menu and clean it up.
Next Steps
Go learn assembly