Previous Thread
Next Thread
Print Thread
Page 1 of 3 1 2 3
The MAME OS installs instructions thread #86865
03/15/13 02:44 AM
03/15/13 02:44 AM
Joined: Mar 2001
Posts: 16,058
USA
R
R. Belmont Online content OP
Very Senior Member
R. Belmont  Online Content OP
Very Senior Member
R
Joined: Mar 2001
Posts: 16,058
USA
Welcome! Please do NOT post discussion or requests for help here. This thread is strictly for instructions on setting up and installing operating systems for computers in MAME.

Feel free to post your own OS install guides. Please try and follow a similar format to what I've done here, with screenshots showing important steps.

A few notes:
- You are limited to 10 pictures per post, so guides will generally need to be at least two consecutive posts.
- Please use a reliable host for photos!
- Suggestions for improving guides are welcome, especially if you tried to follow one and got confused at some point.
- I'd love these guides to end up on the mess.org wiki eventually; if someone wants to start converting them, feel free. I think it's easier to 'beta test' them here though.

Re: The MESS OS installs instructions thread [Re: R. Belmont] #86866
03/15/13 02:56 AM
03/15/13 02:56 AM
Joined: Mar 2001
Posts: 16,058
USA
R
R. Belmont Online content OP
Very Senior Member
R. Belmont  Online Content OP
Very Senior Member
R
Joined: Mar 2001
Posts: 16,058
USA
Stage 1: ct486 PC driver setup for all OSes.

Handy things to have include:
- Preformatted blank 2GB and 4GB hard disk images.
- A DOS 7.1 boot disk with third party CD-ROM drivers.

Step 1: Extract the hard disk images. Make a copy of one of them named after the OS you're going to install, such as win2k.chd. (For Win 95/98/ME you must use the 2GB disk only as a source!)

Step 2: Start the ct486 driver with the following minimal options: -ramsize 64M -hard1 win2k.chd (or whatever you named it).



If you are starting from clear NVRAM, you'll see this message. Press F1 to enter SETUP. If you have previously used the driver, press DEL to enter SETUP during the RAM count-up.

- Choose the first option "STANDARD CMOS SETUP" and press Enter twice, skipping the dire warning.



- Setup the date and time to current and move the cursor down to the Hard Disk C: Type.

- Press Page Up to get type 47 USER TYPE.

- Use the right arrow and number keys to change Cyln to 4161 (2GB) or 8322 (4GB), Head to 16 and Sect to 63. Do not change WPcom or Lzone.

- Select Floppy Drive A and press PAGE UP/PAGE DOWN until it's set to "1.44 MB 3 1/2".

- Press Esc and choose ADVANCED CMOS SETUP. Press Enter to skip the warning screen once again and scroll down to System Boot Up Sequence.



- Press PAGE UP/PAGE DOWN to select "A: C:" as shown

- Press Esc.



- Choose WRITE TO CMOS AND EXIT and press Enter. Confirm when it asks if you really want to.

Congrats, ct486 is now configured! Additional OS-specific instructions will follow.

Re: The MESS OS installs instructions thread [Re: R. Belmont] #86867
03/15/13 03:08 AM
03/15/13 03:08 AM
Joined: Mar 2001
Posts: 16,058
USA
R
R. Belmont Online content OP
Very Senior Member
R. Belmont  Online Content OP
Very Senior Member
R
Joined: Mar 2001
Posts: 16,058
USA
This is for Windows 2000 (2000 original and SP1 are known to work, and these instructions are generally true for NT 4 as well).

FAIR WARNING: this install will take several hours on a machine that runs ct486 at 100% speed and longer on one that doesn't. On machines capable of going above 100%, I highly recommend turning off the throttle any time you don't have to type something.

Step 1: After doing the general PC setup in the post above, extract the boot floppy as well, and get an ISO and product key for the Windows version you plan to install. We can't help you find them, and of course we encourage you only to install operating systems you legally own.

Step 2: start ct486 with some additional parameters: mess ct486 -ramsize 64M -hard1 win2k.chd -flop1 win98boot.ima -cdrom whatever.iso (change whatever.iso to your Windows install disc).

Step 2a: If you think you'll want to use networking later to get the emulated Windows online, you can save some steps by adding -isa4 ne2000 now.

Step 3: After the system boots up to an A:\> prompt, type sys a: c: and press Enter. You should see this:



Step 4: Type d: and press Enter.

Step 5: Type cd i386 and press Enter.



Step 6: Type winnt and press Enter. Accept the default option for where to copy the files. You'll see this warning:



Just press Enter to continue. Files will copy.



When you reach the end of copying, like so:



Close MESS (press ScrLock on Windows/Linux, Delete on OS X to change to partial keyboard mode, then Esc to exit, or simply close the MESS window with your mouse).

Step 7: Restart MESS without the floppy disk inserted. So remove -flop1 win98boot.ima from the previous commandline. You should boot to this:



Just press Enter on the default as shown and setup will continue after a moment:





When you get here, just press Enter.



It will ask you to agree to the license, press F8 to do that.

Choose the default, drive C:, by pressing Enter.



Leave it intact, by pressing Enter.

Windows may ask to reboot at this point, press Enter if it does and wait for it to reboot. This will place you back at the start of step 7.

(continued in next post)

Last edited by R. Belmont; 03/15/13 01:49 PM.
Re: The MESS OS installs instructions thread [Re: R. Belmont] #86869
03/15/13 03:47 AM
03/15/13 03:47 AM
Joined: Mar 2001
Posts: 16,058
USA
R
R. Belmont Online content OP
Very Senior Member
R. Belmont  Online Content OP
Very Senior Member
R
Joined: Mar 2001
Posts: 16,058
USA
Step 8: The main install will begin. This will take a while...



After a while, you'll get here:



And then here:



Step 9: You will be asked to set up your passwords and time zone and stuff. It's full GUI at this point with the mouse so I'm omitting the screenshots. Once you've done that, it'll grind a while longer and you'll get this:



Exit MESS as you did earlier, and remove the -cdrom whatever.iso from the command line, then start MESS again.

Step 10: It will come up with a Network Identification Wizard; simply accept the default (always log in the user you created earlier) and Windows will (eventually) start up.

Success!


Last edited by R. Belmont; 03/15/13 01:48 PM.
Re: The MESS OS installs instructions thread [Re: R. Belmont] #87518
04/06/13 08:11 PM
04/06/13 08:11 PM
Joined: Jan 2012
Posts: 794
C
crazyc Online content
Senior Member
crazyc  Online Content
Senior Member
C
Joined: Jan 2012
Posts: 794
To install Desqview/X with networking. Requires a bit of DOS knowledge and a bit of X11 knowledge for the X remote stuff.

1. Create an hdd image. Your best bet is a 504MB image with 1024,16,63 chs geometry. Refer above for NVRAM setup.
2. Get Desqview/X floppy images. Symantec doesn't seem to care so they aren't hard to find.
3. Use the at486 or ct486 driver. at486 works fine with 64MB of ram now so using ct486 isn't necessary any more. Use "-isa3 3c503" on the command line.
4. Use Fdisk to partition the image, format it and use sys to install MS-DOS (best 5 or 6.xx). Desqview/X requires QEMM which seems to hate FreeDOS. Make sure you have "FILES=50" in your Config.sys.
5. Remove the install floppy and reboot.
6. Get CuteMouse (for mouse support obviously) and TLIVESA.COM (for higher res video modes with the ET4000, unneeded if using the S3) and use a floppy image to transfer them into your hdd image. Easiest to run them from your Autoexec.bat.
7. Mount the first dvx floppy and type "a:install" at the dos prompt.

8. It will ask for owner info and the serial number. Use Express Install unless you really want to configure something.
9. Select the video mode. If you use the S3 or TLIVESA you'll get more options than just 640x480x16.

10. QEMM optimize will run. Just use Express. It'll reboot a few times.

11. You can now run Desqview by typing "dvx" at the command line.


For the next bit you must have a mess binary built with networking. "USE_NETWORK=1" on the make command line if you built it yourself.


12. You'll need LSL.COM from this package and TCPIP.EXE from this package (both are freeware from Novell). You'll also need the 3c503 ODI driver (get it here) as the NE2000 ODI driver doesn't work currently.
Here's a NET.CFG that works. Change the IP address and router to whatever is correct for your network and put it in the same path as the network programs.
Code:
Link Driver 3c503
	PORT 300
	INT 3
	FRAME Ethernet_II

