flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
ASHLEY4 22 Nov 2004, 17:30
Are you in realmode or pmode.
If i read your ? right, in my pmode os i do this: Code: div_error: pushad push es mov ax,8h mov es,ax mov byte [es:0xB809C], "D" pop es popad iret \\\\||//// (@@) ASHLEY4. Batteries not included, Some assembly required. |
|||
![]() |
|
Octavio 22 Nov 2004, 20:51
Tyler Durden wrote: Yep... this is it... I write my own OS, just for debugging I print exception number to display in every single exception handler... But this is takes so much space Yes you can check the pic ,but only for ints generated by external hardware. this method don´t need too much memory Code: _int0: push 0 jmp generic_int _int1: push 1 jmp generic_int _int2: push 2 jmp generic_int in 32bit mode only 4-7 bytes for each interrupt. |
|||
![]() |
|
Tyler Durden 23 Nov 2004, 09:57
Quote: in my pmode os i do this: I do the same way... But it's suck ![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.