Quake3World.com Forums
     Programming Discussion
        Programming in assembly for DOS - still valuable these days?


Post new topicReply to topic
Login | Profile | | FAQ | Search | IRC




Print view Previous topic | Next topic 
Topic Starter Topic: Programming in assembly for DOS - still valuable these days?

The hell good boy
The hell good boy
Joined: 22 Jun 2011
Posts: 1922
PostPosted: 06-24-2015 10:27 AM           Profile   Send private message  E-mail  Edit post Reply with quote


I'm trying out making a tiny program for DOS which plays Happy Birthday song melody via PC speaker and with each chapter displays its text. After 4th chapter it displays greeting and year of build (2015). I am using DOSBox to emulate the PC speaker sound (it plays through normal speakers by square wave, btw). It works as a charm, I just ommited code to stop sound at the end of 4th chapter, so it continued to play loudly the last tone after program terminated :olo: This I am gonna to fix by writing entire program from the very start.

My goal is to ask, if someone still sees any pros of programming DOS applications or is it actualy completely dead and I just try out any ancient phosiles? :D I know there are still companies that use DOS apps in work to save data on server, so they use still Windows XP on their computers (Windows Vista is crappy and Windows 7 does not support DOS apps anymore in fullscreen mode)... But making such tiny programs that play a simple music...



_________________
[ Websites | Facebook | Twitter | YouTube | Instagram ]
When you feel the worst, turn to the sun and all the shadows will fall behind you.” - John Lennon


Top
                 

Insane Quaker
Insane Quaker
Joined: 05 Nov 2010
Posts: 449
PostPosted: 07-06-2015 07:33 AM           Profile Send private message  E-mail  Edit post Reply with quote


Is making a tiny ASM program that plays happy birthday valuable? Not financially, but possibly in terms of educating yourself.
Is learning ASM valuable? Yes. While it's not something you're likely to use daily...monthly..or yearly, it will greatly improve your understanding of how computers work at a low level.




Top
                 

The hell good boy
The hell good boy
Joined: 22 Jun 2011
Posts: 1922
PostPosted: 07-06-2015 08:50 AM           Profile   Send private message  E-mail  Edit post Reply with quote


We learn ASM in our school, however not for DOS, but a kind of microchip (PIC16F84 for sure), which use different instruction set for similar actions. First DOS works with x84 architecture instruction set a lot greater than the PIC's one. I wanted to try out one of ways programmers in DOS times used to, which seems to be successfuly done. The tiny program is ready to go and available to download. However I do not include download link here since the program is in czech and many of people here won't understand lyrics. I made it for friends, I post link of their FB wall when they have birthdays :)



_________________
[ Websites | Facebook | Twitter | YouTube | Instagram ]
When you feel the worst, turn to the sun and all the shadows will fall behind you.” - John Lennon


Top
                 
Quake3World.com | Forum Index | Programming Discussion


Post new topic Reply to topic


cron
Quake3World.com
© ZeniMax. Zenimax, QUAKE III ARENA, Id Software and associated trademarks are trademarks of the ZeniMax group of companies. All rights reserved.
This is an unofficial fan website without any affiliation with or endorsement by ZeniMax.
All views and opinions expressed are those of the author.