joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.68k stars 381 forks source link

【PC-98】 I was able to use the mouse with DOSBOX-X 0.82.8 (PC-98 mode) #902

Open HyabusaBadge opened 5 years ago

HyabusaBadge commented 5 years ago

I was able to use the mouse with DOSBOX-X 0.82.8 (PC-98 mode). I was not able to use the mouse with DOSBOX-X 0.82.9 (PC-98 mode)

HyabusaBadge commented 5 years ago

Mouse.com and Windows mouse moves in DOSBOX-X 0.82.8 (PC-98 mode).

HyabusaBadge commented 5 years ago

How to boot MS-DOS 7.x in PC-98 mode of DOSBOX-X

How to install Win95 on PC-9801 which was equipped with 286 ttp: //hkjunk0.web.fc2.com/computer/pc-98x1/win95_to_pc-9801ex/win95_to_pc-9801ex.html

IO.SYS B8 00 00 8E C0 26 A0 80 04 24 03 3C 03 74 2F Search, 74 2F to EB 2F.

Enhanced mode of Windows 3.x in PC-98 mode of DOSBOX - X, Windows 9x seems to work. Just because the EGC is buggy Use GRCG driver (CRTS.DRV) from Epson version Windows 3.1 You need to. (For Windows 9x, CRTS.DRV for Windows 3.1 Please use. ) If you do not disable DBLBUFF.SYS you will get an error. (Win9x) >> 994 IO.SYS patch is also required Currently it is hard to use because the mouse does not move. After all somehow the GRAPH key (equivalent to Alt key) does not work for DOS applications Some applications can not be operated properly.

HyabusaBadge commented 5 years ago

Screen shot https://i.imgur.com/E40e25s.jpg

HyabusaBadge commented 5 years ago

Upload CRTS.DRV for mouse driver verification. CRTS.DRV is included in the patched MS-DOS 7.1 boot disk.

http://www1.axfc.net/u/3943607.zip

joncampbell123 commented 5 years ago

Wow!

I'm impressed, considering how yet imcomplete the emulation is (DMA I/O ports are not yet emulated for example).

EGC is buggy because not all raster OPs are implemented (only those needed by PC-98 games so far are implemented).

@yksoft1 reports the same EGC problems running Windows 3.1 PC-98 in DOSBox-X.

joncampbell123 commented 5 years ago

Quick question: Does the PC-98 platform have any important I/O ports at 28h-2Bh?

If not, I could enable the DOSBox integration device option to work in PC-98 mode.

Then the DOSBox-X integration mouse driver might provide mouse input for the PC-98 version of Windows 3.1 and 95.

It works with DOSBox-X to allow you to control the mouse in the guest OS without having to capture the mouse, just like the mouse integration in VirtualBox + Windows XP or higher.

joncampbell123 commented 5 years ago

Obviously PC-98 does not provide the BIOS INT 15h mouse API that IBM PC/AT does, so the DOSLIB source code would need to compile a different binary for PC-98 mode, but it could work.

HyabusaBadge commented 5 years ago

Quick question: Does the PC-98 platform have any important I/O ports at 28h-2Bh?

IO port 28h-2Bh is probably not used on PC-98

joncampbell123 commented 5 years ago

DOSBox integration device is now available for PC-98.

Next task: Get Windows 3.1 for PC-98 to run in DOSBox-X and adapt the DOSLIB mouse driver to work.

yksoft1 commented 5 years ago

DOSBox integration device is now available for PC-98.

Next task: Get Windows 3.1 for PC-98 to run in DOSBox-X and adapt the DOSLIB mouse driver to work.

Windows 3.1 is already working if you boot from MS-DOS from disk image. However NEC's EGC 16-color driver had graphical glitches. 31egc I wonder if we could get Windows 3.1 working under DOSBox DOS.