Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Help With a driver problem.

  1. Sep 5, 2006 #1
    Hi all,

    i tried to install a game(very old one) on DOS(i know there is no DOS for XP, but nvm), not matter which version of OS i use(window 95, 98 bla bla bla) this erroe also comes out....

    memory not enough to load the SB. Drv driver
    SB.Drv driver seem not the one come along with the game"

    What does is mean and can anyone help me to solve this.

    P.S. i tried to allocate more memory and resource by right clicking the program, properties, then memory and maxing all the viarables there.

    Any help will be greatly appreciated. thx!
  2. jcsd
  3. Sep 5, 2006 #2


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    I'd suggest partitioning your drive and installing an old copy of DOS if you want to run old DOS games.

    - Warren
  4. Sep 5, 2006 #3
    hmmm, how do u partition ur drive.

    And u can actually install DOS? how? is there a programme in the net?

    Thx for the help
  5. Sep 5, 2006 #4


    User Avatar
    Science Advisor
    Homework Helper

    This problem was caused by a bad calculation of the size of phyical memory in the machine.
    They used a 16 bit register that could overflow.

    Real DOS took up much more low memory than the vm does.
    It was also a problem with later versions of real DOS.
    We used to load memory residient programs to take up enough low memory to fix the problem or edit the .exe file to fix it.
    Never tried loading one of these in the vm.

    You should be able to edit the .pif file to limit the amount of memory.
    256k should be a good value.
    Right click the .exe or .com file to access the .pif editor.

    Chances are that you will have clock speed issues with this game, if you do get it to run.
  6. Sep 5, 2006 #5
    so do i have to load a memory resident program? i tried to right click and lower thw amount memory to 256, but it didn't work.

    where can i get a memory resident program?

  7. Sep 5, 2006 #6


    User Avatar
    Science Advisor
    Homework Helper

    No idea on the memory resident thing.
    Could probably write one.
    IIRC its only a couple lines of code.

    What's the name of the game?
  8. Sep 5, 2006 #7


    User Avatar
    Science Advisor
    Homework Helper

    I just thought of another way.
    At the Dos prompt type

    Debug [filename]

    At the Debug prompt type g

    This should push it high enough in memory.
  9. Sep 6, 2006 #8
    Name of the game : Amika <精武战警> ( it is a chinese game)

    BTW the debug thingy didn't work here is what is type.

    " C:\>debug amika
    File not found
    C:\> "

    that is what happen, i am rather sure that the folder is there, but this still happens. i will look up how to write the program and wil get back to you. :)
  10. Sep 6, 2006 #9
    Hi again,

    i dun think it is that easy to write the program, take a look at the link below,

    http://web.sau.edu/LillisKevinM/csci240/masmdocs/programmersguide/15LMAPGC11.pdf#search=%22Memory%20resident%20program%20how%20to%20write%22 [Broken]

    i looks like gibillish to me, any other alternatives?
    Last edited by a moderator: May 2, 2017
  11. Sep 6, 2006 #10


    User Avatar
    Science Advisor
    Homework Helper

    I don't have that particular game.

    You have to switch to the directory the game is in first.
    CD \amika if it is in the c:\amika directory
    Also you need to type the entire file name.
    For example debug amika.exe
    .com was also a common exension.
  12. Sep 6, 2006 #11


    User Avatar
    Science Advisor
    Homework Helper

    The green parts are how it should respond
    You must type this exactly. <enter key> is just hit enter.
    And the responses should match exactly.

    In the command window type
    xxxx:100 mov ax,3100
    xxxx:103 mov dx,1000
    xxxx:106 int 21
    xxxx:108 <enter key>
    CX 0000
    -n memres.com
    Writing 100 bytes

    You now have a program called memres.com
    It's in whatever directory you were in when you started debug.
    when you run it, it will take up 1000h (or 4k) bytes of memory.
    Last edited by a moderator: May 2, 2017
  13. Sep 8, 2006 #12
    i couldn't get my com to spit the green words, it just gave me


    and stuff, but nvm i think there is no chance for me to play that game ever again. Thanks for the help. :)
  14. Sep 9, 2006 #13
    Maybe you could give DOSBox a try?
  15. Sep 9, 2006 #14


    User Avatar
    Science Advisor
    Homework Helper

    Would it help if I mentioned that 'xxxx' ment undefined? It can be any 16 bit hex number?
    16E9: would be valid, but high. I would expect something more like 12xx or 13xx.
    I have no idea how you got to 2382. The "a" command always starts at 100 unless you specify something else.
  16. Sep 10, 2006 #15
    i have no idea also, i tried DOSbox b4 no use. It is able to load the game, but after the screen is blank, after 4 to 5 secs i closes by itself.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook