25.03.2015 Views

IBM 5150 PC Technical Reference (6025005, August, 1981) (PDF)

IBM 5150 PC Technical Reference (6025005, August, 1981) (PDF)

IBM 5150 PC Technical Reference (6025005, August, 1981) (PDF)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Interrupt 1 FH - Graphics Character Extensions<br />

When operating in the graphics modes ofthe Color/Graphics Monitor<br />

Adapter (320 x 200 or 640 x 200), the read/write character interface<br />

will form the character from the ASCII code point, using a set of dot<br />

patterns. The dot patterns for the first 128 code points are<br />

contained in ROM. To access the other 128 code points, this ~<br />

vector must be established to point at a table of up to I K bytes,<br />

where each code point is represented by 8 bytes of graphic<br />

information. At power on this vector is initialized to 0:0, and it is<br />

the responsibility of the user to change this vector if the<br />

additional code points are required.<br />

Other Read/Write Memory Usage<br />

The <strong>IBM</strong> ROM BIOS routines use 256 bytes of memory starting <br />

at absolute 400 to 4FF. Locations 400-407 contain the base <br />

addresses of any RS232 cards attached to the system, O's ifnone <br />

attached. These locations, in order, represent the 0 to 3 values used as <br />

the parameter to the RS232 BIOS routine. Locations <br />

408-40F provide the same function, but for the PRINTER. <br />

Memory locations 300-3FF are used as a stack area during the <br />

power on initialization, and the bootstrap, when control passed <br />

to it from power on. If the user desires the stack in a different area, ~<br />

it must be set by the application. <br />

Note: Use the Interrupt Vector Listing as an aid to locate these topics <br />

in the ROM BIOS listing, Appendix "A". <br />

BIOS Programming Tip<br />

When programming with BIOS you should keep in mind that if an error<br />

is reported by the diskette code, to reset the diskette adapter and retry<br />

the operation. A specified number of retrys should be required on reads<br />

to ensure the problem is not due to motor start-up.<br />

3-6

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!