Atari800Win An Atari 800/800XL/130XL/5200 emulator for Win32 Original Atari800 code by David Firth (david@signus.demon.co.uk) Win32 version by Richard Lawrence (rich@kesmai.com) http://www.cris.com/~Twist/atari800win/ ***YOU MUST READ THIS ENTIRE DOCUMENT BEFORE MAILING ME WITH QUESTIONS*** DO NOT UNDER ANY CIRCUMSTANCES E-MAIL ME ASKING FOR EITHER SYSTEM ROMS OR DISK IMAGES. I WILL IMMEDIATELY DELETE ANY SUCH E-MAIL. START FROM THE WEB PAGE ABOVE AND YOU WILL BE ABLE TO FIND WHAT YOU NEED. Contents: REQUIREMENTS INTRODUCTION GETTING STARTED KEYBOARD LAYOUT RUNNING UNDER WIN NT RUNNING UNDER WIN 9X SOME COMMON PROBLEMS/FAQ <--Don't miss this, it's important REQUIREMENTS: P75+, Win95 with DirectX or Win NT 4.0, 4MB RAM available, a sound card supported by DirectSound (optional) and a joystick supported by DirectInput (optional). PLEASE SEE THE OS-SPECIFIC SECTION OF THIS DOCUMENT FOR WIN95 OR NT PARTICULARS. THEY ARE IMPORTANT. INTRODUCTION: Atari800Win will allow you to emulate an Atari 8-bit computer system on your Win32 based PC. It emulates all hardware aspects of the original Atari 8-bit (video, audio, and I/O devices), and can be configured to behave like of any of several Atari models (the 800, 800XL, 130XE, or 5200 game console). It features a familiar Windows user interface for configurable options and takes full advantage of whatever available video/audio hardware is on your machine. Although the code it emulates is 8-bit, everything here is pure 32bit and WILL NOT RUN ON WIN 3.X. There will be _no_ effort to port Win 3.X. The underlying emulator code was written by David Firth, who did an excellent job, along with contributions by Ron Fries for the sound code (which is also quite cool). The Win32 specific code is all my own, so blame me. Several additions have been made by other members of a loose team that is now working to improve the emulator. The current up-to-date source and home base of the team is at http://cas3.zlin.vutbr.cz/~stehlik/a800.htm. This product is free, but copyrighted (actually copylefted, in the GNU General Public License sense). I will be releasing the source code at a later date when I have it fairly hammered out. David's source is already available. I do not want money for this emulator, I consider it payment enough that many, like I do, will be able to enjoy their classic 8-bit stuff again without having to pay money for it. If you feel motivated, you can drop me an e-mail just telling me you're getting a kick out of your 8-bit again. Also, I am always on the lookout for original Infocom games (as in the boxes with the stuff in them) and would appreciate donations of those, or of Atari 8-bit/ST software on CD-ROM. This port is dedicated to the Nybbler Maniacs. Mike, Galen, Steve and I are all still around and hopefully will get some use out of this. In the _old school_ tradition of hacks when just doing it for yourself was the point, here's a salute to them and to Glen, who hopefully hung on to some of that ultra-rare 5200 stuff that "never made it out of Atari" :-). Anybody remember BLOC and Arcadium? Mike and Galen between them did some of the best AMS tunes made, too. Also check out http://www.cris.com/~Twist/WinFrotz/ if you are interested in playing the Infocom or other interactive fiction adventures on a modern Win32 interpreter. -------------------------------------------------------------------------------- GETTING STARTED: The very first thing to do is obtain a set of Atari OS ROMs and a disk image to boot with. The ROMs are _not_ distributed with Atari800Win, and you may _not_ put Atari800Win in an archive with them included and re-post it. We all know the drill, right? You will find pointers on how to obtain the ROMs on the Atari800Win home page at http://www.cris.com/~Twist/atari800win/ At a minimum you will need one machine ROM (either OS rev A, OS rev B, XL, XE, or 5200) to boot Atari800Win. Probably you should have OS rev B (required for most picky games), XE (the later generation machine with more memory), and 5200. You will also need a disk image, as mentioned previously. The most prevalent Atari DOS versions are 2.0S, and 2.5. There are plenty of later versions from Atari, and also several versions from other manufacturers. Take your pick, but keep in mind maximum compatibility is an Atari 800 OS rev B running 2.0S DOS for most games and the like. After you have your OS and a disk image, you can start up Atari800Win. The default configuration will look for an Atari XL OS named atarixl.rom in the same directory as Atari800Win itself. If you boot without this image present a dialog box will appear telling you it couldn't be loaded, then the emulator itself will appear. You can change the OS selection/name using the menu "Atari" and submenu "Hardware". When you correctly configure the OS settings, if you have changed nothing else, when you "OK" that dialog Atari800Win will switch into a full-screen 800x600 256 color DirectDraw display. This mode is ideal because it displays the full area of the Atari screen, including overscan. You may however select a different mode at lower resolution if you are willing to sacrifice some of the overscan area. The actual display resolution of the Atari is 384x240, and for most PC resolutions this is doubled to 768x480. You can also select to run Atari800Win in a window, which works fine if a little slow. I do not recommend 768x480 in a window. It will be very slow no matter how fast your machine is. Talk to Bill Gates about it. SOME DirectX machines may handle it. SOME AGP cards will do it with no problems (do not assume AGP=performance, it is not so). From here you can configure your disk drives using the "Atari/Disk Drives" menu, change cartridges via the Atari/Cartridges menu, and select directories on your PC hard disk to act as Atari virtual "Hard Disks", accessed via the H1:, H2:, etc device names. The regular PC keys should act like their Atari equivalents (i.e. break is break, escape is escape, letters/numbers are the same, etc). See the section KEYBOARD LAYOUT for specifics. One important key is the F5 key - it will either warmstart the Atari, or with Shift-F5 will "Cold"start it. -------------------------------------------------------------------------------- KEYBOARD LAYOUT: The general philosophy in keyboard layout is to assign the functionality of the original Atari key to the equivalent PC keyboard key. This differs from some other emulators - I am not aiming for the original key in the _same location_ as on the Atari keyboard, just trying to match the same functionality. Some keys that exist on the PC have no equivalence on the Atari and will do nothing, such as { and }. Atari Key Windows Key --------------- --------------- A-Z A-Z a-z a-z 0-9 0-9 (not keypad) Esc Esc Break Break Atari key Delete key (sorry, couldn't find a better one) Help key ` Select F2 Option F3 Start F4 Restart F5 (shift-F5 is a Coldstart, same as turning on/off Atari) -- F8 Run Atari as fast as possible (toggle) -- F9 (pauses the Atari emulation code, F9 restarts) Ctrl-a to z Ctrl-a to z (yes, no windows accelerator keys) ", *, -, etc Equivalent Windows keys Up, Down, Same as Atari up, down, right left arrow keys. Right, Left (When emulating the joystick, the keypad keys will act as if they are continously pressed after pressed the first time, until another key is pressed. So pressing "4" once will pull the joystick left continually until you press "5" to cancel it. Turn numlock OFF to use the keypad as a joystick). Keypad 0 Joystick trigger (if numlock off and no joystick selected) Keypad 8 Joystick Up (same as above) Keypad 4 Joystick Left (same, etc.) Keypad 6 Joystick Right Keypad 2 Joystick Down Keypad 7 Joystick Up/Left (note: _NOT_ Keypad8 + Keypad4! ) Keypad 9 Joystick Up/Right Keypad 1 Joystick Down/Left Keypad 3 Joystick Down/Right Keypad 5 Joystick centered (none) Ctrl-F1 Insert disk in drive 1 (none) Ctrl-F2 Insert disk in drive 2 (none) Ctrl-F3 Insert disk in drive 3 (none) Ctrl-F4 Insert disk in drive 4 (none) Ctrl-F5 Insert disk in drive 5 (none) Ctrl-F6 Insert disk in drive 6 (none) Ctrl-F7 Insert disk in drive 7 (none) Ctrl-F8 Insert disk in drive 8 (none) F8 Toggle between full/standard speed (none) F9 Toggle between running/stopped (none) Ctrl-Space Activate built-in Atari800 user interface -------------------------------------------------------------------------------- RUNNING UNDER WIN 9X: First, get DirectX 5.0. It is available for free from www.microsoft.com. It has considerably better performance in many cases, many bug fixes, and DirectInput actually works under it. I say again, get DirectX 5.0. After you have done that come back and continue reading. Ok, now that you have 5.0 installed (I mentioned you should get 5.0, right?) you're basically In Like Flint. On slow machines you might want to try the ModeX (320x200 and 320x240) drivers for speed improvements. Even on a P100 I was able to run full speed with 44Khz sound at 320x240. Make sure to write certain card manufacturers and tell them they are dorks for busting ModeX in DirectX drivers for cards that actually support it (I won't mention any names, MATROX). If you're not sure about your performance use the Info/Graphics test and Info/Sound tests. You should be getting <10ms for graphics and <4ms for sound. For this release all sound is implemented using the standard WaveOut functions. Not only are these more compatible with a wide range of hardwa...
michalsos