flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > Writing Software Interrupts |
Author |
|
LocoDelAssembly 16 Sep 2006, 20:18
Check http://board.flatassembler.net/topic.php?p=42174#42174 (I don't know why I'm using CLI when installing the new handler, that's makes sense only when you modify a hardware interrupt vector).
|
|||
16 Sep 2006, 20:18 |
|
Niels 17 Sep 2006, 09:50
If you are writing an OS, even a small one, you should be familiar with the INTEL documents, the system programming guide in specific. There you will come across an instruction lidt, this can load your new interrupt-table-scheme. This table should content the specific address of all present interrupts. Other than that, be more specific please, or just ask write my code for me.
|
|||
17 Sep 2006, 09:50 |
|
Niels 17 Sep 2006, 10:07
I don't know if the (interrupt)tutorials are correct...
http://www.osdever.net/tutorials.php?cat=0&sort=1 |
|||
17 Sep 2006, 10:07 |
|
Niels 17 Sep 2006, 10:17
In protected mode one must first remap the PIC cause INTEL uses the first 32(0-31) for internal procedures.
|
|||
17 Sep 2006, 10:17 |
|
Niels 17 Sep 2006, 11:32
|
|||
17 Sep 2006, 11:32 |
|
Dex4u 17 Sep 2006, 14:28
See MiniDOS, a 2k Dos clone, With fully commented fasm code.
http://board.flatassembler.net/topic.php?t=5275&start=0 PS: Iet me know if your talking pmode int's. |
|||
17 Sep 2006, 14:28 |
|
Niels 17 Sep 2006, 15:10
@Dex4u: I did made that assumption, cause int 21h is already there in rm
|
|||
17 Sep 2006, 15:10 |
|
Niels 22 Sep 2006, 14:18
Hello log(21,
It still confuses me; Do you want code that does exactly what INT 0x21 does, or you don't know how interrupts can be hailed by the OS. That's why I asked to specify. |
|||
22 Sep 2006, 14:18 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.