Apple IIgs Spécifications

Naviguer en ligne ou télécharger Spécifications pour PC/postes de travail Apple IIgs. Apple IIgs Specifications Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 74
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
Apple IIGS
#65: Control-^ is Harder Than It Looks 1 of 1
Apple II
Technical Notes
Developer Technical Support
Apple IIGS
#65: Control-^ is Harder Than It Looks
Written by: Dave Lyons September 1989
This Technical Note describes a problem using Control-^ to change the text cursor with
programs that use GETLN.
On the Apple IIGS, typing Control-^ changes the cursor to the next character typed. This feature
works properly from the keyboard, but there is a problem when programs print the control
sequence. Try entering the following from AppleSoft to demonstrate this problem:
NEW
PRINT CHR$(30);"_"
It changes the cursor into a blinking underscore, as expected. But now enter the following:
12345 HOME
LIST
You should see 2345 HOME, which demonstrates that the first character is ignored. This is a
problem with GETLN, which AppleSoft uses to read each line of input. Even if your program
does not use this routine, you should be aware of this problem since it will occur the next time
another program uses GETLN.
Since changing the cursor works fine when done from the keyboard, the way to work around this
problem is to have your program simulate the appropriate keypresses for GETLN.
301: CLD ; required by BASIC.SYSTEM
302: STA ($28),Y ; remove cursor if present
304: LDY $0300 ; get index into simulated-keys list
307: LDA $310,Y ; get a simulated keypress
30A: INC $0300 ; point to the next key for next time
30B: RTS ; return the key to GETLN
310: 9E DF 8D ; Ctrl-^, underscore, return
100 POKE 768,0 : PRINT CHR$(4);"IN#A$301" : REM Start getting simulated keys
110 INPUT "";A$
120 PRINT CHR$(4);"IN#0" : REM Get real keys again
From an assembly-language program, the equivalent of IN#A$301 is storing $01 and $03 in
locations $38 and $39, while the equivalent of INPUT is JSR $FD6A (GETLN). (Store a
harmless prompt character, like $80, into location $33 first.)
Vue de la page 0
1 2 3 4 5 6 ... 73 74

Résumé du contenu

Page 1 - Technical Notes

Apple IIGS#65: Control-^ is Harder Than It Looks 1 of 1Apple IITechnical NotesDeveloper Technical SupportApple IIGS#65: Control-^ is Harder Than It

Page 2 - Further Reference

Apple II Technical Notes2 of 6 #68: Tips for I/O Expansion Slot Card Designaccesses to internal I/O or expansion card slots, and accesses to banks $E

Page 3

Developer Technical Support September 1989Apple IIGS#68: Tips for I/O Expansion Slot Card Design 3 of 6Using the Ready SignalThe Ready (RDY) input to

Page 4 - Working With ExpressLoad

Apple II Technical Notes4 of 6 #68: Tips for I/O Expansion Slot Card DesignPH0/M2SELSafe to assert or deassertPH225ns max35ns min/NMI,/IRQ,/RST,RDY60

Page 5

Developer Technical Support September 1989Apple IIGS#68: Tips for I/O Expansion Slot Card Design 5 of 6The /DMA signal should be asserted and deasser

Page 6

Apple II Technical Notes6 of 6 #68: Tips for I/O Expansion Slot Card Designsolid technique is using the first rising edge of the 7M clock, after PH0

Page 7

Developer Technical Support September 1989Apple IIGS#68: Tips for I/O Expansion Slot Card Design 7 of 6Since the Apple IIGS was released, several “su

Page 8

Apple IIGS#69: The Ins and Outs of Slot Arbitration 1 of 7Apple IITechnical NotesDeveloper Technical Support®Apple IIGS#69: The Ins and Outs of Slot

Page 9

Apple II Technical NotesApple IIGS2 of 7 #69: The Ins and Outs of Slot ArbitrationAlthough the Slot Arbiter does not function in System Software 5.0

Page 10 - The Mega II Bank 0 Signal

Developer Technical Support May 1990Apple IIGS#69: The Ins and Outs of Slot Arbitration 3 of 7Slot NumberF E D C B A 9 8 7 6 5 4 3 2 1 0Slot0 = Inter

Page 11 - Using the Ready Signal

Apple II Technical NotesApple IIGS4 of 7 #69: The Ins and Outs of Slot ArbitrationBit Encoded Slot ConfigurationF E D C B A 9 8 7 6 5 4 3 2 1 001 = s

Page 12 - Direct Memory Access

Apple II Technical Notes2 of 1 #65: Control-^ is Harder Than It LooksFurther Reference• Apple IIGS Firmware Reference, p. 77

Page 13 - Avoiding “Bus Fights”

Developer Technical Support May 1990Apple IIGS#69: The Ins and Outs of Slot Arbitration 5 of 7device before it gets control. However, there are some

Page 14 - Ground Noise

Apple II Technical NotesApple IIGS6 of 7 #69: The Ins and Outs of Slot Arbitrationbecome accustomed, everyone has a better chance of working by stick

Page 15 - Apple IIGS

Developer Technical Support May 1990Apple IIGS#69: The Ins and Outs of Slot Arbitration 7 of 7There are certain applications with more specialized ne

Page 16

Apple II Technical NotesApple IIGS8 of 7 #69: The Ins and Outs of Slot ArbitrationApple strongly recommends that the Text Tools not be used. GS/OS c

Page 17 - The Slot Arbiter

Developer Technical Support May 1990Apple IIGS#69: The Ins and Outs of Slot Arbitration 9 of 7FWEntryThe Miscellaneous Tools call FWEntry should not

Page 18 - Slot Number

Apple IIGS#70: Fast Graphics Hints 1 of 4Apple IITechnical NotesDeveloper Technical SupportApple IIGS#70: Fast Graphics HintsWritten by: Don Marsh &

Page 19 - Apple II Technical Notes

Apple II Technical Notes2 of 4 #70: Fast Graphics HintsAnother source of overhead is branching instructions in loops. By “straight-lining” the code

Page 20

Developer Technical Support September 1989Apple IIGS#70: Fast Graphics Hints 3 of 4lda |164,y ; accumulator is 16 bits forpha ; best efficiencylda |1

Page 21

Apple II Technical Notes4 of 4 #70: Fast Graphics Hintsdata to the graphics memory may run at the same speed as a second loop with a higher cyclecoun

Page 22

Developer Technical Support September 1989Apple IIGS#70: Fast Graphics Hints 5 of 4By using only the VertCnt register and ignoring the low bit of the

Page 23

Apple IIGS#66: ExpressLoad Philosophy 1 of 2Apple IITechnical NotesDeveloper Technical Support®Apple IIGS#66: ExpressLoad PhilosophyRevised by: Matt

Page 24

Apple II Technical Notes6 of 4 #70: Fast Graphics HintsClever updates can modify twice as many pixels on the screen by sacrificing some smoothness,ru

Page 25

Apple IIGS#71: DA Tips and Techniques 1 of 6Apple IITechnical NotesDeveloper Technical Support®Apple IIGS#71: DA Tips and TechniquesRevised by: Dav

Page 26

Apple II Technical NotesApple IIGS2 of 6 #71: DA Tips and Techniques

Page 27

Developer Technical Support May 1992Apple IIGS#71: DA Tips and Techniques 3 of 6HowMuchStack gequ $1000 ;try for 4K of stack spacestar

Page 28

Apple II Technical NotesApple IIGS4 of 6 #71: DA Tips and TechniquesWhen this routine calls RealCDAentry, the carry flag is set if no extra stack sp

Page 29

Developer Technical Support May 1992Apple IIGS#71: DA Tips and Techniques 5 of 6The Memory Manager knows an interrupt is in progress, so CompactMem

Page 30

Apple II Technical NotesApple IIGS6 of 6 #71: DA Tips and TechniquesNew Desk Accessory Tips and TechniquesAn NDA Can Find its Menu Item IDAfter the

Page 31

Developer Technical Support May 1992Apple IIGS#71: DA Tips and Techniques 7 of 6position, which may overlap the window’s content. In addition, when

