THE ATARI PERIPHERAL EMULATOR USERS GUIDE

THE ATARI PERIPHERAL EMULATOR
USERS GUIDE

-----------------





Version 1.15

To make sure you have the NEWEST version of APE, check the APE HOME PAGE on the WWW @ http://www.nacs.net/~classics/

Also see the ProSystem Users Manual and the APE Warp+ OS InfoPage for current information!


Friday, May 09, 1997





Steven J Tucker
9731 Sunrise Blvd #M33
North Royalton, Ohio 44133
U.S.A



Written by Steven J Tucker

Copyright (c) 1997 by Steven J Tucker




---------------------

The Atari Peripheral Emulator (APE) is a advanced serial application that emulates an entire
subsystem of atari 8 bit peripherals using your existing or purchased APE cable.

APE has been created in the idea that anything a real, physical SIO device can do,
APE can do better, faster, and at far less cost than the real peripheral!


ORDERING INFORMATION

For additional information on licensing the Atari Peripheral Emulator see the end of this document,
the Ape Online Order Form, ORDER.FRM (included in the APExxxD.ZIP distribution), or contact:

Steven J Tucker
Voice (216) 237-5308
9731 Sunrise Blvd #M-33
North Royalton, Ohio 44133 USA

Electronic Mail to:
classics@nacs.net
(if mail to this address fails, please e-mail dh395@cleveland.freenet.edu)


APE LICENSE AND DISCLAIMER

The Atari Peripheral Emulator, the Ape Pro System program and image format,
this document and all other portions of the APE archive not the property of
third paries are the copyrighted property of Steven J Tucker
.
Distribution of registered versions of this product is a violation of copyright law. You may use the unregistered version of this program for a 30 day free trial period. If after 30 days you wish to continue using APE you MUST purchase it or remove all copies of the software from your system.

The author makes no representations or warranties with respect to the contents hereof and specifically disclaims any implied warranties of merchantability or fitness for any particular purpose. Further, the author reserves the right to revise this publication and to make changes from time to time in the content hereof without obligation of the author to notify any person or organization of such revision or changes.


TABLE OF CONTENTS
Ordering Information2 Disclaimer2
What is APE?5 What Hardware is Required?5
Can APE be multitasked?5 What SIO Hardware does APE emulate?6
Why use APE?7 The PRICE Factor7
About Shareware9 Registration Benefits and Unregistered Restrictions 9
Installing and starting APE11 Starting with APE11
Command Line Options & Status Screens12 Keystroke Commands and emulator functions13
[1-8] Swap Disks14 [A] XFD/DCM -> ATR Image Converter14
[B] Load/Save Block Configuration14 [C] Create New Disk Image (ATR)15
Formatting your disk images16 w/ Atari DOS16
w/ MyDos17 w/ Spartados17
[H] Help Menu18 [L] Load ATR/PRO Image18
Using PROTECTED (PRO) Disk Images 18 [Q] Quit Program 19
[R] Release (unmount) ATR/PRO Image19 [S] Set ApeLoader / PC-Mirror Drive20
Navigating your PC filesystem w/ the PC MIRROR20 [T] Toggle Emulation20
[U] Ultraspeed/APE+ Toggle21 [V] Multitype text file viewer21
[W] Write protect image21 [Y] Playback Digital Cassette Image 
[Z] Configuration Menu    Misc Configuration Options 
  Core APE Configuration22   Atari & PC Printer Setup25
  Default Path & Quick Macro Steup26   Advanced PC Comm Port Setup27
  APE+/Ultraspeed Setup27 Using Your PC MODEM with APE as R:29
Using Your PC Printer with APE as Px:30 APE FAQ (Frequently Asked Questions)30
Getting Technical Support31 Program history/revisions32
Order Form36 Building the APE Interface Yourself36
Building the APE Pro System Interface Yourself36   

-----------------------------

WHAT IS APE?

Thank you for trying the Atari Peripheral Emulator! You've taken the first step to making your Atari 8 Bit computer more enjoyable and useful!

APE is an advanced serial application capable of emulating an entire subsystem of devices on the Atari 8 Bit SIO bus.



---------------------------

WHAT HARDWARE IS REQUIRED?

APE talks to the SIO bus of your Atari 8 bit home computer using the Ape Interface Cable (or SIO2PC cable). This serial device provides the hardware required to convert the voltage levels present on the Atari SIO bus to levels compatible with the PC serial port.