Link support
	Buffers 4 1504
	MemPool 8096
	Max Stacks 4

Protocol TCPIP
    IP_ROUTER 192.168.0.1 
    IP_NETMASK 255.255.255.0 
    IP_ADDRESS 192.168.0.20 
Run them from a bat file in the order lsl, 3c503 and tcpip last.
13. Run nsetup from the desqview directory. Novell should be the only network option. Use whatever you want for user and RSH, REXEC and FTP select no unless you know what you are doing.

14. Run remote X11 software.

Note, most modern X11 apps, even xterm from xorg (shown is rxvt), don't work. Gtk+ apps require xrandr and QT apps just don't work.

Re: The MESS OS installs instructions thread [Re: R. Belmont] #88367
05/11/13 02:57 AM
05/11/13 02:57 AM
Joined: Dec 2006
Posts: 525
New Zealand
M
mahlemiut Offline
Senior Member
mahlemiut  Offline
Senior Member
M
Joined: Dec 2006
Posts: 525
New Zealand
Here's how to setup the Damn Small Linux Live CD. It is fairly straightforward, but getting some hardware to work can be tricky if you're unfamiliar with Linux. I'll go through a whole HD install sometime later, when I have some more spare time.

First, you'll need the DSL Live CD and a boot floppy. You can find these at http://distro.ibiblio.org/damnsmall/current/
Grab dsl-4.4.10.iso and bootfloppy.img.

The boot floppy is not required if you're using at586, as it can boot directly from the CD, but ct486 is the recommended driver. Alternatively, you can use Smart Boot Manager on a bootable floppy to boot from the CD.

Start MESS with the DSL ISO and boot floppy mounted, with ramsize set to 64m, and use svga_s3 in the first ISA slot. Press DEL during the memory test to go to the BIOS setup, and make sure you enable the floppy drives, any hard disks (not required), and make sure that the boot order is A: then C:. Select Save to CMOS and exit. Now wait, and let the floppy image boot. You will be greeted with the splash screen and the boot: prompt. Here, enter "dsl xsetup" (without quotes) and press enter.



This will make xsetup run before starting X11, so that video mode and some other stuff can be set.

Next, you'll get a message saying something about passing an undefined video mode number. Select any option you wish, except for 'scan'. Or just press Space to continue on.



Now, DSL will start booting. This can take a bit of time, so make a cup of coffee while you wait.



After a little while, xsetup will be run, and gives you an option of which X server to use. Select XVesa.



Select No for USB mouse, and IBM PS/2 mouse wheel. MESS does not support these at this time.
For mouse port, select com1, since MESS only currently supports serial mice.
For number of mouse buttons, select 2 mouse buttons.
For resolution and bit depth, it's up to you, but 800x600 and 16bit work okay with the 9FX Vision 330 video card (svga_s3).
Select No to choosing your own DPI.
For keyboard mapping, it's your choice, but the default US works fine.
After all that, you should be greeting with the standard X11 cross-hatch pattern, and eventually a usable desktop like this:


Now, some hardware you may be using don't have their drivers installed yet, as MESS only properly supports ISA (not ISAPNP, VLB, and minimal PCI on at586), so you have to load these manually.

Networking (requires a build compiled with USE_NETWORK=1):
IRQ3 seems to conflict with something in Linux, even though it doesn't list anything as using it. This means the 3c503 network card is not really usable. But the NE1000/2000 is, with their IRQ set to IRQ5 (you can set this in MESS' System Configuration menu).
Open a terminal (either the Term button on the taskbar, or DSL->XShells->... menu). At the prompt, type (without quotes) "sudo modprobe ne io=0x300 irq=5" and press enter. Run dmesg at the prompt to make sure the driver is loaded. Now, load the DSL Control Panel, and click Netcardconfig.



If your local network uses DHCP, set DHCP Broadcast to yes, click Apply then Exit. Otherwise, fill in IP Address, Broadcast, Gateway, and Name Servers. IP address will be the IP for the emulated system, and Gateway will be the IP of the TUN/TAP device MESS will use (I guess there's something similar for Win32 and OS X users using PCAP), and click Apply then Exit. Now you should be able to browse the net. Firefox is included, and usable, if you want something that is better than Dillo, just be prepared to wait a fair while for it to load.



Sound:
Just loading the driver should be enough. Open a terminal, and enter:
sudo modprobe gus io=0x320 irq=7 (Gravis Ultrasound - IRQ and DMA is software configurable, so set it to an IRQ/DMA channel not in use)
sudo modprobe sb io=0x220 (Sound Blaster)

You can use floppies, HDs and CDs, by mounting them via the Mount tool (click the Mount button on the taskbar). Click the top button to cycle though mountable devices, and the bottom button to mount or unmount the media. Contents are viewable in the various folders in the /mnt folder. For example: mount the cdrom, and at a terminal prompt display a listing with "ls /mnt/cdrom/" Media can be any formatted any way that Linux supports (ext2, FAT, FAT32, ISO9660 [CDs], among others).



If you have formatted hard disks mounted, you can use them to save settings to. The HDs can be formatted in ext2/ext3 or FAT/FAT32 or anything that Linux 2.4 supports. From the DSL Control Panel, click Backup/Restore, enter the device name (for the first partition on the first IDE hard disk, use /dev/hda1), and click Backup. Now you can shutdown and settings will be saved to the HD.



- Barry Rodewald
Re: The MESS OS installs instructions thread [Re: R. Belmont] #88476
05/16/13 01:57 AM
05/16/13 01:57 AM
Joined: Dec 2006
Posts: 525
New Zealand
M
mahlemiut Offline
Senior Member
mahlemiut  Offline
Senior Member
M
Joined: Dec 2006
Posts: 525
New Zealand
Slackware 3.x HD installation from CD

CD-ROM images for Slackware 3.2 and 3.5:
http://slackware.cs.utah.edu/pub/slackware/slackware-3.2-iso/slackware-3.2-install.iso
http://slackware.cs.utah.edu/pub/slackware/slackware-3.5-iso/slackware-3.5-install.iso

Screenshots are from a Slackware 3.4 installation, but should be more or less the same as far as the installation process goes.

Step 1: Setup hardware.

First, create the HD image you wish to install Linux to with CHDMAN.
chdman createhd -o <CHD filename> -chd 1024,16,63 (creates a 504MB blank HD image with filename specified by <CHD filename>)

You also need some other OS installed on either a floppy or HD with CD-ROM drivers included. An MS-DOS floppy with CD-ROM drivers and MSCDEX is a good idea, as is a bootable Linux floppy.
Make an extra two copies of the same floppy image, these will be made into the boot and root floppies that will start the installation process.
This tutorial will assume you are using MS-DOS to create the boot and root disks.

Step 2: Create Boot and Root floppy disks.

Start MESS (ct486 with -ramsize 64m works well) with the MS-DOS bootable floppy mounted in flop1, your freshly made, blank HD image mounted in hard1 and the Slackware CD mounted in cdrom.

During the memory test, press DEL to go to the BIOS setup, and enter Standard CMOS Setup. Set floppy drives to 3 1/2" 1.44MB, and first HD to type 47, with 1024 cylinders, 16 heads, and 63 sectors (or whatever you used when you created the CHD)



Exit this screen and select Write to CMOS and Exit. The system will now reboot and boot from the DOS floppy.

Switch to the CD-ROM drive (typically D:, but mine is set to E:) and change directory to BOOTDSKS.144 (cd bootdsks.144). Mount one of the floppies you copied earlier to flop2 (drive B:)

Enter rawrite bare.i b: This will write the image bare.i to the disk in drive B:, and will be the installation boot disk.



When done, unmount the disk in flop2, and mount the second copy you made in flop2.

Change to the ROOTDSKS directory (cd \rootdsks)

Enter rawrite color.gz b: This will write color.gz to the disk in drive B: and will be the installation root disk.

Step 3: Partition the Hard Disk.

Unmount both floppy disks, and mount the boot disk in flop1, and restart (press F3, or quit and restart MESS with boot disk in flop1). The boot disk will start up at a "boot:" prompt. Just press enter at this point, and the boot process will continue until you get a message to insert the root floppy disk, at which point, unmount the boot floppy, and mount the root floppy to flop1. It would be wise to bring up the File Manager menu before reaching the prompt for the root floppy, as pressing TAB to get to it will make it continue (despite it saying "press ENTER"). You should now get to the welcome screen, and a login prompt. Login as root (no password required).



You can try to run setup now, but it won't work, as there are no partitioned HDs available, so we must do that first. At the # prompt, type fdisk

Press m then Enter for a list of commands. Simplest setup for Linux is to have two partitions, one for the OS, the other for swap space.

The following sequence will set up the necessary partitions (press ENTER after each item):
n, p, 1, 1, +128M (or whatever size you wish for the swap partition)
n, p, 2, 262 (or whatever is the lowest cylinder available), 1024 (or whatever is the last cylinder available)
t, 1, 82 (sets first partition to Linux swap)
a, 2 (sets second partition to be bootable)

Final partition table should look something like this:



When it seems correct, press w then ENTER to write the partition table to the HD. Now mount the boot disk, and type reboot. The system will now reboot.

Step 4: Installation.

Repeat the previous boot process from the beginning of step 3, and login as root again.

Now you can run setup at the # prompt, and you should get this menu:



Settings the keymap and tags aren't necessary, so you can start by setting up the swap partition (ADDSWAP item). If you have your HD partitions set up as in step 3, then you should get /dev/hda1 available for swap. When asked if you wish to use mkswap, select Yes, and when asked if you wish to activate the swap partition, also select Yes (not required, but won't do any harm). Now the first partition should be in use as swap space.