Page 32

Apple II Technical NotesApple IIGS8 of 6 #71: DA Tips and TechniquesNDAs Can Have Resource ForksFollowing is the recommended way for a New Desk Acce

Page 33

Developer Technical Support May 1992Apple IIGS#71: DA Tips and Techniques 9 of 6NDAs Must Be Careful Handling Modal WindowsIf your NDA uses its reso

Page 34

Apple II Technical NotesApple IIGS2 of 2 #66: ExpressLoad PhilosophySince ExpressLoad focuses on the common things performed by the majority of appli

Page 35

Apple II Technical NotesApple IIGS10 of 6 #71: DA Tips and Techniques• Apple IIGS Hardware Reference• Apple IIGS Technical Note #53, Desk Accessorie

Page 36

Apple IIGS#72: QuickDraw II Quirks 1 of 2Apple IITechnical NotesDeveloper Technical Support®Apple IIGS#72: QuickDraw II QuirksRevised by: Dave Lyons

Page 37

Apple II Technical NotesApple IIGS2 of 2 #72: QuickDraw II QuirksYou May Need SetBufDims!The call description for SetBufDims on page 16-215 of Volume

Page 38

Apple IIGS#73: Using User Tool Sets 1 of 3Apple IITechnical NotesDeveloper Technical Support®Apple IIGS#73: Using User Tool SetsRevised by: Dave “fl

Page 39

Apple II Technical NotesApple IIGS2 of 3 #73: Using User Tool SetsIf you do use the WAP in a conventional way, your xxxStatus function should return

Page 40

Developer Technical Support July 1991Apple IIGS#73: Using User Tool Sets 3 of 3down and allow it to remain in memory in a purgeable state; if you do

Page 41

Apple II Technical NotesApple IIGS4 of 3 #73: Using User Tool SetsWhen your application quits and calls TLShutDown, the system disconnects your tool

Page 42 - You May Need SetBufDims!

Apple IIGS#74: Top Ten List Manager Things 1 of 4Apple IITechnical NotesDeveloper Technical Support®Apple IIGS#74: Top Ten List Manager ThingsRevised

Page 43

Apple II Technical Notes2 of 4 #74: Top Ten List Manager ThingsEight—Custom listDraw Routines and the Clip RegionThe custom listDraw routine below sp

Page 44

Developer Technical Support May 1992Apple IIGS#74: Top Ten List Manager Things 3 of 4 blt skip2 brl NoDraw ; if no

Page 45

Apple IIGS#67: LaserWriter Font Mapping 1 of 2Apple IITechnical NotesDeveloper Technical Support®Apple IIGS#67: LaserWriter Font MappingRevised by:

Page 46

Apple II Technical Notes4 of 4 #74: Top Ten List Manager ThingsDimMask dc i1'$55,$AA,$55,$AA,$55,$AA,$55,$AA'NorMask dc i1'$FF,$FF,$

Page 47

Apple IIGS#75: BeginUpdate Anomaly 1 of 4Apple IITechnical NotesDeveloper Technical Support®Apple IIGS#75: BeginUpdate AnomalyRevised by: Dave Lyons

Page 48

Apple II Technical Notes2 of 4 #75: BeginUpdate AnomalySo What’s the Problem?The problem is that the updateRgn is not a very good place to save t

Page 49

Developer Technical Support May 1992Apple IIGS#75: BeginUpdate Anomaly 3 of 4But I Have to Do…If you absolutely must do some of the things previously

Page 50

Apple II Technical Notes4 of 4 #75: BeginUpdate AnomalySome consideration was given to posting an application event via the PostEvent call.Unfortunat

Page 51

Apple IIGS#76: Miscellaneous Resource Formats 1 of 8Apple IITechnical NotesDeveloper Technical Support®Apple IIGS#76: Miscellaneous Resource Formats

Page 52 - So What’s the Problem?

Apple II Technical NotesApple IIGS2 of 8 #76: Miscellaneous Resource FormatsThe resource compiler template follows:#define rSoundSample $8024/*------

