From fdf4ecdaf32fdd959439299449980908fb51ba1d Mon Sep 17 00:00:00 2001 From: Shamus Hammons Date: Sat, 7 Dec 2013 16:06:55 -0600 Subject: [PATCH] Added website. --- src/apple2.cpp | 1 - web/apple2.css | 101 +++++++++++++++++++++++++++++++++++++++++++++++++ web/index.html | 30 +++++++++++++++ 3 files changed, 131 insertions(+), 1 deletion(-) create mode 100644 web/apple2.css create mode 100644 web/index.html diff --git a/src/apple2.cpp b/src/apple2.cpp index 56c9680..793070b 100644 --- a/src/apple2.cpp +++ b/src/apple2.cpp @@ -919,7 +919,6 @@ if (counter == 60) // have it do 16 for one frame, then 17 for two others. Then it should average // out to 1/60s per frame every 3 frames. frameCount = (frameCount + 1) % 3; - uint32_t waitFrameTime = 17 - (frameCount == 0 ? 1 : 0); while (SDL_GetTicks() - startTicks < waitFrameTime) diff --git a/web/apple2.css b/web/apple2.css new file mode 100644 index 0000000..0308d20 --- /dev/null +++ b/web/apple2.css @@ -0,0 +1,101 @@ +/* CSS for Apple2 Web */ + +/* for testing */ +/*div { border: 1px solid red; }*/ + +body, table +{ + background: #006060; + color: #FFFFFF; + text-align: center; /* Crappy IE kludge */ + font: 14.0pt Arial, Verdana, "Helvetica" sans-serif; +} + +#title img +{ + margin-top: 22px; +} + +#news td +{ + padding-bottom: 1em; +} + +#compatibility +{ + border: 1px solid white; + border-spacing: 0; + margin-bottom: 1em; +} + +#compatibility td +{ + vertical-align: top; + border: 1px solid white; + font-size: 85%; +} + +.date +{ + width: 7em; + vertical-align: top; +/* color: #FF6060;*/ + color: #FF6020; +} + +hr +{ + margin-bottom: 1.75em; +} + +table, ul +{ + text-align: left; +} + +p +{ + text-align: left; + margin-top: 0; + margin-bottom: 1em; +} + +h1 +{ + font-size: 300%; + margin-top: 0; + margin-bottom: 0; +} + +h2 +{ + font-size: 200%; + margin-top: 1.25em; + margin-bottom: 0.75em; + color: #FFB000; + font-style: italic; +} + +h3 +{ + font-size: 120%; + margin-top: 0; + margin-bottom: 0; +} + +tt +{ + font-size: 100%; +} + +p#footer +{ + margin-top: 2.0em; + font-size: 75%; + font-style: italic; +} + +a:link { color: #0090FF; text-decoration: underline; } +a:visited { color: #6F006F; text-decoration: underline; } +a:hover { color: #20B0FF; text-decoration: none; } +a:active { color: #FFFFFF; text-decoration: underline; } diff --git a/web/index.html b/web/index.html new file mode 100644 index 0000000..3f2cbf2 --- /dev/null +++ b/web/index.html @@ -0,0 +1,30 @@ + + + +Apple2: An Apple //e Emulator for Linux, Windows, and MacOS + + + + + + + + + + + +Apple2 + +
+ +

This is the home of the Apple2 portable Apple //e emulator. It's based on GCC and SDL2, and runs on Linux, Windows, and MacOS X. It's powered by Virtual 65C02TM, and sports an easy to use yet powerful interface.

+ +

This emulator came about because of ApplePC. It was a DOS only application with a horrible interface, and you had to tune it to get it work at the correct speed for your machine, but it had absolutely to most accurate looking screen that I have even seen on an Apple emulator at that time and ever since. Current emulators still to this day can't match the fidelity of what that old DOS program could do. So, to make a long story even longer, ApplePC disappeared off the face of the earth and I thought it was a shame that the screen rendering of that emulator should disappear with it. Also, there are, for some reason, absolutely no Apple II emulators for Linux! A deplorable situation! And so I resolved to fix that situation by figuring out how ApplePC did its video tricks and by writing an emulator for Linux.

+ +

Currently, only a source code archive is available. More will be coming in the near future... You can get a copy of the source code like so:

+ +

git clone http://shamusworld.gotdns.org/git/apple2

+ + + + -- 2.37.2