flat assembler
Message board for the users of flat assembler.

Index > Windows > Print my name

Author
Thread Post new topic Reply to topic
namit



Joined: 07 Nov 2005
Posts: 2
namit
How do i make my name print and move back and forth anong the screen?
Post 07 Nov 2005, 19:25
View user's profile Send private message Reply with quote
namit



Joined: 07 Nov 2005
Posts: 2
namit
am am using debug on windows 2000 to write this
Post 07 Nov 2005, 19:27
View user's profile Send private message Reply with quote
RedGhost



Joined: 18 May 2005
Posts: 443
Location: BC, Canada
RedGhost
i dont really understand what you are saying

"13" on a string will tell the console to print the text on the same cell

eg _percentage db 'percent is: %i', 13, 0, and if you format and print percentage it will update on the same line and position instead of a new one so you could add spaces and take them away i guess? or you could create a window and on WM_PAINT message do TextOutA with incrementing/decrementing x axis coords

_________________
redghost.ca
Post 08 Nov 2005, 22:46
View user's profile Send private message AIM Address MSN Messenger Reply with quote
RedGhost



Joined: 18 May 2005
Posts: 443
Location: BC, Canada
RedGhost
here i have made the console version, it will print "hello namit is my name" in red text and it will move along the screen


Description:
Download
Filename: hello_i_am_namit.asm
Filesize: 1.85 KB
Downloaded: 98 Time(s)


_________________
redghost.ca
Post 09 Nov 2005, 13:55
View user's profile Send private message AIM Address MSN Messenger Reply with quote
profkid13



Joined: 21 Aug 2003
Posts: 112
profkid13
he means he was using the 'debug' program that comes with windows, an assembler

nameit, i suggest you to download fasm instead (www.flatassembler.net) and take a look at the code redghost posted
Post 09 Nov 2005, 19:18
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< 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.

Powered by rwasa.