VOGONS


First post, by ImanolBarba

User metadata
Rank Newbie
Rank
Newbie

Hello VOGONS!

I recently bought the Hand386 device from Aliexpress, its a 386sx device using an M6117D CPU that fits in your hand (more info here: https://www.tomshardware.com/news/hand ... FO7PrIxH4o)

While it runs and boot DOS 6.22, I wanted to boot FreeDOS on it mainly for a couple open source projects I'm developing, but unfortunately, I'm not able to boot it at all.

General context:
- Using a 4GB CF card as hard disk. BIOS seems to detect it and supports LBA addressing (AFAICT, I haven't actually tried it explicitly with software), detected CHS is 7970C 16H 63S.
- DOS 6.22 on that same card shows all 4GB in fdisk
- When booting I see "FreeDOS" and it just hangs there indefinitely, HDD flash blinking periodically every 2-3 seconds
- I tried removing KERNEL.SYS and it doesn't even complain when booting before getting stuck, which makes me think that it's the bootloader that is failing, not the kernel.

I'm not too familiar with debugging these issues, but here's a list of things I've tried:

- Installing FreeDOS using a virtual machine with a physical disk pass through: This is what worked in order to install DOS 6.22. It boots fine in the VM, but gets stuck on hw
- Installing GRUB4DOS and chainloading FreeDOS. Again works on VM and not on real hw. After a couple seconds (after the stage1 bootloader timeout expires) it prints a couple messages with the drive that it's booting from (0x80), H=128 (This is LBA translation, but I also tried CHS mode) and then shows '(hd0, 0): FAT32' and then reboots immediately.

To me it seems that either the bootloaders are using some instruction or feature that the M6117D is not compatible with, or that perhaps the BIOS is botching some disk interrupts?

Looking for tips on what to check next or other things to try.

Thanks!

Reply 1 of 2, by ImanolBarba

User metadata
Rank Newbie
Rank
Newbie

After some further testing with a disk dumping application I developed some time ago, I found out that the BIOS is buggy:
- LBA extensions don't seem to work properly, any attempts to read LBA returns error 01 (Invalid command sent to controller)
- CHS settings are buggy (some int 13h calls return 64 heads no matter what you specified in BIOS)

So yeah, I've pretty much given up on this platform, but happy to hear any ideas or things I could try

Reply 2 of 2, by Horun

User metadata
Rank l33t++
Rank
l33t++

The Hand specs say it comes with a 1Gb CF card, have you tried Freedos with the original drive ? That would tell you if your specific 4Gb CF is the issue with Freedos......

Hate posting a reply and then have to edit it because it made no sense 😁 First computer was an IBM 3270 workstation with CGA monitor. Stuff: https://archive.org/details/@horun