UltraWarp

From The ReActiveMicro Apple II Wiki
Jump to navigation Jump to search


UltraWarp v1.91RM (ReActiveMicro distribution)

The UltraWarp is an accelerator board for the Apple II, IIplus, and //e systems. It was conceived, created, and designed by Michael Mengel.

UltraWarp is a trademark owned by Michael as of November 4th, 2010.
US Serial Number:85168787, US Registration Number:4214564.

ReActiveMicro worked closely with Michael to help bring this project to the Apple II Community, and was released for sale from the ReActiveMicro Store on June 13, 2017.


Product Status: Actively sold by ReActiveMicro.

Support: Post on the Discussion page (link above) or email ReActiveMicro Support.

Sales: Visit the ReActiveMicro Store.


History

Michael Mengel stated "Originally I designed the card on an Apple II+ and BASIS 108 to accelerate my favorite programs CHESS and CHECKERS, inspired by an article in Creative Computing Vol. 8 No. 12 Dec 1982 page 30 ("New Processors for The Apple")."

Michael has listed a few boards for sale on eBay, but never considered mass production.

On March 5th, 2017 Henry contacted Michael Mengel about helping bring his project to the Apple II Community. After some email exchanges and design reviews, a initial PCB order was placed by ReActiveMicro and soon after the boards were confirmed working and released for sale in the ReActiveMicro Store.


Revisions

Michael produced a couple of versions of the UltraWarp board. The last and most current version was v1.91G and usually has the speed of 13MHz. Some boards however have been over clocked as much as 18MHz.

ReActiveMicro has produced several versions of the UltraWarp board. The last and most current version was v1.91G and usually has the speed of 13MHz. v1.92 had a PLCC footprint CPU and 128K SATURN board support which was a common RAM card with more than 16Kb RAM for the II+ in the early 80's from TITAN Inc.

In June of 2017 Henry made a re-layout of the v1.91G version to move more parts to SMT which allows for a less costly assembly. This revised version was called UltraWarp v1.91RM, and 3 protos were ordered for verification of the new layout. This new design could also allow a kit version of the board to be produced and sold.

UltraWarp v1.91RM Kit

In June of 2017 Henry created the "kit" version of the UltraWarp v1.91G project. The kit consists of the UltraWarp v1.91RM PCB, DIP sockets, and DIP ICs. The PCB contains some surface mount components which are already installed to allow for a simpler to assemble kit for beginners. The kit is exactly the same as an assembled board.

See #Reviews for Chris Torrence's Assembly Lines #58 video about basic assembly. He points out the following things to keep in mind.

  • As many soldering points as there are, 796 to be exact, this is technically a beginners project. There are no special tools needed. If you can fill a hole with solder, then you can assemble this kit.
  • Time required can range from 1 hour, to about 3 hours for really slow solders.
  • Be sure to use an IC Pin Straightener or manualy adjust the ICs pins before inserting in to sockets.
  • Using "No Clean" or "RMA" flux is most simple as the board will not need cleaning in most cases. If cleaning is required follow the directions for your type of flux.
  • Be sure to install the socket "notches" as noted on the board, and of course install the ICs in the same direction.
  • All ICs are listed on the PCBs for your reference.
  • If you have any doubts about anything be sure to contact ReActiveMicro Support to clarify before continuing.

There are no other special instructions to follow when assembling the UltraWarp v1.91RM Kit.

If you have any issues start by checking for bent ICs pins. Next check solder joints. If all else fails contact ReActiveMicro Support.


UltraWarp v1.91RM Features

  • Full TTL IC design. This means the board can be very simply repaired and overclocked.
  • Fused to protect against damage from bad or failing ICs.
  • "Power" LED to show the Fuse is working and the board has power.
  • "Acceleration" LED is ON to show when the board is running in fast mode, or OFF to show when the board is running at 1MHz.
  • DIP Switch to slow down Slot 5, 7, and joystick if needed.
  • Solder points on back near the Oscillator to run the board from the bus at 7MHz without any Oscillator installed. This is used for diagnostics if the Oscillator is suspected to be defective.
  • Power and Acceleration LEDs. These are lit when active.
  • Works in any open slot.
  • Fully II and IIplus compatible.
  • 16bit 65816 CPU capable of running 16bit software.

Reviews

Chris Torrence: Assembly Lines #58: Apple II UltraWarp Speed Card

On December 26, 2017 Chris Torrence posted a review about the UltraWarp v1.91RM kit.


Other examples of software running at 1MHz and 13MHz on an Apple II Rev 4 Apple II with Integer Basic ROMs.

Thanks to Tony Bogan for the videos and help testing!








