flat assembler
Message board for the users of flat assembler.

Index > DOS > Zoom String in Graphic mode

Author
Thread Post new topic Reply to topic
DJ Mauretto



Joined: 14 Mar 2007
Posts: 464
Location: Rome,Italy
DJ Mauretto 18 Mar 2007, 14:34
Hello Very Happy

This small example retrieve string typed on command line and display
on the screen with zoom x1, x2 ,x4 Wink
compatibility CPU 286 , VGA
Example:
zoom.com Hello World !
Post 18 Mar 2007, 14:34
View user's profile Send private message Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1903
DOS386 18 Mar 2007, 16:34
Quote:
This small example retrieve string typed on command line
and display on the screen with zoom x1, x2 ,x4
compatibility CPU 286 , VGA
Example:
zoom.com Hello World !


Nice. Smile

The 82 zeros at the end would be avoidable probably, as well as all
the NOP'ed aligns before every SUB.

What is the benefit of all the OFFSET's ? I kicked them
out and code still compiles into byte-identical executable.
Stuff having same age (>=15 years) as the "MS-kernel" ? Laughing
Post 18 Mar 2007, 16:34
View user's profile Send private message Reply with quote
DJ Mauretto



Joined: 14 Mar 2007
Posts: 464
Location: Rome,Italy
DJ Mauretto 18 Mar 2007, 19:09
Hi,
This small example aren't perfect code model ,but only simple example
for beginners. I don't know what are 82 zero at the end , when I write a program play with many numbers ,sometimes i write too much,sometimes less...
Post 18 Mar 2007, 19:09
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 29 Mar 2007, 00:41
Oh well, nice job at least. Could be worse. Laughing
Post 29 Mar 2007, 00:41
View user's profile Send private message Visit poster's website 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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.