CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Electronics > Computers and Networking


Computers and Networking Discuss computer and Networking related questions here!


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 11-23-2005, 05:17 AM
 
Join Date: Nov 2005
Location: UK
Posts: 27
flyingmike is on a distinguished road
dos based cnc software

Hi, the software provided with my step four cnc is dos based, to open it I click on an icon from windows 98 which then proceeds to re boot the computer in the dos mode. However the maximised window is very small when the software opens. Changing the screen resolution in the display settings does not seem to solve the problem. Are there any dos based settings that need adjusting, Any suggestions?

Thanks

Mike
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 11-23-2005, 06:30 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

Mike,
I've not got clear understanding from what you posted about when you are seeing this maximized window when the software opens? When running in real DOS, there is no such thing as a window.

Why not just start your computer up in DOS mode manually, and start the program from a command prompt? All you need to know is the path to where the exe file for your program is located, and DOS, properly set up with config.sys and autoexec.bat files should load it up. Keep in mind that DOS file names cannot be longer than 8 characters, and a long filename is truncated with the '~1' or '~2' on the right end, before the file extension.

IIRC, I think Windows could be configured so that it would rename the config.sys and autoexec.bat files automatically. This is because these two file names have 'magic' associated with them, and your PC will run those files first whenever it boots, if it finds them, and then windows itself may not load properly. So when Windows is running, then config.sys needs to be renamed to config.dos and autoexec.bat needs to be renamed to autoexec.dos.

When in DOS mode, those two files must have their extensions changed back to the .sys and .bat so that DOS recognises them. Of course, these two system files should also contain some information and not just be empty.
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 11-23-2005, 08:11 AM
 
Join Date: Nov 2005
Location: UK
Posts: 27
flyingmike is on a distinguished road

Thanks for the reply, the program is set to reboot the computer once it is selected. When the words come up on the screen saying that the computer is starting the ms dos application e.t.c, they all are contained within a small area in the center of the screen, about 6inches square.

How do I get the computer to go into dos mode first without going into windows? The computer I use is a toshiba satellite pro laptop.

Thanks

Mike
Tweet this Post!Share on Facebook
Reply With Quote

  #4  
Old 11-23-2005, 08:20 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

Oh, that screen Well, does it really matter how small that last command window is? Once the machine reboots to DOS, you won't be seeing that window any more.

Getting into DOS mode can be done typically by tapping the F8 key as the computer is booting. This should bring up an options screen which allows you to boot either to a command prompt or to windows. Now having said that, there is more to booting into a properly configured DOS than a command prompt. If the guys who sent you your software have this all automatically set up, then use what they sent, and don't worry about how small the command window is when windows shuts down. If you see windows attempting to run DOS in a window, then you have not successfully rebooted into real DOS mode. Contact your cnc support guys for tackling this issue, because the only way I know to do it, is the long way.
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 11-23-2005, 08:27 AM
 
Join Date: Nov 2005
Location: UK
Posts: 27
flyingmike is on a distinguished road

once the software loads in the real dos mode the screen is very small. It is not a window as they appear in windows, I just used this to describe how the software looks when it is running, i.e the software running in a little square in the middle of the screen, with a big black border around it. But I think I have confused matters


Mike
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6  
Old 11-23-2005, 09:05 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

Well, on a long shot, maybe you need to change the resolution at which your video driver is running while in DOS mode. Typically, the program might assume that it is running full screen at 640 x 480 pixels, but perhaps your vga setting in the autoexec.bat or in the config.sys file (I don't remember which one holds this setting) is setting the monitor to run at a much higher resolution. Hence, it would appear to look like a small window.

What are the contents of those two system files right now?

Edit: another trick might be to change your screen resolution down to 640 x 480 while running windows. When the computer restarts on a warm reboot, the last used resolution in windows might 'stick' and carry over into DOS mode.
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

Last edited by HuFlungDung; 11-23-2005 at 09:25 AM.
Tweet this Post!Share on Facebook
Reply With Quote

  #7  
Old 11-23-2005, 12:05 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,710
Al_The_Man is on a distinguished road
Buy me a Beer?

Do you need Windows at all? If not you could load just DOS 7.1, see http://www.cn-dos.net/msdos71/
It would shorten your boot time.
Al.
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 11-23-2005, 03:53 PM
 
Join Date: Nov 2005
Location: UK
Posts: 27
flyingmike is on a distinguished road

HuFlungDung, via the properties menu, the advanced program settings were adjusted to specify a new dos configuration as outlined in the manual for the cnc software, they now read as follows:

CONFIG.SYS for MS DOS mode:

DOS=HIGH,UMB
Device=C:\WINDOWS\Himem.Sys
Files=50
Device=c:\windows\COMMAND\display.sys con=(ega,,1)
Country=043,850,c:windows\COMMAND\country.sys

AUTOEXEC.BAT for MS DOS mode:

SET TMP=C:\WINDOWS\TEMP
SET TEMP=C:\WINDOWS\TEMP
SET PROMPT=$p$g
SET winbootdir=C:\WINDOWS
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND
C:\WINDOWS\COMMAND\mode con codepage prepare=((850) C:\WINDOWS\COMMAND\ega.cpi
C:\WINDOWS\COMMAND\keyb gr,,C:\WINDOWS\COMMAND\keyboard.sys
LoadHigh C:\S4PROV4\S4MOUSE.COM

I opened the software via a DOS window by interupting the start up by pressing F8 this had no affect on the screen size. What I find strange is the fact that all the text that comes up when the computer is starting up and when the DOS mode has been entered are all confined to a small area in the center of the screen, just like when the software opens. Also, when I change the resolution settings in windows the window changes size rather than just the resolution changing, i.e. reducing the resolution down the 640 x 480 makes the screen go down in size to about the same size as when I open the cnc software, I think this must be linked to the problem.

Mike
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 11-23-2005, 04:50 PM
 
Join Date: Apr 2003
Posts: 170
CNC Pro is on a distinguished road

On one of my DOS controllers, I use the windows shut down/restart in DOS. This works in on my system. If I try running the controller software through a DOS window while in Windows 98 it causes some issues.
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 11-23-2005, 05:23 PM
greybeard's Avatar  
Join Date: Jun 2005
Location: UK
Age: 73
Posts: 1,346
greybeard is on a distinguished road

Mike - is the software supercam by any chance ?
I've just aquired it, and the opening of the dos screen seems to reboot from a windows shortcut, but not the usual "dos in windows config".
If it is supercam I'd be happy to compare notes as I've not found anyone else using it !!!
__________________
It's like doing jigsaw puzzles in the dark.
Why is there always more error than trial ?
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 11-24-2005, 03:29 AM
 
Join Date: Nov 2005
Location: UK
Posts: 27
flyingmike is on a distinguished road

The software I am using is made by step four called S4PRO. You get it with the cnc router, nice software, I just have this screen problem to clear up.

Mike
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 11-24-2005, 05:12 AM
 
Join Date: Sep 2005
Location: Romania
Posts: 11
Old_Man is on a distinguished road

I think your problem is the monitor you're using, how is the boot ecran looking when the computer boots, you know, hdd detecting, memory size, etc etc etc, if even this ecran look confined in centre, then the monitor or laptop ecran could not support the dos video mode you`re asking to do. Some monitors don`t like dos video mode, something like fixed frequency monitors. If your laptop has some 15 pin VGA out port, try hooking some 14" vga monitors and see how work`s.
Sorry for my english, is not my native language.
Regards. Gabriel
Tweet this Post!Share on Facebook
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -5. The time now is 01:54 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353