flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
coconut 14 Nov 2006, 23:54
1) no segment:offset coding, your process has single large memory space
2) you can manually build pe file and/or imports section - but you must use win32 api to do almost anything 3) yes use fasm's 'format pe console' - then look into GetStdHandle api to output text 4) you may find some macros/snippets you can reuse in your code, otherwise youll need to learn the api to work with files. i dont believe you can output directly to screen like in DOS, maybe someone else here can confirm that |
|||
![]() |
|
2 15 Nov 2006, 01:16
OK,well I'll try. I plan on at least doing Hello World.
|
|||
![]() |
|
2 15 Nov 2006, 01:45
Hey,here's something I need to know.
Does Windows have interrupts? In both DOS and Linux,you have interrupt numbers. I never forget the awesome string output calls. int 33 when ah=9 can print text in DOS int 128 when eax=4 can also do it in linux So,does Windows have a set of those interrupts that do things? |
|||
![]() |
|
okasvi 15 Nov 2006, 01:53
no, actual win32 coding has no interrupts.
|
|||
![]() |
|
coconut 15 Nov 2006, 03:29
everything is done through the windows api. look in fasm windows package for some examples
|
|||
![]() |
|
2 15 Nov 2006, 19:35
I messed with the Hello World example,but what I want is a console.
I suppose since what I'm looking for is already done in DOS,I shouldn't bother with a stupid API thing. |
|||
![]() |
|
coconut 16 Nov 2006, 02:41
you cannot even do a simple 'hello world' in windows without using the api - even when working with the console from within windows
|
|||
![]() |
|
revolution 16 Nov 2006, 10:48
Win32 fasm is a console program. Have a look at "fasm.asm" in the win32 folder of the download.
|
|||
![]() |
|
vid 16 Nov 2006, 11:32
also, take a look at Projects/FASMLIB, and there look at win32 examples.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.