![]() |
Just something I came up with last night and decided to make the concept a reality.
Since DosBox allows command-line based changing of emulation parameters, this little batchfile (I know, I suck at programming <_< ) allows the user to change the EMS/XMS/UMB settings easily. :ok: |
Nice one.
You might want to take a look at the db-info.bat created here http://vogons.zetafleet.com/viewtopic.php?t=14601 It shows some power of the config utility. (things you probably didn't know) |
And it has also shown me how I can do certain things better than I did them in this one.
Thanks!!! :ok: I was thinking how to code a more extensive config utility without having to do it the way I did this one (grossly inefficient code). Guess I know what I'll be doing this evening :D |
it seems the script got even more advanced
http://vogons.zetafleet.com/viewtopic.php?t=14619 |
Better use input parameters, it's more agile. For example, EMS.BAT:
Code:
@echo off Code:
@config -set "cpu cycles=%1" |
I like he idea, but I see there is room for improvement.
I don't know if it's too difficult to check in advance what all the settings are instead of enabling them all. Maybe it is an idea to use a real programming language like C, because you can use more functions and control structures. Keep up the good work. |
Quote:
Quote:
|
To check the settings in advance use the same structure as what Data linked:
Code:
config -get "dos ems" > nul |
Quote:
Maybe when I'm really bored then I'll try a version in C or maybe in Quickbasic, but right now I think I already have enough unfinished projects going. Good luck with your project. |
Nice one the_fifth_horseman. I like it as I can use it to do stuff I never knew DOS box could do.
|
The current time is 01:34 AM (GMT) |
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.