flat assembler
Message board for the users of flat assembler.
Index
> Main > FASM DLL Problem |
Author |
|
LocoDelAssembly 20 May 2007, 17:39
Code: proc OpenScreen org 100h ; DOS mov al, 13h ; VGA 320x200 int 10h ; endp As you said, it's for DOS and will not work under Windows. You have to use DirectDraw instead. Also note that "org 100h" is not a kind of DOS tag, it only sets the origin, something that could lead some problems when you write a DLL. |
|||
20 May 2007, 17:39 |
|
Phosque 20 May 2007, 18:05
Alright, thanks for the reply, LocoDelAssembly.
|
|||
20 May 2007, 18:05 |
|
Hayden 21 May 2007, 03:46
to make things more clear for other readers, interrupt calls cannot be used in a window *.dll
_________________ New User.. Hayden McKay. |
|||
21 May 2007, 03:46 |
|
LocoDelAssembly 21 May 2007, 13:01
Although it's undocumented you can do it even on NT/2000/XP, look at NTDLL.DLL disassembly on machines with no SYSENTER/SYSCALL support. On http://www.ctyme.com/intr/cat-049.htm you can see interrupt services for non-NT Windowses.
What you can't do is calling BIOS** and DOS** interrupts from Windows. **On Win9x I'm almost sure that I saw it on 16-bit or 32-bit Windows executables but Int $10 wasn't one of them. |
|||
21 May 2007, 13:01 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.