Guide - Windows 95 on DOSBox 0.74

For Documentation: Userguides and howto's.

Re: Guide - Windows 95 on DOSBox 0.74

Postby Dominus » 2011-2-22 @ 00:59

there is a trick to it that I once knew... Something to do with i/o address of joystick and so on... search for it here, maybe it was mentioned already. I'm sure I mentioned it,but probably in a removed thread. Also Win98 adds a nother layer of problems, it is even more unsupported as Windows 95.
User avatar
Dominus
DOSBox Moderator
 
Posts: 7539
Joined: 2002-10-03 @ 09:54
Location: Vienna or Ludwigsburg

Re: Guide - Windows 95 on DOSBox 0.74

Postby paradoxus » 2011-3-08 @ 13:19

You see, when it freezes up like that, I just leave the machine alone for a few. It finishes eventually.
Paradoxus
Tweenage (no that is not a typo) DOS Enthusiast
User avatar
paradoxus
Newbie
 
Posts: 7
Joined: 2011-2-21 @ 13:44

Re: Guide - Windows 95 on DOSBox 0.74

Postby besweeet » 2011-3-18 @ 08:14

Hey guys,

Simple question: Is there any way of getting separate mounted drives to show up in Windows 95 after booting up a W95 image? My current guess is "no", but its worth a shot.

I'm asking this because I'm trying to access some files and folders on my iPad, but Windows 3.1 doesn't support long filenames, so it's impossible to really figure out what's going on (if someone knows a way of copying files with long filename support, then please tell!).

I was able to install Windows 95 just fine without making images, but I would get an error (SU992010) shortly after it finished copying the files (which took over 2 hours to complete). Trying to start it up with "win" results in a freeze.

I find it weird how you're able to boot up W95 that's in an image file, but not if all of the files are extracted. I extracted everything from my working W95 image, but it wouldn't boot up.

Hopefully someone could shed some light if there's any way of having mounted drives show up in W95, or if there's a way of accessing long filenames files and folders from within DOS and getting them copied and whatnot.
besweeet
Newbie
 
Posts: 3
Joined: 2011-3-18 @ 08:09
Location: Texas

Re: Guide - Windows 95 on DOSBox 0.74

Postby leileilol » 2011-3-18 @ 09:49

That's not weird. Win95 requires an image because of the master boot record.

Also, learn the philosophy of 'virtual machines' - getting pure mounted drives to show up for a whole nother operating system to control is dangerous. The least you could do is use Hal's megabuild and get native IPX support going so you can network your way to your folder, at least
User avatar
leileilol
l33t++
 
Posts: 9050
Joined: 2006-12-16 @ 18:03

Re: Guide - Windows 95 on DOSBox 0.74

Postby besweeet » 2011-3-18 @ 16:27

leileilol wrote:That's not weird. Win95 requires an image because of the master boot record.

Also, learn the philosophy of 'virtual machines' - getting pure mounted drives to show up for a whole nother operating system to control is dangerous. The least you could do is use Hal's megabuild and get native IPX support going so you can network your way to your folder, at least


I don't think that iDOS for the iPad supports any sort of networking. So there's no way to get long filenames from DOS or 3.1?
besweeet
Newbie
 
Posts: 3
Joined: 2011-3-18 @ 08:09
Location: Texas

Re: Guide - Windows 95 on DOSBox 0.74

Postby ripsaw8080 » 2011-3-18 @ 18:08

DOS is limited to 8.3 filenames. Win3.x runs on top of DOS and inherits the limitation. I think some later versions of DOS, like the one you could boot with Win9X, had LFN support; but DOSBox does not emulate that DOS.

There is a utility program called "Instant File Access" (more info here) that adds support for long filenames in Win3.x. However, it maintains a database with a relationship between a long filename and the 8.3 filename used by DOS, and must first "learn" about that relationship before you will see the long filename in Windows, which is probably not exactly what you're looking for.
User avatar
ripsaw8080
DOSBox Author
 
Posts: 4162
Joined: 2006-4-25 @ 23:24

Re: Guide - Windows 95 on DOSBox 0.74

Postby besweeet » 2011-3-18 @ 21:36

Well, once I boot into my W95 image, it'll obviously have LFN support, but I just can't get access to anything outside of that image.

So there's no way to get Windows 95 to work in DOSbox without booting it from a sandboxed image?
besweeet
Newbie
 
Posts: 3
Joined: 2011-3-18 @ 08:09
Location: Texas

Re: Guide - Windows 95 on DOSBox 0.74

Postby wd » 2011-3-18 @ 21:39

Ask microsoft to add such support to win95.
wd
DOSBox Author
 
Posts: 10818
Joined: 2003-12-03 @ 21:23

Re: Guide - Windows 95 on DOSBox 0.74

Postby ian_hawdon » 2011-6-27 @ 16:55

dada wrote:The easiest way to do this (to my knowledge, anyway) is to mount the c.img file in your operating system. qbix mentioned that mount -o loop dos622.img /mnt should do it on Linux.


To mount your imaged C drive on Linux (or using the command method) you need to know the offset of the partition.

Easiest way to do this is to use "parted":

Code: Select all
parted c.img
WARNING: You are not superuser.  Watch out for permissions.
GNU Parted 2.3
Using /home/ian/Downloads/2010_10_30_64bit/c.img
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) unit                                                             
Unit?  [compact]? ?                                                       
parted: invalid token: ?
Unit?  [compact]? B                                                       
(parted) print                                                           
Model:  (file)
Disk /home/ian/Downloads/2010_10_30_64bit/c.img: 419069952B
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End         Size        Type     File system  Flags
 1      32256B  419069951B  419037696B  primary  fat16        boot

(parted) q


The start of the first partition is "32256B", to mount this, you'd run the following command:

Code: Select all
$ sudo mount -o loop,offset=32256B c.img /mnt/image


from there you should be able to copy the Windows 95 installation files.
Windows 3.1, the most stable version of windows yet! :)

Visit http://s1mp3.secret.com.br (muS1c PoD)
User avatar
ian_hawdon
Newbie
 
Posts: 12
Joined: 2005-7-28 @ 19:58
Location: Newcastle-upon-Tyne, England

Re: Guide - Windows 95 on DOSBox 0.74

Postby Galatea2.2 » 2011-7-17 @ 14:22

Hi Guys,

I ran into a problem which, after a two day futile struggle, has left me completely stumped. Hopefully someone here can shed some light, if anything!

I followed all the outlined steps, however when I boot into Windows 95 for the first time, and indeed every time from thereon, I receive the dreaded blue screen of death, saying:

"A fatal exception OE has occurred at 0137:BFFA21C9. The current application will be terminated.

- Press any key to terminate the current application.
- Press CTRL+ALT+DEL again to restart your computer. You will lose any unsaved information in all applications.

Press any key to continue"

This comes up after the standard Win95 logo boot screen goes into scandisk, completes scandisk after checking the filesystem, then goes into the logo screen again before crashing with the error.

Can anyone help?
Galatea2.2
Newbie
 
Posts: 24
Joined: 2011-7-17 @ 14:08

Re: Guide - Windows 95 on DOSBox 0.74

Postby dada » 2011-7-17 @ 14:23

Which version of Windows 95 are you using? I believe the very late versions might not work.
User avatar
dada
Member
 
Posts: 156
Joined: 2009-4-26 @ 12:09
Location: Rotterdam, The Netherlands

Re: Guide - Windows 95 on DOSBox 0.74

Postby Galatea2.2 » 2011-7-17 @ 14:32

Thanks for the speedy response. First I tried Win 95C [OSR 2.5] and then Win95B [OSR 2.1]. Both of them gave the same error. As you note, however, these are the latest builds, so I'll give Win95A a go and post back.
Galatea2.2
Newbie
 
Posts: 24
Joined: 2011-7-17 @ 14:08

Re: Guide - Windows 95 on DOSBox 0.74

Postby dada » 2011-7-17 @ 14:37

For reference, I'm using Windows 95 retail, OEM, 4.00.950.
User avatar
dada
Member
 
Posts: 156
Joined: 2009-4-26 @ 12:09
Location: Rotterdam, The Netherlands

Re: Guide - Windows 95 on DOSBox 0.74

Postby Galatea2.2 » 2011-7-17 @ 18:53

Ok, I've tried Windows 95 [4.00.950] but am still receiving the "fatal exception OE" error upon booting. When I close dosbox and attempt to re-boot [ie. again type "imgmount c c.img" followed by "boot c.img"], it gives me:

"Opening image file c.img
Booting from drive A...

Invalid system disk
Replace the disk and then press any key"

So now it is no longer possible to even access the boot screen. Again, any suggestions will be much appreciated, but I'm getting the feeling no one has ever had this error, so it may be excessively difficult to solve.

I'm running this on Mac OSX, if this is at all helpful.
Galatea2.2
Newbie
 
Posts: 24
Joined: 2011-7-17 @ 14:08

Re: Guide - Windows 95 on DOSBox 0.74

Postby dada » 2011-7-17 @ 18:58

Are you sure you never edited your c.img file in a way that might have damaged it? Could you post your config file through a site like http://pastie.org/ ?
User avatar
dada
Member
 
Posts: 156
Joined: 2009-4-26 @ 12:09
Location: Rotterdam, The Netherlands

Re: Guide - Windows 95 on DOSBox 0.74

Postby Galatea2.2 » 2011-7-17 @ 21:26

Thanks for the inspiration dada - finally managed to crack it. The error appears to have came from the fact that I had two copies of dosbox - one mounted as a .dmg file while another on the Macintosh HDD. Running the one from the hard-drive produced the error, while running dosbox.img would create a flawless Win95 install. Pretty strange, but there was probably some conflict between the two.

Now just a final polishing-off query. Win95 is running with substantial graphical glitches. Reducing the display to 16 colors fixes the problem. I have read elsewhere [http://www.vogons.org/viewtopic.php?t=17324] the key to getting higher colors is installing the w950109b.zip drivers. However, how do I move the driver folder over to the Win95 operating environment? I tried mounting c.img and putting the files straight there, but it just corrupts the c.img file. Any ideas? Sorry for the rather noob question.
Galatea2.2
Newbie
 
Posts: 24
Joined: 2011-7-17 @ 14:08

Re: Guide - Windows 95 on DOSBox 0.74

Postby Galatea2.2 » 2011-7-17 @ 21:39

Edit:
Take that back, just had a lapse of concentration after playing around with this thing for hours. Everything is working fine now. Thanks for all the help dada.
Galatea2.2
Newbie
 
Posts: 24
Joined: 2011-7-17 @ 14:08

Re: Guide - Windows 95 on DOSBox 0.74

Postby dada » 2011-7-17 @ 22:06

It's quite strange that you're getting graphical glitches. If you use machine=svga_s3 and cputype=pentium_slow (and possibly normal core) there shouldn't be any. I'm also running the OSX version, and in my case it works without any external drivers. But I guess you fixed that too, judging from your last post.

Hope you can find any use in Windows 95 on DOSBox, it's more of a toy/gimmick as of yet since compatibility is quite low.
User avatar
dada
Member
 
Posts: 156
Joined: 2009-4-26 @ 12:09
Location: Rotterdam, The Netherlands

Re: Guide - Windows 95 on DOSBox 0.74

Postby Galatea2.2 » 2011-7-19 @ 23:15

I've tried making Win95 a tad more useful by using a 2 gig hard-drive. Also, following other threads, I've installed win95c via "standard vga display" and "no sound," to circumvent the rundll32 error.

However, I've hit another dead end after trying to install daemon tools. Getting usb support in win95c was pretty straightforward, but then d-tools required the installing of internet explorer 4.0. but attempting to install IE4.0 always gave this error:

"Extracting file failed. It is most likely caused by low memory (low disk space for swapping file) or corrupted Cabinet file"

Any clues on how to fix this?
Galatea2.2
Newbie
 
Posts: 24
Joined: 2011-7-17 @ 14:08

Re: Guide - Windows 95 on DOSBox 0.74

Postby dada » 2011-7-19 @ 23:23

Are you sure you actually have 2GB? As I recall it Dosbox doesn't support more than 500 or so MB for hard disk images. Maybe the error really is prompted by low disk space.
User avatar
dada
Member
 
Posts: 156
Joined: 2009-4-26 @ 12:09
Location: Rotterdam, The Netherlands

PreviousNext

Return to DOSBox Guides

Who is online

Users browsing this forum: No registered users and 1 guest