Apple IIgs Dokumentacja

Przeglądaj online lub pobierz Dokumentacja dla Części komputerowe Apple IIgs. Apple IIgs Specifications Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 74
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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.)
Przeglądanie stron 0
1 2 3 4 5 6 ... 73 74

Podsumowanie treści

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 12 - Direct Memory Access

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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 &

Strona 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

Strona 20

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

Strona 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

Strona 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

Strona 23

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

Strona 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

Strona 25

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

Strona 26

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

Strona 27

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 34

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

Strona 35

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

Strona 36

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 41

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

Strona 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

Strona 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

Strona 44

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

Strona 45

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

Strona 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,$

Strona 47

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

Strona 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

Strona 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

Strona 50

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

Strona 51

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

Strona 52 - So What’s the Problem?

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

Strona 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

Strona 54

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

Strona 55

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

Strona 56

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

Strona 57

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

Strona 58

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

Strona 59

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

Strona 60

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

Strona 61

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

Strona 62

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

Strona 63

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

Strona 64

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

Strona 65

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

Strona 66 - Using User Names

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

Strona 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

Strona 68

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

Strona 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

Strona 70

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

Strona 71

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

Strona 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

Strona 73

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

Strona 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

Komentarze do niniejszej Instrukcji

Brak uwag