Joe Strosnider: Update - UltraWarp Review

On August 31, 2017 Joe Strosnider posted an update to his original UltraWarp review. He now states the production UltraWarp v1.91RM is working 100% for all his testing at 13MHz.











Joe Strosnider: UltraWarp v1.91G Review

On July 28th, 2017 Joe Strosnider reviews the UltraWarp v1.91G proto from ReActiveMicro. During his testing he found some issues at 13MHz which were later addressed in the production models. The card however worked fine at 12MHz.










Testing

There is currently no known test program designed for fully testing all aspects of accelerators. ReActiveMicro has been very Active in trying to commission a Community programmer to take up this task, however games and other such endeavors have taken priority and they were turned down by everyone spoken with. No programmer has even enounced the consideration of such a task. So it's with deep regret a test program probably won't happen and is probably beyond every programmer's ability in the Community. ReActiveMicro however will pay any programmer who creates such a program. Contact Support to discuss the project and payment options.

That being the case, users with accelerators need to resort to "testing" for most likely known issues. This isn't necessarily the full range of issues, just a way to test for some of the more common ones with the hope if there is an issue it will become more apparent.

To best test all versions of the UltraWarp accelerators users should perform the following tasks at full speed:

  • Install a RAM board in the IIe Aux Slot and test for 10 minutes or more. This test seems to find 95% of issues.
  • Run PublishIt4 with all overlays in RAMWorks III Aux memory. Open and close several example files (LETTER and INVOICE) and copy & paste the image/picture elements several times.
  • Install a RAMFactor card and perform the self test Cx0AG in different slots (x=slot number).
  • Test with XPS IIe Diagnostics, option A and O.
  • Test with Flight Simulator II. The demo should run at least 10 minutes without any issues.


DMA And Known Issues

DMA stands for Direct Memory Access and is a feature of computer systems that allows certain hardware subsystems to access main system memory (Random-access memory), independent of the central processing unit (CPU).

Without DMA, when the CPU is using programmed input/output, it is typically fully occupied for the entire duration of the read or write operation, and is thus unavailable to perform other work. With DMA, the CPU first initiates the transfer, then it does other operations while the transfer is in progress, and it finally receives an interrupt from the DMA controller or card when the operation is done. This feature is useful at any time that the CPU cannot keep up with the rate of data transfer, or when the CPU needs to perform useful work while waiting for a relatively slow I/O data transfer.

The UltraWarp uses 128k of "fast RAM" to shadow the slower Apple II 64k main RAM, and Bank 0 of AUX RAM which is also 64k. It normally uses the fast RAM for processing and then updates the slower Apple II RAM when it's needed to keep the two synchronized. Some boards however will directly access RAM, update or change things, and the UltraWarp will not know this unless strict DMA rules are followed.

Some boards like the Video-Digitizer and WILDCARD use the DMA line but do not adhere correctly to the Apple II requirements when using DMA. Other cards like the MicroDrive/Turbo and RAMFast SCSI card correctly follow the Apple II requirements when using DMA and thus are 100% compatible with all other DMA accelerators.

Since there are so few boards capable of using DMA it is assumed the most common boards, MicroDrive/Turbo, RAMFast SCSI, and Apple II High Speed SCSI Card will all work correctly. If you have a board which only uses the /DMA line and does not also use the /RDY line, then it is a safe assumption the board will not work correctly with DMA accelerators.


Boards known to work correctly with DMA accelerators:


Boards known to NOT work correctly with DMA accelerators:

  • Video-Digitizer
  • WILDCARD


Compatibility And Known Issues

Aside from DMA issues, certain non-DMA cards appear to be incompatible with the UltraWarp for other reasons. It is likely that these cards rely on subtle timings that are different with the UltraWarp installed, though the exact reasons may not be known without the assistance of the card designers.

