Home » Personal collection » Commodore disks » disk12b2_driving_games_3.d64 » edit 20.8.95

edit 20.8.95

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Personal collection » Commodore disks » disk12b2_driving_games_3.d64
Filename: edit 20.8.95
Read OK:
File size: 1427 bytes
Load address: 0801
Exec address: 0000
File contents
    10 ; CRYSTALS OF OLYMPIA
    20 ; EDITOR PROGRAM
    30 ; 26/5/95 -
  1000 ; VARIABLES
  1010 XP=$CF40
  1020 YP=$CF41
  1030 XPB=$CF42
  1040 CLICK=$CF43
  1050 BUTNO=$CF44
  1060 HOUR=$CF45
  1070 SCHAR=$CF46
  1990 *=$C000
  2000 ;                                               WIMP ROUTINES
  2003 ;
  2006 ; WIMP - MOUSE
  2010 IRQ LDA #$00
  2013 STA CLICK
  2016 LDA $C5
  2020 CMP #$01
  2030 BNE CONCHECK
  2040 STA CLICK
  2050 CONCHECK CMP #$0C
  2060 BEQ LEFTK
  2070 LKC CMP #$17
  2080 BEQ RIGHTK
  2090 RKC CMP #$32
  2100 BEQ UPK
  2110 UPKC CMP #$37
  2120 BEQ DOWNK
  2130 DKC LDA $DC00
  2140 TAX
  2150 AND #$01
  2160 BEQ UPJ
  2170 UJC TXA
  2180 AND #$02
  2190 BEQ DOWNJ
  2200 DJC TXA
  2210 AND #$04
  2220 BEQ LEFTJ
  2230 LJC TXA
  2240 AND #$08
  2250 BEQ RIGHTJ
  2260 RJC TXA
  2270 AND #$10
  2275 EOR #$10
  2280 BEQ CJCH
  2290 STA CLICK
  2300 CJCH JMP $EA31
  2310 LEFTK JSR LEFT
  2320 JMP LKC
  2330 RIGHTK JSR RIGHT
  2340 JMP RKC
  2350 UPK JSR UP
  2360 JMP UPKC
  2370 DOWNK JSR DOWN
  2380 JMP DKC
  2390 UPJ JSR UP
  2400 JMP UJC
  2410 DOWNJ JSR DOWN
  2420 JMP DJC
  2430 LEFTJ JSR LEFT
  2440 JMP LJC
  2450 RIGHTJ JSR RIGHT
  2460 JMP RJC
  2470 LEFT DEC XP
  2480 LDA XP
  2490 CMP #$FF
  2500 BNE NOTFF
  2510 LDY #$00
  2520 STY XPB
  2530 NOTFF LDY XPB
  2540 BNE FIN
  2550 CMP #$18
  2560 BNE FIN
  2570 INC XP
  2580 FIN JMP CONTROL
  2590 RIGHT INC XP
  2600 LDA XP
  2610 BNE NOT00
  2620 LDY #$01
  2630 STY XPB
  2640 NOT00 LDY XPB
  2650 BEQ FIN
  2660 CMP #$58
  2670 BNE FIN
  2680 DEC XP
  2690 JMP CONTROL
  2700 UP DEC YP
  2705 LDA YP
  2710 CMP #$32
  2715 BNE FIN
  2720 INC YP
  2730 JMP CONTROL
  2740 DOWN INC YP
  2750 LDA YP
  2760 CMP #$F8
  2770 BNE FIN
  2780 DEC YP
  2790 JMP CONTROL
  2800 ; WIMP - POINTER
  2803 CONTROL LDA HOUR
  2806 BNE HGLASS
  2810 LDA XP
  2820 CMP #$28
  2830 BCC NSQUP
  2840 CMP #$F8
  2850 BCS NSQUP
  2860 LDA XPB
  2870 BNE NSQUP
  2880 LDA YP
  2890 CMP #$42
  2900 BCC NSQUP
  2910 CMP #$C1
  2920 BCS NSQUP
  2930 LDA XP
  2940 AND #$F8
  2950 STA $D000
  2970 LDA YP
  2980 AND #$F8
  2985 ORA #$02
  3000 STA $D001
  3001 LDA $D010
  3002 AND #$FC
  3004 STA $D010
  3005 LDA #$92
  3006 STA $63F8
  3007 LDA $D015
  3008 AND #$FC
  3009 ORA #$01
  3010 STA $D015
  3018 LDA #$01
  3019 STA $D027
  3020 RTS
  3022 HGLASS LDX #$93
  3024 STX $63F8
  3026 INX
  3028 STX $63F9
  3030 NSQUP LDA XP
  3040 STA $D000
  3050 STA $D002
  3060 LDA YP
  3070 STA $D001
  3080 STA $D003
  3090 LDA $D010
  3100 AND #$FC
  3110 LSR A
  3120 CLC
  3130 ADC XPB
  3140 ASL A
  3150 CLC
  3160 ADC XPB
  3170 STA $D010
  3180 LDA #$00
  3190 STA $D027
  3200 LDA #$01
  3210 STA $D028
  3220 LDA $D015
  3230 ORA #$03
  3240 STA $D015
  3243 LDA HOUR
  3246 BNE QTRO
  3250 LDA #$90
  3260 STA $63F8
  3270 LDA #$91
  3280 STA $63F9
  3290 QTRO RTS
  3300 ; STARTUP ROUTINES
  3302 SR LDA #$8B
  3306 STA $D011
  3310 LDA $DD02
  3312 ORA #$02
  3314 STA $DD02
  3316 LDA $DD00
  3320 AND #$FE
  3330 ORA #$02
  3340 STA $DD00
  3343 LDA #$00
  3346 STA $D020
  3348 STA $D021
  3350 LDA #$86
  3360 STA $D018
  3362 LDA #$00
  3365 STA $D000
  3366 LDA #$0B
  3368 STA $D001
  3373 LDA #$10
  3374 STA $D008
  3375 LDA #$3A
  3376 STA $D009
  3377 LDA #$10
  3378 STA $D010
  3379 LDA #$01
  3380 STA $D029
  3381 STA $D02B
  3382 LDA #$00
  3383 STA $D02A
  3384 LDA #$80
  3385 STA SCHAR
  3388 LDA #$01
  3389 LDX #$08
  3390 TAY
  3400 JSR $FFBA
  3410 LDA #$0C
  3420 LDX #<EGRTXT
  3430 LDY #>EGRTXT
  3450 JSR $FFBD
  3460 LDA #$00
  3470 JSR $FFD5
  3471 LDA #$01
  3472 LDX #$08
  3473 TAY
  3474 JSR $FFBA
  3475 LDA #$08
  3476 LDX #<ECTXT
  3477 LDY #>ECTXT
  3478 JSR $FFBD
  3479 LDA #$00
  3480 JSR $FFD5
  3481 LDA #$9B
  3482 STA $D011
  3483 LDA #$00
  3485 STA BUTNO
  3487 LDA #$92
  3490 STA $63FC
  3500 SEI
  3510 LDA #$00
  3520 STA $0314
  3530 LDA #$C0
  3540 STA $0315
  3550 CLI
  3560 LDA #$00
  3570 STA XP
  3580 STA HOUR
  3590 LDA #$80
  3600 STA YP
  3610 LDA #$01
  3620 STA XPB
  3621 LDA #$1C
  3622 STA $D015
  3623 JSR LEFT
  3624 LDA #$00
  3625 STA $D004
  3626 STA $D006
  3627 LDA #$D9
  3628 STA $D005
  3629 STA $D007
  3630 LDA #$95
  3632 STA $63FB
  3634 LDA #$08
  3635 STA $D01C
  3636 LDA #$18
  3637 STA $D016
  3639 BUT0 JSR BUTCHECK
  3640 JMP BUT0
  3650 EGRTXT TXT "EDITGRAPHICS"
  3652 ECTXT TXT "EDITCOLS"
  3655 BCQU RTS
  3660 BUTCHECK LDA YP
  3670 CMP #$D9
  3680 BCC BCQU
  3682 LDA CLICK
  3684 BEQ BCQU
  3685 LDA XPB
  3686 BNE XBSR
  3687 LDA XP
  3688 CMP #$28
  3689 BCC BCQU
  3692 LDA $D010
  3694 AND #$F3
  3696 STA $D010
  3698 LDA XP
  3700 CMP #$28
  3710 BCC BCQU
  3730 JMP BCOK
  3740 XBSR LDA XP
  3750 CMP #$44
  3760 BCS BCQU
  3761 LDA $D010
  3762 ORA #$0C
  3763 STA $D010
  3770 BCOK LDA XP
  3772 LDX XPB
  3775 BNE BCTC
  3780 SEC
  3790 SBC #$28
  3800 BCTC LDX #$FF
  3810 BCLPA INX
  3820 SEC
  3830 SBC #$18
  3840 CMP #$E8
  3850 BCC BCLPA
  3860 TXA
  3870 LDY XPB
  3880 BEQ NAO
  3890 CLC
  3900 ADC #$09
  3910 NAO STA BUTNO
  3920 ASL A
  3930 ASL A
  3940 ASL A
  3950 STA $02
  3960 CLC
  3970 ADC $02
  3980 ADC $02
  3985 ADC #$28
  3990 STA $D004
  4000 STA $D006
  4010 LDA #$96
  4012 CLC
  4016 ADC BUTNO
  4020 STA $63FA
  4030 PLA
  4040 PLA
  4050 LDA #$CF
  4060 STA VE+2
  4070 LDA BUTNO
  4080 ASL A
  4083 CLC
  4086 ADC #$80
  4090 STA VE+1
  4092 LDA #>VEC
  4094 PHA
  4096 LDA #<VEC-1
  4098 PHA
  4100 VE JMP ($0000)
  4110 VEC LDA VE+1
  4120 CLC
  4130 ADC #$20
  4140 STA PH+1
  4150 LDA #$CF
  4160 STA PH+2
  4170 PH JMP ($0000)
 10000 BI1 RTS
 10001 BI2 RTS
 10002 BI3 RTS
 10003 BI4 RTS
 10004 BI5 RTS
 10005 BI6 RTS
 10006 BI7 RTS
 10007 BI8 RTS
 10008 BI9 RTS
 10009 BIA RTS
 10010 BIB RTS
 10011 BIC RTS
 10020 BT1 NOP
 10021 BT2 NOP
 10022 BT3 NOP
 10023 BT4 NOP
 10024 BT5 NOP
 10025 BT6 NOP
 10026 BT7 NOP
 10027 BT8 NOP
 10028 BT9 NOP
 10029 BTA NOP
 10030 BTB NOP
 10031 BTC NOP
 10032 JMP BUT0
 63000 ; VECTOR TABLE
 63010 *=$CF80
 63020 TXT <BI1,>BI1,<BI2,>BI2,<BI3,>BI3
 63030 TXT <BI4,>BI4,<BI5,>BI5,<BI6,>BI6
 63040 TXT <BI7,>BI7,<BI8,>BI8,<BI9,>BI9
 63050 TXT <BIA,>BIA,<BIB,>BIB,<BIC,>BIC
 63060 ;
 63070 *=$CFA0
 63080 TXT <BT1,>BT1,<BT2,>BT2,<BT3,>BT3
 63090 TXT <BT4,>BT4,<BT5,>BT5,<BT6,>BT6
 63100 TXT <BT7,>BT7,<BT8,>BT8,<BT9,>BT9
 63110 TXT <BTA,>BTA,<BTB,>BTB,<BTC,>BTC


