flat assembler
Message board for the users of flat assembler.
Index
> DOS > Where is error ? program do not run. |
Author |
|
Matrix 25 Aug 2006, 03:14
hello,
well im somewhat sure you have some mispellings like: Code: start: mov esi,hello .loop: lodsb or al,al jz .done mov dl,al mov ah,2 mov ax,4C00h int 21h jmp .loop .done: mov ax,4C00h int 21h the interesting part is Code: mov ax,4C00h int 21h jmp .loop .done: dos function exit with error code: 00h then jump to .loop i think you could fix these easily hm and there are some things different in protected mode than in dos mode, for example you can only use interrupts that can be called from protected mode, unless you do some trick, and call 16 bit interrupt routines. |
|||
25 Aug 2006, 03:14 |
|
mastek 25 Aug 2006, 07:32
Thank you Matrix.
|
|||
25 Aug 2006, 07:32 |
|
Matrix 30 Aug 2006, 23:29
np, mastek
did you figure out the problem, made it working? |
|||
30 Aug 2006, 23:29 |
|
mastek 05 Sep 2006, 21:17
I tryed fix this part. But I could not do and I locked my system
Asm is hard and I am beginner I want add message "no dpmi server" but i could not be. |
|||
05 Sep 2006, 21:17 |
|
vid 05 Sep 2006, 21:28
i think that you cannot call real-mode int 21h directly from protected mode
|
|||
05 Sep 2006, 21:28 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.