![]() So I have to rely on wine to assemble and DOSbox to link the object file and run the executable. Now I may use DOSbox to link the hello.obj file to produce the hello.exe executable which I run as my last step: Z:\>mount C "/storage/My Documents/CS264/masm"ĭrive C is mounted as local directory /storage/My Documents/CS264/masmĪt this point I have to assemble with wine to generate the hello.obj Documents/CS264/masm$ wine masm hello.asm Well, DOSbox was able to run my executable (hello.exe), but it won't assemble my source code (although it will link the hello.obj file). Any ideas as to what I'm doing wrong here? :confused: That last command should have displayed the 'Hello, World!' message. Wine hangs with this last error (wineserver and winevdm are both running under System Monitor) until I close the process with ctrl+c. NULL pointer accesses will no longer be caught. ![]() Warning: unprotecting memory to allow real-mode calls. The problem occurs when I try to run the executable Documents/CS264/masm$ wine hello.exe Updated masm directory Documents/CS264/masm$ lsĪDVISOR.HLP DMW0.DLL first.exe HIMEM.SYS make32.bat NEW-VARS.BAT runQH.bat UTILS.HLPĪLANG.HLP DOSXNT.EXE first.obj IMPLIB.EXE MASM.EXE NMAKE.EXE SHD1.DLLĬREF.DOC EED1CXX.DLL H2INC.ERR LIB.EXE ML.ERR NMAKER.EXE SMARTDRV.DOCĬREF.EXE EMD1D1.DLL H2INC.EXE LINK32.EXE ML.EXE QH.EXE SMARTDRV.EXEĬURRENT.STS EMM386.EXE hello.asm LINK.EXE ML.HLP QH.HLP TLD1COM.DLLĬV.EXE EXEHDR.EXE hello.exe LINK.HLP MSPDB60.DLL RAMDRIVE.SYS TLD1LOC.DLLĬV.HLP EXP.EXE hello.obj make16a.bat mymacs.inc RCVCOM.EXE TOOLS.INIĬVPACK.EXE first.asm HELPMAKE.EXE make16.bat NEW-CONF.SYS runCV.bat Uninst.isu Microsoft (R) Segmented Executable Linker Version 5.60.339 Dec 5 1994Ĭopyright (C) Microsoft Corp 1984-1993. All rights reserved.Īssembling: Documents/CS264/masm$ wine link hello.obj ![]() Zm /c /Ta hello.asmĬopyright (C) Microsoft Corp 1981-2000. Hello_message db 'Hello, World!',0dh,0ah,'$'Īnd the contents of my masm Documents/CS264/masm$ lsĪDVISOR.HLP CVPACK.EXE EXP.EXE HELPMAKE.EXE make16a.bat MSPDB60.DLL QH.HLP SMARTDRV.EXEĪLANG.HLP DMW0.DLL first.asm HIMEM.SYS make16.bat mymacs.inc RAMDRIVE.SYS TLD1COM.DLLĬREF.DOC DOSXNT.EXE first.exe IMPLIB.EXE make32.bat NEW-CONF.SYS RCVCOM.EXE TLD1LOC.DLLĬREF.EXE EED1CXX.DLL first.obj LIB.EXE MASM.EXE NEW-VARS.BAT runCV.bat TOOLS.INIĬURRENT.STS EMD1D1.DLL H2INC.ERR LINK32.EXE ML.ERR NMAKE.EXE runQH.bat Uninst.isuĬV.EXE EMM386.EXE H2INC.EXE LINK.EXE ML.EXE NMAKER.EXE SHD1.DLL UTILS.HLPĬV.HLP EXEHDR.EXE hello.asm LINK.HLP ML.HLP QH.EXE SMARTDRV.DOCĮvidently, the hello.asm file assembles and links Documents/CS264/masm$ wine masm hello.asmĬopyright (C) Microsoft Corp 1993. I was wondering if anyone has ever ran masm under wine who might be able to help me with a little problem.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |