Skip to contentSkip to conversation

command.com on win95 throws video mode out

Qemu-devel John Comeau 2 participants 4 messages Dec 31, 2015 – Mar 9, 2019

lore
Share & tools
lore
#0 lore raw

Public bug reported:

on a presumed-good copy of Windows 95 obtained from http://forum.xda-
developers.com/showthread.php?t=1960870, the operating system boots successfully and shows up fine, but as soon as I double-click the MS-DOS icon, the window, while remaining the same size, goes to a different resolution and only shows a small portion of what it did, with strange colors and artifacts. tried first with the Debian 2.5 package, then with latest cvs sources, then with the 2.5.0 release, all the same problem.

jcomeau@aspire:/usr/src/qemu-2.5.0/build$ cd /tmp/win95/SDL/
jcomeau@aspire:/tmp/win95/SDL$ /usr/src/qemu-2.5.0/build/i386-softmmu/qemu-system-i386 c.img 
jcomeau@aspire:/tmp/win95/SDL$ /usr/src/qemu-2.5.0/build/i386-softmmu/qemu-system-i386 --version
QEMU emulator version 2.5.0, Copyright (c) 2003-2008 Fabrice Bellard

** Affects: qemu
Importance: Undecided
Status: New

** Attachment added: "qemubad.png"
https://bugs.launchpad.net/bugs/1530386/+attachment/4542636/+files/qemubad.png

Signature · 27 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1530386

Title:
  command.com on win95 throws video mode out

Status in QEMU:
  New

Bug description:
  on a presumed-good copy of Windows 95 obtained from http://forum.xda-
  developers.com/showthread.php?t=1960870, the operating system boots
  successfully and shows up fine, but as soon as I double-click the MS-
  DOS icon, the window, while remaining the same size, goes to a
  different resolution and only shows a small portion of what it did,
  with strange colors and artifacts. tried first with the Debian 2.5
  package, then with latest cvs sources, then with the 2.5.0 release,
  all the same problem.

  jcomeau@aspire:/usr/src/qemu-2.5.0/build$ cd /tmp/win95/SDL/
  jcomeau@aspire:/tmp/win95/SDL$ /usr/src/qemu-2.5.0/build/i386-softmmu/qemu-system-i386 c.img 
  jcomeau@aspire:/tmp/win95/SDL$ /usr/src/qemu-2.5.0/build/i386-softmmu/qemu-system-i386 --version
  QEMU emulator version 2.5.0, Copyright (c) 2003-2008 Fabrice Bellard

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1530386/+subscriptions
#1 lore raw

verified that the problem does not exist on bochs version 2.6-5 Debian package. I first had to convert the image from qcow to raw: qemu-img convert -O raw c.img c_raw.img

bxrc file:

megs: 32
vga: extension=vbe
romimage: file=$BXSHARE/BIOS-bochs-latest
vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest
cpu: count=1, ips=100000000, reset_on_triple_fault=1
boot: disk
ata0-master: type=disk, path="/tmp/c_raw.img" #info: action=report
#debug: action=report
log: /tmp/bochs-win95.log
mouse: enabled=0
vga_update_interval: 150000

command line: bochs -q -f /tmp/bochs.bxrc

screenshot attached.

** Attachment added: "screenshot of same image running under bochs"
https://bugs.launchpad.net/qemu/+bug/1530386/+attachment/4542686/+files/screenshot.png

Signature · 27 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1530386

Title:
  command.com on win95 throws video mode out

Status in QEMU:
  New

Bug description:
  on a presumed-good copy of Windows 95 obtained from http://forum.xda-
  developers.com/showthread.php?t=1960870, the operating system boots
  successfully and shows up fine, but as soon as I double-click the MS-
  DOS icon, the window, while remaining the same size, goes to a
  different resolution and only shows a small portion of what it did,
  with strange colors and artifacts. tried first with the Debian 2.5
  package, then with latest cvs sources, then with the 2.5.0 release,
  all the same problem.

  jcomeau@aspire:/usr/src/qemu-2.5.0/build$ cd /tmp/win95/SDL/
  jcomeau@aspire:/tmp/win95/SDL$ /usr/src/qemu-2.5.0/build/i386-softmmu/qemu-system-i386 c.img 
  jcomeau@aspire:/tmp/win95/SDL$ /usr/src/qemu-2.5.0/build/i386-softmmu/qemu-system-i386 --version
  QEMU emulator version 2.5.0, Copyright (c) 2003-2008 Fabrice Bellard

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1530386/+subscriptions
#2 lore raw
In reply to John Comeau

Can you still reproduce this issue with the latest version of QEMU?

** Changed in: qemu
Status: New => Incomplete

Signature · 27 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1530386

Title:
  command.com on win95 throws video mode out

Status in QEMU:
  Incomplete

Bug description:
  on a presumed-good copy of Windows 95 obtained from http://forum.xda-
  developers.com/showthread.php?t=1960870, the operating system boots
  successfully and shows up fine, but as soon as I double-click the MS-
  DOS icon, the window, while remaining the same size, goes to a
  different resolution and only shows a small portion of what it did,
  with strange colors and artifacts. tried first with the Debian 2.5
  package, then with latest cvs sources, then with the 2.5.0 release,
  all the same problem.

  jcomeau@aspire:/usr/src/qemu-2.5.0/build$ cd /tmp/win95/SDL/
  jcomeau@aspire:/tmp/win95/SDL$ /usr/src/qemu-2.5.0/build/i386-softmmu/qemu-system-i386 c.img 
  jcomeau@aspire:/tmp/win95/SDL$ /usr/src/qemu-2.5.0/build/i386-softmmu/qemu-system-i386 --version
  QEMU emulator version 2.5.0, Copyright (c) 2003-2008 Fabrice Bellard

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1530386/+subscriptions
#3 lore raw
In reply to John Comeau

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
Status: Incomplete => Expired

Signature · 27 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1530386

Title:
  command.com on win95 throws video mode out

Status in QEMU:
  Expired

Bug description:
  on a presumed-good copy of Windows 95 obtained from http://forum.xda-
  developers.com/showthread.php?t=1960870, the operating system boots
  successfully and shows up fine, but as soon as I double-click the MS-
  DOS icon, the window, while remaining the same size, goes to a
  different resolution and only shows a small portion of what it did,
  with strange colors and artifacts. tried first with the Debian 2.5
  package, then with latest cvs sources, then with the 2.5.0 release,
  all the same problem.

  jcomeau@aspire:/usr/src/qemu-2.5.0/build$ cd /tmp/win95/SDL/
  jcomeau@aspire:/tmp/win95/SDL$ /usr/src/qemu-2.5.0/build/i386-softmmu/qemu-system-i386 c.img 
  jcomeau@aspire:/tmp/win95/SDL$ /usr/src/qemu-2.5.0/build/i386-softmmu/qemu-system-i386 --version
  QEMU emulator version 2.5.0, Copyright (c) 2003-2008 Fabrice Bellard

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1530386/+subscriptions