← Apple-1 Operation Manual

Apple-1 Operation Manual

From the originals

29 scans

Machine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.

Image 1

APPLE-1 OPERATION MANUAL

APPLE-1 OPERATION MANUAL APPLE COMPUTER COMPANY 770 Welch Road Palo Alto, Calif. 94304

A cover page with the Apple Computer Co. engraved emblem at top, showing a seated figure reading under a tree beside water, with ribbon banners reading APPLE and COMPUTER CO. and a double-line border framing the title block.

Reading notes: Small engraved text on the ribbons and frame sides (e.g., 'NEWTON', 'VOYAGING THROUGH', 'STRANGE', 'ALONE', 'THOUGHT') is partly illegible and was not transcribed. Banner and side-frame inscriptions are not fully legible, so they are omitted from the transcript.

Printed product names
APPLE-1
Languages
English
PDF page 1 · PDF page 1

APPLE-1 OPERATION MANUAL

APPLE COMPUTER CO. APPLE-1 OPERATION MANUAL APPLE COMPUTER COMPANY 770 Welch Road Palo Alto, Calif. 94304 NEWTON ... "A MIND FOREVER VOYAGING THROUGH ... STRANGE ... SEAS OF THOUGHT ... ALONE"

A black-and-white engraved-style cover shows a boxed vignette of a seated figure beneath an apple tree by water, framed by ribbon banners reading APPLE and COMPUTER CO., above a double-ruled border enclosing the title block.

Reading notes: Curved banner text and the small vignette captions (NEWTON, 'A MIND FOREVER VOYAGING THROUGH', 'SEAS OF THOUGHT', 'ALONE') are partly obscured and read only in fragments; the exact wording of these fragments is uncertain. Banner text 'APPLE' and 'COMPUTER CO.' reading order is inferred from the curved ribbon layout. The reading of the vignette caption fragments is inferred and should be checked against the original.

Printed product names
Apple-1
Languages
English
PDF page 1

APPLE-1 OPERATION MANUAL

APPLE COMPUTER Co. NEWTON --- "A MIND FOREVER VOYAGING THROUGH STRANGE SEAS OF THOUGHT --- "ALONE." BYTE SHOP III Computer Store 2626 Union Avenue San Jose, Calif. 95124 (408) 377-4685 APPLE-1 OPERATION MANUAL APPLE COMPUTER COMPANY 770 Welch Road Palo Alto, Calif. 94304

A cover page with the Apple Computer Co. logo of an apple tree and a seated figure reading beside a shoreline inside a ribbon banner, above a double-ruled border framing the title and publisher address, with a red store rubber stamp over the middle of the page.

Reading notes: The banner text around the engraving is partly obscured and curved, so the quotation fragments 'STRANGE SEAS OF THOUGHT' and 'ALONE' are reconstructed from partial visibility. The red stamp text is faint and partly overlapped by the logo; the address and phone number are read from the stamp and may have minor errors. The 'APPLE' and 'COMPUTER Co.' wordmarks on the ribbon are stylized and read in curved arrangement.

Printed product names
Apple-1
Languages
English
PDF page 2 · PDF page 2

SPECIFICATIONS MICROPROCESSOR: MOS TECHNOLOGY 6502 Microprocessor Clock Frequency: 1.023 MHz Effective Cycle Frequency: (Including Refresh Waits) 0.960 MHz VIDEO OUTPUT: Composite positive video, 75 ohms, level adjustable between zero and +5Vpp. Line Rate: 15734 Hz Frame Rate: 60.05 Hz Format: 40 characters/line, 24 lines; with automatic scrolling Display Memory: Dynamic shift registers (1K x 7) Character Matrix: 5 x 7 RAM MEMORY: 16-pin, 4K Dynamic, type 4096 (2104) On-board RAM Capacity: 8K bytes (4K supplied) POWER SUPPLIES: +5 Volts @ 3 amps, +/- 12 Volts @0.5 amps, and -5 Volts @ 0.5 amps Input Power Requirements: 8 to 10 Volts AC (RMS) @ 3 amps, 26 to 28 Volts AC (RMS) Center-Tapped, 1A. Recommended Transformers: Stancor # P-8380 or Triad F31-X Stancor # P-8667 or Triad F40-X APPLE COMPUTER COMPANY 770 Welch Road, Suite 154 Palo Alto, California 94304 Phone: (415) 326-4248

