1 pp.

Asteroids Cocktail DP-150-1st-02A Vector Generator

Technical documentation describing the vector generator memory, address selector, and state machine circuitry. It details the operation of the program counter, data latches, and position counters for vector drawing.

Document text

GENERATOR VECTOR on ee ieI sft cl ck BMHE : | | 4 | —_ VECTOR GENERATOR RAM ‘FROM MICROCOMPUTER | COUNTER ) PROGRAM f a + nee DMALD 1D R/tis——Sdoa LS32 RR29 / DMAPUSA 4444 ° P> f> PTF ol . DVK a. cals id ep 77 2g seve Sovxs ppmas——4 apts he E/E le a ; BUFFEN , ~ receermernerreseenerersnecincneaes ° 7 uscoreannes _ 4to = 7415245 OF INSTEAD AM8304B : xcenawoa —_! I! CONTAINS IF BOARD THESES | | - DVx} 1Q gal? DVxg@ 1 . | “ USE PIN NUMBERS IN PAREN- >! — ON Ke. 7p ppMAr ——S}ip DoMmag—3 aD | | 3 7 DDMAZ p +5V . S [henrs = | o| &| 2 |e.) aSo4 L$04 : i; ams Te4 4 a TTS 2 io : ho 19 DVK7 |. |h 3 ape’ DDMAT . a —~ ~ () > je) — _ i __ RWB aal? .

