The MASM Forum Archive 2004 to 2012
Welcome, Guest. Please login or register.
November 19, 2017, 11:53:50 PM

Login with username, password and session length
Search:     Advanced search
128553 Posts in 15254 Topics by 684 Members
Latest Member: mottt
* Home Help Search Login Register
+  The MASM Forum Archive 2004 to 2012
|-+  General Forums
| |-+  The Campus
| | |-+  cant run my MASM program
« previous next »
Pages: 1 [2] Print
Author Topic: cant run my MASM program  (Read 14817 times)
xdc
New Member
*
Posts: 11


Re: cant run my MASM program
« Reply #15 on: May 01, 2012, 09:59:03 PM »

well just to be sure, windows 7 32-bit will allow me to run these 16 bit programs, etc? (sorry)
because i've tried virtual XP and it gives me the same error.

i was thinking dual boot: windows 7 32bit, and Ubuntu 64 bit. All the other computers around here are also 64-bit
(thanks)

also what are the thoughts on inline assembly (vc++)?
Is it a good way to learn assembly? I want to write 100% assembly code, doing it through
vc++ seems to do some of the work for me
Logged
Gunner
Member
*****
Gender: Male
Posts: 687

What the hell, why not.


Re: cant run my MASM program
« Reply #16 on: May 01, 2012, 10:20:34 PM »

DOS is dead and support dropped from newer OS's (VISTA and above)  I use DFend-Reloaded as a front end to DOSBox this way I can run any 16bit code I write though some code doesn't work correctly and in that case, I fire up a XP virtual machine to run it.
Logged

~Rob (Gunner)
- IE Zone Editor
- Gunners File Type Editor
http://www.gunnerinc.com
GregL
Member
*****
Gender: Male
Posts: 1897



Re: cant run my MASM program
« Reply #17 on: May 01, 2012, 11:43:25 PM »

xdc,

Windows XP Mode on Windows 7 64-bit will run 16-bit programs. I know it will because I have done it.

It sounds like that debugger messed up your system.

As far as inline assembly, I wouldn't recommend it.

You could use ml.exe, link16.exe and OllyDbg.  Honestly, I have no idea which debuggers work with 16- bit code because it has been such a long time since I debugged any 16-bit code.

Do yourself a big favor and start with 32-bit code.
Logged
xdc
New Member
*
Posts: 11


Re: cant run my MASM program
« Reply #18 on: May 01, 2012, 11:58:37 PM »

xdc,

Windows XP Mode on Windows 7 64-bit will run 16-bit programs. I know it will because I have done it.


ok, please forgive me, im a newbie

source code, no errors (32 bit?) (using vc++ 2010 ml and link.exe )
http://i45.tinypic.com/21l2uy0.jpg

run through virtual xp:
http://i45.tinypic.com/1zyh8gk.jpg
Logged
GregL
Member
*****
Gender: Male
Posts: 1897



Re: cant run my MASM program
« Reply #19 on: May 02, 2012, 12:12:02 AM »

xdc,

I edited my post above. I don't know what to say, I was able to run 16-bit programs in Window XP Mode on my Windows 7 64-bit system.
Logged
GregL
Member
*****
Gender: Male
Posts: 1897



Re: cant run my MASM program
« Reply #20 on: May 02, 2012, 12:25:58 AM »

xdc,

That's 32-bit code. I'm confused about what the problem is. It really looks like that debugger messed up your system.
Logged
xdc
New Member
*
Posts: 11


Re: cant run my MASM program
« Reply #21 on: May 02, 2012, 12:38:52 AM »

ok, im sure thats the problem too.

i guess im gonna have to reformat the harddrive.
as i did a fresh install of windows(to see if it would fix), but didn't erase the data
(it was moved to a windows.old)
Logged
dedndave
Member
*****
Posts: 12523


Re: cant run my MASM program
« Reply #22 on: May 02, 2012, 12:41:39 AM »

if you do some research (via google)...
i saw an article someplace that described how to completely remove that debugger
apparently, it is problematic in uninstall
Logged
xdc
New Member
*
Posts: 11


Re: cant run my MASM program
« Reply #23 on: May 06, 2012, 12:18:03 AM »

sorry, i cant find anything. all i get is the sites asking me to install their software to uninstall etc ill keep looking
Logged
xdc
New Member
*
Posts: 11


Re: cant run my MASM program
« Reply #24 on: May 26, 2012, 08:29:22 AM »

I have reformated my harddrive(deleted files/partitions) ( through windows 7 cd).
Fresh install of windows 7 64-bit, downloaded all updates, visual c++ 2010 express, masm32, oracle virtualbox, notepad++

tried to run a 32 bit masm program, still didn't work. tried it through virtual xp mode, still got the same errors from before the reformat.
tried running it with both 16 - 32 bit programs on both windows 7/virtual xp, I think i even tried 64 bit but still got the same error, etc
I got some error from before about virtualization tech on cpu not being enabled before installing virtual xp, even though virtualbox installed fine, and
when i went to BIOS virtual etc was already enabled, so i installed a patch for virtual xp to make it work 'without it'.

So either I didn't completely wipe my harddrive,
something is wrong in BIOS settings,
im installing something else that could be messing it up,
or masm32 wasnt meant to work on my computer using windows 7 64 bit with virtual xp, etc

I can't program in assembly without masm, etc every documentation i've been reading is using masm, etc 'art of assembly'...


anyway, im thinking about completely wiping the harddrive, and installing Ubuntu 64, or ubuntu server ( been wanting to try out server OS)
I'm getting problems installing ubuntu after the reformat, it wont load through cd, or installing in windows, etc ubuntu server only seems to load through CD
Is there a program I can use to program using masm syntax etc for Ubuntu?

Do you have any suggestions as to what I can do. I've actually tried this on a laptop of mine that has windows 7 64 bit, installed virtual xp, masm32, etc still got the same errors.
Gonna have to try it on another computer of mine to see if its not just my pc(edit just tried on another computer, windows 7 64bit, virtual xp, same errors)

Gonna have to try installing windows xp professional 32bit as another boot option
Logged
Pages: 1 [2] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP The MASM Forum Archive 2004 to 2012 | Powered by SMF 1.0.12.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!