Installing OS/2 Warp 3 in pc9821ap2

Notes at the time of writing:
- Bleeding edge or upcoming MAME 0.272.
- Doesn't work in plain pc9821 (kernel panic during install), do not bother in anything beyond pc9821ce2 (will make use of PCI features, assuming you even get there)

1. Enable IDE BIOS in Machine Configuration thru TAB menu (step eventually to be removed)

2. Create a chdman HDD,
Code
./chdman createhd -c none -chs 332,16,63 -o "<path>" 

3. Startup the machine
Code
./mame pc9821ap2  -hard "<hdd_path>" -ramsize 14M -flop1 os2warp3:flop1 -cdrom os2warp3:cdrom

4. You will be greeted with an █ █ OS/2 prompt then this, which just means to swap os/2 warp 3 with Disk 1 in Drive A then strike enter key
[Linked Image from mamedev.emulab.it]

5. Loading from floppy drive, with an extra more laconical "loading" screen afterwards
[Linked Image from mamedev.emulab.it]

6. Once done, OS/2 will ask to insert installation floppy again, and CD-Rom if it isn't already
[Linked Image from mamedev.emulab.it]

7. Ask for user to select between Basic or Advanced configuration. The HDD partition is currently unformatted so need to choose Advanced here
[Linked Image from mamedev.emulab.it]

8. Select 1 for formatting the HDD with one contiguous partition.
[Linked Image from mamedev.emulab.it]

9. Partitioning complete, remove and reinsert the Install Disk media (?), then at "SYSTEM SHUTDOWN" soft reset the machine
[Linked Image from mamedev.emulab.it]

10. Now redo step 4, until you reach this, select 1 if one partition is used
[Linked Image from mamedev.emulab.it]

11. Asks you if you want the normal PC-98 letter scheme (1, A: will be HDD) or the more canonical DOS/V schema (where A: is floppy and C: is HDD)
[Linked Image from mamedev.emulab.it]

12. install phase 1
[Linked Image from mamedev.emulab.it]

13. At the end of it, will ask for removing floppy drive then strike enter -> "SYSTEM SHUTDOWN" -> soft reset
[Linked Image from mamedev.emulab.it]

At this point once rebooted OS/2 will ask for the usual device select and what OS parts to install, at the time of this writing those screens are broken so delaying this (trivial) part for later.