Home / Microsoft / Microsoft DOS / [glow=red,2,300]how to make a exe with ms-dos/cmd?[/glow]
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 2 [All] - (Bottom) Print
Author Topic: [glow=red,2,300]how to make a exe with ms-dos/cmd?[/glow]  (Read 1893 times)
pds
Topic Starter
Beginner



Thanked: 2
Posts: 58



konichiwa kamisan ^_^

« on: November 22, 2009, 02:00:36 PM »

I really wanna make a ms-dos game bu i don't know how to program a exe
<batch only>
IP logged
Two-eyes
Intermediate



Thanked: 4
Posts: 166




« Reply #1 on: November 22, 2009, 02:33:12 PM »

also pleease use normal colour...and no glowing...you're just as important as the other posters...not more not less.  Thanks
IP logged

Quote
I believe the bushes in my yard will BURN before God picks up a PC to send a message

BatchFileBasics
Hopeful



Thanked: 18
Posts: 387


BatchFileBasics
« Reply #2 on: November 22, 2009, 03:00:34 PM »

try this website
IP logged

When the power of love overcomes the love of power the world will know peace - Jimi Hendrix.
pds
Topic Starter
Beginner



Thanked: 2
Posts: 58



konichiwa kamisan ^_^

« Reply #3 on: November 23, 2009, 09:26:01 AM »

 i mean i wanna know the original method in from 1981
IP logged
BatchFileBasics
Hopeful



Thanked: 18
Posts: 387


BatchFileBasics
« Reply #4 on: November 23, 2009, 11:00:32 AM »

oh my god. billrich is back with a name change. RUN.

anywhoo

ohhh thats what you mean.

although i couldn't find a batch converter for msdos(i don't even know if there is one). i managed to find a free c compiler. http://www.desmet-c.com/ver_251.shtml
takes 4 floppys
IP logged

When the power of love overcomes the love of power the world will know peace - Jimi Hendrix.
BatchFileBasics
Hopeful



Thanked: 18
Posts: 387


BatchFileBasics
« Reply #5 on: November 23, 2009, 11:39:27 AM »

A C compiler will not comply Batch Code.

oh my gosh. no way!

PDS,

A C Compiler compiles C Source code.


bill, how DO you know?!


"Basic"  as usual is confused or misleading or both.


um, were talking about batch and c here.

theres no batch converter for msdos. but there is a c compiler if hes interested in programming
IP logged

When the power of love overcomes the love of power the world will know peace - Jimi Hendrix.
Two-eyes
Intermediate



Thanked: 4
Posts: 166




« Reply #6 on: November 23, 2009, 11:59:32 AM »

try this website

LOVE IT!!!
IP logged

Quote
I believe the bushes in my yard will BURN before God picks up a PC to send a message

milesman
Beginner



Thanked: 6
Posts: 93


« Reply #7 on: November 23, 2009, 12:00:24 PM »

Let me point this out to you. Making a "Game" with Command Prompt (Batch Files) is not easy and I would recommend a different program for designing and coding Video Games.

I wound recommend Game Maker.

yoyogames.com/make
IP logged