Page 53 - But I Have to Do…

Developer Technical Support May 1992Apple IIGS#76: Miscellaneous Resource Formats 3 of 8Following is a simple cursor example:resource rCursor(1,fixed

Page 54

Apple II Technical NotesApple IIGS4 of 8 #76: Miscellaneous Resource FormatsverMalta 22verCyprus 23verTurkey 24verYugoslavia 25verIreland 50verKorea

Page 55

Developer Technical Support May 1992Apple IIGS#76: Miscellaneous Resource Formats 5 of 8Note: For compatibility with the Finder, keep the name field

Page 56

Apple II Technical Notes2 of 2 #67: LaserWriter Font MappingPostScript font families include plain, bold, italic and bold italic fonts. Some fonts f

Page 57

Apple II Technical NotesApple IIGS6 of 8 #76: Miscellaneous Resource FormatsFollowing is a simple rTaggedStrings example:resource rTaggedStrings(1) {

Page 58

Developer Technical Support May 1992Apple IIGS#76: Miscellaneous Resource Formats 7 of 8The resource compiler template follows:#define rRectList $

Page 59

Apple II Technical NotesApple IIGS8 of 8 #76: Miscellaneous Resource FormatsNevertheless, in some cases keeping fonts inside an application file is n

Page 60

Apple IIGS#77: Print Manager & AppleTalk Configuration Files 1 of 4Apple IITechnical NotesDeveloper Technical Support®Apple IIGS#77: Print Manag

Page 61

Apple II Technical Notes2 of 4 #77: Print Manager & AppleTalk Configuration FilesWhat Writes to the Printer.Setup and ATInit Files?Before Apple I

Page 62

Developer Technical Support January 1990Apple IIGS#77: Print Manager & AppleTalk Configuration Files 3 of 4

Page 63

Apple II Technical Notes4 of 4 #77: Print Manager & AppleTalk Configuration FilesNetwork Booting and Printer.SetupWhen Apple IIGS computers are b

Page 64

Developer Technical Support January 1990Apple IIGS#77: Print Manager & AppleTalk Configuration Files 5 of 4If your application needs the complete

Page 65

Apple II Technical Notes6 of 4 #77: Print Manager & AppleTalk Configuration FilesThe ATInit File FormatThe AppleShare Programmer’s Guide for the

Page 66 - Using User Names

Developer Technical Support January 1990Apple IIGS#77: Print Manager & AppleTalk Configuration Files 7 of 4Further Reference• Apple IIGS Toolbox

Page 67

Developer Technical Support May 1992Apple IIGS#67: LaserWriter Font Mapping 3 of 2The three examples shown in Table 1 show three variations of the pl

Page 68

Apple IIGS#78: Bank Alignment and Memory Management 1 of 2Apple IITechnical NotesDeveloper Technical Support®Apple IIGS#78: Bank Alignment and Memor

Page 69 - • Inside AppleTalk

Apple II Technical NotesApple IIGS2 of 2 #78: Bank Alignment and Memory Managementcannot know themselves, since they are only told how much memory is

Page 70

Apple IIGS#79: Integer Math Data Types 1 of 2Apple IITechnical NotesDeveloper Technical Support®Apple IIGS#79: Integer Math Data TypesRevised by: Ji

Page 71

Apple II Technical NotesApple IIGS2 of 2 #79: Integer Math Data Types-3276816384 8192 4 2 1121418116384132768165536low-order wordhigh-order word01215

Page 72

Developer Technical Support May 1990Apple IIGS#79: Integer Math Data Types 3 of 2Similarly, two Fixed or two Frac values may be compared, as Longint

Page 73

Apple II Technical Notes4 of 2 #67: LaserWriter Font MappingFurther Reference• Apple IIGS Toolbox Reference, Volumes 1 & 2• Apple LaserWriter Ref

Page 74

Apple IIGS#68: Tips for I/O Expansion Slot Card Design 1 of 6Apple IITechnical NotesDeveloper Technical SupportApple IIGS#68: Tips for I/O Expansion

Commentaires sur ces manuels

Pas de commentaire