While your waiting for an official version of PowerBASIC for Linux, DOSEMU/FreeDOS is a great way to run DOS programs under Linux. (CentOS/Red Hat) This is actually a better DOS environment then what Windows offers today. I just right clicked on the RPM, ran the Linux installer and bingo, I had DOS for Linux.
WHAT IS DOSEMU?
~~~~~~~~~~~~~~~
DOSEMU is a PC Emulator application that allows Linux to run a DOS
operating system in a virtual x86 machine. This allows you to run
many DOS applications. These are the capabilities of DOSEMU that are
worth noting:
PowerBASIC - First Basic (compiler - shareware)

PowerBASIC - DOS 3.5 (compiler - demo version)

John
WHAT IS DOSEMU?
~~~~~~~~~~~~~~~
DOSEMU is a PC Emulator application that allows Linux to run a DOS
operating system in a virtual x86 machine. This allows you to run
many DOS applications. These are the capabilities of DOSEMU that are
worth noting:
- color text and full keyboard emulation (via hotkeys) even on a terminal
- built-in X Window System support (includes IBM character set font) including fullscreen X (via Ctrl-Alt-F)
- graphics capability at the console (for most compatible video cards) (requires suid-root or sudo)
- graphics emulation in X for many color modes (X-server may be in true color mode)
- DPMI support
- runs most 16-bit and 32-bit DPMI-compliant video games (including those based on DOS/4GW) at the Linux console and on X
- integrated (command line) instruction level debugger, various break points, single stepping etc.
- integrated EMS and XMS drivers
- integrated packet driver
- integrated mouse driver
- integrated joystick driver
- CDROM support
- ASPI driver support (CD writers, scanners, tapes etc.) (requires access rights to /dev/sgX)
- support for redirected drives (any Linux directory can be 'mounted' as DOS drive via the lredir command)
- can even directly boot from a Linux directory containing all DOS files
- sound support (including sound DMA and Midi)
- NetWare and other network connectivity via built-in IPX and pktdrvr support
- the dosemu-freedos binary package starts a DOS-"C:\>"-Drive 'out-of-the-box' in a normal user's $HOME directory and runs without any further configuration (no root rights needed)
Code:
Memory Type Total Used Free ---------------- -------- -------- -------- Conventional 640K 10K 630K Upper 132K 9K 123K Reserved 252K 252K 0K Extended (XMS) 8,256K 164K 8,092K ---------------- -------- -------- -------- Total memory 9,280K 435K 8,845K Total under 1 MB 772K 19K 753K Total Expanded (EMS) 2,048K (2,097,152 bytes) Free Expanded (EMS) 2,048K (2,097,152 bytes) Largest executable program size 630K (644,720 bytes) Largest free upper memory block 121K (123,632 bytes) FreeDOS is resident in the high memory area.
PowerBASIC - First Basic (compiler - shareware)

PowerBASIC - DOS 3.5 (compiler - demo version)

John
Comment