| | Submitted on: 8/20/2001 7:06:38 PM
By: OpcodeVoid
Level: Advanced User Rating:
By 23 Users Compatibility:C, C++ (general), Microsoft Visual C++, Borland C++, UNIX C++
Users have accessed this article 6238 times. | (About the author) |
| | This is for Visual basic users also: this will show you how to create a exe with no compiler, linker, anything just pure machine code. Please vote | |
|
Terms of Agreement:
By using this article, you agree to the following terms...
1) You may use
this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
2) You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
3) You may link to this article from another website, but ONLY if it is not wrapped in a frame.
4) You will abide by any additional copyright restrictions which the author may have placed in the article or article's description. | 1.step 1
Open ms-dos and type
copy con test1.com
2.Next press and hold alt-180(Mov value into ah)
3.Next press alt-2
4.Next press and hold alt-178(mov value into dl)
5.Next press alt-1
6.Next press alt-205(Call for ineterupt)
7. press and hold alt-33
8.press and hold alt-195(Retn)
9. press crt-z
press enter than type test1.com
now you see a happy face there it its just 7 bits email me if you want more commands
Please vote even if its a bad one
i just like them | |
Other 7 submission(s) by this author
|
|
|
Report Bad Submission |
|
|
Your Vote! |
See Voting Log |
|
Other User Comments |
8/21/2001 12:30:32 PM:HELP!!!! MY PC SPEAKER IS GOING AWALL!!!!...
I
think i made a typo ;-)
|
8/21/2001 12:31:44 PM:... It does work when you type it right...
cool
|
8/21/2001 1:46:51 PM:ejucatid That's pretty cool, I like it... but I
wish you had explained a little better
exactly what's going on, instead of
just what to do. As in... if I wanted
to print a different character (or add
more characters), what would I do?
|
8/21/2001 2:35:35 PM:Twinb Neat code! I'd like to see more.
|
8/21/2001 3:23:52 PM:PsyVision Can someone send me a piccy of what the
text should look like in the dos window
when u have pressed all the stuff ? I
wanna know more ;D
|
8/21/2001 6:45:13 PM:Chris Wise i couldnt get it too work
|
8/21/2001 9:32:57 PM:Deryck H I dont get it. How do you use it with
a .cpp or .vb file?? I'll give you a 5
star for fun.
|
8/21/2001 9:47:48 PM:Nick I was wondering what
|
8/21/2001 10:34:48 PM:]|Dlague nice, but it does not work on W2K server
|
8/22/2001 1:06:49 AM:alex that's really cool! how does it work?
|
8/22/2001 11:14:48 AM:om this isn't c++, c nor anything remotely
to do with VB. if anything, this should
be in the assembly section, but we
don't have an assembly section on
psc.
And so it's totally irrelavent to
this site.
|
8/22/2001 11:17:06 AM:om Good stuff, but not in anyway relevant
to anything on this site, so u get a
poor rating from me.
|
8/22/2001 12:46:52 PM:Vbmew om this is very good stuff and can be
use with visual basic or c++ to build
assemblers if you know how
|
8/22/2001 1:23:47 PM:Barry Staes How to change a character:
Wel. The
ALT+1 is the code wich tells te
computer to put character with nr 1 on
the screen. (That the face is the 1st
char is only a coincidence!)
so when
you did above stuff, and want to change
the char, you type:
EDIT
TEST1.EXE
then you see a text editor
wich you can use to alter the face.
(not the colored face, the 2nd face is
the one used on your screen) Using the
editor replace the face with an other
character. For example an
|
8/23/2001 1:16:21 AM:PC For better results, call the file
test1.com. It will not open from
windows if it has an EXE extension.
|
8/24/2001 9:42:17 AM:Steve Mack mine gets the size down to 8
bytes...but says it's not a valid win32
applications...I don't really see the
point with that.
|
8/25/2001 10:31:16 PM:Brian G. This is an old DOS style program, PE
executable compressors are more
applicable and usefull nowadays.
|
8/29/2001 10:25:40 AM:John Edward Colman I would like to see more examples like
this.
It'd be great if PSC had an ASM
section.
If you know of any worthwhile
sites please let me know.
|
10/19/2001 1:00:00 PM:GOOOD Cool, nice code !!!
|
10/29/2001 7:36:00 PM:Nice Steve Mack >> did you save it in
notepad? You need to save it as a
binary so use a hexeditor etc...
NICE CODE!!!
|
11/24/2001 4:22:35 PM:Sord Doesn't work in Win XP, CTRL Z just
shows ^Z
|
12/12/2001 6:46:28 PM:chris wow nice stuff. and it does work in
winxp(home edition build 2600) and the
^Z is supposed to show up.
|
12/30/2001 12:18:11 AM:Anxiety Well I see some of you must not have
been following instructions because it
works as it says in WinXP Pro 2600.
Very cool code. I knew about the
/con/con thing but I never knew that
you could use it for other things.
Although this does have nothing to do
with C/C++ its still pretty neat.
|
2/5/2002 11:10:46 PM:Can i Have more commands? Can i have more commands
please?
Thanks,
Dar'KonEx
|
3/11/2002 1:51:08 AM:Mike Hollinger The proliferation of modern programming
languages (all of which seem to have
stolen countless features from one
another) sometimes makes it difficult
to remember what language you're
currently using. This handy reference
is offered as a public service to help
programmers who find themselves in such
a dilemma.
Task: Shoot yourself
in the foot!
C:
You shoot yourself
in the foot.
C++:
You
accidentally create a dozen instances
of yourself and shoot them all in the
foot. Providing emergency medical
assistance is impossible since you
can't tell which are bitwise copies and
which are just pointing at others and
saying,
|
3/26/2002 5:31:58 AM:Matt McCaul Way cool. Didn't know you could ddo
things like that.
Any more information
on that sort of programming would be a
good read...
|
3/31/2002 1:25:29 AM:DarkonEx E-Mail me more commands please this is
cool
darkonex_globalnode5@programmer.
net
Thanks *****
|
5/5/2002 9:19:30 PM:Thunder Hey that's really awesome.
I wish I
could do some fun stuff like that. ;)
|
6/9/2002 9:33:40 PM:Eric M Cool! 4 stars! Would you please email
me a few commands and their hex
opcodes. I too would like to know how
to do a string of commands and how to
make it print the same char forever.
Also, anyone who wants more info on how
that code works. And they should read
http://www.planet-source-code.com/vb/scr
ipts/ShowCode.asp?lngWId=3&txtCodeId=345
0 by Ultimatum.
|
7/5/2002 2:00:06 PM:DaNo There should be an ASM sector @ psc.
Can anybody contact Ian about this?
|
8/29/2002 9:37:22 AM:Zoltan The code is great,I've been playing
with things like this too, I'm making a
rotating box, it runs allready, but the
coding takes too long time...
If u r
interested, mail at
linearconnections@rogers.com
|
|
Add Your Feedback! |
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.
NOTICE: The author of this article has been kind enough to share it with you. If you have a criticism, please state it politely or it will be deleted.
For feedback not related to this particular article, please click here. |
|