dMZX Forums: MZX 2.70 Under dosemu 1.2.0 - dMZX Forums

Jump to content

If you are new to DMZX, please take the time to look over the FAQ pinned in General before asking a question.

Some simple tips when posting problems:

1) Read FAQs first, and then other recent bug posts and entries in the Bug Tracker. The problem has, often, been already addressed. Redundant reports just waste time.

2) Make sure you explain exactly when the problem happens. If impossible, narrow down the problem to a few possible causes.

3) Go into specifics about your computer and MZX settings. Are you running MZX on Windows, Linux, Mac OS, a PSP, or something else? What versions of these OSes (Tiger vs Leopard, XP vs Vista, 32-bit vs 64-bit, etc)? How is MZX set up? If your problem is regarding a certain aspect of MZX (such as the display), what are the relevant settings in the config file?

Thanks, Management.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

MZX 2.70 Under dosemu 1.2.0

#1 User is offline   ajs 

  • carpe diem
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,614
  • Joined: 21-October 00
  • Gender:Male
  • Location:United Kingdom

Posted 02 February 2004 - 05:19 PM

Hi,

Just a quick howto for those of you wishing to run MZX under Linux. This solution will work on any Linux distribution, but it relies on your video card BIOS supporting VGA, which will not include laptops lacking a legacy VGA BIOS.

First, get dosemu from here:

http://prdownloads.s....0.tgz?download

Grab a few critical files:
wget http://bitpack.net/f...0-compile.patch
wget http://bitpack.net/f...uft/dosemu.conf
wget http://bitpack.net/f...c_drive.tar.bz2

Then;

tar zxvf dosemu-1.2.0.tgz
cd dosemu-1.2.0
patch -Np1 -i ~/dosemu-1.2.0-compile.patch
./default-configure
make
make install (as root)

Now, as root do the following:
cp ~/dosemu.conf /etc/dosemu
(overwrite any existing file)

cd /usr/share/dosemu
tar jxvf ~/c_drive.tar.bz2
rm -rf c_drive/dosemu
mv freedos/dosemu c_drive
rm -rf freedos
ln -sf c_drive/dosemu commands

This replaces the default "freedos" with a new directory called "c_drive" with your host dosemu executables as of this version.

You're now ready to go! Switch to a regular console (do NOT run dosemu from within X, it's pointless and MZX will barely function!) with ctrl-alt-F2. Login as root, and execute:

dosemu

The first time it starts up it will ask for a bootable dos image. Enter:

/usr/share/dosemu/c_drive

And hit return to the information. From now on, dosemu will boot straight up into this disc image as specified in the config file in /etc. Your video should initialise and the emulator should come up. I've simplified things for those of you that haven't used dos in a while, just read the menu and type "megazeux" to start 2.69c.

TROUBLESHOOTING

If you can't compile or install dosemu, it's out of my hands. You need to fix your distribution. It worked on a custom distribution as of 02/02/04, so as far as I'm concerned any compilation breakage is your fault.

However, if dosemu fails to start up, initialise video, or locks up your computer, please do let me know here. If you want to get sound and video working and they don't work with the default config I've supplied, the file to modify (as root) is /etc/dosemu/dosemu.conf. This file contains a lot of useful variables which I've tried my best to helpfully comment.

A common fix for those of you running Redhat 9 or Fedora will be to change /dev/sound/dsp and /dev/sound/mixer to simply /dev/dsp and /dev/mixer, respectively. This will give you sound in MZX.

MegaZeux 2.69c ships configured in the c_drive tarball. It does *not* need reconfiguring, and if you do so you could very well break stuff. If you can't get charedits, SMZX mode or sound, it's a problem with the dosemu.conf, not MZX. Okay?

I think that just about covers it. BTW, for those of you who can't use MZX on XP, this will work a treat on the same computer running Linux. Not that I'm trying to convert you, but it's a useful piece of trivia ;p

Cheers,
ajs.
0

#2 User is offline   Kuddy 

  • nobody
  • Group: DigiStaff
  • Posts: 4,824
  • Joined: 26-January 01
  • Gender:Male
  • Location:Philadelphia
  • 3DS Friend Code:4227-0979-0064

Posted 02 February 2004 - 07:45 PM

pinned~
Posted Image
bollocks
0

#3 User is offline   GetDizzy 

  • Touch Fuzzy.
  • Group: DigiStaff
  • Posts: 3,567
  • Joined: 22-November 01
  • Gender:Other
  • Location:MA

Posted 08 March 2004 - 04:21 PM

Lovely. Didn't work on my laptop, but works like a charm on my 486 with Linux on it. Yay.
- Your Jumpy Neighborhood Admin

<@Tixus> Anyway, I set the year to 1988 for some reason.
<@Tixus> And set the microwave to run for a minute and 28 seconds.
<@Tixus> But it failed to send me back in time, and I was disappointed.
<Insidious> Tixus accidentally microwaved the 80s
<Insidious> that is my takeaway from this
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users