Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
refactor: Noms
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainTHD committed Sep 25, 2020
1 parent e3ed6d6 commit 8fcb1d7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/bootSector/diskRead.asm
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ diskReadErrorString:

diskReadError:
mov bx, diskReadErrorString
call printString
call printStringBIOS
; Boucle infinie parce que erreur de toute façon
jmp $

Expand Down
2 changes: 1 addition & 1 deletion src/bootSector/printString.asm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; Affiche une chaine de caractères terminée par '\0'
printString:
printStringBIOS:
push ax
push bx

Expand Down
8 changes: 4 additions & 4 deletions src/secondSector/IDT.asm
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ 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
POPALL
; Interrupt return quad (car 64 bits)
iretq

GLOBAL loadIDT
GLOBAL _loadIDT
; Charge les interruptions IDT
loadIDT:
_loadIDT:
lidt [IDTDescriptor]
; Active les interruptions IDT
sti
Expand Down

0 comments on commit 8fcb1d7

Please sign in to comment.