Add drive table initialisation
This commit is contained in:
parent
e6e75082e3
commit
a0adadeaf4
2 changed files with 60 additions and 3 deletions
|
@ -65,8 +65,8 @@ putc:
|
|||
announce:
|
||||
push ds
|
||||
push cs
|
||||
mov ax, cs
|
||||
mov ds, ax
|
||||
push cs
|
||||
pop ds
|
||||
mov ax, str_product
|
||||
push ax
|
||||
call printf
|
||||
|
@ -85,15 +85,21 @@ start:
|
|||
|
||||
call announce
|
||||
|
||||
call drvtab_create
|
||||
|
||||
int3
|
||||
|
||||
cli
|
||||
.halt:
|
||||
hlt
|
||||
jmp .halt
|
||||
|
||||
%include "intr.asm"
|
||||
%include "drvtab.asm"
|
||||
|
||||
%include "printf.inc"
|
||||
%include "print.asm"
|
||||
|
||||
%include "intr.asm"
|
||||
%include "debug.asm"
|
||||
|
||||
times 512 nop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue