Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!microsoft!brianw From: brianw@microsoft.UUCP (Brian Willoughby) Newsgroups: comp.sys.apple Subject: Re: apples in movies... Summary: At last, Terminator listings as evidence! Message-ID: <6054@microsoft.UUCP> Date: 16 Jun 89 20:51:03 GMT References: <199@larry.sal.wisc.edu> Reply-To: brianw@microsoft.UUCP (Brian Willoughby) Organization: Microsoft Corp., Redmond WA Lines: 96 Well, I came upon this conversation while I was about 200 messages behind in my reading. Even though discussion of the Terminator code seems to have died out, I decided to spend a buck and find out more about this very popular appearance of Apple II code. The following listing appears during the Terminator's attack on the police station. I came up with a template of what I could make out. '?' indicates that I could actually see individual characters, but I couldn't read them. 'WWW' indicates a word sepearated by spaces, but I didn't bother to count the characters. I noticed that the illusion of television resolution depends upon the motion of 60 images per second. As soon as I paused the picture, all clarity left, and I had to view the section several times to make out what you see below. Some of the characters are undoubtedly incorrect, but perhaps someone can find the code which fits this template? I've decided to look for a Laser Video copy of The Terminator which is in the format that allows special effects like freeze frame. Perhaps that will offer better resolution during pause... --------------------------------------------------------- 29 ????? EQU $F6 WWW WWW = WWW 30 ???? EQU $F7 <<< POKE WWW WWW WWW TO WW 31 ???? EQU $F8 <<< POKE WWW WWW WWW WWW TO WWW 32 COUNT EQU $F9 WWW # OF POINTS PLOTTED 33 VARL EQU $FA WWW WWW WWW (WWW) 34 ????? EQU $FB WWW OF VARL 35 VARH EQU $FC WWW WWW STORAGE (WWW) 36 ????? EQU $FD WWW OF VARH 37 ?? EQU $FE WWW WWW WWW WWW RESET 38 ??? EQU $FF WWW OF VAR? --------------------------------------------------------- On my first VCR viewing of The Terminator back when it was first aired on cable, I did try to rewind and freeze the listings as they appeared, but I was not convinced at the time that I was viewing 6502 code. 6800 code also has LDA and STA, so my first attempt at identifying the code was inconclusive. After painfully reviewing the movie segments last night, I was thrilled to find references to Zero Page addressing modes and the A1 and A2 labels from the monitor interface. This is definately 6502 code and Apple II specific as well. The following section appears (after the above listing is repeated) just before our Computer Hero attacks the Motel (and after the conception of the little Connor who is never seen in the movie). You'll notice that listing one uses 'EQU' while the '=' directive is used below. Obviously two different assemblers were used (or at least two different source files for an assembler like Merlin which understands both directives). The second listing also uses lower case comments (I am almost positive that I could see the word 'for'). The first 5 or so characters were obscured because HDTV hasn't arrived yet, and the left part of the image was chopped. Of course we can all guess what labels are being equated to $3C, $3E and $42! This code is very generic, and (except for a reference to what appears to be 'VTOC') could belong to any Apple II program which uses the monitor subroutines. BTW, 'xxx' indicates that I didn't count the words in the comments, since some were off the left of the screen. Also, I doubt that address $C3FF was used, but that is what it appeared to be. Anyone have a program which fits this template? --------------------------------------------------------- ********************** ORG LABEL = $3C = $3E = $42 ??????? = $C3FF ****************************** SETUP - xxx xxx xxx for VTOC xxx xxx xxx xxx to xxx xxx $C000-$C3FF xxx xxx xxx ****************************** SETUP LDA ??VTOC STA A1 LDA ??VTOC STA A1+1 LDA ??END STA A2 LDA ??END STA A2+1 LDA ???? STA A4 LDA ???? STA A4+1 SEC JMP ???????? DB 4 ****************** ---------------------------------------------------------