Skip to content

Catalog

Everything collectors track, in one database: games, hardware, ADAM software, the Library and memorabilia.

Your browser is older than this site is made for, so some colors and layouts may look wrong. Everything still works; for the best view, update it (Safari 16.4, Chrome or Edge 111, Firefox 121 or newer).
Books & Magazines Library

ColecoVision Programmer's Manual

A scan, 451 pages. Download the PDF

Opening the page… If it does not appear, open the PDF instead (the page reader needs JavaScript and a recent browser).

Text of this page, read by machine (may contain mistakes)
COLECOVISION PROGRAMMERS' MANUAL Rev. 5 ©Coleco Industries, Inc. 1982 CONFIDENTIAL DOCUMENT = DO NOT COPY be? onon fm we ee» Oe HK ee +) nn ) 2 <n a a er] oOo WwW ese |]© NH &- COC Oo BDO JI DH & Ww WH FB CO object level. Routines on the table and chip driver levels cours be deferred against interrupt by using the application library > routine, DEF_INT, suggested in ColecoVision Bulletin No. 0910 . - (Appendix D). In order to implement this protection for graphics operations, the application program must allocate space for a deferral queue. The size of this queue depends on the number of graphics operations that are expected to be performed between NMIs, but usually fifteen entries of three bytes each will prove sufficient. The address of the queue should be passed on to th OS using a routine called INIT_WRITER which also empties the queue and prepares it for cperation. Thereafter, whenever the flag byte DEFER_WRITES is set to true (1), calls to PUTOSJ are Geferred by placing them on the queue where they may be performed using a single OS call from the ‘nterrupt service routine. In addition to the buffer in which the queue resides, the deferral routines use several defined storage areas in the course of their operation. These are: QUEVE_SIZE, QUEUVE_HEaD, QUEVE_TAIL, HEAD_ADDRESS, TAIL_ADDRESS and BUFFER. They are ail related to the state of the queue.

Menu