Bill Allombert on Thu, 27 Feb 2003 17:01:09 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

PARI under dosemu


Hello PARI-dev,

Just for fun I have tried to run the PARI DOS binaries under dosemu
under Linux using FreeDOS.

                  GP/PARI CALCULATOR Version 2.1.0 (released)
                 ix86 running EMX (ix86 kernel) 32-bit version
               (readline v enabled, extended help not available)

It works fine using DPMI/RSX, but I did not manage to use EMX instead,
it seems dosemu does not suppost VCPI.

Here the relevant part of dosemu.conf [1]

$_xms = (1024)          # in Kbyte
$_ems = (off)           # in Kbyte
$_ems_frame = (0xe000)
$_dpmi = (8192)         # in Kbyte


The ifac code read:

#ifdef __EMX__
      /* MPQS's disk access under DOS/EMX would be abysmally slow, so... */
      
This does not seems to apply here:

? factor(2^128+1);  \\ 1,840 ms under Linux
time = 3mn, 51,570 ms. 

(all the time is spend in ECM)

? factorint(2^128+1,14) \\ 1,510 ms. under Linux
time = 2,800 ms.

Cheers,
Bill.
[1] Not that I understand what it does...