Reputation: 177
I Am currently using emu8086(so i am programming for the 8086mP) but i have a hard time with emu8086 since it cannot "understand" interrupts like int 21h/ah=5bh and many others.What assembler/ide should i use to be able to use other interrupts?(Emu8086 doesnt even support the interrupts which it should,not to mention,the ones added later)
Upvotes: 3
Views: 215
Reputation: 95420
I'm not sure I understand what you mean by "support interrupts". If the issue is to have so-called opcodes for various machine traps or OS calls via traps, the easiest thing to do is to defined parameterized macros for each such trap, and then simply invoke the appropriate macro.
So "int21/ah=5bh" might represent an OS call to "OutputCharacterAL". You'd define a macro:
OutputCharacterAL macro
mov ah,5bh
int21
mend
and invoke it by
mov AL,"*"
OutputCharacterAL
Virtually any assembler will let you do this, so there isn't any "best".
Upvotes: 1
Reputation: 100205
Check out NGASM, ref: http://www.bestdiskrecovery.com/ngasm/index.html
Upvotes: 0