Welcome, Guest. Please login or register.

Author Topic: MS DOS Emulation  (Read 13684 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Castellen

Re: MS DOS Emulation
« on: May 05, 2007, 09:42:11 PM »
I've copied the docs for PCx ver 1.1 here if anyone needs them.

PCx serial port emulation seems to work better than PC-Task, I use PCx to run a number of DOS based 2-way radio programming applications, works fine.
A majority of the time I use PC-Task for running a DOS based Motorola 68HC11 embedded C compiler because the Amiga version isn't too flash.
PC-Task has two commands called "copytoa" and "copytoi" which is used to copy files from the emulated PC to the amiga, or from the amiga to the PC.  These are incredibly useful for transfering single files.
I created a DOS script file which copies in the C source code from the Amiga, compiles & assembles them, informs of any compilation errors and copies the target executable back to the Amiga.

Runs faster than on DOSbox on the 3.5GHz windows 2000 box at work.  DOSbox is good as you can adjust the number of emulation cycles done at a time, but it still emulates slower than PC-Task 4.4 on this 060.  With DOSbox emulation running at a usable speed, the windows mouse pointer is very jerky and the rest of the computer nearly grinds to a halt.  Go figure.

It's also worth noting that both PCx and PC-Task can use the same PC hardfile, so depending on what you're doing, you can use either emulator, but only have one hardfile.
Hardfile need to be located in PCx:HardFiles in this case (you need to make an assign "PCx:").

PCx has a good feature of generating a mountfile for the PC hardfile.  This means you can mount it on the Amiga and read/write to it.  I don't think you can have it mounted while the emulator is using the hardfile, for obvious reasons.
 

Offline Castellen

Re: MS DOS Emulation
« Reply #1 on: May 05, 2007, 10:26:17 PM »
I've only ever seen up to version 1.1, so chances are it is the latest public release?

No idea about PCxAFS, the docs don't give much info.  Was it so you could read/write to Amiga partitions from PCx or something?
The emulator works fine using a hardfile in the same way that PC-Task does, so if that's all you need, then just install it and see how it goes.

Apparently you can get better read/write performace from a dedicated PC partition as opposed to using a hardfile.  Never tried that myself.  The hardfile is easier to manage, backup, etc.
 

Offline Castellen

Re: MS DOS Emulation
« Reply #2 on: May 06, 2007, 02:17:39 AM »
To copy data into the PC hardfile, you only need to mount it on the AmigaOS side.  There is a feature in PCx which generates a mountfile for you, so all you do is "mount PC_HF0:" or whatever you call it.  You can then copy data to/from the hardfile from the AmigaOS side thanks to mshf.device.  At least I'm fairly sure you can copy data onto it, been a few years since I last had to do such a thing.

You can always use PKZIP and copy everything over in one file using "copytoi" on PC-Task.