; CRYSTALS OF OLYMPIA/; EDI�R PROGRAM?; 26�5�95 �O�; VARIABLES\�XP�$CF40i�YP�$CF41wXPB�$CF42�CLICK�$CF43�BUTNO�$CF44�$HOUR�$CF45�.SCHAR�$CF46����$C000	�;                                               WIMP ROUTINES
	�;	�; WIMP - MOUSE.	�IRQ LDA #$00<	�STA CLICKH	�LDA $C5U	�CMP #$01e	�BNE C�CHECKs	�STA CLICK�	C�CHECK CMP #$0C�	BEQ LEFTK�	LKC CMP #$17�	 BEQ RIGHTK�	*RKC CMP #$32�	4BEQ UPK�	>UPKC CMP #$37�	HBEQ DOWNK
RDKC LDA $DC00
\TAX
f� #$01$
pBEQ UPJ0
zUJC TXA;
�� #$02I
�BEQ DOWNJU
�DJC TXA`
�� #$04n
�BEQ LEFTJz
�LJC TXA�
�� #$08�
�BEQ RIGHTJ�
�RJC TXA�
�� #$10�
�E� #$10�
�BEQ CJCH�
�STA CLICK�
�CJCH JMP $EA31�
	LEFTK JSR LEFT	JMP LKC	RIGHTK JSR RIGHT%$	JMP RKC4.	UPK JSR UPA8	JMP UPKCTB	DOWNK JSR DOWN`L	JMP DKCoV	UPJ JSR UP{`	JMP UJC�j	DOWNJ JSR DOWN�t	JMP DJC�~	LEFTJ JSR LEFT��	JMP LJC��	RIGHTJ JSR RIGHT��	JMP RJC��	LEFT DEC XP��	LDA XP�	CMP #$FF�	BNE �FF�	LDY #$00'�	STY XPB7�	�FF LDY XPBC�	BNE FINP�	CMP #$18\
BNE FINg

INC XPx
FIN JMP �ROL�
RIGHT INC XP�(
LDA XP�2
BNE �00�<
LDY #$01�F
STY XPB�P
�00 LDY XPB�Z
BEQ FIN�d
CMP #$58�n
BNE FIN�x
DEC XP
�
JMP �ROL
�
UP DEC YP
�
LDA YP,
�
CMP #$328
�
BNE FINC
�
INC YPP
�
JMP �ROL`
�
DOWN INC YPk
�
LDA YPx
�
CMP #$F8�
�
BNE FIN�
�
DEC YP�
�
JMP �ROL�
�
; WIMP � PO�ER�
�
�ROL LDA HOUR�
�
BNE HGLASS�
�
LDA XP�
CMP #$28�
BCC NSQUPCMP #$F8"BCS NSQUP,LDA XPB+6BNE NSQUP6@LDA YPCJCMP #$42QTBCC NSQUP^^CMP #$C1lhBCS NSQUPwrLDA XP�|� #$F8��STA $D000��LDA YP��� #$F8���A #$02��STA $D001��LDA $D010��� #$FC��STA $D010��LDA #$92�STA $63F8�LDA $D015�� #$FC'��A #$015�STA $D015B�LDA #$01P�STA $D027X�RTSl�HGLASS LDX #$93z�STX $63F8��INX��STX $63F9��NSQUP LDA XP��STA $D000��STA $D002��LDA YP��STA $D001�STA $D003�LDA $D010�� #$FC&LSR A0CLC:ADC XPB%DASL A-NCLC9XADC XPBGbSTA $D010TlLDA #$00bvSTA $D027o�LDA #$01}�STA $D028��LDA $D015���A #$03��STA $D015��LDA HOUR��BNE QTRO��LDA #$90��STA $63F8��LDA #$91��STA $63F9�QTRO RTS�; STARTUP ROUTINES)�SR LDA #$8B7�STA $D011E�LDA $DD02Q��A #$02_�STA $DD02m�LDA $DD00x�� #$FE�
�A #$02�
STA $DD00�
LDA #$00�
STA $D020�
STA $D021�
LDA #$86� 
STA $D018�"
LDA #$00�%
STA $D000�&
LDA #$0B(
STA $D001-
LDA #$10'.
STA $D0084/
LDA #$3AB0
STA $D009O1
LDA #$10]2
STA $D010j3
LDA #$01x4
STA $D029�5
STA $D02B�6
LDA #$00�7
STA $D02A�8
LDA #$80�9
STA SCHAR�<
LDA #$01�=
LDX #$08�>
TAY�H
JSR $FFBA�R
LDA #$0C
\
LDX #�EGRTXTf
LDY #�EGRTXT)z
JSR $FFBD6�
LDA #$00D�
JSR $FFD5Q�
LDA #$01^�
LDX #$08f�
TAYt�
JSR $FFBA��
LDA #$08��
LDX #�ECTXT��
LDY #�ECTXT��
JSR $FFBD��
LDA #$00��
JSR $FFD5��
LDA #$9B��
STA $D011��
LDA #$00�
STA BUTNO
�
LDA #$92�
STA $63FC#�
SEI0�
LDA #$00>�
STA $0314K�
LDA #$C0Y�
STA $0315a�
CLIn�
LDA #$00y�
STA XP��
STA HOUR�LDA #$80�STA YP�LDA #$01�$STA XPB�%LDA #$1C�&STA $D015�'JSR LEFT�(LDA #$00�)STA $D004*STA $D006+LDA #$D9#,STA $D0051-STA $D007>.LDA #$95L0STA $63FBY2LDA #$08g3STA $D01Ct4LDA #$18�5STA $D016�7BUT0 JSR BUTCHECK�8JMP BUT0�BEGRTXT TXT "EDITGRAPHICS"�DECTXT TXT "EDITCOLS"�GBCQU RTS�LBUTCHECK LDA YP
VCMP #$D9`BCC BCQU%bLDA CLICK2dBEQ BCQU>eLDA XPBKfBNE XBSRVgLDA XPchCMP #$28piBCC BCQU~lLDA $D010�n� #$F3�pSTA $D010�rLDA XP�tCMP #$28�~BCC BCQU��JMP BCOK��XBSR LDA XP��CMP #$44��BCS BCQU�LDA $D010
��A #$0C�STA $D010+�BCOK LDA XP7�LDX XPBD�BNE BCTCL�SECY�SBC #$28k�BCTC LDX #$FFy�BCLPA INX��SEC��SBC #$18�CMP #$E8�
BCC BCLPA�TXA�LDY XPB�(BEQ NAO�2CLC�<ADC #$09�FNAO STA BUTNO�PASL AZASL AdASL AnSTA $02"xCLC.�ADC $02:�ADC $02G�ADC #$28U�STA $D004c�STA $D006p�LDA #$96x�CLC��ADC BUTNO��STA $63FA��PLA��PLA��LDA #$CF��STA VE�2��LDA BUTNO��ASL A��CLC��ADC #$80��STA VE�1�LDA #�VEC�PHALDA #�VEC�1&PHA9VE JMP ($0000)JVEC LDA VE�1RCLC_"ADC #$20l,STA PH�1y6LDA #$CF�@STA PH�2�JPH JMP ($0000)�'BI1 RTS�'BI2 RTS�'BI3 RTS�'BI4 RTS�'BI5 RTS�'BI6 RTS�'BI7 RTS�'BI8 RTS'BI9 RTS'BIA RTS'BIB RTS)'BIC RTS5$'BT1 NOPA%'BT2 NOPM&'BT3 NOPY''BT4 NOPe('BT5 NOPq)'BT6 NOP}*'BT7 NOP�+'BT8 NOP�,'BT9 NOP�-'BTA NOP�.'BTB NOP�/'BTC NOP�0'JMP BUT0��; VEC�R TABLE�"���$CF80
,�TXT �BI1,�BI1,�BI2,�BI2,�BI3,�BI306�TXT �BI4,�BI4,�BI5,�BI5,�BI6,�BI6V@�TXT �BI7,�BI7,�BI8,�BI8,�BI9,�BI9|J�TXT �BIA,�BIA,�BIB,�BIB,�BIC,�BIC�T�;�^���$CFA0�h�TXT �BT1,�BT1,�BT2,�BT2,�BT3,�BT3�r�TXT �BT4,�BT4,�BT5,�BT5,�BT6,�BT6|�TXT �BT7,�BT7,�BT8,�BT8,�BT9,�BT9&��TXT �BTA,�BTA,�BTB,�BTB,�BTC,�BTC
[HJ@; crystals of olympia@/HT@; edi.r program@?H.@; 26.5.95 .@oH.C; variables@£H.Cxp.$cf40@IH.Cyp.$cf41@WHFDxpb.$cf42@.HPDclick.$cf43@.HZDbutno.$cf44@.H$Dhour.$cf45@.H.Dschar.$cf46@.H.G..$c000@DI.G;                                               wimp routines@JI.G;@]I.G; wimp - mouse@.I.Girq lda #$00@<I.Gsta click@hI.Glda $c5@uI.Gcmp #$01@EI.Gbne c.check@SI.Gsta click@.IBHc.check cmp #$0c@.ILHbeq leftk@.IVHlkc cmp #$17@.I Hbeq rightk@.I*Hrkc cmp #$32@.I4Hbeq upk@.I>Hupkc cmp #$37@.IhHbeq downk@EJrHdkc lda $dc00@MJ£Htax@XJFH. #$01@$JPHbeq upj@0JZHujc txa@;J.H. #$02@iJ.Hbeq downj@uJ.Hdjc txa@.J.H. #$04@NJ.Hbeq leftj@ZJ.Hljc txa@.J.H. #$08@.J.Hbeq rightj@.J.Hrjc txa@.J.H. #$10@.J.He. #$10@.J.Hbeq cjch@.J.Hsta click@.J.Hcjch jmp $ea31@.JFIleftk jsr left@DKPIjmp lkc@YKZIrightk jsr right@%K$Ijmp rkc@4K.Iupk jsr up@aK8Ijmp upkc@tKbIdownk jsr down@.KlIjmp dkc@OKvIupj jsr up@.K.Ijmp ujc@.KJIdownj jsr down@.KTIjmp djc@.K.Ileftj jsr left@.K.Ijmp ljc@.K.Irightj jsr right@.K.Ijmp rjc@.K.Ileft dec xp@.K.Ilda xp@BL.Icmp #$ff@NL.Ibne .ff@[L.Ildy #$00@'L.Isty xpb@7L.I.ff ldy xpb@cL.Ibne fin@pL.Icmp #$18@£L@Jbne fin@GLJJinc xp@XLTJfin jmp .rol@.L.Jright inc xp@.L(Jlda xp@.L2Jbne .00@.L<Jldy #$01@.LfJsty xpb@.LpJ.00 ldy xpb@.LzJbeq fin@.LDJcmp #$58@.LNJbne fin@.LXJdec xp@FM.Jjmp .rol@TM.Jup dec yp@.M.Jlda yp@,M.Jcmp #$32@8M.Jbne fin@cM.Jinc yp@pM.Jjmp .rol@.M.Jdown inc yp@KM.Jlda yp@XM.Jcmp #$f8@.M.Jbne fin@.M.Jdec yp@.M.Jjmp .rol@.M.J; wimp . po.er@.M.J.rol lda hour@.M.Jbne hglass@.M.Jlda xp@.MDKcmp #$28@.MNKbcc nsqup@CNXKcmp #$f8@QN"Kbcs nsqup@]N,Klda xpb@+N6Kbne nsqup@6N@Klda yp@cNjKcmp #$42@qNtKbcc nsqup@.N.Kcmp #$c1@LNHKbcs nsqup@WNRKlda xp@.N.K. #$f8@.N.Ksta $d000@.N.Klda yp@.N.K. #$f8@.N.K.a #$02@.N.Ksta $d001@.N.Klda $d010@.N.K. #$fc@.N.Ksta $d010@.N.Klda #$92@BO.Ksta $63f8@PO.Klda $d015@[O.K. #$fc@'O.K.a #$01@5O.Ksta $d015@bO.Klda #$01@pO.Ksta $d027@xO.Krts@LO.Khglass ldx #$93@ZO.Kstx $63f8@.O.Kinx@.O.Kstx $63f9@.O.Knsqup lda xp@.O.Ksta $d000@.O.Ksta $d002@.O.Klda yp@.O.Ksta $d001@.OHLsta $d003@.ORLlda $d010@.O£L. #$fc@GP&Llsr a@OP0Lclc@[P:Ladc xpb@%PdLasl a@-PnLclc@9PxLadc xpb@gPBLsta $d010@tPLLlda #$00@BPVLsta $d027@OP.Llda #$01@.P.Lsta $d028@.P.Llda $d015@.P.L.a #$03@.P.Lsta $d015@.P.Llda hour@.P.Lbne qtro@.P.Llda #$90@.P.Lsta $63f8@.P.Llda #$91@.P.Lsta $63f9@BQ.Lqtro rts@YQ.L; startup routines@)Q.Lsr lda #$8b@7Q.Lsta $d011@eQ.Llda $dd02@qQ.L.a #$02@.Q.Lsta $dd02@MQ.Llda $dd00@XQ.L. #$fe@.QBM.a #$02@.QLMsta $dd00@.QOMlda #$00@.QRMsta $d020@.QTMsta $d021@.QVMlda #$86@.Q Msta $d018@.Q"Mlda #$00@.Q%Msta $d000@.Q&Mlda #$0b@LR(Msta $d001@YR-Mlda #$10@'R.Msta $d008@4R/Mlda #$3a@bR0Msta $d009@oR1Mlda #$10@]R2Msta $d010@JR3Mlda #$01@XR4Msta $d029@.R5Msta $d02b@.R6Mlda #$00@.R7Msta $d02a@.R8Mlda #$80@.R9Msta schar@.R<Mlda #$01@.R=Mldx #$08@.R>Mtay@.RhMjsr $ffba@.RrMlda #$0c@JS£Mldx #.egrtxt@[SFMldy #.egrtxt@)SZMjsr $ffbd@6S.Mlda #$00@dS.Mjsr $ffd5@qS.Mlda #$01@.S.Mldx #$08@FS.Mtay@TS.Mjsr $ffba@.S.Mlda #$08@.S.Mldx #.ectxt@.S.Mldy #.ectxt@.S.Mjsr $ffbd@.S.Mlda #$00@.S.Mjsr $ffd5@.S.Mlda #$9b@.S.Msta $d011@.S.Mlda #$00@@T.Msta butno@MT.Mlda #$92@[T.Msta $63fc@#T.Msei@0T.Mlda #$00@>T.Msta $0314@kT.Mlda #$c0@yT.Msta $0315@AT.Mcli@NT.Mlda #$00@YT.Msta xp@.T.Msta hour@.TFNlda #$80@.TPNsta yp@.TZNlda #$01@.T$Nsta xpb@.T%Nlda #$1c@.T&Nsta $d015@.T'Njsr left@.T(Nlda #$00@.T)Nsta $d004@HU*Nsta $d006@UU+Nlda #$d9@#U,Nsta $d005@1U-Nsta $d007@>U.Nlda #$95@lU0Nsta $63fb@yU2Nlda #$08@GU3Nsta $d01c@TU4Nlda #$18@.U5Nsta $d016@.U7Nbut0 jsr butcheck@.U8Njmp but0@.UbNegrtxt txt "editgraphics"@.UdNectxt txt "editcols"@.UgNbcqu rts@.UlNbutcheck lda yp@JVvNcmp #$d9@WV.Nbcc bcqu@%VBNlda click@2VDNbeq bcqu@>VENlda xpb@kVFNbne xbsr@vVGNlda xp@CVHNcmp #$28@PVINbcc bcqu@.VLNlda $d010@.VNN. #$f3@.VPNsta $d010@.VRNlda xp@.VTNcmp #$28@.V.Nbcc bcqu@.V.Njmp bcok@.V.Nxbsr lda xp@.V.Ncmp #$44@.V.Nbcs bcqu@AW.Nlda $d010@MW.N.a #$0c@[W.Nsta $d010@+W.Nbcok lda xp@7W.Nldx xpb@dW.Nbne bctc@lW.Nsec@yW.Nsbc #$28@KW.Nbctc ldx #$ff@YW.Nbclpa inx@.W.Nsec@.W.Nsbc #$18@.W@Ocmp #$e8@.WJObcc bclpa@.WTOtxa@.W.Oldy xpb@.W(Obeq nao@.W2Oclc@.W<Oadc #$09@.WfOnao sta butno@.WpOasl a@DXzOasl a@NXDOasl a@ZXNOsta $02@"XXOclc@.X.Oadc $02@:X.Oadc $02@gX.Oadc #$28@uX.Osta $d004@CX.Osta $d006@PX.Olda #$96@XX.Oclc@.X.Oadc butno@.X.Osta $63fa@.X.Opla@.X.Opla@.X.Olda #$cf@.X.Osta ve.2@.X.Olda butno@.X.Oasl a@.X.Oclc@.X.Oadc #$80@.X.Osta ve.1@FY.Olda #.vec@NY.Opha@.Y@Plda #.vec.1@&YBPpha@9YDPve jmp ($0000)@jYNPvec lda ve.1@rYXPclc@.Y"Padc #$20@LY,Psta ph.1@YY6Plda #$cf@.Y@Psta ph.2@.YjPph jmp ($0000)@.YP'bi1 rts@.YQ'bi2 rts@.YR'bi3 rts@.YS'bi4 rts@.YT'bi5 rts@.YU'bi6 rts@.YV'bi7 rts@.YW'bi8 rts@EZX'bi9 rts@QZY'bia rts@]ZZ'bib rts@)Z['bic rts@5Z$'bt1 nop@aZ%'bt2 nop@mZ&'bt3 nop@yZ''bt4 nop@EZ('bt5 nop@QZ)'bt6 nop@.Z*'bt7 nop@.Z+'bt8 nop@.Z,'bt9 nop@.Z-'bta nop@.Z.'btb nop@.Z/'btc nop@.Z0'jmp but0@.ZX.; vec.r table@.Z"...$cf80@J[,.txt .bi1,.bi1,.bi2,.bi2,.bi3,.bi3@0[6.txt .bi4,.bi4,.bi5,.bi5,.bi6,.bi6@v[@.txt .bi7,.bi7,.bi8,.bi8,.bi9,.bi9@.[j.txt .bia,.bia,.bib,.bib,.bic,.bic@.[t.;@.[....$cfa0@.[H.txt .bt1,.bt1,.bt2,.bt2,.bt3,.bt3@.[R.txt .bt4,.bt4,.bt5,.bt5,.bt6,.bt6@@£..txt .bt7,.bt7,.bt8,.bt8,.bt9,.bt9@&£..txt .bta,.bta,.btb,.btb,.btc,.btc@@@
00000000  1b 08 0a 00 3b 20 43 52  59 53 54 41 4c 53 20 4f  |....; CRYSTALS O|
00000010  46 20 4f 4c 59 4d 50 49  41 00 2f 08 14 00 3b 20  |F OLYMPIA./...; |
00000020  45 44 49 a4 52 20 50 52  4f 47 52 41 4d 00 3f 08  |EDI.R PROGRAM.?.|
00000030  1e 00 3b 20 32 36 ad 35  ad 39 35 20 ab 00 4f 08  |..; 26.5.95 ..O.|
00000040  e8 03 3b 20 56 41 52 49  41 42 4c 45 53 00 5c 08  |..; VARIABLES.\.|
00000050  f2 03 58 50 b2 24 43 46  34 30 00 69 08 fc 03 59  |..XP.$CF40.i...Y|
00000060  50 b2 24 43 46 34 31 00  77 08 06 04 58 50 42 b2  |P.$CF41.w...XPB.|
00000070  24 43 46 34 32 00 87 08  10 04 43 4c 49 43 4b b2  |$CF42.....CLICK.|
00000080  24 43 46 34 33 00 97 08  1a 04 42 55 54 4e 4f b2  |$CF43.....BUTNO.|
00000090  24 43 46 34 34 00 a6 08  24 04 48 4f 55 52 b2 24  |$CF44...$.HOUR.$|
000000a0  43 46 34 35 00 b6 08 2e  04 53 43 48 41 52 b2 24  |CF45.....SCHAR.$|
000000b0  43 46 34 36 00 c2 08 c6  07 ac b2 24 43 30 30 30  |CF46.......$C000|
000000c0  00 04 09 d0 07 3b 20 20  20 20 20 20 20 20 20 20  |.....;          |
000000d0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
000000f0  20 20 20 20 20 57 49 4d  50 20 52 4f 55 54 49 4e  |     WIMP ROUTIN|
00000100  45 53 00 0a 09 d3 07 3b  00 1d 09 d6 07 3b 20 57  |ES.....;.....; W|
00000110  49 4d 50 20 2d 20 4d 4f  55 53 45 00 2e 09 da 07  |IMP - MOUSE.....|
00000120  49 52 51 20 4c 44 41 20  23 24 30 30 00 3c 09 dd  |IRQ LDA #$00.<..|
00000130  07 53 54 41 20 43 4c 49  43 4b 00 48 09 e0 07 4c  |.STA CLICK.H...L|
00000140  44 41 20 24 43 35 00 55  09 e4 07 43 4d 50 20 23  |DA $C5.U...CMP #|
00000150  24 30 31 00 65 09 ee 07  42 4e 45 20 43 91 43 48  |$01.e...BNE C.CH|
00000160  45 43 4b 00 73 09 f8 07  53 54 41 20 43 4c 49 43  |ECK.s...STA CLIC|
00000170  4b 00 88 09 02 08 43 91  43 48 45 43 4b 20 43 4d  |K.....C.CHECK CM|
00000180  50 20 23 24 30 43 00 96  09 0c 08 42 45 51 20 4c  |P #$0C.....BEQ L|
00000190  45 46 54 4b 00 a7 09 16  08 4c 4b 43 20 43 4d 50  |EFTK.....LKC CMP|
000001a0  20 23 24 31 37 00 b6 09  20 08 42 45 51 20 52 49  | #$17... .BEQ RI|
000001b0  47 48 54 4b 00 c7 09 2a  08 52 4b 43 20 43 4d 50  |GHTK...*.RKC CMP|
000001c0  20 23 24 33 32 00 d3 09  34 08 42 45 51 20 55 50  | #$32...4.BEQ UP|
000001d0  4b 00 e5 09 3e 08 55 50  4b 43 20 43 4d 50 20 23  |K...>.UPKC CMP #|
000001e0  24 33 37 00 f3 09 48 08  42 45 51 20 44 4f 57 4e  |$37...H.BEQ DOWN|
000001f0  4b 00 05 0a 52 08 44 4b  43 20 4c 44 41 20 24 44  |K...R.DKC LDA $D|
00000200  43 30 30 00 0d 0a 5c 08  54 41 58 00 18 0a 66 08  |C00...\.TAX...f.|
00000210  af 20 23 24 30 31 00 24  0a 70 08 42 45 51 20 55  |. #$01.$.p.BEQ U|
00000220  50 4a 00 30 0a 7a 08 55  4a 43 20 54 58 41 00 3b  |PJ.0.z.UJC TXA.;|
00000230  0a 84 08 af 20 23 24 30  32 00 49 0a 8e 08 42 45  |.... #$02.I...BE|
00000240  51 20 44 4f 57 4e 4a 00  55 0a 98 08 44 4a 43 20  |Q DOWNJ.U...DJC |
00000250  54 58 41 00 60 0a a2 08  af 20 23 24 30 34 00 6e  |TXA.`.... #$04.n|
00000260  0a ac 08 42 45 51 20 4c  45 46 54 4a 00 7a 0a b6  |...BEQ LEFTJ.z..|
00000270  08 4c 4a 43 20 54 58 41  00 85 0a c0 08 af 20 23  |.LJC TXA...... #|
00000280  24 30 38 00 94 0a ca 08  42 45 51 20 52 49 47 48  |$08.....BEQ RIGH|
00000290  54 4a 00 a0 0a d4 08 52  4a 43 20 54 58 41 00 ab  |TJ.....RJC TXA..|
000002a0  0a de 08 af 20 23 24 31  30 00 b7 0a e3 08 45 b0  |.... #$10.....E.|
000002b0  20 23 24 31 30 00 c4 0a  e8 08 42 45 51 20 43 4a  | #$10.....BEQ CJ|
000002c0  43 48 00 d2 0a f2 08 53  54 41 20 43 4c 49 43 4b  |CH.....STA CLICK|
000002d0  00 e5 0a fc 08 43 4a 43  48 20 4a 4d 50 20 24 45  |.....CJCH JMP $E|
000002e0  41 33 31 00 f8 0a 06 09  4c 45 46 54 4b 20 4a 53  |A31.....LEFTK JS|
000002f0  52 20 4c 45 46 54 00 04  0b 10 09 4a 4d 50 20 4c  |R LEFT.....JMP L|
00000300  4b 43 00 19 0b 1a 09 52  49 47 48 54 4b 20 4a 53  |KC.....RIGHTK JS|
00000310  52 20 52 49 47 48 54 00  25 0b 24 09 4a 4d 50 20  |R RIGHT.%.$.JMP |
00000320  52 4b 43 00 34 0b 2e 09  55 50 4b 20 4a 53 52 20  |RKC.4...UPK JSR |
00000330  55 50 00 41 0b 38 09 4a  4d 50 20 55 50 4b 43 00  |UP.A.8.JMP UPKC.|
00000340  54 0b 42 09 44 4f 57 4e  4b 20 4a 53 52 20 44 4f  |T.B.DOWNK JSR DO|
00000350  57 4e 00 60 0b 4c 09 4a  4d 50 20 44 4b 43 00 6f  |WN.`.L.JMP DKC.o|
00000360  0b 56 09 55 50 4a 20 4a  53 52 20 55 50 00 7b 0b  |.V.UPJ JSR UP.{.|
00000370  60 09 4a 4d 50 20 55 4a  43 00 8e 0b 6a 09 44 4f  |`.JMP UJC...j.DO|
00000380  57 4e 4a 20 4a 53 52 20  44 4f 57 4e 00 9a 0b 74  |WNJ JSR DOWN...t|
00000390  09 4a 4d 50 20 44 4a 43  00 ad 0b 7e 09 4c 45 46  |.JMP DJC...~.LEF|
000003a0  54 4a 20 4a 53 52 20 4c  45 46 54 00 b9 0b 88 09  |TJ JSR LEFT.....|
000003b0  4a 4d 50 20 4c 4a 43 00  ce 0b 92 09 52 49 47 48  |JMP LJC.....RIGH|
000003c0  54 4a 20 4a 53 52 20 52  49 47 48 54 00 da 0b 9c  |TJ JSR RIGHT....|
000003d0  09 4a 4d 50 20 52 4a 43  00 ea 0b a6 09 4c 45 46  |.JMP RJC.....LEF|
000003e0  54 20 44 45 43 20 58 50  00 f5 0b b0 09 4c 44 41  |T DEC XP.....LDA|
000003f0  20 58 50 00 02 0c ba 09  43 4d 50 20 23 24 46 46  | XP.....CMP #$FF|
00000400  00 0e 0c c4 09 42 4e 45  20 a8 46 46 00 1b 0c ce  |.....BNE .FF....|
00000410  09 4c 44 59 20 23 24 30  30 00 27 0c d8 09 53 54  |.LDY #$00.'...ST|
00000420  59 20 58 50 42 00 37 0c  e2 09 a8 46 46 20 4c 44  |Y XPB.7....FF LD|
00000430  59 20 58 50 42 00 43 0c  ec 09 42 4e 45 20 46 49  |Y XPB.C...BNE FI|
00000440  4e 00 50 0c f6 09 43 4d  50 20 23 24 31 38 00 5c  |N.P...CMP #$18.\|
00000450  0c 00 0a 42 4e 45 20 46  49 4e 00 67 0c 0a 0a 49  |...BNE FIN.g...I|
00000460  4e 43 20 58 50 00 78 0c  14 0a 46 49 4e 20 4a 4d  |NC XP.x...FIN JM|
00000470  50 20 9a 52 4f 4c 00 89  0c 1e 0a 52 49 47 48 54  |P .ROL.....RIGHT|
00000480  20 49 4e 43 20 58 50 00  94 0c 28 0a 4c 44 41 20  | INC XP...(.LDA |
00000490  58 50 00 a0 0c 32 0a 42  4e 45 20 a8 30 30 00 ad  |XP...2.BNE .00..|
000004a0  0c 3c 0a 4c 44 59 20 23  24 30 31 00 b9 0c 46 0a  |.<.LDY #$01...F.|
000004b0  53 54 59 20 58 50 42 00  c9 0c 50 0a a8 30 30 20  |STY XPB...P..00 |
000004c0  4c 44 59 20 58 50 42 00  d5 0c 5a 0a 42 45 51 20  |LDY XPB...Z.BEQ |
000004d0  46 49 4e 00 e2 0c 64 0a  43 4d 50 20 23 24 35 38  |FIN...d.CMP #$58|
000004e0  00 ee 0c 6e 0a 42 4e 45  20 46 49 4e 00 f9 0c 78  |...n.BNE FIN...x|
000004f0  0a 44 45 43 20 58 50 00  06 0d 82 0a 4a 4d 50 20  |.DEC XP.....JMP |
00000500  9a 52 4f 4c 00 14 0d 8c  0a 55 50 20 44 45 43 20  |.ROL.....UP DEC |
00000510  59 50 00 1f 0d 91 0a 4c  44 41 20 59 50 00 2c 0d  |YP.....LDA YP.,.|
00000520  96 0a 43 4d 50 20 23 24  33 32 00 38 0d 9b 0a 42  |..CMP #$32.8...B|
00000530  4e 45 20 46 49 4e 00 43  0d a0 0a 49 4e 43 20 59  |NE FIN.C...INC Y|
00000540  50 00 50 0d aa 0a 4a 4d  50 20 9a 52 4f 4c 00 60  |P.P...JMP .ROL.`|
00000550  0d b4 0a 44 4f 57 4e 20  49 4e 43 20 59 50 00 6b  |...DOWN INC YP.k|
00000560  0d be 0a 4c 44 41 20 59  50 00 78 0d c8 0a 43 4d  |...LDA YP.x...CM|
00000570  50 20 23 24 46 38 00 84  0d d2 0a 42 4e 45 20 46  |P #$F8.....BNE F|
00000580  49 4e 00 8f 0d dc 0a 44  45 43 20 59 50 00 9c 0d  |IN.....DEC YP...|
00000590  e6 0a 4a 4d 50 20 9a 52  4f 4c 00 af 0d f0 0a 3b  |..JMP .ROL.....;|
000005a0  20 57 49 4d 50 20 ab 20  50 4f b5 45 52 00 c1 0d  | WIMP . PO.ER...|
000005b0  f3 0a 9a 52 4f 4c 20 4c  44 41 20 48 4f 55 52 00  |...ROL LDA HOUR.|
000005c0  d0 0d f6 0a 42 4e 45 20  48 47 4c 41 53 53 00 db  |....BNE HGLASS..|
000005d0  0d fa 0a 4c 44 41 20 58  50 00 e8 0d 04 0b 43 4d  |...LDA XP.....CM|
000005e0  50 20 23 24 32 38 00 f6  0d 0e 0b 42 43 43 20 4e  |P #$28.....BCC N|
000005f0  53 51 55 50 00 03 0e 18  0b 43 4d 50 20 23 24 46  |SQUP.....CMP #$F|
00000600  38 00 11 0e 22 0b 42 43  53 20 4e 53 51 55 50 00  |8...".BCS NSQUP.|
00000610  1d 0e 2c 0b 4c 44 41 20  58 50 42 00 2b 0e 36 0b  |..,.LDA XPB.+.6.|
00000620  42 4e 45 20 4e 53 51 55  50 00 36 0e 40 0b 4c 44  |BNE NSQUP.6.@.LD|
00000630  41 20 59 50 00 43 0e 4a  0b 43 4d 50 20 23 24 34  |A YP.C.J.CMP #$4|
00000640  32 00 51 0e 54 0b 42 43  43 20 4e 53 51 55 50 00  |2.Q.T.BCC NSQUP.|
00000650  5e 0e 5e 0b 43 4d 50 20  23 24 43 31 00 6c 0e 68  |^.^.CMP #$C1.l.h|
00000660  0b 42 43 53 20 4e 53 51  55 50 00 77 0e 72 0b 4c  |.BCS NSQUP.w.r.L|
00000670  44 41 20 58 50 00 82 0e  7c 0b af 20 23 24 46 38  |DA XP...|.. #$F8|
00000680  00 90 0e 86 0b 53 54 41  20 24 44 30 30 30 00 9b  |.....STA $D000..|
00000690  0e 9a 0b 4c 44 41 20 59  50 00 a6 0e a4 0b af 20  |...LDA YP...... |
000006a0  23 24 46 38 00 b2 0e a9  0b b0 41 20 23 24 30 32  |#$F8......A #$02|
000006b0  00 c0 0e b8 0b 53 54 41  20 24 44 30 30 31 00 ce  |.....STA $D001..|
000006c0  0e b9 0b 4c 44 41 20 24  44 30 31 30 00 d9 0e ba  |...LDA $D010....|
000006d0  0b af 20 23 24 46 43 00  e7 0e bc 0b 53 54 41 20  |.. #$FC.....STA |
000006e0  24 44 30 31 30 00 f4 0e  bd 0b 4c 44 41 20 23 24  |$D010.....LDA #$|
000006f0  39 32 00 02 0f be 0b 53  54 41 20 24 36 33 46 38  |92.....STA $63F8|
00000700  00 10 0f bf 0b 4c 44 41  20 24 44 30 31 35 00 1b  |.....LDA $D015..|
00000710  0f c0 0b af 20 23 24 46  43 00 27 0f c1 0b b0 41  |.... #$FC.'....A|
00000720  20 23 24 30 31 00 35 0f  c2 0b 53 54 41 20 24 44  | #$01.5...STA $D|
00000730  30 31 35 00 42 0f ca 0b  4c 44 41 20 23 24 30 31  |015.B...LDA #$01|
00000740  00 50 0f cb 0b 53 54 41  20 24 44 30 32 37 00 58  |.P...STA $D027.X|
00000750  0f cc 0b 52 54 53 00 6c  0f ce 0b 48 47 4c 41 53  |...RTS.l...HGLAS|
00000760  53 20 4c 44 58 20 23 24  39 33 00 7a 0f d0 0b 53  |S LDX #$93.z...S|
00000770  54 58 20 24 36 33 46 38  00 82 0f d2 0b 49 4e 58  |TX $63F8.....INX|
00000780  00 90 0f d4 0b 53 54 58  20 24 36 33 46 39 00 a1  |.....STX $63F9..|
00000790  0f d6 0b 4e 53 51 55 50  20 4c 44 41 20 58 50 00  |...NSQUP LDA XP.|
000007a0  af 0f e0 0b 53 54 41 20  24 44 30 30 30 00 bd 0f  |....STA $D000...|
000007b0  ea 0b 53 54 41 20 24 44  30 30 32 00 c8 0f f4 0b  |..STA $D002.....|
000007c0  4c 44 41 20 59 50 00 d6  0f fe 0b 53 54 41 20 24  |LDA YP.....STA $|
000007d0  44 30 30 31 00 e4 0f 08  0c 53 54 41 20 24 44 30  |D001.....STA $D0|
000007e0  30 33 00 f2 0f 12 0c 4c  44 41 20 24 44 30 31 30  |03.....LDA $D010|
000007f0  00 fd 0f 1c 0c af 20 23  24 46 43 00 07 10 26 0c  |...... #$FC...&.|
00000800  4c 53 52 20 41 00 0f 10  30 0c 43 4c 43 00 1b 10  |LSR A...0.CLC...|
00000810  3a 0c 41 44 43 20 58 50  42 00 25 10 44 0c 41 53  |:.ADC XPB.%.D.AS|
00000820  4c 20 41 00 2d 10 4e 0c  43 4c 43 00 39 10 58 0c  |L A.-.N.CLC.9.X.|
00000830  41 44 43 20 58 50 42 00  47 10 62 0c 53 54 41 20  |ADC XPB.G.b.STA |
00000840  24 44 30 31 30 00 54 10  6c 0c 4c 44 41 20 23 24  |$D010.T.l.LDA #$|
00000850  30 30 00 62 10 76 0c 53  54 41 20 24 44 30 32 37  |00.b.v.STA $D027|
00000860  00 6f 10 80 0c 4c 44 41  20 23 24 30 31 00 7d 10  |.o...LDA #$01.}.|
00000870  8a 0c 53 54 41 20 24 44  30 32 38 00 8b 10 94 0c  |..STA $D028.....|
00000880  4c 44 41 20 24 44 30 31  35 00 97 10 9e 0c b0 41  |LDA $D015......A|
00000890  20 23 24 30 33 00 a5 10  a8 0c 53 54 41 20 24 44  | #$03.....STA $D|
000008a0  30 31 35 00 b2 10 ab 0c  4c 44 41 20 48 4f 55 52  |015.....LDA HOUR|
000008b0  00 bf 10 ae 0c 42 4e 45  20 51 54 52 4f 00 cc 10  |.....BNE QTRO...|
000008c0  b2 0c 4c 44 41 20 23 24  39 30 00 da 10 bc 0c 53  |..LDA #$90.....S|
000008d0  54 41 20 24 36 33 46 38  00 e7 10 c6 0c 4c 44 41  |TA $63F8.....LDA|
000008e0  20 23 24 39 31 00 f5 10  d0 0c 53 54 41 20 24 36  | #$91.....STA $6|
000008f0  33 46 39 00 02 11 da 0c  51 54 52 4f 20 52 54 53  |3F9.....QTRO RTS|
00000900  00 19 11 e4 0c 3b 20 53  54 41 52 54 55 50 20 52  |.....; STARTUP R|
00000910  4f 55 54 49 4e 45 53 00  29 11 e6 0c 53 52 20 4c  |OUTINES.)...SR L|
00000920  44 41 20 23 24 38 42 00  37 11 ea 0c 53 54 41 20  |DA #$8B.7...STA |
00000930  24 44 30 31 31 00 45 11  ee 0c 4c 44 41 20 24 44  |$D011.E...LDA $D|
00000940  44 30 32 00 51 11 f0 0c  b0 41 20 23 24 30 32 00  |D02.Q....A #$02.|
00000950  5f 11 f2 0c 53 54 41 20  24 44 44 30 32 00 6d 11  |_...STA $DD02.m.|
00000960  f4 0c 4c 44 41 20 24 44  44 30 30 00 78 11 f8 0c  |..LDA $DD00.x...|
00000970  af 20 23 24 46 45 00 84  11 02 0d b0 41 20 23 24  |. #$FE......A #$|
00000980  30 32 00 92 11 0c 0d 53  54 41 20 24 44 44 30 30  |02.....STA $DD00|
00000990  00 9f 11 0f 0d 4c 44 41  20 23 24 30 30 00 ad 11  |.....LDA #$00...|
000009a0  12 0d 53 54 41 20 24 44  30 32 30 00 bb 11 14 0d  |..STA $D020.....|
000009b0  53 54 41 20 24 44 30 32  31 00 c8 11 16 0d 4c 44  |STA $D021.....LD|
000009c0  41 20 23 24 38 36 00 d6  11 20 0d 53 54 41 20 24  |A #$86... .STA $|
000009d0  44 30 31 38 00 e3 11 22  0d 4c 44 41 20 23 24 30  |D018...".LDA #$0|
000009e0  30 00 f1 11 25 0d 53 54  41 20 24 44 30 30 30 00  |0...%.STA $D000.|
000009f0  fe 11 26 0d 4c 44 41 20  23 24 30 42 00 0c 12 28  |..&.LDA #$0B...(|
00000a00  0d 53 54 41 20 24 44 30  30 31 00 19 12 2d 0d 4c  |.STA $D001...-.L|
00000a10  44 41 20 23 24 31 30 00  27 12 2e 0d 53 54 41 20  |DA #$10.'...STA |
00000a20  24 44 30 30 38 00 34 12  2f 0d 4c 44 41 20 23 24  |$D008.4./.LDA #$|
00000a30  33 41 00 42 12 30 0d 53  54 41 20 24 44 30 30 39  |3A.B.0.STA $D009|
00000a40  00 4f 12 31 0d 4c 44 41  20 23 24 31 30 00 5d 12  |.O.1.LDA #$10.].|
00000a50  32 0d 53 54 41 20 24 44  30 31 30 00 6a 12 33 0d  |2.STA $D010.j.3.|
00000a60  4c 44 41 20 23 24 30 31  00 78 12 34 0d 53 54 41  |LDA #$01.x.4.STA|
00000a70  20 24 44 30 32 39 00 86  12 35 0d 53 54 41 20 24  | $D029...5.STA $|
00000a80  44 30 32 42 00 93 12 36  0d 4c 44 41 20 23 24 30  |D02B...6.LDA #$0|
00000a90  30 00 a1 12 37 0d 53 54  41 20 24 44 30 32 41 00  |0...7.STA $D02A.|
00000aa0  ae 12 38 0d 4c 44 41 20  23 24 38 30 00 bc 12 39  |..8.LDA #$80...9|
00000ab0  0d 53 54 41 20 53 43 48  41 52 00 c9 12 3c 0d 4c  |.STA SCHAR...<.L|
00000ac0  44 41 20 23 24 30 31 00  d6 12 3d 0d 4c 44 58 20  |DA #$01...=.LDX |
00000ad0  23 24 30 38 00 de 12 3e  0d 54 41 59 00 ec 12 48  |#$08...>.TAY...H|
00000ae0  0d 4a 53 52 20 24 46 46  42 41 00 f9 12 52 0d 4c  |.JSR $FFBA...R.L|
00000af0  44 41 20 23 24 30 43 00  0a 13 5c 0d 4c 44 58 20  |DA #$0C...\.LDX |
00000b00  23 b3 45 47 52 54 58 54  00 1b 13 66 0d 4c 44 59  |#.EGRTXT...f.LDY|
00000b10  20 23 b1 45 47 52 54 58  54 00 29 13 7a 0d 4a 53  | #.EGRTXT.).z.JS|
00000b20  52 20 24 46 46 42 44 00  36 13 84 0d 4c 44 41 20  |R $FFBD.6...LDA |
00000b30  23 24 30 30 00 44 13 8e  0d 4a 53 52 20 24 46 46  |#$00.D...JSR $FF|
00000b40  44 35 00 51 13 8f 0d 4c  44 41 20 23 24 30 31 00  |D5.Q...LDA #$01.|
00000b50  5e 13 90 0d 4c 44 58 20  23 24 30 38 00 66 13 91  |^...LDX #$08.f..|
00000b60  0d 54 41 59 00 74 13 92  0d 4a 53 52 20 24 46 46  |.TAY.t...JSR $FF|
00000b70  42 41 00 81 13 93 0d 4c  44 41 20 23 24 30 38 00  |BA.....LDA #$08.|
00000b80  91 13 94 0d 4c 44 58 20  23 b3 45 43 54 58 54 00  |....LDX #.ECTXT.|
00000b90  a1 13 95 0d 4c 44 59 20  23 b1 45 43 54 58 54 00  |....LDY #.ECTXT.|
00000ba0  af 13 96 0d 4a 53 52 20  24 46 46 42 44 00 bc 13  |....JSR $FFBD...|
00000bb0  97 0d 4c 44 41 20 23 24  30 30 00 ca 13 98 0d 4a  |..LDA #$00.....J|
00000bc0  53 52 20 24 46 46 44 35  00 d7 13 99 0d 4c 44 41  |SR $FFD5.....LDA|
00000bd0  20 23 24 39 42 00 e5 13  9a 0d 53 54 41 20 24 44  | #$9B.....STA $D|
00000be0  30 31 31 00 f2 13 9b 0d  4c 44 41 20 23 24 30 30  |011.....LDA #$00|
00000bf0  00 00 14 9d 0d 53 54 41  20 42 55 54 4e 4f 00 0d  |.....STA BUTNO..|
00000c00  14 9f 0d 4c 44 41 20 23  24 39 32 00 1b 14 a2 0d  |...LDA #$92.....|
00000c10  53 54 41 20 24 36 33 46  43 00 23 14 ac 0d 53 45  |STA $63FC.#...SE|
00000c20  49 00 30 14 b6 0d 4c 44  41 20 23 24 30 30 00 3e  |I.0...LDA #$00.>|
00000c30  14 c0 0d 53 54 41 20 24  30 33 31 34 00 4b 14 ca  |...STA $0314.K..|
00000c40  0d 4c 44 41 20 23 24 43  30 00 59 14 d4 0d 53 54  |.LDA #$C0.Y...ST|
00000c50  41 20 24 30 33 31 35 00  61 14 de 0d 43 4c 49 00  |A $0315.a...CLI.|
00000c60  6e 14 e8 0d 4c 44 41 20  23 24 30 30 00 79 14 f2  |n...LDA #$00.y..|
00000c70  0d 53 54 41 20 58 50 00  86 14 fc 0d 53 54 41 20  |.STA XP.....STA |
00000c80  48 4f 55 52 00 93 14 06  0e 4c 44 41 20 23 24 38  |HOUR.....LDA #$8|
00000c90  30 00 9e 14 10 0e 53 54  41 20 59 50 00 ab 14 1a  |0.....STA YP....|
00000ca0  0e 4c 44 41 20 23 24 30  31 00 b7 14 24 0e 53 54  |.LDA #$01...$.ST|
00000cb0  41 20 58 50 42 00 c4 14  25 0e 4c 44 41 20 23 24  |A XPB...%.LDA #$|
00000cc0  31 43 00 d2 14 26 0e 53  54 41 20 24 44 30 31 35  |1C...&.STA $D015|
00000cd0  00 df 14 27 0e 4a 53 52  20 4c 45 46 54 00 ec 14  |...'.JSR LEFT...|
00000ce0  28 0e 4c 44 41 20 23 24  30 30 00 fa 14 29 0e 53  |(.LDA #$00...).S|
00000cf0  54 41 20 24 44 30 30 34  00 08 15 2a 0e 53 54 41  |TA $D004...*.STA|
00000d00  20 24 44 30 30 36 00 15  15 2b 0e 4c 44 41 20 23  | $D006...+.LDA #|
00000d10  24 44 39 00 23 15 2c 0e  53 54 41 20 24 44 30 30  |$D9.#.,.STA $D00|
00000d20  35 00 31 15 2d 0e 53 54  41 20 24 44 30 30 37 00  |5.1.-.STA $D007.|
00000d30  3e 15 2e 0e 4c 44 41 20  23 24 39 35 00 4c 15 30  |>...LDA #$95.L.0|
00000d40  0e 53 54 41 20 24 36 33  46 42 00 59 15 32 0e 4c  |.STA $63FB.Y.2.L|
00000d50  44 41 20 23 24 30 38 00  67 15 33 0e 53 54 41 20  |DA #$08.g.3.STA |
00000d60  24 44 30 31 43 00 74 15  34 0e 4c 44 41 20 23 24  |$D01C.t.4.LDA #$|
00000d70  31 38 00 82 15 35 0e 53  54 41 20 24 44 30 31 36  |18...5.STA $D016|
00000d80  00 98 15 37 0e 42 55 54  30 20 4a 53 52 20 42 55  |...7.BUT0 JSR BU|
00000d90  54 43 48 45 43 4b 00 a5  15 38 0e 4a 4d 50 20 42  |TCHECK...8.JMP B|
00000da0  55 54 30 00 c3 15 42 0e  45 47 52 54 58 54 20 54  |UT0...B.EGRTXT T|
00000db0  58 54 20 22 45 44 49 54  47 52 41 50 48 49 43 53  |XT "EDITGRAPHICS|
00000dc0  22 00 dc 15 44 0e 45 43  54 58 54 20 54 58 54 20  |"...D.ECTXT TXT |
00000dd0  22 45 44 49 54 43 4f 4c  53 22 00 e9 15 47 0e 42  |"EDITCOLS"...G.B|
00000de0  43 51 55 20 52 54 53 00  fd 15 4c 0e 42 55 54 43  |CQU RTS...L.BUTC|
00000df0  48 45 43 4b 20 4c 44 41  20 59 50 00 0a 16 56 0e  |HECK LDA YP...V.|
00000e00  43 4d 50 20 23 24 44 39  00 17 16 60 0e 42 43 43  |CMP #$D9...`.BCC|
00000e10  20 42 43 51 55 00 25 16  62 0e 4c 44 41 20 43 4c  | BCQU.%.b.LDA CL|
00000e20  49 43 4b 00 32 16 64 0e  42 45 51 20 42 43 51 55  |ICK.2.d.BEQ BCQU|
00000e30  00 3e 16 65 0e 4c 44 41  20 58 50 42 00 4b 16 66  |.>.e.LDA XPB.K.f|
00000e40  0e 42 4e 45 20 58 42 53  52 00 56 16 67 0e 4c 44  |.BNE XBSR.V.g.LD|
00000e50  41 20 58 50 00 63 16 68  0e 43 4d 50 20 23 24 32  |A XP.c.h.CMP #$2|
00000e60  38 00 70 16 69 0e 42 43  43 20 42 43 51 55 00 7e  |8.p.i.BCC BCQU.~|
00000e70  16 6c 0e 4c 44 41 20 24  44 30 31 30 00 89 16 6e  |.l.LDA $D010...n|
00000e80  0e af 20 23 24 46 33 00  97 16 70 0e 53 54 41 20  |.. #$F3...p.STA |
00000e90  24 44 30 31 30 00 a2 16  72 0e 4c 44 41 20 58 50  |$D010...r.LDA XP|
00000ea0  00 af 16 74 0e 43 4d 50  20 23 24 32 38 00 bc 16  |...t.CMP #$28...|
00000eb0  7e 0e 42 43 43 20 42 43  51 55 00 c9 16 92 0e 4a  |~.BCC BCQU.....J|
00000ec0  4d 50 20 42 43 4f 4b 00  d9 16 9c 0e 58 42 53 52  |MP BCOK.....XBSR|
00000ed0  20 4c 44 41 20 58 50 00  e6 16 a6 0e 43 4d 50 20  | LDA XP.....CMP |
00000ee0  23 24 34 34 00 f3 16 b0  0e 42 43 53 20 42 43 51  |#$44.....BCS BCQ|
00000ef0  55 00 01 17 b1 0e 4c 44  41 20 24 44 30 31 30 00  |U.....LDA $D010.|
00000f00  0d 17 b2 0e b0 41 20 23  24 30 43 00 1b 17 b3 0e  |.....A #$0C.....|
00000f10  53 54 41 20 24 44 30 31  30 00 2b 17 ba 0e 42 43  |STA $D010.+...BC|
00000f20  4f 4b 20 4c 44 41 20 58  50 00 37 17 bc 0e 4c 44  |OK LDA XP.7...LD|
00000f30  58 20 58 50 42 00 44 17  bf 0e 42 4e 45 20 42 43  |X XPB.D...BNE BC|
00000f40  54 43 00 4c 17 c4 0e 53  45 43 00 59 17 ce 0e 53  |TC.L...SEC.Y...S|
00000f50  42 43 20 23 24 32 38 00  6b 17 d8 0e 42 43 54 43  |BC #$28.k...BCTC|
00000f60  20 4c 44 58 20 23 24 46  46 00 79 17 e2 0e 42 43  | LDX #$FF.y...BC|
00000f70  4c 50 41 20 49 4e 58 00  81 17 ec 0e 53 45 43 00  |LPA INX.....SEC.|
00000f80  8e 17 f6 0e 53 42 43 20  23 24 31 38 00 9b 17 00  |....SBC #$18....|
00000f90  0f 43 4d 50 20 23 24 45  38 00 a9 17 0a 0f 42 43  |.CMP #$E8.....BC|
00000fa0  43 20 42 43 4c 50 41 00  b1 17 14 0f 54 58 41 00  |C BCLPA.....TXA.|
00000fb0  bd 17 1e 0f 4c 44 59 20  58 50 42 00 c9 17 28 0f  |....LDY XPB...(.|
00000fc0  42 45 51 20 4e 41 4f 00  d1 17 32 0f 43 4c 43 00  |BEQ NAO...2.CLC.|
00000fd0  de 17 3c 0f 41 44 43 20  23 24 30 39 00 f0 17 46  |..<.ADC #$09...F|
00000fe0  0f 4e 41 4f 20 53 54 41  20 42 55 54 4e 4f 00 fa  |.NAO STA BUTNO..|
00000ff0  17 50 0f 41 53 4c 20 41  00 04 18 5a 0f 41 53 4c  |.P.ASL A...Z.ASL|
00001000  20 41 00 0e 18 64 0f 41  53 4c 20 41 00 1a 18 6e  | A...d.ASL A...n|
00001010  0f 53 54 41 20 24 30 32  00 22 18 78 0f 43 4c 43  |.STA $02.".x.CLC|
00001020  00 2e 18 82 0f 41 44 43  20 24 30 32 00 3a 18 8c  |.....ADC $02.:..|
00001030  0f 41 44 43 20 24 30 32  00 47 18 91 0f 41 44 43  |.ADC $02.G...ADC|
00001040  20 23 24 32 38 00 55 18  96 0f 53 54 41 20 24 44  | #$28.U...STA $D|
00001050  30 30 34 00 63 18 a0 0f  53 54 41 20 24 44 30 30  |004.c...STA $D00|
00001060  36 00 70 18 aa 0f 4c 44  41 20 23 24 39 36 00 78  |6.p...LDA #$96.x|
00001070  18 ac 0f 43 4c 43 00 86  18 b0 0f 41 44 43 20 42  |...CLC.....ADC B|
00001080  55 54 4e 4f 00 94 18 b4  0f 53 54 41 20 24 36 33  |UTNO.....STA $63|
00001090  46 41 00 9c 18 be 0f 50  4c 41 00 a4 18 c8 0f 50  |FA.....PLA.....P|
000010a0  4c 41 00 b1 18 d2 0f 4c  44 41 20 23 24 43 46 00  |LA.....LDA #$CF.|
000010b0  be 18 dc 0f 53 54 41 20  56 45 aa 32 00 cc 18 e6  |....STA VE.2....|
000010c0  0f 4c 44 41 20 42 55 54  4e 4f 00 d6 18 f0 0f 41  |.LDA BUTNO.....A|
000010d0  53 4c 20 41 00 de 18 f3  0f 43 4c 43 00 eb 18 f6  |SL A.....CLC....|
000010e0  0f 41 44 43 20 23 24 38  30 00 f8 18 fa 0f 53 54  |.ADC #$80.....ST|
000010f0  41 20 56 45 aa 31 00 06  19 fc 0f 4c 44 41 20 23  |A VE.1.....LDA #|
00001100  b1 56 45 43 00 0e 19 fe  0f 50 48 41 00 1e 19 00  |.VEC.....PHA....|
00001110  10 4c 44 41 20 23 b3 56  45 43 ab 31 00 26 19 02  |.LDA #.VEC.1.&..|
00001120  10 50 48 41 00 39 19 04  10 56 45 20 4a 4d 50 20  |.PHA.9...VE JMP |
00001130  28 24 30 30 30 30 29 00  4a 19 0e 10 56 45 43 20  |($0000).J...VEC |
00001140  4c 44 41 20 56 45 aa 31  00 52 19 18 10 43 4c 43  |LDA VE.1.R...CLC|
00001150  00 5f 19 22 10 41 44 43  20 23 24 32 30 00 6c 19  |._.".ADC #$20.l.|
00001160  2c 10 53 54 41 20 50 48  aa 31 00 79 19 36 10 4c  |,.STA PH.1.y.6.L|
00001170  44 41 20 23 24 43 46 00  86 19 40 10 53 54 41 20  |DA #$CF...@.STA |
00001180  50 48 aa 32 00 99 19 4a  10 50 48 20 4a 4d 50 20  |PH.2...J.PH JMP |
00001190  28 24 30 30 30 30 29 00  a5 19 10 27 42 49 31 20  |($0000)....'BI1 |
000011a0  52 54 53 00 b1 19 11 27  42 49 32 20 52 54 53 00  |RTS....'BI2 RTS.|
000011b0  bd 19 12 27 42 49 33 20  52 54 53 00 c9 19 13 27  |...'BI3 RTS....'|
000011c0  42 49 34 20 52 54 53 00  d5 19 14 27 42 49 35 20  |BI4 RTS....'BI5 |
000011d0  52 54 53 00 e1 19 15 27  42 49 36 20 52 54 53 00  |RTS....'BI6 RTS.|
000011e0  ed 19 16 27 42 49 37 20  52 54 53 00 f9 19 17 27  |...'BI7 RTS....'|
000011f0  42 49 38 20 52 54 53 00  05 1a 18 27 42 49 39 20  |BI8 RTS....'BI9 |
00001200  52 54 53 00 11 1a 19 27  42 49 41 20 52 54 53 00  |RTS....'BIA RTS.|
00001210  1d 1a 1a 27 42 49 42 20  52 54 53 00 29 1a 1b 27  |...'BIB RTS.)..'|
00001220  42 49 43 20 52 54 53 00  35 1a 24 27 42 54 31 20  |BIC RTS.5.$'BT1 |
00001230  4e 4f 50 00 41 1a 25 27  42 54 32 20 4e 4f 50 00  |NOP.A.%'BT2 NOP.|
00001240  4d 1a 26 27 42 54 33 20  4e 4f 50 00 59 1a 27 27  |M.&'BT3 NOP.Y.''|
00001250  42 54 34 20 4e 4f 50 00  65 1a 28 27 42 54 35 20  |BT4 NOP.e.('BT5 |
00001260  4e 4f 50 00 71 1a 29 27  42 54 36 20 4e 4f 50 00  |NOP.q.)'BT6 NOP.|
00001270  7d 1a 2a 27 42 54 37 20  4e 4f 50 00 89 1a 2b 27  |}.*'BT7 NOP...+'|
00001280  42 54 38 20 4e 4f 50 00  95 1a 2c 27 42 54 39 20  |BT8 NOP...,'BT9 |
00001290  4e 4f 50 00 a1 1a 2d 27  42 54 41 20 4e 4f 50 00  |NOP...-'BTA NOP.|
000012a0  ad 1a 2e 27 42 54 42 20  4e 4f 50 00 b9 1a 2f 27  |...'BTB NOP.../'|
000012b0  42 54 43 20 4e 4f 50 00  c6 1a 30 27 4a 4d 50 20  |BTC NOP...0'JMP |
000012c0  42 55 54 30 00 d8 1a 18  f6 3b 20 56 45 43 a4 52  |BUT0.....; VEC.R|
000012d0  20 54 41 42 4c 45 00 e4  1a 22 f6 ac b2 24 43 46  | TABLE..."...$CF|
000012e0  38 30 00 0a 1b 2c f6 54  58 54 20 b3 42 49 31 2c  |80...,.TXT .BI1,|
000012f0  b1 42 49 31 2c b3 42 49  32 2c b1 42 49 32 2c b3  |.BI1,.BI2,.BI2,.|
00001300  42 49 33 2c b1 42 49 33  00 30 1b 36 f6 54 58 54  |BI3,.BI3.0.6.TXT|
00001310  20 b3 42 49 34 2c b1 42  49 34 2c b3 42 49 35 2c  | .BI4,.BI4,.BI5,|
00001320  b1 42 49 35 2c b3 42 49  36 2c b1 42 49 36 00 56  |.BI5,.BI6,.BI6.V|
00001330  1b 40 f6 54 58 54 20 b3  42 49 37 2c b1 42 49 37  |.@.TXT .BI7,.BI7|
00001340  2c b3 42 49 38 2c b1 42  49 38 2c b3 42 49 39 2c  |,.BI8,.BI8,.BI9,|
00001350  b1 42 49 39 00 7c 1b 4a  f6 54 58 54 20 b3 42 49  |.BI9.|.J.TXT .BI|
00001360  41 2c b1 42 49 41 2c b3  42 49 42 2c b1 42 49 42  |A,.BIA,.BIB,.BIB|
00001370  2c b3 42 49 43 2c b1 42  49 43 00 82 1b 54 f6 3b  |,.BIC,.BIC...T.;|
00001380  00 8e 1b 5e f6 ac b2 24  43 46 41 30 00 b4 1b 68  |...^...$CFA0...h|
00001390  f6 54 58 54 20 b3 42 54  31 2c b1 42 54 31 2c b3  |.TXT .BT1,.BT1,.|
000013a0  42 54 32 2c b1 42 54 32  2c b3 42 54 33 2c b1 42  |BT2,.BT2,.BT3,.B|
000013b0  54 33 00 da 1b 72 f6 54  58 54 20 b3 42 54 34 2c  |T3...r.TXT .BT4,|
000013c0  b1 42 54 34 2c b3 42 54  35 2c b1 42 54 35 2c b3  |.BT4,.BT5,.BT5,.|
000013d0  42 54 36 2c b1 42 54 36  00 00 1c 7c f6 54 58 54  |BT6,.BT6...|.TXT|
000013e0  20 b3 42 54 37 2c b1 42  54 37 2c b3 42 54 38 2c  | .BT7,.BT7,.BT8,|
000013f0  b1 42 54 38 2c b3 42 54  39 2c b1 42 54 39 00 26  |.BT8,.BT9,.BT9.&|
00001400  1c 86 f6 54 58 54 20 b3  42 54 41 2c b1 42 54 41  |...TXT .BTA,.BTA|
00001410  2c b3 42 54 42 2c b1 42  54 42 2c b3 42 54 43 2c  |,.BTB,.BTB,.BTC,|
00001420  b1 42 54 43 00 00 00                              |.BTC...|
00001427