Now, you can continue on to setting the target partition. If you select No, you will return to the main menu, if you select Yes, then you continue on, as if you select the TARGET item from the main menu.

Next, a quick scan of HDs will occur, and a list shown for you to select the partition to install Slackware to. If your setup is as it is in step 3, then select /dev/hda2. Next, it asks if you want to format the partition, select Format. For inode density, the default is fine, so select that. Wait while the partition is formatted.



(continued next post)


- Barry Rodewald
Re: The MESS OS installs instructions thread [Re: mahlemiut] #88477
05/16/13 02:00 AM
05/16/13 02:00 AM
Joined: Dec 2006
Posts: 525
New Zealand
M
mahlemiut Offline
Senior Member
mahlemiut  Offline
Senior Member
M
Joined: Dec 2006
Posts: 525
New Zealand
Next, is selecting the source media. Since we are installing from a CD-ROM, select option 5. The next screen selects the CD-ROM type. MESS only supports IDE/ATAPI CD-ROM drives, so select option 1.

Now you have to select which IDE device the CD-ROM drive uses. With default settings, this will be /dev/hdc (Secondary IDE interface, drive 1). If you have the CD-ROM drive configured on the primary IDE interface, then you would select /dev/hda. Clearly, your HD partitions will be /dev/hdc1 and /dev/hdc2, in that case. Finally, for the installation method, select slakware, which is the standard installation method.

Now we select which disk sets to install. What you install is entirely up to you and what you may need. Only set A (Base Linux system) is required.



Time to install the packages now. laugh First, you must select the prompting mode. NORMAL will prompt you for each non-required package in the sets you selected earlier. This can be cumbersome, so MENU is a better option, as it let's you select most of the packages before installing them all at once.



After all the packages have been installed, you then need to install a kernel. You can choose from the kernel on the boot disk, one from the CD-ROM, or a kernel image stored on a DOS floppy. Using the kernel from the boot disk will do fine, so unmount the root disk, and mount the boot disk in flop1 once more, then select bootdisk from the menu. The kernel from the boot disk will now be installed to the HD.



Now on to the final phase, configuration. First task is making a boot disk. This is different to the boot disk created earlier, in that it will boot straight to your installed system, in case the HD image ever fails to boot for some reason. You'll need another copy of a disk image to turn into a boot disk, but this is entirely optional. The format option will format the disk image you have in flop1, simple will copy a kernel image on the floppy, lilo will make a more flexible LILO bootdisk, and continue will skip the whole process and continue on.

Select No to setting up a modem, MESS does not support modems at this time.

Select Yes to setting up your mouse, and choose option 1 (MS compatible serial mouse). Set ttyS0 (equivalent to COM1) for the mouse port.

Now you can choose some funky screen fonts, if you so wish. Select a font from the list, and it will change to that font for you. Then select No if you want to choose a different font, or Yes to set this one.



Next option is to install LILO to the boot sector of the HD. LILO (LInux LOader) is a common boot loader, which is run when booting the HD, and can provide boot parameters or load other OSes you may have installed on the HD.

To install LILO, first select Begin from the menu. The first screen will ask for any extra parameters. This is typically not needed, so just press Enter to continue. Next screen selects where LILO is to be installed, the Master Boot Record of the HD, the superblock of the partition you've installed to, or to a floppy disk. Select MBR. Next screen is for the boot: prompt delay. The choice is up to you. 5 seconds is plenty.

Next select Linux from the LILO menu, to add your Linux partition to it's config. Enter the partition you've installed to (it will be listed, but typically will be /dev/hda2). And finally, add a name for the partition. This can be anything you like, so long as it's a singe word.



Now select Install, and it will install LILO to the HD.

Next is gpm configuration. gpm is a program that allows you to select and copy text with the mouse while in console mode (ie: when not running X-Windows). It's up to you if you wish to enable it. Selecting Yes will add it to your system startup script.

Now select your time zone. Again, the choice is yours.

Finally, it will ask if you wish to replace /etc/fstab. Choose No.

And that is it. You can now exit setup, unmount any floppies, and reboot. Slackware will boot from the HD, and you can login as root.



Step 5: Hardware Setup.

As MESS only properly supports ISA (PCI is only available in 586+ drivers, and is rather incomplete at this stage), hardware drivers will need to be loaded manually.

For network cards, you will need to have installed the networking disk set when you installed the OS. If you haven't, then you can mount the CD-ROM (mount -t iso9660 /dev/cdrom /cdrom), run setup again, and start from selecting the source media. Remember that your system is already installed, so after installing the packages you want, you don't need to go further with the configuration as you have already done that before. After exiting setup, reboot and re-login.

To set up networking addresses, run netconfig. First, it will ask for the hostname, which can be pretty much anything you wish. Next, is the domain name. On a local system, this isn't all that important either, so you can enter what you want. When asked if you want to use loopback only, select No. Next, is the local IP address, which is the IP either assigned to or used by the emulation. This will likely be in the 192.168.x.x or 10.x.x.x ranges. Next, is the gateway address, which is the IP address of the TAP interface (or PCAP if you're using Windows or OS X). Then, enter a netmask of 255.255.255.0. When asked if you are using a name server (DNS), select Yes if you are, then enter the IP address of said DNS server.

Next step is to set up the driver for your network card. It is strongly recommended that you use the NE1000 or NE2000 with the IRQ set to 5, as IRQ3 seems to conflict with other hardware. You'll need to edit a file now, using vi, which can be confusing for those not used to it. At the # prompt, enter vi /etc/rc.d/rc.modules and press Enter. Press down until you see the line "#/sbin/modprobe ne io=0xNNN". Move the cursor to the # character at the start of the line and press x. Then, move the cursor to the start of the NNN and press x three times. Now, press a and type "300 irq=5" (without quotes), then press ESC. Hold Shift and press Z twice. Now reboot again, and you should have a functioning network. You can test internet access with Lynx, if you have it installed.



For sound, only the SB16 or AWE32 is supported at I/O 0x220 and IRQ5. You'll have to build your own modules from the kernel source to use other setups. Thankfully, MESS does support the SB16, so uncommenting the #/sbin/modprobe sound line in /etc/rc.d/rc.modules using vi should work (untested).


- Barry Rodewald
Re: The MESS OS installs instructions thread [Re: R. Belmont] #88498
05/16/13 04:03 PM
05/16/13 04:03 PM
Joined: Jan 2012
Posts: 794
C
crazyc Online content
Senior Member
crazyc  Online Content
Senior Member
C
Joined: Jan 2012
Posts: 794
Installing Xenix 8086:

