________________________________

7

6

5

4

3

2

1

07

6.5

4

3

2

1

07

6

5

4

3

2

1

07

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

BYTE N

 

 

BYTE

N+1

 

BYTE N+2

 

 

 

BYTE

N+3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOST SIG

BYTE

 

 

 

 

 

 

LEAST SIG BYTE

 

 

 

 

 

 

MANTISSA

 

 

 

 

 

 

 

 

MANTISSA

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<- EXPONENT

-><---

THREE

BYTE MANTISSA

--->

 

(TWOS COMPLEMENT REPRESENTATION)

<----

FOUR-BYTE FLOATING

POINT OPERAND

---->

The exponent byte is a binary scaling factor for the Mantissa. The exponent is a standard two's comple- ment representation except that the sign bit is comple- mented and runs from +128 to +127. For example:

$00 is -128 $01 is -127

*

*

$7F is -1 $80 is 0 $81 is -1

*

*

$FF is 127

The mantissa is standard two's complement repre-

sentation with the sign bit in the most significant bit of the high order byte. The assumed decimal point is be- tween bits 6 and 7 of the most significant byte. Thus the normalized mantissa ranges in absolute value from 1 to

2.Except when the exponent has a value of +128 the mantissa is normalized to retain maximum precision.

The mantissa is normalized if the upper two bits of the high-order mantissa byte are unequal. Thus a normal- ized mantissa is of the following form:

01.xxxxxx positive mantissa (high byte) 10.xxxxxx negative mantissa (high byte)

Assumed binary point

Some sample floating point numbers in hex

83

50

00

00

10.

80

40

00

00

1.

7C

66

66

66

.1

00

00

00

00

0.

FC 99 99 9A

-.1

7F

80

00

00

-1.

83

B0

00

00

-10.

The routines are all entered using a JSR instruction. Base page locations $004-$007 are referred to as exp/mant2 while $0008-000b are referred to as exp/

Page 92
Image 92
Apple II manual

II specifications

The Apple II, launched in April 1977, was one of the first highly successful mass-produced microcomputer products. It marked a significant leap in personal computing, setting standards for future developments in the industry. Created by Steve Wozniak and Steve Jobs, the Apple II differentiated itself with its user-friendly design, appealing aesthetics, and robust capabilities.

One of the standout features of the Apple II was its open architecture, which allowed users to expand and enhance the computer's functionality. This design enabled hundreds of third-party hardware and software developers to contribute to its ecosystem, resulting in an array of peripherals, including printers, modems, and storage devices. The Apple II utilized a MOS Technology 6502 microprocessor running at a clock speed of 1 MHz. Initially equipped with 4 KB of RAM, the machine could be expanded to 48 KB, accommodating more complex applications and programs.

The Apple II was also notable for its colorful graphics. It was one of the first computers to support color display, offering a 6-color palette with a resolution of 280x192 pixels in 16 colors when using its Color Graphics Card. This feature significantly enhanced the visual appeal of games and educational software developed for the platform, making computing more accessible and entertaining for various audiences.

Apple's commitment to user experience was evident in the design of the machine. It featured an integrated keyboard and a plastic case, which was both durable and visually appealing. The self-contained design included drive bays for floppy disk drives, allowing for quicker data access than traditional tape drives. It also supported audio output, enabling sound effects and music, a novelty at the time.

The introduction of the Apple DOS operating system further underscored the machine's capabilities. DOS streamlined file management and made it easier for users to navigate and manage their data. The combination of hardware and software positioned the Apple II as an educational tool and a gaming platform, fostering a vibrant software ecosystem.

The Apple II family continued to evolve, with variations like the Apple II+, IIe, and IIgs being introduced over the years. These iterations brought enhancements in memory, processing power, and graphics capabilities. The legacy of the Apple II endures, not only as a foundational product in personal computing but also as a symbol of innovation that paved the way for future advancements in technology. Its impact is still felt today, as it inspired countless developers and shaped the trajectory of the computer industry.