A plain white text-only specifications page with a centered title, two-column label and value layout, and a centered company address block at the bottom.

Reading notes: Column alignment and tab positions in the transcript are approximate reconstructions of the printed layout. Fine-print characters such as the hyphen in 'P-8380' and 'F31-X' and the '@' symbols are rendered as they appear but may be slightly ambiguous at this scan resolution.

Printed product names
MOS TECHNOLOGY 6502 · Apple Computer Company
Languages
English
PDF page 2

SPECIFICATIONS MICROPROCESSOR: Microprocessor Clock Frequency: Effective Cycle Frequency: (Including Ref r e sh Waits) VIDEO OUTPUT: Line Rate: F r a m e Rate: Format: Display Memory: Character Matrix: RAM MEMORY: On-board RAM Capacity: POWER S U P P L E S : Input Power Requirements: Recommended Transformers: MOS TECHNOLOGY 6502 1.023 MHz 0.960 MHz Composite positive video, 75 ohms, level adjustable between z e r o and -15Vpp. 40 characters/line, 24 lines; with automatic scrolling Dynamic shift r e g i s t e r s (1K x 7) 16-pin, 4K Dynamic, type 4096 (2104) 8K bytes (4K supplied) +5 Volts @ 3 amps, +/- 12 Volts @0.5 amp and -5 Volts @ 0.5 a m p s 8 t o 10 Volts AC (RMS) @ 3 amps, 26 t o 28 Volts AC (RMS) Center-Tapped, 1A. Stancor # P-8380 o r T r i a d F31-X Stancor # P-8667 o r T r i a d F40-X A P P L E COMPUTER COMPANY 770 Welch Road, Suite 154 P a l o Alto, California 94304 Phone: (415) 326-4248

Reading notes: Transcript intentionally left empty per instructions; the exact text is preserved separately. Fields were filled from the supplied locally extracted copy and not verified against the image. The section heading SPECIFICATIONS was not treated as a headline because the sheet has no distinct advertising headline. The supplied copy contains irregular letter spacing (for example 'r e f r e s h', 'P a l o Alto'), which may be extraction artifacts rather than printed spacing. Transformer part numbers (Stancor P-8380, P-8667; Triad F31-X, F40-X) were not listed as products because they are recommended parts rather than advertised products. No advertised prices or printed dates appear in the supplied copy; the phone number and numeric specifications were not treated as prices or dates.

Printed product names
MOS TECHNOLOGY 6502
Languages
English
PDF page 3

