The Museum of HP Calculators

HP Forum Archive 19

[ Return to Index | Top of Index ]

PIL-box <- EMU41 <- Dosbox <- Linux
Message #1 Posted by Geir Isene on 30 Jan 2010, 4:29 p.m.

I have seen a post here some time back with a successful PIL-box <- EMU41 <- Dosbox <- OSX setup. Has anyone had success with Linux (Ubuntu)?

I have this EMU41.INI


; emu41.ini        emu41 init file

[MODULES] ; page size filename 0 12 rom41cx.bin 3 4 cxfcn2d.bin 5 8 cxtime2c.bin 6 4 prter1e.bin 7 4 hpil1h.bin ; ------------ 8 12 adv41b.bin 10 4 xio1a.bin



And this .dosboxrc


serial1=directserial realport:ttyUSB0

[dos] keyboardlayout=no

[sdl] mapperfile = .mapper.txt

[autoexec] mount d: /home/noosisegei/G/Tech/Dos/ d: cd bnu bnu cd .. c:


The bnu runs but no success getting the PIL-box up and running :-(

Edited: 30 Jan 2010, 4:30 p.m.

Re: PIL-box <- EMU41 <- Dosbox <- Linux
Message #2 Posted by Egan Ford on 2 Feb 2010, 7:56 p.m.,
in response to message #1 by Geir Isene

Hello Geir,

I just got a chance to test this. Yes, it works with Ubuntu just fine.

A few notes:

  1. I tested Ubuntu 9.04. Ubuntu 9.04 did not work properly with the PIL-Box until after I upgraded the kernel. There is a known issue with FTDI USB chips and Ubuntu 9.04. I do not know if 9.10 fixed it. On my 9.04 system I am using 2.6.30-02063006-generic.
  2. For best performance you'll want to set the latency timer to 2. E.g. echo 2 >/sys/bus/usb/devices/5-1:1.0/ttyUSB0/latency_timer. The 5-1:1.0 will vary, use lsusb or dmesg to find the right hub.
  3. I do not recall if this was necessary, but chmod 666 /dev/ttyUSB0 just in case.
  4. No : after the COM1, e.g. XIL COM1, not XIL COM1: (perhaps it makes no difference).
  5. I commented out all [DEVICES] but XIL for testing.
I just formatted a tape with NEWM 100. Fast and no probs. Contact me directly ( if you need me to send you my EMU41.INI and my dosbox.prefs file.

Good luck.

Edited: 2 Feb 2010, 7:59 p.m.

[ Return to Index | Top of Index ]

Go back to the main exhibit hall