TweetFollow Us on Twitter

October 90 - Apple II Q&A

APPLE II Q & A

Apple II Developer Technical Support

QHow can I force text-page-two shadowing on the Apple II GS?

A Most uses for text-page-two shadowing come from older, 8-bit applications that use text page two. On the Apple IIGS, a Monitor ROM routine at $F962 (TEXT2COPY) toggles shadowing of text page two, through hardware on ROM 3 and through software on older machines. (A heartbeat task copies the bank $00 screen to the bank $E1 screen for software shadowing.)

TEXT2COPY is only a toggle--it can't tell you the current state of shadowing. To see if shadowing is currently enabled (the user may have enabled it manually with the Alternate Display Mode desk accessory), try storing a character in the bank $00 text-page-two screen, waiting more than 1/60th of a second and seeing if the character has been copied to bank $E1.

QSome of the toolbox calls I make crash when executed with GSBug active, but behave normally when GSBug isn't present. How come?

A GSBug is intolerant of toolbox calls made in 8-bit mode. Although theApple IIGS Toolbox Reference (pages 1-2) clearly states that all toolbox calls must be made in full native mode, the current tool dispatcher protects you by beginning with a REP #$30 instruction. GSBug does not. Be sure to make all toolbox calls in full native mode.

QIf I try to select a file in an SFPutFile dialog box and the file already exists, clicking Save produces no action if I've entered ProDOS 8 since rebooting. Why?

A The System Software 5.0.2 Resource Manager does not restart correctly on return from ProDOS 8. It doesn't correctly add the system resource file into the search path. When Standard File detects that you're trying to save over an existing file, it calls ErrorWindow to display a dialog box with the warning, "That file already exists," and the choice to replace or cancel. ErrorWindow fails because the system resource file is not open and the AlertWindow template can't be loaded. Standard File treats an error in the ErrorWindow call as if you'd clicked Cancel in the "That file already exists" dialog box. The net effect is that nothing at all happens. This is corrected in System Software 5.0.3.

QWhy do Apple IIGS fonts look tall and skinny, as if they were made out of rubber and stretched too far in one direction? They look OK when I print using the "vertical condensed" option.

A Nearly all the Apple IIGS fonts were originally designed for other systems, usually the Macintosh. Font definitions for the Apple II GS and other systems are nearly identical. Macintosh pixels are square; the width-to-height ratio of a pixel is 1:1. Apple II GS pixels are much taller than they are wide (the ratio for Apple II GS 640 mode is about 5:12). When a font designed for square pixels is displayed on a system with pixels of a different shape, the characters look stretched. This is what happens on the Apple IIGS.

Apple could have changed the font strike for a more pleasing look at Apple IIGS resolutions, but for legal reasons such a change would require renaming the fonts. Times wouldn't be Times anymore, Helvetica wouldn't be Helvetica, and so on. The fonts would look the same, but the names would have to be different. In the tradeoff between appearance and well recognized font names, Apple chose to keep the familiar names and font strikes. To compensate for the stretched fonts, all of Apple's printer drivers include a "vertically condensed" printer option. Selecting this option causes the printer drivers to print with double the screen's vertical resolution. Doubling the vertical resolution effectively makes the pixel aspect ratio about 10:12, or 5:6, which is close enough to square that the fonts look the way we expect them to.

Some fonts are designed for the Apple II GS aspect ratio of 5:12. Such fonts are identified in their font family numbers by having the high bit set.


These questions and answers are compiled by the Apple II Developer Technical Support group. *

 
AAPL
$530.38
Apple Inc.
+0.00
GOOG
$600.40
Google Inc.
+0.00
MSFT
$29.27
Microsoft Corpora
+0.00
MacNews Search:
Community Search:
view counter

view counter
view counter
view counter
view counter
view counter
view counter
view counter
view counter

This Week at 148Apps: May 14-18
This week at 148Apps.com, Kevin Stout examined the question more than a few of us are asking: Why won’t Nintendo release any games for iOS? Stout writes, “Nintendo recently reported its first annual loss, showing that perhaps 3DS isn’t enough of a success. Nintendo hasn’t even released its legacy games on mobile platforms where others like Sega... | Read more »
Mega Tic-Tac-Toe Review
Mega Tic-Tac-Toe Review By Jason Wadsworth on May 18th, 2012 Our Rating: :: AN EXPANDED CLASSICUniversal App - Designed for iPhone and iPad It’s like tic-tac-toe, but more of it.   Developer: Noam Studios | Read more »
Time to Check Out Classic-Style RPG Alph...
The Japanese developer KEMCO has been developing iOS games for some time; most of them bring epic RPGs (some might call them JRPGs) in the classic 16-bit style. Alphadia, one of their more popular titles, is described by the developer as a classic Japanese style role playing game. It follows the adventures of the small town resident and young hero... | Read more »
TockDown Review
TockDown Review By Kevin Stout on May 18th, 2012 Our Rating: :: USEFULiPad Only App - Designed for the iPad TockDown is a timer app for the iPad.   Developer: Retrobit Price: $0.99 Version Reviewed: 1.0 Device Reviewed On: iPad (third-generation) | Read more »
Why Can’t I Play Pokemon On My iPhone?
Nintendo recently reported its first annual loss, showing that perhaps 3DS isn’t enough of a success. Nintendo hasn’t even released its legacy games on mobile platforms where others like Sega have (Sonic the Hedgehog). While current CEO of Nintendo, Satoru Iwata, is in charge, it’s unlikely that Nintendo will acknowledge its mistake. | Read more »
Rage Comic Generator Review
Rage Comic Generator Review By Jennifer Allen on May 18th, 2012 Our Rating: :: CREATIVE FUNUniversal App - Designed for iPhone and iPad A fun way to create your own RageGuy memes.   | Read more »
FREEday 5/18/12 – “FREE Your Mind for th...
Free games again? Man, I’m really starting to get tired of–who am I kidding? Games! For free! Isn’t that awesome?? This week we’re a little all over the place with genres and content. Something for almost everybody, and it’s all free. | Read more »
Circus Atari Review
Circus Atari Review By Jennifer Allen on May 18th, 2012 Our Rating: :: BASICUniversal App - Designed for iPhone and iPad A modern day re-interpretation of a classic arcade game.   Developer: Atari Price: $0.99 Version Reviewed: 1.0 Device Reviewed On: iPhone 4 | Read more »
Create Personalized Cases With CaseApp A...
The iPhone looks pretty attractive the moment it’s purchased but sometimes it’s nice to add that personal touch. It’s easy enough to adjust the home screen image and general background, but how about a whole new personalized cover for the device? That’s what CaseApp provides. | Read more »
Grabbit Review
Grabbit Review By Angela LaFollette on May 18th, 2012 Our Rating: :: RIBBETING FUNUniversal App - Designed for iPhone and iPad Grabbit is a fast-paced arcade game that tests users’ reflexes.   | Read more »
All contents are Copyright 1984-2010 by Xplain Corporation. All rights reserved. Theme designed by Icreon.