nRA TATCHT / DVX9 Re hd feb re , oq B2 runes Kev evn DV*IO 1a 1D DDMAT 2 Ta a . [WK 2 Hdd SE Ghee scare: SCALED HF al e pum ea ate 7 Lo 2 / fa SCALEZ Sa fds | DoMAs——=5D 3D, 30 Desa DDMAd/z TATED 40a yh a ae eo scacea | &* 4a DDMA7———-44D oA “ g20) 22KX B ODMAT VR 4 i ams 1 7s VMEM a i ~ G 3B ADMAS op ns y 1 Hh —!41 44 18157 aso woen ® pwn gat AMIO DATASY 2 48Ber) ADMA)——2/13] ae 3A MUN 19 ABB—— [e [7 1019 fe |? fiole 17 [6 i079 ai A203 a4 [AI Q2 03 QF] Qi 2 Q3.Q4 4 LY 53 Sig ADMAIO dew 182.) O . = alt clal ae % Zia ABIo den u 12 —_—— ALPHANDM Li [20 K 926,07 vey a7 —2 w +428 ala 2] COUNTER AM3 — ams AM4 | — cf —!

= FILE Ag AMe VRAM * ~ r) —2—& 3 aN ~ oniavn’® n am AM9 LATCHS ; MEMORY DATA LATCHES + oe 1: CATCH naxamconeees : aAMe amy? 9 is mea —!' LSo70 a30— ~~ 14 A " +S v2 Soon i : . ‘ . : : iS | . | 18 4. ma / 5 | 2 LD d/U oa 16 as FILE REG FILE REG bi DEBS Ds LS670]}74, |H4, Lse70 F4, 14] hg ae 5 Debs ba] oy 8 MEN eoeren 4 kB yf ABI2 ADMAI| é r ae ¢ 4 a 2128 — 7 13B PRI9 - pv v2 12 Hl oeNY to] on : Is awe Ut LOADZ |g nee {5 us367 onvR 4 jt Pe ’ ADMAIO ger ADMAI| ADMAIZ. a hye 3 1? : : Loans Loans 3 __ Loapi2 vimeR@ The program counter may also be preset to “return” to next instruction in memory to be retrieved and performed, a previous address which it had stored in its “stack”.

The counter is incremented one count (to the next sequential counter K5. The stack is a 4-word 12-bit memory, usedto save counter K5 increments program counter from the vector generator memory via decrements one count. YCARRY XCARRY. pewencientn VGCK es eeFo * A4 = A3 A2 ; AM? - AMI AMO ; sy S_& ~ 1° > afc) \\ Stinnett, nisin LE [uso SRE and VW (vector generator write) is is from 2 § | ame 7 vima7 . This address-selecting arrangement allows the game MPU’ to access the vector als oe 5 Re | what through the direct memory pvt __pyve iQ 8a 8 = to BMAGO——Lo recess access ‘org p § in location K4 and valent 1Kx8 Ohi generat ator Memory.

ed clocked by by the the rising directly clocked are airectly Latches rising eage inru «2 are V0 thru Nes P 4 L4 . are the data outputs from the vector be substituted with NIP3 may chip memory two e The data latches consist of latch 0 (H7), latch 1 (F7) , latch , 2 (J7), and latch 3 (K7). Inputs DDMAO thru DDMA7 | program of the LATCHO, LATCH1, and LATCH2 outputs from the clocked b Latch 3 is hi stat aenerator’s vector Dy —aicn v IS clocked CHO. machine, vector ge LATCH3 or by LATCHO, if ALPHANUM is low. Latch 0 is cleared when RESET, DMAGO, or ALPHANUM goes low. Latch 1 is cleared by ALPHANUM. a eR ar . DVY2 7@ Ti .

emcees apo Ei Soom a reassert ae w sco oan [neat 1D ACBHANUM——= alias a —*o,.3 RESET p= ~ 4 TROME VRoMT——4 instructions were sent to it by the game MPU. ~£ ponsists of a generator vector 2kx8 The Os op DDMAZ DVY7 soll? — vie DVYS 3Q RIWB are low opm a2 oa , (2 CER CEL ~ | HALT C- : 8 © O-———— ‘Shy 5& aks “Ee a lls rimero——e Tal, . bn > aa 2) ok } ck ZosT ROBE —— HAT sacar MACHINE STATE O The state machine circuitry. generator . instructions the from game MPU, via the vector generator RAM.og It carries. out these instrucmemory, using the vector generator program °* : sree — latches.

This makes TIMERO previous vector memory address; or 5) to tell the game MPU that it has completed its current instructions, and is waiting for its next command. 7 | The state machine consists of input gates B8 and E6, ROM on mor KIO [bea ae 2 lo cr DI Lol — 7 cP LStol 7 a4 = tine 2 he veaheti “= 7 LSici KP de. oe neaBP Te 1a fe feTN >e29 : : location 0. the state machine receives the operation code for a —_-HALT instruction, it outputs a low HALTSTROBE, setting the | HALT flip-flop A9, and suspending state machine operation. signals load and enable the vector timer and the X The GO position counters and tell the ROM that the vector and Y - , The purpose of the vector timer is high.

This STOP vector, prevents the vector generator being drawn goes to advance halted. When alow GOSTROBE is clocked through AQ, the vec- from latch D8 tells the ROM which state was last performed. _ tor timer and X and Y position counters begin to operate from the GO, GO and GO* signals. When STOP is clocked through The address A7 input GO tells the ROM that the position _—AQ, the vector timer has reached its maximum count, and GO counters are presently drawing a vector. The HALT input to A7 tells the ROM operations. During initial that the vector generator has completed ee its goes high. This means the vector has been drawn.

The VGCK oo input to the clock circuitry isa buffered 1.5 MHz is clock signal from the microcomputer. This is the same fre- preset low. The microcomputer reads the high HALT signal wvougn its switch input port (buffer M10) on data line DBO. quency used to clock the MPU of the microcomputer. The signal clocks latch D8 unless the microcomputer is addressing is tells the microcomputer that the vector generator is halted and waiting for an instruction. To ensure that the beam the vector RAM or ROM memories (when VMEM goes low).

Then the clock input to latch D8 goes high and stays high until uring initial power-up of the game, the HALT signal is off when the state machine is halted, the high HALT, clock- VMEM goes high. TIMER3 inputs are any state but all high, decoder |=7 directly isa maximum length of 1024. At this time STOP the GO flip-flop of the state machine : p If the TIMER signals are all high, ALPHANUM goes low and clears goes Iow and data signals DVX11 and DVY11 are decoded by decoder E7. This is added to the scale factor and loaded into the counters. 5QhE——DACKIK PACK 0x 10 Saf . K {0 3 iQ 2 af. © ExES DACY?

® ee DACY2* DACYS t TD me v0 DACY3¥ ~CACYS a D Les ag DACYS ¥ Re Bb 2D = 210 DACY&* DACY 7% 1@| DACYBK He 97 Zhe iS} y 4 nae A stuf / wi muir vy [e— 2 IR * b ACY 6 DACYT paca \ al, Y z= ig Fh = CK CAS cK CAS vecn +1 P 7 MOLT ges” eee SSST I " DACNS AC 2y P,R27 eve ’ i a a L3}, Meet " 8 st unmoacyi1 —— a0! S 2410 4 DACYT onmpacy7—i-!4 aA SeL/ ayP— UNMBA CYR |, Flo |e DACVio-——41 {Si74 2k 20) Yto DACs 4 emug — 8 10}. sos wep D2 'Siz_ Meer avin o — 55 M/M hen : unmoacya—taa e/nig” VNMDACYIO—+4 4a arf ‘Slap - + rel x . 4 eo?

zs BY st fio lo |r Otufis 4 eat c a nis a tr ® c hole BO jon Shon Pa 5 1B 5 b/d“COUNTER RiP O—-—4 CK OA a8 OC O | MuLT onupacyn re couNTER RIP DCK QA QB QC aD le 12 YE Dace NVED fy st v/v 1413 — seus” 4 — = macs LSiST 3h, aA LC Ad 5 ORMEECYE-—e2/on TBSTROBE DACHIO h DACYIOx G 9 omuz—_| 1 sah —-pacyox DACY9-—&13n_ “oa 2 XVLD # DACY4* 9 2isp ‘Usa UNMPACYE RR27 F, ; po Tbe DACY 1¥ cK cue ENop Bre Exo R MOLT 2h DACYS “ a5 60 8d «= DACY4 avf2—vacva L3h ONMBACTIZ UNMDACYS ; "7 tate “en Le 21s une * eB es YvVibx a > 17 10 ovo ONWBACHE 13 x 2 2684 £248 EL x2 vu ~ uU 2373 2222 x 233 5; . Na ry era C aH 223% ge yk aacrsabse __l2 lth jo— teerROBE £23 a nie >O :

Page 1