1. Create a chd as above but with "-chs 613,4,17". AFAIK, that is only geometry that will work with the MFM device.
2. Start MESS with an XT or PC driver: ibm5150, ibm5160, pc, pcmda etc (as of right now, the default pcmda bios won't boot floppies). Personally, I prefer the MDA video to CGA for text mode stuff. xtvga will have corrupt video. Put the N1 floppy in fd drive 1.



2. Put the in N2 floppy when it says "Insert filesystem floppy".
3. Press 'y' when asked to overwrite the entire disk and '2' for "Use Entire disk for XENIX" then 'q' to exit program.



4. Press 'q' to skip the bad sector table generation, just select the default swap size and 'n' to "control over the layout of the XENIX partition".



5. "Making filesystems" will take a minute or two. Insert the N1 floppy and reboot.



6. At the XENIX Boot prompt type: "xenix rootdev=hd(40,0)" and it will boot with the hdd as the root filesystem.



7. It'll run fsck after starting the kernel.



8. It'll ask for your serial number and activation key then it'll have you swap floppies as it installs the bulk of the OS.



9. Give your time zone.



10. You'll now have installed the N-install and B-base disk sets. If you have more, press '2' to install them here.


Last edited by crazyc; 05/16/13 06:44 PM.
Re: The MESS OS installs instructions thread [Re: R. Belmont] #88499
05/16/13 06:56 PM
05/16/13 06:56 PM
Joined: Jan 2012
Posts: 794
C
crazyc Online content
Senior Member
crazyc  Online Content
Senior Member
C
Joined: Jan 2012
Posts: 794
11. Press '1' to install the X-extended disk set and press '1' to select the package.



12. Type the package name or ALL for all.



At this point you can install all your additional sets than select "Stop installation now" when done. Reboot and the OS will start. Default username is "root" and password is blank.

Last edited by crazyc; 05/16/13 07:00 PM.
QNX 4.23 installation in images (Part 1) [Re: Kale] #89514
07/17/13 03:20 PM
07/17/13 03:20 PM
Joined: Aug 2011
Posts: 33
L
Luengo Offline
Member
Luengo  Offline
Member
L
Joined: Aug 2011
Posts: 33
installing QNX 4.23

Driver: at486, ramsize 15MB, 128MB hard drive (type 32 in BIOS)

booting with the boot floppy:



starting installation (type install at the prompt)



if we answer "n" to the U.S. keyboard question, we get to select the keyboard language, and then move on to the next screen...

getting prepared to partition drive



We answer "y" to the EIDE controller question and again answer "y" if the drive geometry the system informs us is correct.

partitioning

Here I executed fdisk (select e option), deleted the DOS partition and created a new QNX partition using all the space available in the hard disk.





Select Save, and we get to the next step...

checking hard drive. This takes a while. If everything is fine, we get a "Disk is OK" message



starting license installation and file copy



Just keep changing the installation floppies as instructed...



more file copy




second part coming...

Last edited by Luengo; 07/17/13 05:56 PM.
QNX 4.23 installation in images (Part 2) [Re: Kale] #89515
07/17/13 03:32 PM
07/17/13 03:32 PM
Joined: Aug 2011
Posts: 33
L
Luengo Offline
Member
Luengo  Offline
Member
L
Joined: Aug 2011
Posts: 33
finishing installation



we answer "n" to the 16-bit drivers question, then select the default logical node number QNX gives us, and after pressing two or three more times the enter key, we get to the next screen...



last step



we select the timezone, and the number of consoles, and answer y to the mouse question...

I haven't configured the networking, so I answered "n" to that question. That takes us to...

installation complete



rebooting (we can type shutdown in the prompt or close MESS and reopen it)



logging in



installing photon microGUI

we do this by inserting the Photon MicroGUI Disk 1 and typing install /dev/fd0. There is no need to mount the floppy. In fact, you'll get an error stating that the filesystem in the disk is corrupted if you try...



more installing photon...

Change the disks when asked



configuring photon display

we load photon by typing ph in the prompt



More in part 3...

Last edited by Luengo; 07/17/13 06:26 PM.
QNX 4.23 installation in images (part 3) [Re: Kale] #89516
07/17/13 03:38 PM
07/17/13 03:38 PM
Joined: Aug 2011
Posts: 33
L
Luengo Offline
Member
Luengo  Offline
Member
L
Joined: Aug 2011
Posts: 33
photon desktop



applications (puzzle)



applications (Moire!)



applications (File Manager)



applications (System Info)



applications (CD Player)



applications (DayMinder)



and that's it!

Re: The MESS OS installs instructions thread [Re: R. Belmont] #93278
03/15/14 03:41 AM
03/15/14 03:41 AM
Joined: Jan 2012
Posts: 794
C
crazyc Online content
Senior Member
crazyc  Online Content
Senior Member
C
Joined: Jan 2012
Posts: 794
To install Intel Xenix 286 on the ISBC 286/12.

1. Obtain the install floppies. The ones I have are numbered by Intel product IDs.

2. The floppies are raw images which is fine for all but the boot floppy. Get the ImageDisk software and use BIN2IMD.EXE to convert the boot floppy to the correct format. Here's the option file that will do it:

0 N=40 DM1=2 SS1=128 SM1=1-16 DM0=5 SS0=1024 SM0=1-4 /2
1 DM=5 SM=1-4 SS=1024 /2

3. Create a chd image with "-chs 512,8,9 -ss 1024"

4. Start MESS with the isbc2861 driver and the boot floppy in flop1.



5. At the * prompt press shift-u and enter . when asked. If the floppy is correct it should say READY.



6. After the "Interrupt 3" and the . prompt type "b :wf0:xenix.f".



7. Booting will take a minute or 2. Type "/etc/mksys" at the bootsys> prompt.

8. Insert disk 2 when prompted.



9. Select disk type c - Q540 and press enter at cyl-sur: prompt. It will now low-level format and copy the files to the disk which may take 5+ mins.



10. Remove the floppies and reset when it says shutdown.



11. Don't press anything this time and just press "b" at the . prompt.

Re: The MESS OS installs instructions thread [Re: R. Belmont] #94705
06/15/14 04:01 PM
06/15/14 04:01 PM
Joined: Mar 2001
Posts: 16,058
USA
R
R. Belmont Online content OP
Very Senior Member
R. Belmont  Online Content OP
Very Senior Member
R
Joined: Mar 2001
Posts: 16,058
USA
Apollo Domain/OS "bare metal" startup guide smile

Prerequisites:
- SVN #30981 or later. The steps work for bare 0.153 and probably 0.152 even, but some options changed names.
- Delete any .cfg and nvram files for 'dn3500' as that's the specific model we'll be using
- Start up the dn3500 with no media, go to partial keyboard, enter the Tab menu, go to System Configuration, and make sure the options are as follows (these should be the defaults as of SVN #30981):

Normal/Service: Service
Graphics controller: 8-Plane Color
German keyboard: Off
20 Years Ago: On
25 Years Ago: On

Exit MESS and download the 5 cartridge tape images from Bitsavers at this link. On Linux/MacOS X you can use command line "gunzip" to remove the .gz compression. On Windows, 7zip should be able to handle it.


Part 1: NVRAM setup
1) Run the dn3500 driver again, this time with -ctape 019593-001.CRTG_STD_SFW_BOOT_1-REV.A.ct (or mount that file as ctape in QMC2) and -disk1 apollo.awd (make sure no file by that name exists; it will be created/overwritten).
2) Press enter 3 or 4 times to wake up the system
3) Type di c and press Enter to select the cartridge tape as the boot device
4) Type ex config to run the machine setup program

NOTE: cartridge tape is super ultra slow. Each load from it will take in excess of a minute at 100% emulation speed and may take several minutes. This does not mean the emulation has died. I recommand unthrottling the system during these loads.

5) It will ask if you want to reconfigure this node: press Y and Enter.
6) It will ask if the memory configuration changed. Press Y and Enter, then for each of the 4 memory boards enter 4 and press Enter for a total of 16 MB.
7) For the node ID, the usual default is 12345 although you don't *have* to do that. Note that the node ID is locked to the HDD after the OS install though.
8) For the display type, type DISP8C.
9) For the next set of questions: Y for MC68881/MC68882, N for floating point accelerator, Y for floppy disk, Y for Winchester. Winchester controller type is 0, and both disks are type C.
10) Answer Y for cartridge tape, N for SCSI cartridge tape, N for magnetic tape, N for 8mm tape, N for Serial/Parallel board, and N for PC Compatibility board.
11) Network type is 4, and N for unknown devices.
12) Answer N for "Anything more to do?"


