home *** CD-ROM | disk | FTP | other *** search
- July 6, 1992
-
- Apple Emulator, DEMO version
- By Greg Dunlap
-
- This program emulates an Apple ][+; it supports all of the display
- modes of an Apple ][+ - Primary and Secondary pages of Text, Hires, Lores,
- and Mixed; sound, joystick, and Language Card. It does all this while also
- being completely multitasking! (It runs at a priority of -1)
- If you have a 68000, run "AppleM000". If you have anything else, run
- "AppleM0x0".
- To run this program you need to have a file in the current directory
- called "AppleROM" - this is an image of the Apple ][ ROM. If you have an
- Apple ][ or ][+ you can save an image of the ROM by booting DOS and typing:
- "BSAVE APPLEROM, A$D000, L$2000"
- and then transferring the file to the Amiga via a serial cable.
- THE APPLE //E AND //C ROMS WILL NOT WORK! This is because this version
- of the emulator doesn't support the extra firmware bankswitching present on
- those systems; such emulation is forthcoming.
- The emulator DOES emulate a Language Card, so that when disk support is
- provided programs that live in this area (such as assemblers, UCSD Pascal, etc)
- will work.
- A joystick is emulated via the mouse and a digital joystick in Port 2.
- POT's 1 and 2 are MouseX and MouseY; POT's 3 and 4 are the joystick up/down
- and left/right. Pushbutton 1 is the left mousebutton, Pushbutton 2 is the
- right one, and Pushbutton 3 is joystick fire. In the future this will all
- be configurable.
- Although this is primarily an Apple ][+ emulator, it does have a few
- enhancements: lowercase text is displayed and the 65C02 instruction set is
- emulated.
- You will notice four gadgets at the top of the screen:
-
- QUIT - self explanatory.
- RESET - Same as CTRL-RESET on the Apple ][.
- COLD - Does a cold reset - same as CTRL-OPENAPPLE-RESET on a //e, but
- without the memory corruption.
- FREEZE - Suspends the emulator in order to free the CPU to lower-pri tasks.
-
- Clicking the right mouse button at the top of the screen will switch
- between the row of gadgets and a screen drag bar.
-
- This is a demo version because there is no disk support, nor is there
- support for a printer or modem; these are forthcoming. As an extra bonus,
- however, if you happen to have a 23937-byte file called "BOLO" in the current
- directory, it will be loaded into "Apple memory" at $1100. This is the
- file "BOLO.BINARY" on the BOLO disk.
- This program has been tested on my Amiga 500 (68010, 1Meg CHIP, 2Meg FAST),
- an Amiga 2500/30, an Amiga 3000, a stock Amiga 500, and a stock Amiga 1000.
- It will run under Kickstarts 1.2, 1.3, and 2.0 (it may also run under 1.1 if
- anyone cares enough to try it).
-
- BUGS:
- If you run another program that uses sound on Voice 1 and turns the
- volume off when done, the speaker will no longer click. This is because I
- cheated on the sound code by going directly to the hardware to click the
- speaker; other programs that use sound aren't bothered by this.
- If you have another screen (Workbench, say) in front of the emulator's
- and you drag it down, if the emulator is in a display mode other than
- Primary Text then at certain points of dragging the screen in front will
- appear munged. This is an artifact of the copper lists I use to render the
- display, and is COMPLETELY HARMLESS.
-
- I have not tested the sound on a machine faster than mine, because the
- sound was never hooked up on the A3000 and the A2500/30. I'd like to know how
- it sounds. Also, if anyone cares to try this on an '040 I'd love to hear about
- it!
-
- Please send any bug reports or cool ideas to:
- gdunlap.ecst.csuchico.edu
-
- - Greg Dunlap
- - CSUChico
-