# Bootloader **Repository Path**: winter-loo/Bootloader ## Basic Information - **Project Name**: Bootloader - **Description**: A simple bootloader - **Primary Language**: Assembly - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2015-04-14 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Tool we used: NASM(download @ nasm.us) VFD(virtual floopy drive, download @ vfd.sourceforge.net) Bochs(download @ bochs.sourceforge.net) Reference https://www.youtube.com/watch?v=5ktTFuFBqzU http://en.wikipedia.org/wiki/BIOS_interrupt_call#Interrupt_table http://www.nasm.us/xdoc/2.11.08/html/nasmdoc3.html#section-3.4.3 Workflow coding in asm --> compile it --> make a bootable --> run it Guide After you writing out the *.asm files, you need an assembler to compile it to a binary file. Open Command Prompt, cd to this directory. Type following command nasm -f bin -o For example, nasm -f bin Boot2.asm -o Boot.bin if you need a .img file, type as follows nasm -f bin Boot2.asm -o Boot.img To makt it bootable, you need a tool mkbt.exe (included in this directory). Then typing in command line, mkbt Boot.bin a: Note: before the above command, you need to format the floopy drive `a:` Now, start the file **bochs.bxrc**