The Apple Computer i s a complete micro- '~,ocessor system, consisting of a Mos Technology 2 microprocessor and support hardware, in- Jral video display electronics, dynamic memory and refresh hardware, and fully regulated power supplies. It contains resident s y s t e m monitor software, enabling the u s e r , via the keyboard and display, t o write, examine, debug, and run programs efficiently; thus being an educational tool for the learning of microprocessor program- ming, and an aid in the development of software. The integral video display section and the keyboard interface renders unnecessary the need f o r an external teletype. The display section con- tains i t s ownmemory, leaving a l l of RAM for u s e r programs, and the outputformat i s 40 c h a r a c t e r s / line, 24 lines /page, with auto scrolling. Almost any ASCII encoded keyboard will interface directly with the Apple system. The board has sockets f o r upto 8K bytes of the 16 pin, 4K type, RAM, and the system i s fully expandable t o 65K via the edge connector. The system u s e s dynamic memory (4K bytes sup- plied), although static m e m o r y may a l s o be used. All refreshing of dynamic memory,' including a l l " off - board" expansion memory, i s done auto- matically. The entire system timing, including the microprocessor clock and a l l video signals, originates in a single c r y s t a l oscillator. Further, the printed circuit board contains a "breadboard area", in which the u s e r can add additional " on - board " hardware ( f o r example, extra P I A f s , ACIAfs, EROMfs, and s o on). This manual i s divided into t h r e e Sections: Section I GETTING THE SYSTEM RUNNING. Section I1 USING THE SYSTEM MONITOR. (listing included) Section I11 EXPANDING THE SYSTEM. P l e a s e readsection I thoroughly, before at- tempting t o "power-up" your system, and study Section I11 carefully before attempting t o expand your system. In addition to this manual, Apple "Tech Notes" a r e available which contain exam- ple s of expansion hardware and technique s. * SECTION I GETTING THE SYSTEM RUNNING The Apple Computer i s fully assembled, tested, and burned in. The only external devices necessary for operation of the system are: An ASCII encoded keyboard, a video display monitor, and AC power sources of 8 to 10 Volts (RMS) @ 3 a m p s and 28Volts (RMS)@1 amp. The following three articles describe the attachment of these devices in detail. Keyboard: Any ASCII encoded keyboard, with positive DATA outputs, interfaces directly with the Apple system via a "DIP" connector. If your keyboard h a s negative logic DATA outputs ( r a r e ) , you can install inverters (7404) in the breadboard a r e a . The strobe can be either positive o r negative, of long o r short duration. The "DIP" keyboard con- nector (B4) has inputs for seven DATA lines, one 1 87 ST ROBE line, and two normally-open pushbutton switches, used f o r RESET (enter monitor), and CLEAR SCREEN ( s e e schematic diagram, sheet 3 of 3 , f o r exact circuitry). This keyboard con- nector a l s o supplies three voltages, (+5V, +12V, and-12V) of which one o r m o r e may be n e c e s s a r y to operate the keyboard. P i n 15 of the keyboard connector (B4) must be tied t o +5V (pin 16) f o r normal operation. NOTE: The system monitor accepts only upper- c a s e alpha (A-F, R). It i s therefore convenient, though i t ' s not essential, tohave a keyboard equipped with upper- casealphalock (usuallyintheelectronics). E i t h e r of the following suggested circuits may be used t o provide alpha lock capability, if needed, and can be built in the breadboard a r e a . Bp-wB Vcc(+S) 1 3 T O KBD FROM l5 00 KBD 14 CONNECTOR 184)

Reading notes: Several words are hyphenated or split across lines and some letters are spaced oddly (e.g., 'i s', 'u s e r'), which may affect exact reading. Section headings and some schematic references are fragmentary, so reading order near the end is uncertain. Some characters such as the 'PIA f s' and 'ACIA fs' abbreviations and the circuit diagram fragment are partly damaged.

Printed product names
Apple Computer · Mos Technology · Apple Tech Notes
Languages
English
PDF page 3 · PDF page 3

INTRODUCTION The Apple Computer is a complete microprocessor system, consisting of a Mos Technology 6502 microprocessor and support hardware, integral video display electronics, dynamic memory and refresh hardware, and fully regulated power supplies. It contains resident system monitor software, enabling the user, via the keyboard and display, to write, examine, debug, and run programs efficiently; thus being an educational tool for the learning of microprocessor programming, and an aid in the development of software. The integral video display section and the keyboard interface renders unnecessary the need for an external teletype. The display section contains its own memory, leaving all of RAM for user programs, and the output format is 40 characters/line, 24 lines/page, with auto scrolling. Almost any ASCII encoded keyboard will interface directly with the Apple system. The board has sockets for upto 8K bytes of the 16 pin, 4K type, RAM, and the system is fully expandable to 65K via the edge connector. The system uses dynamic memory (4K bytes supplied), although static memory may also be used. All refreshing of dynamic memory, including all "off-board" expansion memory, is done automatically. The entire system timing, including the microprocessor clock and all video signals, originates in a single crystal oscillator. Further, the printed circuit board contains a "breadboard area", in which the user can add additional "on-board" hardware (for example, extra PIA's, ACIA's, EROM's, and so on). This manual is divided into three Sections: Section I GETTING THE SYSTEM RUNNING. Section II USING THE SYSTEM MONITOR. (listing included) Section III EXPANDING THE SYSTEM. Please read Section I thoroughly, before attempting to "power-up" your system, and study Section III carefully before attempting to expand your system. In addition to this manual, Apple "Tech Notes" are available which contain examples of expansion hardware and techniques. SECTION I GETTING THE SYSTEM RUNNING The Apple Computer is fully assembled, tested, and burned in. The only external devices necessary for operation of the system are: An ASCII encoded keyboard, a video display monitor, and AC power sources of 8 to 10 Volts (RMS) @3 amps and 28Volts (RMS) @1 amp. The following three articles describe the attachment of these devices in detail. Keyboard: Any ASCII encoded keyboard, with positive DATA outputs, interfaces directly with the Apple system via a "DIP" connector. If your keyboard has negative logic DATA outputs (rare), you can install inverters (7404) in the breadboard area. The strobe can be either positive or negative, of long or short duration. The "DIP" keyboard connector (B4) has inputs for seven DATA lines, one STROBE line, and two normally-open pushbutton switches, used for RESET (enter monitor), and CLEAR SCREEN (see schematic diagram, sheet 3 of 3, for exact circuitry). This keyboard connector also supplies three voltages, (+5V, +12V, and -12V) of which one or more may be necessary to operate the keyboard. Pin 15 of the keyboard connector (B4) must be tied to +5V (pin 16) for normal operation. NOTE: The system monitor accepts only uppercase alpha (A-F, R). It is therefore convenient, though it's not essential, to have a keyboard equipped with uppercase alpha lock (usually in the electronics). Either of the following suggested circuits may be used to provide alpha lock capability, if needed, and can be built in the breadboard area. Schematic labels: B6, FROM KEYBOARD, 02, 3 B6, 4, 6, B6 TO KBD CONNECTOR, B7, 5, B7 (B4); B6, 1, 3, 4, 6, B6, Vcc(+5), 15, 13, 2, 5, TO KBD CONNECTOR (B4), 14, FROM KBD, B7, 00, 00, 00 -1-

A black-and-white typed manual page with two-column body text, boxed section headings, and two logic-gate schematic diagrams at the bottom.

Reading notes: Schematic gate labels and pin numbers are small and were transcribed approximately as a reading-order summary rather than verbatim layout. The 'DIP' keyboard connector text and 'Vcc(+5)' label placement in the right schematic are approximate. Two-column text reading order was followed column by column; the original page is a typed manual, not an ad.

Languages
English
PDF page 4

Display: The Apple Computer outputs a composite video signal (composite of sync and video infor- mation) which can be applied t o any standard raster-scan type video display monitor. The out- put l e v e l is adjustable with the potentiometer located n e a r the video output Molex connector, J2. The additional two outside pins on the Molex con- nector supply $5 andi-12 volts, to be used in future Apple a c c e s s o r i e s . The composite video signal can a l s o be modulated a t the proper RFfrequency, with an inexpensive commercially available device , and applied to the antenna terminals of a home television receiver. Since the character format i s 40 c h a r a c t e r s /line, all television receivers will have the necessary bandwidth t o display the entire 40 characters. Two l a r g e manufacturers of video display monitors, which connect directly with the Apple Computer, a r e Motorola and Ball. The mating four-pin Molex connector i s provided. AC Power Sources: Two incoming AC power sources a r e re- quired f o r operation: 8 t o 10 VAC (RMS) a t 3 amps, and 28VAC (RMS) Center-Tapped - a t 1amp. These AC supplies enter the system a t the Molex con- nector, Jl. The 8 to10 volts AC provides the raw AC f o r the + 5 volt supply, while the 28 VCT sup- plies the r a w AC f o r the +12 and -12 volt supplies, and the -5V supply is derived f r o m the -1 2V reg- ulated output. I The board, a s supplied, requires no m o r e than 1.5 a m p s DC f r o m the t5V supply, while the regulator is capable of supplying 3 amps. The remaining 1.5 amps DC f r o m the t5V supply i s available f o r u s e r hardware expansion (provided ratings a r e employed). r c e of the raw AC voltages , a r e two commercially available trans- , Stancor P / N P-8380 o r equivalent ( 8 t o at 3 amps), and Stancor P I N P-8667 o r equivalent ( 28VCT a t 1 a m p ) . Simply w i r e the secondaries to the mating six-pin Molex connector supplied, and wire the p r i m a r i e s in parallel, as - shown in the schematic diagram (power s u p d section, Dwg. No. 00101, sheet 3 of 3. TEST PROGRAM & After attaching the keyboard, display, and AC power sources, you can t r y a simple p r o g r a m to test if your system and the attachments a r e functioning together properly. While it does not t e s t many possible a r e a s of the microprocessor system, the t e s t program will test f o r the c o r r e c t attachment of the keyboard, display, and power supplies. FIRST: Hit the RESET button t o enter the system monitor. A backslash should be displayed, and the c u r s o r should drop t o the next line. SECOND: 4Y Type- 0 : A9 b 0 b AA b 20 b E F b FF b E 8 b 8A b 4C b'2 b i b - ( R E ~ ) ( 0 i s a zero, NOT an alpha "0"; b means blank o r space; and (RET) hit the "return" key on the keyboard) THIRD: Type- 0 . A (RET) (This should print out, on the display, program you have just entered. ) FOURTH: Type- R (RET) ( R means run the program. ) THE PROGRAM SHOULD THEN PRINT OUT ON THE DISPLAY A CONTINUOUS STREAM OF ASCII CHARACTERS. TO STOP THE PRO- GRAM AND RETURN TO THE SYSTEM MONITOR, HIT THE "RESET" BUTTON. TO RUN AGAIN, TYPE : R (RET).

Reading notes: Several words are split or spaced irregularly by OCR (e.g., 'Molex', 'AC', 'RFfrequency'), and the reading order of the 'Display' and 'AC Power Sources' sections is uncertain. The character 'b' is used as a blank-space marker in the test program instructions, and the '$5' and 'andi-12' spans appear garbled. The product name 'Ball' may be an OCR or transcription error for another manufacturer name.

Printed product names
Apple Computer · Apple · Motorola · Stancor P / N P-8380 · Stancor P I N P-8667
Languages
English
PDF page 4 · PDF page 4

Display: The Apple Computer outputs a composite video signal (composite of sync and video information) which can be applied to any standard raster-scan type video display monitor. The output level is adjustable with the potentiometer located near the video output Molex connector, J2. The additional two outside pins on the Molex connector supply +5 and+12 volts, to be used in future Apple accessories. The composite video signal can also be modulated at the proper RF frequency, with an inexpensive commercially available device, and applied to the antenna terminals of a home television receiver. Since the character format is 40 characters/line, all television receivers will have the necessary bandwidth to display the entire 40 characters. Two large manufacturers of video display monitors, which connect directly with the Apple Computer, are Motorola and Ball. The mating four-pin Molex connector is provided. AC Power Sources: Two incoming AC power sources are required for operation: 8 to 10 VAC (RMS) at 3 amps, and 28 VAC (RMS) Center-Tapped at 1 amp. These AC supplies enter the system at the Molex connector, J1. The 8 to 10 volts AC provides the raw AC for the +5 volt supply, while the 28 VCT supplies the raw AC for the +12 and -12 volt supplies, and the -5V supply is derived from the -12V regulated output. The board, as supplied, requires no more than 1.5 amps DC from the +5V supply, while the regulator is capable of supplying 3 amps. The remaining 1.5 amps DC from the +5V supply is available for user hardware expansion (provided suitable transformer ratings are employed). A suitable source of the raw AC voltages required, are two commercially available transformers; Stancor P/N P-8380 or equivalent (8 to 10 volts at 3 amps), and Stancor P/N P-8667 or equivalent (28VCT at 1 amp). Simply wire the secondaries to the mating six-pin Molex connector supplied, and wire the primaries in parallel, as shown in the schematic diagram (power supply section, Dwg.No. 00101, sheet 3 of 3. TEST PROGRAM After attaching the keyboard, display, and AC power sources, you can try a simple program to test if your system and the attachments are functioning together properly. While it does not test many possible areas of the microprocessor system, the test program will test for the correct attachment of the keyboard, display, and power supplies. FIRST: Hit the RESET button to enter the system monitor. A backslash should be displayed, and the cursor should drop to the next line. SECOND: Type- Ø : A9 b Ø b AA b 2Ø b EF b FF b E8 b 8A b 4C b 2 b Ø (RET) (Ø is a zero, NOT an alpha "O"; b means blank or space; and (RET) hit the "return" key on the keyboard) THIRD: Type- Ø . A (RET) (This should print out, on the display, the program you have just entered.) FOURTH: Type- R (RET) (R means run the program.) THE PROGRAM SHOULD THEN PRINT OUT ON THE DISPLAY A CONTINUOUS STREAM OF ASCII CHARACTERS. TO STOP THE PROGRAM AND RETURN TO THE SYSTEM MONITOR, HIT THE "RESET" BUTTON. TO RUN AGAIN, TYPE : R (RET). -2-

Two columns of typewritten technical text on a plain white page with section headings, a test program listing, and the page number -2- at the bottom center.

Reading notes: Hex-style program listing includes slashed zeros (Ø) and 'b' characters that may be OCR-sensitive; transcribed as shown. Reading order follows left column then right column. Part numbers and the 'Dwg.No. 00101' reference transcribed as printed; 'Ball' is the printed manufacturer name. Printed text reads 'six-pin Molex connector' in the right column while the left column says 'four-pin' for the video connector; both transcribed as printed.

Printed product names
Apple Computer · Motorola · Ball · Stancor
Languages
English
PDF page 5 · PDF page 5

SECTION II USING THE SYSTEM MONITOR The Hex Monitor is a PROM program in locations FF00 to FFFF (hex) which uses the keyboard and display to perform the front panel functions of examining memory, and running programs. The monitor program is entered by hitting (RESET), which displays backslash - return. A backslash alone (cursor remains on same line as backslash) indicates bad page 0 RAM. Commands are typed on a "line-at-a-time" basis with editing. Each line may consist of any number of commands (up to 128 characters). None are executed until (RETURN) is typed. The (SHIFT-0) (backarrow) backspaces and echos an underline. The (ESC) cnacels a line and echos backslash-return. One or more hexadecimal digits (0-9, A-F) are used for address and data values. Addresses use the four least significant digits of a group, and data values, the two least significant digits. The following examples illustrate the variety of acceptable commands: 1. Opening a location (examining the contents of a single address). USER TYPES/ 4F (RET) MONITOR TYPES/ 004F: 0F (contents of 4F) 2. Examining a block; from the last examined location, to a specified one. USER TYPES/ .5A (RET) MONITOR TYPES/ 0050: 00 01 02 03 04 05 06 07 0058: 08 09 0A Note: 4F is still considered the most recently opened location. 3. Combining examples 1 and 2 to print a block of memory in a single command. USER TYPES/ 4F.5A (RET) MONITOR TYPES/ 0050: 00 01 02 03 04 05 06 07 0058: 08 09 0A Note: Only the first location of the block (4F) is considered "opened". 4. Examining several individual locations at once. USER TYPES/ 4F b 52 b 56 (RET) MONITOR TYPES/ 004F: 0F 0052: 02 0056: 06 Note: 56 is considered the most recently "opened" location. The "b" is a blank or comma, and is a delimiter for separation purposes only. A string of delimiters has the same effect as a single one (bbb is as effective as b). 5. Examining several blocks of memory at once. USER TYPES/ 4F.52 b 56 b 58.5A (RET) MONITOR TYPES/ 0004F: 0F 0050: 00 01 02 0056: 06 0058: 08 09 0A Note: 58 is considered the most recently "opened" location. Refer to example 2. 6. Examining successive blocks. USER TYPES/ 4F.52 (RET) MONITOR TYPES/ 004F: 0F 0050: 00 01 02 USER TYPES/ .55 (RET) MONITOR TYPES/ 0053: 03 04 05 USER TYPES/ .5A (RET) MONITOR TYPES/ 0056: 06 07 0058: 08 09 0A 7. Depositing data in a single location. USER TYPES/ 30: A0 (RET) MONITOR TYPES/ 0030: FF (prior contents) Note: Location 30 is considered opened and now contains 30. 8. Depositing data in successive locations from that last used in a deposit command. USER TYPES/ :A1 b A2 b A3 b A4 b A5 (RET) (This deposits A1 in location 31, A2 in 32, and so on.) 9. Combining examples 7 and 8 in a single command. USER TYPES/ 30: A0 b A1 b A2 b A3 b A4 b A5 (RET) MONITOR TYPES/ 0030: FF (prior contents of location 30) 10. Depositing data in successive locations with separate commands. USER TYPES/ 30: A0 b A1 (RET) MONITOR TYPES/ 0030: FF USER TYPES/ :A2 b A3 (RET) USER TYPES/ :A4 b A5 (RET) NOTE: Capital letters enclosed in parenthesis represent single keystrokes. Example: (RET) means hit the "return" key. -3-

A two-column typed manual page with a boxed section heading at top, numbered examples with monospaced command and monitor output lines, and page number -3- at the bottom.

Reading notes: Zero-slash characters in hex addresses and data (e.g., 0 with slash) were transcribed as 0; the rendering of the 'Ø' glyphs may vary. Some typed words such as 'cnacels' and 'echos' appear as printed and were kept verbatim. Reading order follows the left column then right column; example 10 lines are in the right-hand column.

Languages
English
PDF page 5

ifhmetic mode. LDY #$7F M a s k f o r DSP data direction r e g i s t e r . STY DSP S e t i t up. LDA #$A7 KBD and DSP control r e g i s t e r mask. F F 0 9 8D 11 D0 STA KBD C R Enable i n t e r r u p t s , s e t CAI, CB1, f o r F F g C 8D 13 D0 STA DSP C R positive edge sense/output mode. FF0F C9 D F NOTCR CMP #$DF 11 ? FFll F0 1 3 BEQ BACKSPACE Yes. F F 1 3 C9 9B C M P #$9B ESC ? F F 1 5 F0 03 BEQ ESCAPE Yes. F F 1 7 C 8 INY Advance text index. F F 1 8 10 0 F B P L NEXTCHAR Auto ESC if > 127. F F l A A9 DC ESCAPE LDA #$DC * 1 1 \ I t , F F l C 20 E F FF JSR ECHO Output it. FFlF A9 8D GETLINE LDA #$8D CR. F F 2 1 2 4 1 E F FF JSR ECHO Output it. F F 2 4 A0 01 LDY #$a1 Initiallize text index. F F 2 6 88 F F 2 7 30 F 6 BACKSPACE DEY BMI GETLINE Back up text index. Beyond s t a r t of line, reinitialize. F F Z ~AD 11 DQ NEXTCHAR LDA KBD CR Key r e a d y ? FFZC 10 F B FFZE AD 1 0 D 0 B P L NEXTCHAR LDA KBD Loop until ready. Load c h a r a c t e r . B7 should be '1 I . F F 3 1 99 00 02 STA IN, Y Add t o text buffer. F F 3 4 20 E F FF JSR ECHO Display c h a r a c t e r . F F 3 7 C9 8 D I C M P #$8D C R ? F F 3 9 D0 D4 BNE NOTCR No. F F 3 B A0 FF LDY #$FF R e s e t text index. F F 3 D A9 00 LDA #$a0 F o r XAM mode. F F 3 F AA TAX F F 4 0 4A SETSTOR ASL F F 4 1 85 2B SETMODE STA MODE F F 4 3 C 8 BLSKIP INY - 'Advance text index. I i F F 4 4 B9 09 02 F F 4 7 C9 8D NEXT ITEM LDA IN, Y C M P #$8D G e t c h a r a c t e r . C R ? F F 4 9 F0 D4 BEQ GETLINE F F 4 B C9 AE CMP #$AE F F 4 D 90 F 4 BCC BLSKIP Skip d e l i m i t e r . F F 4 F F g F0 BEQ SETMODE F F 5 1 C9 BA F F 5 3 F0 E B F F 5 5 C9 D2 C M P #$D2 Yes, s e t STOR mode. "R"? l F F 5 7 F0 3B F F 5 9 86 28 BEQ RUN STX L Yes, run u s e r p r b g r a m ! F F 5 B 86 29 STX H F F 5 D 84 2A STY YSAV F F 5 F B9 (40 02 NEXTHEX-. LDA IN, Y F F 6 2 49 B0 EOR #$I30 Map digits t o $@ -9. F F 6 4 C9 0A C M P #$@A F F 6 6 90 06 BCC DIG F F 6 8 69 88 ADC #$88 F F ~ A C9 F A C.MP #$FA Hex l e t t e r ? BCC NOTHEX . No, c h a r a c t e r not hzx. Hex digit .to MSD of Shift count.

Reading notes: Source is 6502 assembly listing, not advertising copy; no headline, products, prices or dates present Source text contains spaced-out characters and OCR-like errors (e.g. 'ifhmetic', 'I i', 'F F 1 3') so exact mnemonics and addresses are uncertain Reading order is interleaved with garbled column fragments from the original listing

PDF page 6

i 6502 HEX MONITOR LISTING (continued) F F 7 5 F F 7 7 F F 7 9 FF7A FF7C F F 7 D F F 7 F F F 8 1 F F 8 3 F F 8 5 F F 8 7 F F 8 9 F F 8 B F F 8 D F F 8 F F F 9 1 F F 9 4 F F 9 7 F F 9 9 F F 9 B F F 9 D F F 9 F F F A l 26 28 26 29 CA Db F 8 C8 DQ EQ C4 2A F d 97 24 2B 50 10 A5 28 81 26 E 6 26 DQ B5 E 6 27 4C 44 FF 6C 24 00 30 2B A2 02 B5 27 95 25 95 23 CA ROL L Rotate into LSD. ROL H Rotate into MSD's. DEX Done 4 shXts? BNE HEXSHIFT No, loop. INY Advence text index. BNE NEXTHEX Always taken. Check next c h a r a c t e r f o r he, CPY YSAV Check if L , H empty (no hex digits). BEQ ESCAPE Yes, generate ESC sequence. BIT MODE T e s t MODE byte. BVC NOTSTOR B6 = 0 f o r STOR, 1 f o r XAM and BLOCK XAM LDA L LSD's of h e x data. STA (STL, X) Store a t c u r r e n t 'store index'. INC STL Increment s t o r e index. BNE NEXTITEM Get next item. (no carry). INC STH Add c a r r y t o ' s t o r e index' high order. TONEXTITEM J M P NEXTITEM Get next command item. RUN JMP (XAML) Run a t c u r r e n t XAM index. NOTSTOR BMI XAMNEXT B7 = 0 f o r XAM, 1 f o r BLOCK XAM. LDX #$02 Byte count. SETADR LDA L-1 , X Copy hex data t o STA STL-1, X 'store index'. STA XAML-1, X And t o 'XAM index'. DEX BNE SETADR Next of 2 bytes. Loop unless X = 0. NXTPRNT BNE PRDATA NE means no a d d r e s s t o print. LDA #$8D CR. JSR ECHO Output it. LDA XAMH 'Examine index'high-order byte. JSR PRBYTE Output i t in hex format. LDA XAML Low-order 'examine index' byte. JSR PRBYTE Output it in hex format. LDA #$BA ,I:,# JSR ECHO Output it. PRDATA LDA #$A0 Blank. JSR ECHO Output it. LDA (XAML, X) Get data byte a t 'examine index'. JSR PRBYTE Output it in hex format. XAMNEXT STX MODE 0-C MODE (XAM mode). LDA XAML CMP L Compare 'examine index' t o hex data. LDA XAMH SBC H BCS TONEXTITEM Not l e s s , s o no m o r e data t o output. INC XAML BNE MOD8CHK Increment 'examine index'. INC XAMH MODBCHK LDA XAML AND #$07 Check low-order 'examine index' byte F o r MOD 8' 0 B P L NXTPRNT Always taken. PRBYTE PHA Save A f o r LSD. LSR LSR LSR MSD t o LSD position. LSR JSR PRHEX Output hex digit. P L A Restore A. PRHE X AND #$@F Mask LSD f o r hex print. ORA #$BQ Add "0". CMP #$BA Digit? d ~ ~ A 2 D0 F 7 L%IX; F F A B FFAD F F B Q F F B 2 F F B 5 F F B 7 F F B A F F B C F F B F F F C l F F C 4 F F C 7 F F C 8 F F C A F F C C F F C E $fi, A5 25 20 DC FF A5 24 20 DC FF A9 BA 20 E F FF A9 A0 20 E F FF A1 24 20 DC FF 86 2B A5 24 ,C5 28 A5 25 E 5 29 B0 C l F F D Q E 6 24 F F D 2 FFD4 FFD6 FED8 FFDA FFDC FFDD FFDE F F D F FFE0 F F E l F F E 4 F F E 5 F F E 7 F F E 9 D0 02 E 6 25 A5 24 29 07 10 C8 48 4A 4A 4A 4A 2 0 E 5 F F 68 29 0F 09 B0 C9 BA

Reading notes: Listing contains OCR-garbled hex and character spacing in several lines. Some assembly lines have uncertain characters, e.g. 'F F A l' and 'DQ EQ'. Reading order of lines is uncertain due to extraction of a continued listing page.

Languages
English