flat assembler
Message board for the users of flat assembler.

Index > DOS > Newbie here! (HEX vs DEC, text output using DOS, VGA)

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
p3rlphr33k



Joined: 22 Dec 2009
Posts: 17
Location: Grand Forks ND
p3rlphr33k
I just dont know how you guys keep all the numbers straight jeez thanks rev,teehee
Post 22 Dec 2009, 22:34
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger ICQ Number Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17635
Location: In your JS exploiting you and your system
revolution
Experience is the best teacher.
Post 22 Dec 2009, 22:45
View user's profile Send private message Visit poster's website Reply with quote
p3rlphr33k



Joined: 22 Dec 2009
Posts: 17
Location: Grand Forks ND
p3rlphr33k
thanks rev, The examples are primarily based on windows which i would like to stay away from

here is the HELLO example:
Code:

; example of simplified Windows programming using complex macro features

include 'win32ax.inc' ; you can simply switch between win32ax, win32wx, win64ax and win64wx here

.code

  start:
        invoke  MessageBox,HWND_DESKTOP,"Hi! I'm the example program!",invoke GetCommandLine,MB_OK
        invoke  ExitProcess,0

.end start
                      
    
Post 22 Dec 2009, 22:47
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger ICQ Number Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1901
DOS386
> The examples are primarily based on windows which i would like to stay away from

Make sure to download the correct package Smile
Post 23 Dec 2009, 06:51
View user's profile Send private message Reply with quote
p3rlphr33k



Joined: 22 Dec 2009
Posts: 17
Location: Grand Forks ND
p3rlphr33k
Good point, but the reality of the situation is I use fasm from a flash drive while im at work. so Im limited to a windows PC I suppose I could download a linux version, but those examples would still be useless now wouldnt they Wink
Post 23 Dec 2009, 17:10
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger ICQ Number Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
No, download the DOS version and take a look at the examples it have inside. Depending on the Windows you have, the DOS version of fasm might not work, but that is not a problem, just grab the examples from the DOS package and use the Windows version of fasm.
Post 23 Dec 2009, 17:46
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.