flat assembler
Message board for the users of flat assembler.
Index
> Main > can't compile with INT 10h |
Author |
|
gunblade 24 Aug 2005, 07:03
That sounds like a DOS error.. you sure your doing "fasm file.asm"?.. sounds like your trying to run the source file if anything
|
|||
24 Aug 2005, 07:03 |
|
vid 24 Aug 2005, 13:37
yup,
1. add "org 100h" and the beginning and "int 20h" at the end 2. in command line write "fasm file.asm file.com' 3. run "file.com" |
|||
24 Aug 2005, 13:37 |
|
MaaSTaaR 24 Aug 2005, 15:31
Great it's work now
but i have question , i know 20h is DOS int , but when i want write my own OS , should i use 20h ? |
|||
24 Aug 2005, 15:31 |
|
Matrix 24 Aug 2005, 23:14
MaaSTaaR,
if you write os what exactly dos interrupt should do in your os? i whould think you are making an os for dos... |
|||
24 Aug 2005, 23:14 |
|
vid 25 Aug 2005, 08:21
i quess it's not time for you to write OS yet. but of course, you can't use int 20h outside DOS. But your problem is problem of logic - what should int 20h do in your OS. int 20h is exit to parent program, so it has no meaning in OS.
|
|||
25 Aug 2005, 08:21 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.