This device hooks directly to the SIO port of your atari computer, and to the serial port of your PC compatible computer. No interface or other additional hardware is required!

Plans for building this device yourself are found at the end of this document. The 2 chip version requires $20-25 of parts, some not commonly available. The newer one chip version of this device requires only commonly available parts and can cost between $10-20, depending again on the cost of parts in your area.

Assembly and testing of this device takes 2-3 hours. If you have no soldering experience I suggest you pick up a book on electronics and practice before attempting final construction.

If you do not wish to make the interface yourself, I can provide a completely assembled and pre-tested serial unit for you. See ORDER.FRM for details, or ORDERING INFORMATION at the end of this document. Also, anyone purchasing the hardware from me will receive a $5 discount on the more robust REGISTERED version of this software.

PC Hardware Required

APE is compiled using 808x compatible instructions, and will run on most any machine from an XT to a Pentium Pro with a serial port and at least 200k of free DOS memory. A 286+ class machine with a hard drive and disk caching software (Norton Speed Drive, MS Smart Drive, etc) are recommended to get the very best performance. You should have WRITE BEHIND CACHING turned ON when using APE w/ disk cache software.


CAN APE BE MULTITASKED?

APE is designed to operate under MSDOS or MSDOS compatible operating systems that allow exclusive control of the system by a single task . APE requires very precise timing for its serial core functions, and may fail to function if operated under 'time sharing' operating systems such as Desqview, Windows 95, etc. Some users however have reported sucess under these operating systems with high end pentium class machines.

This is not a shortcoming in APE. The Atari SIO bus was designed to talk to devices that were always ready to respond, and to respond within a strict time frame. When you system takes time away from APE for other applications, the time critical handshaking between APE and your PC becomes desynced and IO operations may fail.

Even systems like Windows 95, which claim to give 'exclusive' control of the system to DOS applications can still fail. This is because the OS layer of these applications continues to slice time away from APE for its own housekeeping functions.

If you wish to try running APE under Windows95, first run APE under a clean dos boot to see it work properly. After seeing how it should work, you will have better luck evaluating your success under windows.

To boot to a real dos session with Win95 installed, press F8 BEFORE your system boots and select Command Prompt Only. When you do try running APE in a Win95 dos box, set idle sensitivity under Properties to its highest setting, and screen mode to Full Screen.

APE can also be run under Linux DOSEMU.

Instructions for running APE under dosemu 0.60:

  1. In the dosemu-60.x/serial directory, edit the file ser_defs.h and change the following values:
  2. The line #RX_READ_FREQ. Change the value shown to 19L.
  3. The line #MS_MIN_FREQ. Change the value shown to 19L.

  4. This will change how often dosemu updates the serial port status registers for your dos box. We need FAST updates.

  5. In /etc/dosemu.conf, emulate ONLY ONE SERIAL PORT. Comment all the other ports out. If you enable 2 or more ports things get choppy as it takes longer to update the serial registers.

  6. (Re)compile dosemu and install it, run it, and run APE.


APE should work OK for you. I have /dev/ttyS0 emulated, with 'sillyint' set to off. Setting sillyint to the IRQ of your serial port might yield some improvment if you still have trouble. The higher the priority you give 'dos', the WORSE ape runs. If you set the priority with renice to say '14' then APE runs so good even APE+ 56kbps 3X ultraspeed works.

WHAT SOFTWARE SERVICES & HARDWARE EMULATION DOES APE PROVIDE?

APE emulates the following devices, commands and addressing modes.

Basic SIO Commands Supported


WHY USE APE?

Buying or building this interface, and purchasing the REGISTERED version of APE will be one of the the best investments you can possibly make in your Atari computer.

APE is an investment in your Atari 8 bit, securing your data and ability to make use of it for years to come. APE provides extrodinary hardware emulation at a SMALL FRACTION of the cost of real hardware devices!


THE PRICE FACTOR

For less than the price of a SINGLE 'refurbished' 1050 disk drive from one of the few remaining atari 8 bit dealers you will receive all the following:

Ape does ** NOT ** erase and reuse your PC hard disks, it stores data in 'disk images'. Disk images are regular PC files (like this one) that mimic the size and format of a real Atari disk. They may be as small as 90k, the size of a Single Sided/Single Density 810 disk. And as large 16 megabytes, 65,535 DOUBLE DENSITY SECTORS.