VOGONS

Common searches


First post, by 0Signal

User metadata
Rank Newbie
Rank
Newbie

Hello, this is my first post. 😀 I've installed dos 6.22 on my laptop and masm 6.11. I wanna play with assembly language a little bit. But ml.exe and masm.exe don't run. When I press enter nothing happens, not even message how to use program.

IMG_20230302_093317.jpg
Filename
IMG_20230302_093317.jpg
File size
1.01 MiB
Views
809 views
File license
GPL-2.0-or-later
IMG_20230302_094316.jpg
Filename
IMG_20230302_094316.jpg
File size
483.13 KiB
Views
809 views
File license
GPL-2.0-or-later

When I run pwb.exe I get this screen. Looks like memory doesnt refresh.

IMG_20230302_101513.jpg
Filename
IMG_20230302_101513.jpg
File size
1.32 MiB
Views
809 views
File license
GPL-2.0-or-later
IMG_20230302_101539.jpg
Filename
IMG_20230302_101539.jpg
File size
1.43 MiB
Views
809 views
File license
GPL-2.0-or-later

And after I exit pwb dos gives me message

IMG_20230302_101546.jpg
Filename
IMG_20230302_101546.jpg
File size
549.65 KiB
Views
809 views
File license
GPL-2.0-or-later

Exe files for example in dos folder work good. So sth is wrong with masm or memory.

Reply 1 of 7, by 0Signal

User metadata
Rank Newbie
Rank
Newbie

Ok, so I have masm 6.11 from winworldpc and it doesn't work. I downloaded another installation from sourceforge and masm.exe is working but ml.exe generates fatal errors involving dosxnt file.

I've noticed that second installation has dosxnt.386 file in bin folder and dosxnt.exe has smaller size (393k) than in first installation's bin folder(394k). So I copy both files and now everything works perfectly. 😀))

Reply 3 of 7, by 0Signal

User metadata
Rank Newbie
Rank
Newbie
pan069 wrote on 2023-03-02, 20:52:

What sort of system do you have? It might be good to run some memory testing software as there might be an issue with the memory..

I have Dos 6.22 installed. My laptop is LG 500, 3gb ram, Intel dual core 2ghz, ATI Radeon 256 mb.

What is good app to perform memory test?

Reply 4 of 7, by llm

User metadata
Rank Member
Rank
Member

different question: why do you want to develop directly under DOS?

its much easier to use dosbox + cross-assembling with MASM or better UASM (MASM compatible but better error messages) or NASM on Win/Linux x64 - im doing all my DOS programs that way

Reply 5 of 7, by 0Signal

User metadata
Rank Newbie
Rank
Newbie
llm wrote on 2023-03-03, 06:51:

different question: why do you want to develop directly under DOS?

its much easier to use dosbox + cross-assembling with MASM or better UASM (MASM compatible but better error messages) or NASM on Win/Linux x64 - im doing all my DOS programs that way

Well, I want to learn assembly language. I'm interested in x86 architecture and first thing that came to my brain was that dos should be good starting point. I wanted to go deeper into dos code. You know, how this system boots, works etc. So I wrote program that detects drives (fdd,hdd,cd-rom is not available yet), user can select any sector and see all opcodes.

Tbh I think sth is wrong with battery. I tried to install win 7 and Linux. During installation laptop turns off. 😒

Reply 6 of 7, by pan069

User metadata
Rank Oldbie
Rank
Oldbie

I agree with @llm. Do your development on a modern system with DosBox. E.g. I run a Linux desktop with Sublime as my main text editor and run my MAKE command in a terminal. I mostly use OpenWatcom but any tools that run directly on your main operating system will do. Build your binaries on your main system and run in DosBox. If you need to use the debugger in in PWD then use that in DosBox. Then, every once in a while run your program on an actual target system to see if it all works correctly. Of course, for very specific types of hardware not available in DosBox or performance sensitive code you need to use a real system.