Improve inline commenting
This commit is contained in:
parent
660944e70f
commit
398395371b
2
fat.asm
2
fat.asm
@ -16,6 +16,7 @@ cclus: dw 0
|
||||
csec: dw 0
|
||||
|
||||
times (0x0B - ($-$$)) db 0
|
||||
; BIOS PARAMETER BLOCK
|
||||
fdc: ; sector size
|
||||
.ss: dw 0x200
|
||||
; sectors per cluster
|
||||
@ -38,6 +39,7 @@ fdc: ; sector size
|
||||
|
||||
; mformat keeps writing until here
|
||||
; if we place init earlier, code gets overwritten
|
||||
; this also marks the end for the BPB
|
||||
times (62 - ($-$$)) nop
|
||||
|
||||
init: xor ax, ax
|
||||
|
@ -1,3 +1,8 @@
|
||||
/* QEMU and x86 hardware with PCI support (and up) require that BIOS options
|
||||
* rom have a valid checksum, that the sum of all their bytes equals zero.
|
||||
* This script edits a rom binary in-place so it fits that criteria.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
Loading…
Reference in New Issue
Block a user