XTGS (IBM PC XT / Tandy 1000 Emulator for Apple IIGS)
Latest Build: v1.1, December 1, 2026

INTRODUCTION
------------
We were hanging out in the [cCc] secret lair talking about
that old SoftPC "demo" hoax that went around the pirate BBSes around
1990. Everyone downloaded it, but all it did was fiddle with the 3.5"
disk drive for like 10 minutes before dumping you to a fake C prompt.

But, I asked, "What if real?" That kicked this all off.

When v1.0 was released, I knew I had a banger. A 48MHz Apple IIGS
(like one with an AppleSqueezer Turbo or whatever they're called)
can do everything a PC Transporter can do, and much more! You can
boot a disk image, you can share the filesystem with ProDOS, and
more importantly, you get decent serial ports and EGA mode 0x0D.
But I didn't stop there, because once I realized that a super-fast
GS could kill the PCT dead, I went all the way and added Tandy 1000
graphics and sound, which doesn't sound super impressive until you
realize that Tandy 1000 graphics is 320x200x16 in the same byte
format as SHR, therefore requiring nearly no translation, so that
games that support Tandy graphics go super fast. I made sure that
the Ensoniq chip provided timings and good sound for both PC
Squeaker and Tandy sound as well. Then I tested everything on a
couple dozen games and utilities to ensure some level of reliability
and compatibility. The thing will even boot Minix.

For v1.1, I picked up from there and added... JIT Turbofan! If
you're a fan of the Javascript V8 engine, the word "turbofan"
might imply an engine that identifies hot paths and optimizes them
by translation into native instruction code, and hey, that's exactly
what this does, effectively lowering the threshold for full-speed
emulation of the 4.77MHz PC XT from 48MHz down to about 32MHz or
even lower, depending on the workload and instruction mix. Wow, JIT
compilation, have you ever seen such a thing on an Apple IIGS?

v1.1 also adds the ability to just click on .EXE / .COM / .BAT files
from within the shared filesystem and launch into XTGS directly into
the application.

But what about the 14 or so seconds it takes to launch the emulator?
That's okay, we can boot to the C prompt, freeze a system state right
there, and thaw-to-boot, thereby booting in about 3 seconds.

Finally, let's add 8087 support! And not just software emulation
either. We kick most operations over to SANE via the Apple IIGS
Toolbox, meaning that if you have a Number Cruncher card running with
the Tool Locator patches, yes your 68881 chip will handle the
floating-point math and blow the doors off of any 8087. I should
note though, that division and multiplication is done using table-
based handlers because they are wicked fast and we can.

If you have an AppleSqueezer Turbo (or even if you don't), give
this a whirl, and ditch that PC Transporter.

Current version: v1.1 (December 1, 2026)

Download xtgs.po disk image (right-click, Save As, etc)
Github project (source code and build system)

- xtgs@ballmerpeak.org