Part 2: Calendar setup
1) When the prompt comes back, type RE to reset the system and press Enter 3 or 4 times.
2) Type di c and press Enter.
3) Type ex calendar and press Enter, then wait through another tape load.
4) When it asks to select a disk, press N and Enter.
5) For the time zone, you can pick any of the US time zones or GMT or UTC, it doesn't matter for our purposes really.
6) The system will show today's time and date but in the early 1990s. This is fine, answer N when asked if you'd like to reset it.


Part 3: Hard disk formatting and setup
1) When the prompt comes back, type RE to reset the system and press Enter 3 or 4 times.
2) Type di c and press Enter.
3) Type ex invol and press Enter, then wait through yet another tape load.
4) Choose option 7 to create a "bad spot" (bad sector) list. There are none because we emulate a perfect drive, but this is necessary anyway. Pick Y for automated bad spot entry, and Y for "Anything more to do?"
5) Choose option 1 to partition and format the drive. Choose w for "Select disk" and enter APOLLO (or something else if you want) for the volume name. Choose verification option 1 (no verify) and press Enter to accept the default average file size.
6) For the size of volume 1, enter all and press Enter to use the entire disk. Choose Y to use pre-recorded badspot info, and Y for "Anything more to do?"
7) Choose option 8 to create a swap file. Enter w for the disk select and 1 for logical volume number. Press Enter to accept the default 640 kB size of the file, and finally choose N for "anything more to do?"

(continued in next post)

Last edited by R. Belmont; 06/15/14 04:36 PM.
Re: The MESS OS installs instructions thread [Re: R. Belmont] #94706
06/15/14 04:35 PM
06/15/14 04:35 PM
Joined: Mar 2001
Posts: 16,058
USA
R
R. Belmont Online content OP
Very Senior Member
R. Belmont  Online Content OP
Very Senior Member
R
Joined: Mar 2001
Posts: 16,058
USA
Part 4: Install Domain/OS

1) When the prompt comes back, type RE to reset the system and press Enter 3 or 4 times.
2) Type di c and press Enter.
3) Type ex domain_os and press Enter, then wait through the longest load yet. Eventually the kernel will come up.
4) If it says "the calendar is more than a minute slow", just choose Y to proceed, it's harmless.
5) It will ask if you wish to replace the system software on your disk. Choose Y to continue, and the system will copy the installer files to the HDD.
6) You'll see the message "Apollo Phase II Environment Revision 10.4 RBAK version Jan 25, 1992 12:58:22 pm" and a ) prompt. Type go and press Enter to start up the installer, or shut to cleanly shut down the system and continue later.
7) An HP logo will appear and the windowing system will come up. Login as user and just press Enter for the password.

NOTE: the windowing system has very odd keyboard and mouse focus behavior; it's best to avoid moving the mouse during the install procedure lest you lose keyboard focus. In general if you do lose it, move the mouse to right after the MINST> prompt and click once.

8) It will ask if you wish to continue with MINST, type continue and press Enter.
9) It will ask if you want novice or expert mode, type novice and press Enter.
10) It will ask for the pathname of the Authorized Area, press Enter to accept the default.
11) Also press Enter to accept the default for the target pathname.
12) When asked if you wish to install Domain/OS type yes and press Enter.
13) When prompted for media type, type ct and press Enter.
14) It will give instructions for reading the release notes, just press Enter at the MINST> prompt to skip that.
15) When asked what package configuration to install, type 11 and press Enter to get a full install of both the traditional Domain/OS stuff and the BSD userland they'd been merging into it (not always comfortably).
16) It will ask "Are you sure?". Type yes and press Enter.
17) Use MESS's File Manager in the Tab menu to insert tapes 1, 2, 3, and 4 and press Enter as prompted. (The boot tape is not one of those 4).
18) It will then ask if you want to read the online manuals; press Enter to skip.
19) When asked if you want to select or quit MINST, type select and press Enter. This will run for several minutes creating the main filesystem via hard links to the various files the previous steps dumped onto the HDD.
20) When it says the install is finished, click where it says "Command" and type shut and press Enter. The system will shut down cleanly and exit back to the boot PROM prompt.
21) Quit MESS and restart without mounting a ctape, just -disk1. Press Enter a few times and type ex domain_os to launch Domain/OS, or change the System Configuration Service/Normal switch to Normal to autoboot.

