Hello All.
I was wondering if anyone could told me how to make a bootsector that loads
system files (for example: ibmio.com and ibmdos.com). And how to make
ibmio.com and ibmdos.com. I have already made a bootsector but it only writes
a message that this disk is not bootable, let me show it to you:
BSect SEGMENT PARA PRIVATE 'CODE'
ASSUME CS:BSect, DS:BSect
ORG 0 ; Boot sector will be here
BootSector DB 0EBh,03Ch,090h
; JMP SHORT BootCode
; NOP
DB ' '
BootBPB DB 25 DUP (0)
DB 00 ; Drive number hard disk (now floppy)
DB 00 ; Reserved
DB 29h ; Extended boot signature
DD 00000000 ; Volume serial number
DB 'SILENCER ' ; Volume label
DB 'FAT12 ' ; File type
BootCode: MOV AX,7C0h ; Standard loading place for
MOV DS,AX ; boot sector
MOV ES,AX
MOV SI,OFFSET BootMsg
MsgLoop: MOV AL,[SI]
CMP AL,0
JE MsgDone
MOV AH,0Eh
INT 10h
INC SI
JMP SHORT MsgLoop
MsgDone: MOV AH,0
INT 16h
INT 19h ; Warm boot
BootMsg DB 'This disk is not bootable.',13,10
DB 0
ORG 510
DB 55h ; Boot sector has to end with
DB 0AAh ; these bytes, in this order
BSect ENDS
=== Cut ===
Another question. Is it possible to create your filesystem ?
Tnx,
Matija
--- FMail 1.22
---------------
* Origin: Loc (2:292/8139.3)
|