diff --git a/src/bootSector/diskRead.asm b/src/bootSector/diskRead.asm index 2ab47be..e3107fc 100644 --- a/src/bootSector/diskRead.asm +++ b/src/bootSector/diskRead.asm @@ -36,7 +36,7 @@ diskReadErrorString: diskReadError: mov bx, diskReadErrorString - call printString + call printStringBIOS ; Boucle infinie parce que erreur de toute façon jmp $ diff --git a/src/bootSector/printString.asm b/src/bootSector/printString.asm index 742e13b..a13ba2d 100644 --- a/src/bootSector/printString.asm +++ b/src/bootSector/printString.asm @@ -1,5 +1,5 @@ ; Affiche une chaine de caractères terminée par '\0' -printString: +printStringBIOS: push ax push bx diff --git a/src/secondSector/IDT.asm b/src/secondSector/IDT.asm index 99dfd48..24d9d4a 100644 --- a/src/secondSector/IDT.asm +++ b/src/secondSector/IDT.asm @@ -31,9 +31,9 @@ IDTDescriptor: [extern isr1Handler] ; Rend isr1 global et donc utilisable par le kernel C++ -GLOBAL isr1 +GLOBAL _isr1 ; Interrupt service routine 1, = keyboard -isr1: +_isr1: ; Pour maintenir l'état des registres PUSHALL call isr1Handler @@ -41,9 +41,9 @@ isr1: ; Interrupt return quad (car 64 bits) iretq -GLOBAL loadIDT +GLOBAL _loadIDT ; Charge les interruptions IDT -loadIDT: +_loadIDT: lidt [IDTDescriptor] ; Active les interruptions IDT sti