Card Tested on Works in fast slot
(switch OFF)
Works in slow slot
(switch ON)
Notes
Disk ][ Interface Card Apple IIe Platinum
UltraWarp 1.91RM 13MHz
No Yes The venerable Disk ][ doesn't work in a fast slot, of course. But it works fine in slot 6, or 5/7 if they are set to slow.
CFFA3000 v1.0 rev C
(fw 3.1.1)
Apple IIe Platinum
UltraWarp 1.91RM 13MHz
Yes Yes No issues encountered.
CFFA v2.0 rev B
(fw 1.2)
Apple IIe Platinum
UltraWarp 1.91RM 13MHz
Yes Yes No issues encountered.
BOOTI Type A
(fw 0.9L)*
Apple IIe Platinum
UltraWarp 1.91RM 13MHz
No No Freezes or breaks to monitor. On-screen countdown appears, but config utility is inaccessible.
SD Disk ][ Plus
(fw 2.59X)
Apple IIe Platinum
UltraWarp 1.91RM 13MHz
No No Freezes at BIOS screen. I got it to start loading ProDOS once, but it died before finishing.
Uthernet II Apple IIe Platinum
UltraWarp 1.91RM 16MHz
Yes Yes No issues encountered.
* = The designer of the UW has confirmed that replacing U40 and U41 with 74```LS```373 ICs fixes the BOOTI issue. TotalReplay 5.0 and A2Desktop will work correctly as well. ReActiveMicro is working on confirming this mod, and will update stock for new sales.


RamWorks

RamWorks-style cards in the Apple IIe auxiliary slot are supported, with some points to note.

  • The UltraWarp gives you an additional 64KB bank above and beyond whatever is on your actual RamWorks card, because the UltraWarp has 128KB of SRAM on board - 64KB shadows main memory, and the other 64KB becomes an auxiliary bank. So, if you have a 1MB RamWorks III card, it should be detected as 1088KB (1024 + 64), for a total of 1152KB of memory in your system. If you have only a regular Extended 80-Column Card, you should find that a RamWorks with 128KB is detected.
  • At higher speeds, RamWorks banking seems buggy. For example, on a particular card, MemUtil will fail at 16MHz, but will generally work at 13MHz. Even AppleWorks 5.1 will fail to preload modules into auxiliary RAM at 16MHz, but will usually work at 13MHz. However, it seems these problems have been observed under some circumstances even at 13MHz. Testing with a slightly slower oscillator may be warranted if this problem is encountered.
    • Avoiding the first few pages of RamWorks banks 0 and 1 may dodge this issue, but it's not clear why that would be the case.

Michael Mengel had some feedback about this issue as well. He stated:
During the startup or load sequence the RAMWORKS size should be detected correctly. Detecting the ram size “in between” or from BASIC requires a mod. The apple ][ RAM test Utility v1.4 from the website www.ivanhogan.com contains the BASIC program RW.AUX.TEST. By adding the line:
191 POKE 49384,0 : REM Motor off
the correct RAMWORKS ram size should be displayed.

The AE Super Desktop Expander Utility Disk contains the BASIC program STARTUP.BAS by Michael Wilks. The mod here:
188 POKE 49384,0
to display the correct RAMWORKS ram size.
[END]


No-Slot Clock

There has been a reported issue with the UltraWarp and the No-Slot Clock when used together.

Bobbi Webber-Manners reported the following:
No Slot Clock works fine with the Ultrawarp disabled (ie: STA $C050B) using NS.CLOCK.SYSTEM and NSCUTIL.SYSTEM.
With the Ultrawarp enabled, at either 1MHz (ie: STA $C05D) mode or at the full 13MHz, NSCUTIL.SYSTEM still works file, but NS.CLOCK.SYSTEM is unable to read the No Slot Clock.
I played around with NS.CLOCK.SYSTEM to try to investigate the issue. As you can see from the above, it is not an issue of the accelerator speed since it fails with UW at 1MHz.
I discovered that inserting a load from somewhere in $C0xx in NS.CLOCK.SYSTEM magically made it work. I settled on LDA $C00B, since this seems to have no documented effects. I built a modified NS.CLOCK.SYSTEM called NS.CLKUW.SYSTEM which seems to work fine on all systems with or without UW installed. This seems to be a corner-case bug in the Ultrawarp logic.
Modded and fixed NS.CLKUW.SYSTEM can be found here: https://github.com/bobbimanners/ProDOS-Utils/tree/master/No_Slot_Clock
[END]

Controlling Speed

Like all accelerators for the Apple II, the UltraWarp can also be controlled by softswitches. There is also a Dip Switch which can control the slot speeds.

Location:
$C05D   -   Low speed (1 MHz)
$C05C   -   High speed (set on power-up) $C05B   -   Disable

The following example in Applesoft Basic will slow the UW to the 1 MHz clock rate: POKE 49245,0
Next example switches back to full speed: POKE 49244,0

There is NO need for RESET after the SLOW-POKE or FAST-POKE.

DIP Switch Settings. All defaulted OFF. See the manual for details.

  • SW1 = Nothing (not connected/unused).
  • SW2 = Joystick Delay. When set ON accesses to $C070 cause a 2.5 millisecond delay.
  • SW3 = When set ON controls delay on Slot 5 to 1MHz.
  • SW4 = When set ON controls delay on Slot 7 to 1MHz.


Documentation