Using Domain/OS is beyond the scope of this guide (and I don't know a lot about it myself), but good luck ;-)

Bitsavers has manuals, and there are some tips on the MESS wiki.

The default login is user with no password. See "How to create the registry in Domain/OS" on the MESS wiki page to enable the root account and have some real fun.


WARNING: If you ever shut down the system without using 'shut' and waiting for it to end, the hard disk will be corrupted and need fixing. You do this by mounting the boot ctape again and doing di c and ex salvol to run "Salvage Volume", which can usually fix the errors.

Last edited by R. Belmont; 06/15/14 04:42 PM.
Re: The MESS OS installs instructions thread [Re: R. Belmont] #96081
09/18/14 09:49 AM
09/18/14 09:49 AM
Joined: May 2004
Posts: 860
Germany
D
Duke Offline
Senior Member
Duke  Offline
Senior Member
D
Joined: May 2004
Posts: 860
Germany
Installing Amiga OS 2.05 on the Amiga 600 internal IDE HDD

Note: Floppy image filenames are the same images as used by the softlist.

Step 1: Create appropriate empty HDD image. You can use your own values here, but you should keep the size below 2 GB. I've used the Conner CFA-170A as template here:

Code:
chdman createhd -chs 332,16,63 -o a600_hdd.chd


Step 2: Boot the Amiga with the hard disk and Install disk attached

Code:
mess a600 -hard a600_hdd.chd -flop1 wbenc205.zip\367943-01_install.adf


You can press 'Enter' at the keymap setup question, or setup an alternative keymap (if you do, you need to swap in the Extras disk, then replace with the Install disk again).

It should now look like this:



Step 3: Prepare HDD. Double-click on the Install2.0 disk:



Then start the PrepHD utility. Answer "y" to the question:



Shutdown MESS now and restart it. Your Workbench should now display two HDD partitions:



Step 4: Format HDD and install Amiga OS. Double-click on the Install2.0 disk, then start the "FormatHD" utility. Answer "y" that you want to format your partitions, and "y" again at the question to install the system (and to all subsequent questions). The installation will now start. From time to time you will be asked to insert the "Fonts", "Extras" or "Workbench" disks. At the end it should look like this:



Shutdown MESS now and start it with just the HDD image attached:

Code:
mess a600 -hard a600_hdd.chd


It should now boot into your new 2.05 system:



You have two partitions, "System2.0" with your base system and "Work" for applications and other data.

Re: The MESS OS installs instructions thread [Re: R. Belmont] #104548
03/16/16 11:59 AM
03/16/16 11:59 AM
Joined: Dec 2006
Posts: 525
New Zealand
M
mahlemiut Offline
Senior Member
mahlemiut  Offline
Senior Member
M
Joined: Dec 2006
Posts: 525
New Zealand
Installation of Red Hat Linux 6.2
Driver: any PC-compatible driver with an 80386(not SX) or better CPU. at386, at486, ct486, at586 and clones should all work.

Software needed:
Red Hat Linux 6.2 installation CD-ROM - https://archive.org/details/Linux_Red_Hat_6.2_CD-ROM_Walnut_Creek_April_2000

Smart Boot Manager (for BIOSes that aren't able to boot from a CD) - http://mahlemiut.marpirc.net/SmartBootManager.zip

Other requirements:
A lot of spare time. This will take around a few hours, depending on your system speed.

Step 1 - Create HD image to install to
Create a blank HD of the size you'd like (1GB is enough).
Code:
./chdman createhd -o <CHD image filename> -chs 2048,16,63 -c none

Increase the cylinder count (first CHS value) to increase the overall disk size. -c none denotes no compression to be used. This allows direct writing to the CHD.

Step 2 - Boot from the CD-ROM
You'll need to start MAME with the appropriate commandline options to load the disk images needed. You'll want to use at least -cdrom /path/to/Linux_Red_Hat_6.2_CD-ROM_Walnut_Creek_April_2000.iso. at386,at486 and ct486 don't attach a CD drive by default, but you can attach one by adding -board3:ide:ide:1 cdrom to the commandline *BEFORE* the image switch. These drivers also require you to boot from Smart Boot Manager, which is a floppy-based application that will boot a CD-ROM on systems with BIOSes that otherwise cannot, so add -flop1 /path/to/SmartBootManager.zip. You need more RAM than default, so also add -ramsize 64m. Some drivers (ficpio2, at586) can support more RAM than this.
Also consider adding any additional hardware you want to use.
The default video adapter is the Tseng ET4000, but these examples use the S3 Trio64 (svga_s3).
Example commandline:
Code:
./mame ct486 -hard1 /mnt/win/mess/pc/rh62hd.chd -board3:ide:ide:1 cdrom -cdrom /mnt/win/mess/pc/Linux_Red_Hat_6.2_CD-ROM_Walnut_Creek_April_2000.iso -ramsize 64m -isa1 svga_s3 -flop1 /mnt/win/mess/pc/SmartBootManager.zip


If you're using Smart Boot Manager, then select CD-ROM from the boot menu, otherwise, go to the driver's BIOS menu and enable booting from CD-ROM.

You'll then be greeted with the installation boot menu.
Enter text and press Enter to continue. This will force text-based installation (graphical doesn't work for some reason).


Step 3 - Installation setup
Controls are keyboard only in the text installer, but they are common enough to use easily. TAB will switch to the next dialog item or button, Space or Enter selects/"clicks" button, and Space will toggle option items.

First, it will ask for a driver disk. This is for network or SCSI hardware drivers, but since we're using neither, just select Cancel. Then it asks for drivers, since we don't need any, select Done.

Now you'll have the first rather long wait. I recommend you disable throttling, as there are plenty of idle periods which will run fast on most half-decent systems. Just be careful of the Scroll Lock key when toggling UI controls, this key can suspend console output, suspending any running application.

Eventually, you'll get this screen:

Select the language you wish to use.

Next, select the keyboard layout. US will do the job.


Next, select what sort of installation you want.

Gnome and KDE are different graphical environments. Server is likely to lack any graphical environment (haven't personally tried it). Choose whichever option suits you.

Step 4 - Partitioning the HD
The next screen will let you partition the HD image. There can be issues with creating partitions over 500MB, but a way around that limitation is to have a small boot partition.
So, first add a new partition, set the mount point to /boot, the size to 16MB, and type to Linux native.
You can add a swap partition if you wish, it can help performance. Add a new partition, leave the mount point blank, set size to 128MB (or whatever you want, double your RAM is usually good), and set type to Linux swap.
And now, add the main partition, where everything is going to be stored. Add a new partition, set mount point to /, leave size alone, set type to Linux native, and toggle the expand to fill disk option so that it is enabled.
If all has gone well, you should get this setup:


Step 5 - Further setup
Next dialog asks for mouse type. The default mouse used in all PC drivers in MAME is a serial mouse.

Generic 2 button serial mouse should be selected by default, so just select OK to continue.
The next screen ask for the serial port the mouse is attached to. Again, the default of /dev/ttyS0 is fine. Select OK to continue.


Step 6 - Account setup
First, it will ask for the root user password.

Enter your root password in both entry boxes. Nothing is displayed as you type, this is normal. If both password entries match, you can continue. Passwords must be 6 characters long or greater.

Now, you can enter a regular user ID and password. You may skip this if you wish, it can be done later.

Step 7 - Patience...
Next dialog asks for the video adapter you're using. Select whichever is appropriate for what adapter you are emulating. Some 2D accelerator cards (Mach8/32, Trio32/64) will work with the appropriate X-server, although may be a bit glitchy.
Now the system will start to install packages from the CD onto the HD. This may take a couple of hours, so disabling throttling may again be a good idea. Once complete, you have a bootable system, so if something goes wrong with the steps after package installation, you can boot from the HD, and complete them from there.


Last edited by mahlemiut; 03/16/16 12:09 PM.

- Barry Rodewald
Re: The MESS OS installs instructions thread [Re: mahlemiut] #104549
03/16/16 12:22 PM
03/16/16 12:22 PM
Joined: Dec 2006
Posts: 525
New Zealand
M
mahlemiut Offline
Senior Member
mahlemiut  Offline
Senior Member
M
Joined: Dec 2006
Posts: 525
New Zealand
Step 8 - Create a boot disk
Now you will be asked if you want to create a boot disk.

This is optional, but useful if you screw something up, and you can't boot into your system from the HD.

Steo 9 - X-Windows setup
The final setup step (finally). You will be asked for the monitor you are using. Select custom. Next, select a resolution the emulated monitor is capable of.

1600x1200@70Hz works, so select that.
Now select the vertical sync range. (50-100 will do, or 40-150, it's not like you can blow out MAME's screen with invalid CRT parameters ;))


Now the system should start to shut down. It's possible that MAME may lock up when it reboots, so once the HD is unmounted, close MAME. Restart MAME with the -cdrom and -flop1 parameters removed (no longer needed). Red Hat should now boot from the HD, and eventually, you'll get a login screen.


If you didn't create a regular user, login as root, entering the root password you gave during installion. To create a user, use the command adduser <username>. To set the user's password, use the command passwd [username], then enter the password twice.

You can change the video adapter type again by running Xconfigurator (as root).

If you chose to boot into a graphical environment, then you'll get a graphical login. If not, you can start X-Windows by typing startx.




- Barry Rodewald
Re: The MESS OS installs instructions thread [Re: R. Belmont] #104550
03/16/16 01:02 PM
03/16/16 01:02 PM
Joined: Aug 2004
Posts: 1,363
Robbbert Offline
Very Senior Member
Robbbert  Offline
Very Senior Member
Joined: Aug 2004
Posts: 1,363
Excellent tutorial smile

Re: The MESS OS installs instructions thread [Re: R. Belmont] #108032
11/28/16 12:55 AM
11/28/16 12:55 AM
Joined: Jan 2012
Posts: 794
C
crazyc Online content
Senior Member
crazyc  Online Content
Senior Member
C
Joined: Jan 2012
Posts: 794
For mame you'll want to use the isbc28612 driver. The irmx86 install disks come from http://bitsavers.trailing-edge.com/bits/Intel/iRMX86 .

Instructions for isbc 286/10-12 with default system monitor and 214 or 215/218 HDD/FDD controller.

HDD type Quantum Q540 chs 512,8,9 bps 1024 (formatted drive can be any size unformatted must be a type from http://bitsavers.trailing-edge.com/pdf/i...ility_Mar89.pdf page 103, Note: the images from bitsavers only support W, IW, CM, CMB, QMA and an unknown type IWB)

Insert disk 147025
Start machine wait for . prompt.
Type "b :wf0:" (0 is the unit number, wf1 for unit 1 etc.)
Enter date dd/mm/yyyy
Enter time 24 hour hh:mm:ss
Type "super" with empty pass
Type "submit /instal.csd(qma0, 1, 6750)" (first is device name, qma0 is for quantum q540 others are listed on page 111 of above doc, second is interleave, third is max files on fs, intel suggests 125 per MB)
The drive will then be low level formatted then the base system will be copied.
You will then be asked to reboot.

To mount a floppy use "attachdevice wmfdy0 as f0" then "dir :f0:" to access and "deatchdevice f0" to umount.
Install the rest of the cli commands with by mounting 147113 and running "super" and "submit :f0:instal.csd(:f0:)".

Last edited by crazyc; 11/28/16 02:45 AM.
Re: The MAME OS installs instructions thread [Re: R. Belmont] #112996
03/29/18 04:40 PM
03/29/18 04:40 PM
Joined: May 2010
Posts: 82
R
r09 Offline
Member
r09  Offline
Member
R
Joined: May 2010
Posts: 82
PC-98の世界へようこそ

The PC-98 series can be pretty daunting to work with, mostly because, much like its IBM counterpart, it's a platform that lasted for a really long time (around two decades), and in that time it changed gradually while an immense amount of software and hardware was developed for it. This guide will try to make sense of some of that insanity.

First off, you need to choose a platform. The PC-98 series is mainly divided into two "generations": the original models which use NEC's μPD7220 "GDC" as their video controller (limited to 640x400 with 16 colors), and later models (mainly, but not limited to, the PC-9821 series), which add an enhanced GPU called EGC that can handle 256 simultaneous colors, among other things.

As of the writing of this guide, the recommended "old" model to work with in MAME is the PC-9801RS, and the recommended "new" model is the PC-9821Ce2. Those run reasonably well for our purposes.

Also, running old games from floppy is easy enough, but if you want to run post-1990 stuff, you will probably want to install DOS into a hard disk image, so the first thing to do is creating it with CHDMAN. For example:

chdman createhd -o path_to_your_hdd_image.chd -chs x,y,z -c none

...where x, y and z are the disk geometry (cylinders,heads,sectors). The machine won't care too much about the exact numbers, so you can just put something that lands you in the ballpark of the size you want. For example, "2048,16,63" will get you a 1 GB CHD. PC-98 DOS handles large HDDs pretty well, so don't worry about going too high.




Installing MS-DOS

To start the installation, we need to do a couple things:

First, run MAME with just the basic parameters for a PC-98 driver. For example, "mame pc9821ce2".

It will fail to boot but we don't care about that yet. Go to the TAB menu and select "Machine Configuration". You will see an option named "Load IDE BIOS", enable it and press ESC a few times until you exit the emulator completely.

Now the driver is configured to be able to use the HDD image. Run MAME again but this time mount the HDD image and the first MS-DOS 6.2 floppy from the software list:

mame pc9821ce2 -hard1 path_to_your_hdd_image.chd -flop1 msdos62:flop1

If everything is OK, you will see this:

[Linked Image]

This screen is asking if you want to install DOS on a hard disk (固定ディスク) or floppy disks (フロッピーディスク), so choose the first option.

[Linked Image]

This says that the disk isn't initialized, so you need to initialize (初期化) it. Just press ENTER.

(By the way, this is a good time to remind you that you can use the F10 key to unthrottle the emulation and let it run as fast as your host computer can handle. Trust me, you will need it.)

[Linked Image]

Here you choose the size of the DOS partition. Since we're simplifying things, just leave the default (the whole disk) and press ENTER... but just in case you want to do more complex things later, you might want to know that PC-98 systems use a custom partition layout that is very straightforward and flexible: all partitions are equal (no primary/extended stuff), you can have up to 16 of them per disk, and any of them can be bootable. All PC-98 formatted HDDs include a boot manager embedded in the MBR that appears whenever you have more than one bootable partition, and you can use it to boot anything from anywhere, without any limitations!

[Linked Image]

Anyway, the installer will ask you to confirm that yes (はい), you want to create the partition, or no (いいえ), you want to go back.

[Linked Image]

It will create and format the partition...

[Linked Image]

And it's supposed to automatically reset the machine, but this doesn't work in MAME so you will see a rather scary "SYSTEM SHUTDOWN" message. Get used to it.

So just press F3 in partial keyboard mode, and the emulated PC-98 will reset and boot from floppy again.

[Linked Image]

The installer will run again and ask for an installation directory. You can just accept the default, ¥DOS.

(NOTE: due to some weird historical shenanigans, the standard path delimiter in Japanese DOS computers is "¥" instead of "\". Don't ask.)

Confirm again (はい), and it will start to copy files from disk 1.

[Linked Image]

After that, it will ask for System Disk 2 (システムディスク#2), so go to the TAB menu, File Manager, Floppy disk 1 (you should see all MS-DOS 6.2 disks at this point) and choose Disk 2.

You will see the same screen for each of the 8 disks, so keep changing them as the installer asks.

[Linked Image]

When it finishes, this screen will gladly inform you that some OS features (like printer support or XMS memory) will be enabled by default, while others (CD-ROM support, HDD cache) will not, and you can customize that with the CUSTOM command, which is the first clear sign that this isn't quite like the DOS we are all used to. More on that later. For now, just press ENTER.

The installer is finished! Remove the floppy disk from the drive and press ENTER. You will get the SYSTEM SHUTDOWN screen again, so press F3 and boot from your shiny new DOS installation... into the "beloved" DOS shell that Microsoft wanted to push on everyone back then. For now, go to the File (ファイル) menu and choose the last option (終了, or Finish).

[Linked Image]

Now you're on the familiar DOS prompt. You could start running porn games on it right away (don't lie to me, if you're using a PC-98 that's pretty much a given) but in the next post we will do a few things to customize the system for our needs.

(continued on the next post...)

Re: The MAME OS installs instructions thread [Re: R. Belmont] #112997
03/29/18 04:40 PM
03/29/18 04:40 PM
Joined: May 2010
Posts: 82
R
r09 Offline
Member
r09  Offline
Member
R
Joined: May 2010
Posts: 82
Customizing the system

Before we go any further, here's an IMPORTANT NOTE: drive letters don't work like in IBM compatible systems. They don't have a fixed order. The device you boot from (FDD or HDD, doesn't matter) is always A:, other devices of the same type are the following letters, and other devices of other types come after that (except CD drives, as we will see later). So if you boot from an HDD with two partitions:

- A: would be the first HDD partition
- B: would be the second HDD partition
- C: would be the first floppy drive
- D: would be the second floppy drive

And in the emulated system we have built, we have A: as the HDD and B: and C: as the floppy drives... as long as we boot from HDD, of course.

You will see how super fun this is when we get to the part where we install floppy + CD games and need to tell them how to find their files.

-----

As I mentioned before, it seems at some point NEC realized that configuring DOS systems can be a bit arcane, so they included an utility (CUSTOM) that at least tries to do some basic stuff for you. Just run CUSTOM on the command line, and you will see this screen:

[Linked Image]

For now we only need the first option, Create/Update the Environment Configuration Files (環境設定ファイルの作成/更新). It will show two options at the bottom, 新規作成 (create new) and 更新 (update). Choose the latter.

[Linked Image]

In this screen, items can be enabled (使用する) or disabled (使用しない). You can also see another page of items with the 次画面 option but I don't recommend changing anything there. For a standard MAME setup, I'd disable at least the following so they don't take up memory:

- Japanese input (日本語入力), if you're not planning on typing Japanese text.
- Printer support (プリンタ).
- DOS Shell (DOSシェル).

You *could* also, on a real PC-98 system with a supported CD-ROM drive, enable CD-ROM support here, but this doesn't work on emulation (and it doesn't even work on some real PC-98 computers), so leave that disabled for now and choose 設定終了 (Finish Settings).

[Linked Image]

You will see a preview of your CONFIG.SYS file, and three options: 次画面 (next screen), メニュー選択を戻る (return to selection menu) and 内容を編集する (edit the contents). Choose the first one.

[Linked Image]

Another preview, this time of AUTOEXEC.BAT. Choose the 作成を終了する (finish creation) to end the process, and exit the tool with 終了.

Reboot, and you will finally be free of the tyranny of DOS Shell.



Bigger and better hardware

MAME by default emulates a NEC PC-9801-26K sound card. This card is based on the Yamaha YM2203 (OPN) FM synth, which sounds good enough and is compatible with pretty much anything, but you also have two other choices:

- The PC-9801-86 upgrades the FM chip to a YM2608 (OPNA), which sounds *fantastic* on the games that support it, and adds a 16-bit stereo PCM DAC on top of it. The 86 is fully backwards compatible with the 26, so there is no reason not to choose it, outside of the higher system requirements for emulation, or the rare compatibility quirk.

- The PC-9801-118 is a later model mainly found on PC-9821 computers (it's also known as "CanBe sound source" because that was one of many commercial names that NEC used for the PC-9821 line). It further upgrades the FM chip to a YMF297-F (which is still compatible with both the OPN and the OPNA), but replaces the 86 PCM sound with a Crystal CS4232 codec (a.k.a. "Windows Sound System"). It is *not* directly compatible with the 86 PCM, so it works better with later games that support the 118 explictly.

To use one of the alternatives, simply plug it into the emulated C-Bus slot with "-cbus0 pc9801_86" or "-cbus0 pc9801_118".

Also, all PC-98 drivers have 1664 KB (640 + 1024) of RAM as a default, which might not be enough for later software. You can add more RAM with the "-ramsize" option. At the time of writing this guide, the supported options are 640K, 1664K, 3712K, 7808K, and 14M.



The CD-ROM conundrum

If you're familiar with how CD drives work in IBM compatibles, you will know that we have to load a CD driver and the MSCDEX program so DOS can access the drive. But there's a problem: none of the CD drivers included with DOS work with MAME, at least at the time of writing this. The only one that works (NECCDM.SYS) was distributed separately. You can download a disk image that contains it here:

http://r-09.net/neccdm.zip

So to make this work, you need to:

- Mount the floppy image (do this after you boot from the HDD).
- Copy NECCDM.SYS to the DOS directory, renaming it to NECCD.SYS (if you've followed my instructions, that would be COPY B:¥NECCDM.SYS A:¥DOS¥NECCD.SYS). The renaming part is important because a lot of installers expect it to have that name.
- Edit the CONFIG.SYS file so it loads the driver.

That last part needs some explanation. The classic MS-DOS Editor (EDIT.COM) is not included with NEC's version of DOS, instead they opted to include their own editor (SEDIT). Run SEDIT A:¥CONFIG.SYS and you will see the contents of the file:

[Linked Image]

Just add two lines at the end:

LASTDRIVE=Q
DEVICE=A:¥DOS¥NECCD.SYS /D:CD_101

(if you're having trouble with the keyboard, take a look at the keyboard mappings in the TAB menu)

The CD_101 part is just a device name and can be anything, but it's kind of a standard name so I recommend keeping it like that.

After that, press F1 and choose the ファイルのセーブと編集終了 (finish editing and save the file) option.

[Linked Image]

Now do the same for AUTOEXEC.BAT. You should be getting the hang of this already. Edit it and add this line:

A:¥DOS¥MSCDEX.EXE /D:CD_101 /L:Q

(NOTE: if you're wondering "why Q: and not another letter?", it is sort of a de-facto standard for CD-ROM drives in Japanese computers. It probably started with the FM Towns, which has it hardcoded; maybe they were Star Trek fans or something.)

Reboot, and if everything is OK you should be able to access the CD as drive Q. You can mount CDs from the MAME command line with the "-cdrom" option.

[Linked Image]

(continued on the next post...)

Re: The MAME OS installs instructions thread [Re: R. Belmont] #112998
03/29/18 04:41 PM
03/29/18 04:41 PM
Joined: May 2010
Posts: 82
R
r09 Offline
Member
r09  Offline
Member
R
Joined: May 2010
Posts: 82
Installing (some) CD software

Most people who are reading this will want to install CD software (i.e. fully voiced porn games) into the emulated HDD. There is no official standard or system-wide installer, but due to the peculiarities of the PC-98, most game publishers ended up implementing a similar method of installation, which involves these steps:

- Boot DOS from HDD and run an installer EXE
- Tell the installer where your DOS files are, and which floppy drive you will use to create a boot disk
- The installer formats the floppy disk, and copies DOS files and sometimes a few needed drivers (NECCD.SYS, MOUSE.EXE, AVGDRV.SYS...) to the disk.
- Boot the system from the floppy disk; the installer will appear again and ask which drive letter is your HDD (remember that thing about the letter order? this is where it comes into play). It will then copy game files into the HDD.
- Reboot again, and the floppy disk will now boot straight into the game.

To illustrate this, we'll see how to install the classic visual novel "Desire: Haitoku no Rasen" by C's Ware.

First, run MAME with all the hardware attached. For example:

mame pc9821ce2 -hard1 pc98.chd -cdrom desire -cbus0 pc9801_86 -ramsize 14M

(by the way, you can persist most of those options by putting them into an INI file; for example. create "ini/source/pc9801.ini" and add the line "cbus0 pc9801_86" to always have an 86 sound card attached)

Once DOS has booted, mount a blank floppy into the first drive as read-write, switch to the Q: drive and take a look. In this case there are two files called DESIREFD.BAT and DESIREHD.BAT.

[Linked Image]

These are the installers (one to just use the floppy and run everything from CD, and the other to also install the game into HDD). You will see similarly named files in a lot of PC-98 software, though sometimes the names are less intuitive (e.g. ZZZCDF.EXE and ZZZCDH.EXE). In this case, we run DESIREHD.BAT.

[Linked Image]

First it will ask for the kind of CD-ROM drive we have. This is needed in order to know which driver it has to copy. For the emulated drive in MAME you should always select anything related to a standard NEC drive, in this case option 1.

[Linked Image]

Now it's asking for the drive our DOS files are in, so we choose A.

[Linked Image]

And finally, it asks where the blank floppy disk is, so we choose B. It will warn you that all data inside the floppy disk will be lost. Just press ENTER.

[Linked Image]

Now it's formatting the disk and copying the system files. Just wait, and it will eventually show this:

[Linked Image]

It will send you back to the command line. Now reboot the PC-98 and let it boot from floppy. If everything is right, the installer will run again.

[Linked Image]

This is just a confirmation prompt to install the HDD part of the game, which will take up 6 MB of disk space. Press Y.

[Linked Image]

Now this is the mind-bending part. We need to tell the installer where the HDD is, but since we are booting from floppy, the HDD is now drive C: instead of A:. Yes, it's insane, but that's how it works.

[Linked Image]

Specify a directory to install into, and...

[Linked Image]

It's over. Reboot again, and you will be in the game.

----

Other possible situations:

In some cases (e.g. Data West games) you don't need a blank disk, and instead they include their own installer floppies, which modify themselves to include the necessary system files and drivers. Generally the user is expected to make a backup copy of that disk before running the installer.

In some other cases (a lot of Nihon Falcom games), there's no floppy involved. You just run the installer from the CD, it copies files to the HDD, and you are expected to run the game directly from your DOS installation. This isn't very common, though.

Sometimes, you also get additional options to select the type of graphics and/or sound hardware you have. Those are usually intuitive enough if you know the basics of how the platform works (which I just taught you!).

And in some other cases... well, there can be unexpected things. If you can read at least basic Japanese you should be able to make some sense out of them, but if not... well, good luck.

That's it for now! Good luck on your adventures in the PC-98 world!

Re: The MAME OS installs instructions thread [Re: r09] #114102
10/23/18 08:01 AM
10/23/18 08:01 AM
Joined: Aug 2017
Posts: 10
D
dxl Offline
Member
dxl  Offline
Member
D
Joined: Aug 2017
Posts: 10
Installation instructions for HP-UX 9 on hp9k360 (needs mame newer than 2018/10/23):

get the install images:

http://bitsavers.org/bits/HP/HP_9000/HPUX_9/CD/hpux9_install.iso
http://bitsavers.org/bits/HP/HP_9000/HPUX_9/CD/hpux_9.1_update.iso

./mame64 hp9k360 -sl2 '' -hard hpux9.chd -cdrom hpux9_install.iso

This will boot the installer:
[Linked Image]

Press <Enter> to continue:
[Linked Image]

Installer searching for disks:
[Linked Image]

It found our disk image:
[Linked Image]

Say 'y' to have long file names:
[Linked Image]

Press '1' to continue:
[Linked Image]

Accept the default swap setting by pressing enter:
[Linked Image]

And, once again, press 'y' to continue:
[Linked Image]

Installer starts creating the filesystem:
[Linked Image]

Installer extracting the minimum HP-UX system:
[Linked Image]


Last edited by dxl; 10/23/18 08:21 AM.
Re: The MAME OS installs instructions thread [Re: dxl] #114103
10/23/18 08:03 AM
10/23/18 08:03 AM
Joined: Aug 2017
Posts: 10
D
dxl Offline
Member
dxl  Offline
Member
D
Joined: Aug 2017
Posts: 10
The installer is now asking for the update CDROM:
[Linked Image]

Enter the Menu, and select 'hpux_9.1.update.iso':
[Linked Image]
[Linked Image]

After that is done, the installer shows the main menu, press enter to select all filesets:
[Linked Image]

Press Enter once again to confirm that you to install these filesets:
[Linked Image]

And, 'y' to really install:
[Linked Image]

And this is the final install screen. After it finishes install, it will reboot into HP-UX from hard disk.
[Linked Image]

Have fun with HP-UX!

Page 1 of 3 1 2 3

Who's Online Now
3 registered members (incog, Praxis, 1 invisible), 28 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,600
Posts112,408
Members4,821
Most Online283
Oct 11th, 2018
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.040s Queries: 14 (0.012s) Memory: 5.9558 MB (Peak: 6.3320 MB) Zlib enabled. Server Time: 2018-11-21 19:53:21 UTC