(| Cha Cha Cha!
pds
Topic Starter
Beginner



Thanked: 2
Posts: 58



konichiwa kamisan ^_^

« Reply #8 on: November 25, 2009, 02:11:37 AM »

i mean a method to write a ms-dos source and to convert it to exe



how did microsoft make a Exe before there was something else then ms-dos
IP logged
Salmon Trout
Sage



Thanked: 546
Posts: 7,952

Computer: Specs
Experience: Beginner
OS: Unknown

1
« Reply #9 on: November 25, 2009, 02:22:00 AM »

how did microsoft make a Exe before there was something else then ms-dos

Assembly language. Tools available include ASM and Debug.

Code: [Select]
# clear the screen

mov     $clear_screen,%ecx # send the escape code to clear screen
call write_stdout

##############################
        # draw VMW logo

mov     $vmw_sprite,%esi        # Load in sprite
mov $((0x8<<8)+0x6),%ax     # Load in x and y co-ords
call blit_219

    # put "A VMW Software Production"
            # white, x=7, y=15
mov $vmw_string,%esi
call put_text_line_inline

        call dump_to_screen         # dump framebuffer to screen

push $3
pop %ecx         # Pause 3 seconds
call pause_a_while
   
    ################################
# Main Menu Loop
   
opening_screen: 

###############################
        # clear the framebuffer

call clear_framebuffer
 
  ##############################
        # title screen

  mov     $opener_sprite,%esi    # load the title sprite
xor %eax,%eax        # at 0,0
call blit_219
           # Yellow, title_string,x=0 y=5
mov $title_string,%esi     # Malicious Marketers
call put_text_line_inline
   
        call dump_to_screen        # copy to screen

#########################
# pause for 10 seconds
# or less if key pressed

push    $10
pop %ecx
call pause_a_while

#########################
# set variables

xor %ebp,%ebp           # menu-item=0

#########################
# draw attention block
#

xor %bl,%bl        # color = 0
call put_attention_block

####################################
# put the "press F1 for help" string

mov $menu_help_string,%esi      # color grey x=0 y=20
call put_text_line_inline





« Last Edit: November 25, 2009, 02:46:31 AM by Salmon Trout » IP logged


Proud to be European
pds
Topic Starter
Beginner



Thanked: 2
Posts: 58



konichiwa kamisan ^_^

« Reply #10 on: November 25, 2009, 02:50:30 AM »

so is this the methode?
IP logged
Salmon Trout
Sage



Thanked: 546
Posts: 7,952

Computer: Specs
Experience: Beginner
OS: Unknown

1
« Reply #11 on: November 25, 2009, 02:52:45 AM »

so is this the methode?

It is one method. You need to study programming.
« Last Edit: November 25, 2009, 03:07:33 AM by Salmon Trout » IP logged


Proud to be European
Salmon Trout
Sage



Thanked: 546
Posts: 7,952

Computer: Specs
Experience: Beginner
OS: Unknown

1
« Reply #12 on: November 25, 2009, 03:35:40 AM »

theres no batch converter for msdos.

I think it would probably be possible to write a crude one in QuickBasic 4.5
IP logged


Proud to be European
pds
Topic Starter
Beginner



Thanked: 2
Posts: 58



konichiwa kamisan ^_^

« Reply #13 on: November 25, 2009, 03:51:52 AM »

which program lang. this is?
IP logged
Salmon Trout
Sage



Thanked: 546
Posts: 7,952

Computer: Specs
Experience: Beginner
OS: Unknown

1
« Reply #14 on: November 25, 2009, 04:01:08 AM »

which program lang. this is?

QuickBasic 4.5
« Last Edit: November 26, 2009, 03:30:10 AM by Salmon Trout » IP logged


Proud to be European
mroilfield
Adviser



Thanked: 42
Posts: 984

Experience: Experienced
OS: Windows XP



1 1
« Reply #15 on: November 25, 2009, 04:34:02 AM »

takes 4 floppys

Does any one make these any more?????
IP logged

You can't fix Stupid!!!
Salmon Trout
Sage



Thanked: 546
Posts: 7,952

Computer: Specs
Experience: Beginner
OS: Unknown

1
« Reply #16 on: November 25, 2009, 04:37:22 AM »

Does any one make these any more?????

Of course they do.
IP logged


Proud to be European
pds
Topic Starter
Beginner



Thanked: 2
Posts: 58



konichiwa kamisan ^_^

« Reply #17 on: November 26, 2009, 03:25:09 AM »

thank you salmon trout
IP logged
pds
Topic Starter
Beginner



Thanked: 2
Posts: 58



konichiwa kamisan ^_^

« Reply #18 on: November 26, 2009, 04:16:56 AM »

 :-X salmon trout how to draw some spites in quickbasic?
IP logged
Salmon Trout
Sage



Thanked: 546
Posts: 7,952

Computer: Specs
Experience: Beginner
OS: Unknown

1
« Reply #19 on: November 26, 2009, 04:38:11 AM »

:-X salmon trout how to draw some spites in quickbasic?

http://www.tedfelix.com/qbasic/sprites.html
IP logged


Proud to be European
pds
Topic Starter
Beginner



Thanked: 2
Posts: 58



konichiwa kamisan ^_^

« Reply #20 on: November 27, 2009, 02:41:16 AM »

 thanks again
IP logged
pds
Topic Starter
Beginner



Thanked: 2
Posts: 58



konichiwa kamisan ^_^

« Reply #21 on: November 27, 2009, 03:03:29 AM »

i've made a game please is the syntax right?
Code: [Select]
REM ***Guess The Number***
CLS
PRINT "What is your name"<INPUT nm$
110 RANDOMIZE TIMER
N/INT*RN(;1
PRINT
PRINT nm$<", I)m thinking of a"
PRINT "numand 20."
138 PRINT
PRINT "What is my number"<>input g
F g\|n THEN 300
PRINT
PRINT "Hurray, "<nm$<"!"
PIT You Guessed my numbe!"
FOR t/1 to 10000>NEXT t
200 PIT
RNT nm$<", Do you want  to"
PRINT "play again"<>INU$
F a$?"Y" R a$?"y" r a$? "YES or a$/"yes" THE1I$\|"N" or a$\|n$\NO" or a$\|"no" THEN 200
PRINT>END
300 PRINT
F gTEN 350
PRINT "Sorry, "<NM$<". Too Small!"
GOTO 138.
350 RINT "Sorry "nm$<". Too Big!"
GOTO 138
IP logged
pds
Topic Starter
Beginner



Thanked: 2
Posts: 58



konichiwa kamisan ^_^

« Reply #22 on: November 27, 2009, 03:19:12 AM »

and can i add some sund effects from the internal speaker or something like a bleep if you take a item?
IP logged
pds
Topic Starter
Beginner



Thanked: 2
Posts: 58



konichiwa kamisan ^_^

« Reply #23 on: December 09, 2009, 08:05:27 AM »

Thanks, one more thing. If i write a file it isn't a .EXE program but a .NUM file... And when i save it with the extention the game will fail.:S
IP logged
Pages: 1 2 [All] - (Top) Print 
Home / Microsoft / Microsoft DOS / [glow=red,2,300]how to make a exe with ms-dos/cmd?[/glow] « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.102 seconds with 20 queries.