home *** CD-ROM | disk | FTP | other *** search
/ 64'er 1988 March / 64er_Magazin_88-03_1988_Markt__Technik_de_Side_A.d64 / raum.fse < prev    next >
Text File  |  2022-10-26  |  20KB  |  908 lines

  1.  
  2.  ;  3d-life
  3.  ;  geniax
  4.  
  5.  ;            *=$0801
  6.  ; .byte 27,8
  7.  ; .byte $c3,7
  8.  ; .byte $9e,' 2100 geniax:3d-life'
  9.  ; .byte 0,0,0
  10.  ;            *=$0834
  11.  
  12.  
  13.                *=$c000
  14.  
  15.                kx=$61
  16.                ky=$62
  17.                kz=$63
  18.                meihe=$64
  19.                mebene=$66
  20.                kubus=$fb  ;hires-adr.
  21.                quader=$fd ;setzen/invrt
  22.  
  23.                jmp main
  24.  
  25.  hires         lda $d011
  26.                eor #32
  27.                sta $d011
  28.                lda $d018
  29.                eor #08
  30.                sta $d018
  31.                rts
  32.  
  33.  hex           cmp #'0'
  34.                bcc fehler
  35.                cmp #'9'+1
  36.                bcs sechs
  37.                sec
  38.                sbc #'0'
  39.                clc
  40.                rts
  41.  sechs         cmp #'a'
  42.                bcc fehler
  43.                cmp #'f'+1
  44.                bcs fehler
  45.                sec
  46.                sbc #55
  47.                clc
  48.                rts
  49.  fehler        sec
  50.                rts
  51.  
  52.  map           lda #00
  53.                ldx #$20
  54.                sta $fb
  55.                stx $fc
  56.                ldy #00
  57.                tya
  58.                sta ($fb),y
  59.                iny
  60.                .byte $d0,251
  61.                inc $fc
  62.                ldx $fc
  63.                cpx #$40
  64.                .byte $d0,243
  65.                jsr gitter
  66.                rts
  67.  
  68.  video         lda #00
  69.                ldx #04
  70.                sta $fb
  71.                stx $fc
  72.                ldy #00
  73.                lda #$70
  74.                sta ($fb),y
  75.                iny
  76.                .byte $d0,251
  77.                inc $fc
  78.                ldx $fc
  79.                cpx #08
  80.                .byte $d0,243
  81.                lda #14
  82.                sta $0400
  83.                sta $0401
  84.                sta $0402
  85.                rts
  86.  
  87.  null          lda #00
  88.                ldx #$ce
  89.                sta $fb
  90.                stx $fc
  91.                ldy #00
  92.  nu0           sta ($fb),y
  93.                iny
  94.                bne nu0
  95.                inc $fc
  96.                ldx $fc
  97.                cpx #$d0
  98.                bne nu0
  99.                rts
  100.  
  101.  adresse       lda #$a8
  102.                ldx #$3e
  103.                sta $fb
  104.                stx $fc
  105.                clc
  106.                lda kx
  107.                adc ky
  108.                adc kz
  109.                tax
  110.                beq ad1-4
  111.  
  112.  ad0           lda $fb
  113.                sec
  114.                sbc #64
  115.                sta $fb
  116.                lda $fc
  117.                sbc #01
  118.                sta $fc
  119.                dex
  120.                bne ad0
  121.  
  122.                ldx ky
  123.                beq ad2-4
  124.  ad1           lda $fb
  125.                sec
  126.                sbc #16
  127.                sta $fb
  128.                lda $fc
  129.                sbc #00
  130.                sta $fc
  131.                dex
  132.                bne ad1
  133.  
  134.                ldx kx
  135.                beq minus-1
  136.  ad2           lda $fb
  137.                clc
  138.                adc #16
  139.                sta $fb
  140.                lda $fc
  141.                adc #00
  142.                sta $fc
  143.                dex
  144.                bne ad2
  145.                rts
  146.  
  147.  minus         lda quader
  148.                sec
  149.                sbc #64
  150.                sta quader
  151.                lda quader+1
  152.                sbc #01
  153.                sta quader+1
  154.                rts
  155.  
  156.  plus          lda quader
  157.                clc
  158.                adc #64
  159.                sta quader
  160.                lda quader+1
  161.                adc #01
  162.                sta quader+1
  163.                rts
  164.  
  165.  fill          lda $fb
  166.                ldx $fc
  167.                sec
  168.                sbc #16
  169.                sta quader
  170.                .byte $b0,1
  171.                dex
  172.                stx quader+1
  173.  
  174.                ldy #00
  175.  fi0           lda inv1,y
  176.                eor #255
  177.                and (quader),y
  178.                ora tab1,y
  179.                sta (quader),y
  180.                iny
  181.                cpy #32
  182.                bne fi0
  183.                jsr minus
  184.  
  185.                ldy #00
  186.  fi1           lda tab2,y
  187.                sta (quader),y
  188.                iny
  189.                cpy #32
  190.                bne fi1
  191.                jsr minus
  192.  
  193.                ldy #00
  194.  fi2           lda inv3,y
  195.                eor #255
  196.                and (quader),y
  197.                ora tab3,y
  198.                sta (quader),y
  199.                iny
  200.                cpy #32
  201.                bne fi2
  202.                rts
  203.  
  204.  tab1    .byte 192,112,28,7,1,0,0,0
  205.          .byte 1,1,1,1,193,113,29,7
  206.          .byte 128,128,128,128
  207.          .byte 131,142,184,224
  208.          .byte 3,14,56,224,128,0,0,0
  209.  
  210.  tab2    .byte 255,240,156,135
  211.          .byte 129,128,128,128
  212.          .byte 255,0,0,255,255,112
  213.          .byte 28,7
  214.          .byte 255,0,0,255,255,14,56,224
  215.          .byte 255,15,57,225,129,1,1,1
  216.  
  217.  tab3    .byte 0,0,0,0,3,14,56,255
  218.          .byte 3,14,56,255,255,0,0,255
  219.          .byte 192,112,28,255,255
  220.          .byte 0,0,255
  221.          .byte 0,0,0,0,192,112,28,255
  222.  
  223.  invert        lda $fb
  224.                ldx $fc
  225.                sec
  226.                sbc #16
  227.                sta quader
  228.                .byte $b0,1
  229.                dex
  230.                stx quader+1
  231.  
  232.                ldy #00
  233.  in0           lda (quader),y
  234.                eor inv1,y
  235.                sta (quader),y
  236.                iny
  237.                cpy #32
  238.                bne in0
  239.                jsr minus
  240.  
  241.                ldy #00
  242.  in1           lda (quader),y
  243.                eor inv2,y
  244.                sta (quader),y
  245.                iny
  246.                cpy #32
  247.                bne in1
  248.                jsr minus
  249.  
  250.                ldy #00
  251.  in2           lda (quader),y
  252.                eor inv3,y
  253.                sta (quader),y
  254.                iny
  255.                cpy #32
  256.                bne in2
  257.                rts
  258.  
  259.  inv1    .byte 255,127,31,7,1,0,0,0
  260.          .byte 255,255,255,255
  261.          .byte 255,127,31,7
  262.          .byte 255,255,255,255
  263.          .byte 255,254,248,224
  264.          .byte 255,254,248,224,128,0,0,0
  265.  
  266.  inv2    .byte 255,255,255,255
  267.          .byte 255,255,255,255
  268.          .byte 255,255,255,255
  269.          .byte 255,255,255,255
  270.          .byte 255,255,255,255
  271.          .byte 255,255,255,255
  272.          .byte 255,255,255,255
  273.          .byte 255,255,255,255
  274.  
  275.  inv3 .byte 0,0,0,0,3,15,63,255
  276.      .byte 3,15,63,255,255,255,255,255
  277.      .byte 192,240,252
  278.      .byte 255,255,255,255,255
  279.      .byte 0,0,0,0,192,240,252,255
  280.  
  281.  
  282.  
  283.  tafel    lda #<text
  284.           ldx #>text
  285.           sta $7a
  286.           stx $7b
  287.  
  288.           lda #00
  289.           sta $d021
  290.           sta $d020
  291.  
  292.           ldy #00
  293.  ta0      lda ($7a),y
  294.           .byte $d0,1
  295.           rts
  296.           jsr $ffd2
  297.           iny
  298.           .byte $d0,2
  299.           inc $7b
  300.           jmp ta0
  301.  
  302.  text .byte 147,''
  303.       .byte '          '
  304.       .byte 'U{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}I',13
  305.       .byte '          '
  306.       .byte 'B  life  im  raum B',13
  307.       .byte '          '
  308.       .byte 'J{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}K',13
  309.       .byte '          '
  310.       .byte 'U{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}I',13
  311.       .byte '          '
  312.       .byte 'B   michael pal   B',13
  313.       .byte '          '
  314.       .byte 'B                 B',13
  315.       .byte '          '
  316.       .byte 'B      1987       B',13
  317.       .byte '          '
  318.       .byte 'J{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}K',13
  319.       .byte ''
  320.       .byte '  mit [return] springt man'
  321.       .byte '  in den ',13
  322.       .byte '  editiermodus und',13
  323.       .byte '  bewegt den 3d-cursor mit'
  324.       .byte 13,'  [right],[down],[^].'
  325.       .byte 13,'  [space] siedelt an.'
  326.       .byte 13,'  mit [return] verl'
  327.       .byte 'aesst man den modus.',13
  328.       .byte '  [space] loest die'
  329.       .byte '  simulation aus.'
  330.       .byte 13,'  [x]:basic,[s]:run.'
  331.       .byte 13,13,'  1) life 4555,'
  332.       .byte '  2) life 5766  x)  ?'
  333.       .byte 00
  334.  siedeln      jsr null
  335.               jsr map
  336.               lda #06
  337.               ldx #00
  338.               sta kx
  339.               sta ky
  340.               stx kz
  341.               jsr adresse
  342.               jsr invert
  343.  
  344.               lda #$ce
  345.               sta meihe+1
  346.               sta mebene+1
  347.               lda #42
  348.               sta meihe
  349.               sta mebene
  350.  
  351.  soop         jsr show
  352.               jsr $ffe4
  353.               beq soop+3
  354.               and #127
  355.               cmp #''       ;y-
  356.               beq yminus
  357.               cmp #''       ;x-
  358.               beq xminus
  359.               cmp #' '       ;zelle
  360.               beq zelle
  361.               cmp #'^'       ;z+
  362.               beq zplus
  363.               cmp #13        ;ende
  364.               bne soop
  365.               jsr invert
  366.               jmp moop       ;hauptschl.
  367.  
  368.  yminus       lda ky
  369.               beq xminus
  370.               dec ky
  371.               jsr invert
  372.               lda $fb
  373.               clc
  374.               adc #80
  375.               sta $fb
  376.               lda $fc
  377.               adc #01
  378.               sta $fc
  379.               jsr invert
  380.               jmp soop
  381.  
  382.  xminus       lda kx
  383.               beq zplus
  384.               dec kx
  385.               jsr invert
  386.               lda #06
  387.               sta ky
  388.               jsr adresse
  389.               lda meihe
  390.               sec
  391.               sbc #07
  392.               sta meihe
  393.               lda meihe+1
  394.               sbc #00
  395.               sta meihe+1
  396.               jsr invert
  397.               jmp soop
  398.  
  399.  zplus        lda kz
  400.               cmp #09
  401.               beq soop
  402.               jsr invert
  403.               inc kz
  404.               lda #6
  405.               sta kx
  406.               sta ky
  407.               jsr adresse
  408.               lda mebene
  409.               clc
  410.               adc #49
  411.               sta mebene
  412.               lda mebene+1
  413.               adc #00
  414.               sta mebene+1
  415.               lda mebene
  416.               ldx mebene+1
  417.               sta meihe
  418.               stx meihe+1
  419.               jsr invert
  420.               jmp soop
  421.  
  422.  zelle        jsr invert
  423.               jsr fill
  424.               jsr invert
  425.               lda #65
  426.               sta $d404
  427.               lda #64
  428.               sta $d404
  429.               ldy ky
  430.               lda #128
  431.               sta (meihe),y
  432.               jmp yminus
  433.               ;========
  434.  
  435.               ebene=$64
  436.               matrix=$66
  437.               ebene1=$68       ;!
  438.               matrix1=$6a      ;!
  439.  
  440.  sieben       .byte 0,7,14,21,28,35,42
  441.  
  442.  con          lda (matrix1),y
  443.               .byte $10,2
  444.               inc $ff
  445.               rts
  446.  
  447.  reihe        ldy ky
  448.               .byte $d0,2
  449.               ldy #07
  450.               dey
  451.               jsr con
  452.               ldy ky
  453.               jsr con
  454.               ldy ky
  455.               cpy #06
  456.               .byte $d0,2
  457.               ldy #255
  458.               iny
  459.               jsr con
  460.               rts
  461.  
  462.  flaeche      ldx kx
  463.               lda sieben,x
  464.               clc
  465.               adc ebene1
  466.               sta matrix1
  467.               lda ebene1+1
  468.               adc #00
  469.               sta matrix1+1
  470.               jsr reihe
  471.  
  472.               lda kx
  473.               bne fl0
  474.  
  475.               lda ebene1
  476.               clc
  477.               adc #42
  478.               sta matrix1
  479.               lda ebene1+1
  480.               adc #00
  481.               sta matrix1+1
  482.               jmp sub
  483.  fl0          ldx kx
  484.               dex
  485.               lda sieben,x
  486.               clc
  487.               adc ebene1
  488.               sta matrix1
  489.               lda ebene1+1
  490.               adc #00
  491.               sta matrix1+1
  492.  
  493.  sub          jsr reihe
  494.                               ;oben
  495.               lda kx
  496.               cmp #06
  497.               bne fl1
  498.               lda ebene1
  499.               ldx ebene1+1
  500.               sta matrix1
  501.               stx matrix1+1
  502.               jmp supra
  503.  fl1          ldx kx
  504.               inx
  505.               lda sieben,x
  506.               clc
  507.               adc ebene1
  508.               sta matrix1
  509.               lda ebene1+1
  510.               adc #00
  511.               sta matrix1+1
  512.  supra        jsr reihe
  513.  
  514.               rts
  515.               ;====
  516.  
  517.  gen          lda #$ce
  518.               sta ebene+1
  519.               sta matrix+1
  520.               lda #00
  521.               sta ebene
  522.               sta matrix
  523.               sta kx
  524.               sta ky
  525.               sta kz
  526.  
  527.  goop         lda #00
  528.               sta $ff
  529.               lda ebene
  530.               ldx ebene+1
  531.               sta ebene1
  532.               stx ebene1+1
  533.               jsr flaeche
  534.               lda kz
  535.               bne go1
  536.               lda #185
  537.               sta ebene1
  538.               lda #$cf
  539.               sta ebene1+1
  540.               jsr flaeche
  541.               jmp oben
  542.  go1          lda ebene
  543.               sec
  544.               sbc #49
  545.               sta ebene1
  546.               lda ebene+1
  547.               sbc #00
  548.               sta ebene1+1
  549.               jsr flaeche
  550.  oben         lda kz
  551.               cmp #09
  552.               bne go2
  553.               lda #00
  554.               ldx #$ce
  555.               sta ebene1
  556.               stx ebene1+1
  557.               jsr flaeche
  558.               jmp go3
  559.  go2          lda ebene
  560.               clc
  561.               adc #49
  562.               sta ebene1
  563.               lda ebene+1
  564.               adc #00
  565.               sta ebene1+1
  566.               jsr flaeche
  567.  
  568.  go3          ldy ky
  569.               lda (matrix),y
  570.               .byte $10,2
  571.               dec $ff
  572.               lda $ff
  573.               ora (matrix),y
  574.               sta (matrix),y
  575.  
  576.               inc ky
  577.               lda ky
  578.               cmp #07
  579.               .byte $f0,3
  580.               jmp goop
  581.  
  582.               lda #00
  583.               sta ky
  584.               inc kx
  585.               lda matrix
  586.               clc
  587.               adc #07
  588.               sta matrix
  589.               lda matrix+1
  590.               adc #00
  591.               sta matrix+1
  592.               lda kx
  593.               cmp #7
  594.               .byte $f0,3
  595.               jmp goop
  596.  
  597.               lda #00
  598.               sta kx
  599.               inc kz
  600.               lda ebene
  601.               clc
  602.               adc #49
  603.               sta ebene
  604.               lda ebene+1
  605.               adc #00
  606.               sta ebene+1
  607.               lda ebene
  608.               ldx ebene+1
  609.               sta matrix
  610.               stx matrix+1
  611.               lda kz
  612.               cmp #10
  613.               .byte $f0,3
  614.               jmp goop
  615.  
  616.  deut         lda #00
  617.               ldx #$ce
  618.               sta $fb
  619.               stx $fc
  620.               ldy #00
  621.  
  622.  doop         lda ($fb),y
  623.               bmi lebt
  624.               cmp $59
  625.               bcc stirbt
  626.               lda $5a
  627.               cmp ($fb),y
  628.               bcc stirbt
  629.               jmp lebt1
  630.  lebt         and #127
  631.               sta $ff
  632.               cmp $57
  633.               bcc stirbt
  634.               lda $58
  635.               cmp $ff
  636.               bcc stirbt
  637.  
  638.  lebt1        lda #128
  639.               sta ($fb),y
  640.               jmp weiter
  641.  stirbt       lda #00
  642.               sta ($fb),y
  643.  
  644.  weiter       iny
  645.               bne doop
  646.               inc $fc
  647.               ldx $fc
  648.               cpx #$d0
  649.               bne doop
  650.  
  651.               ;---
  652.               jsr map
  653.  grafik       lda #06
  654.               ldx #00
  655.               sta kx
  656.               sta ky
  657.               stx kz
  658.               lda #42
  659.               ldx #$ce
  660.               sta mebene
  661.               sta meihe
  662.               stx meihe+1
  663.               stx mebene+1
  664.               jsr adresse
  665.  
  666.  groop        ldy ky
  667.               lda (meihe),y
  668.               .byte $10,3
  669.               jsr fill
  670.  
  671.               lda ky
  672.               beq xdekr
  673.               lda $fb
  674.               clc
  675.               adc #80
  676.               sta $fb
  677.               lda $fc
  678.               adc #01
  679.               sta $fc
  680.               dec ky
  681.               jmp groop
  682.  
  683.  xdekr        lda kx
  684.               beq zinkr
  685.               lda #6
  686.               sta ky
  687.               dec kx
  688.               jsr adresse
  689.               lda meihe
  690.               sec
  691.               sbc #07
  692.               sta meihe    ;@@
  693.               lda meihe+1
  694.               sbc #00
  695.               sta meihe+1
  696.               jmp groop
  697.  
  698.  zinkr        lda kz
  699.               cmp #09
  700.               .byte $d0,13
  701.               lda #65
  702.               sta $d404
  703.               lda #64
  704.               sta $d404
  705.               jmp moop
  706.  
  707.               inc kz
  708.               lda #6
  709.               sta kx
  710.               sta ky
  711.               jsr adresse
  712.               lda mebene
  713.               clc
  714.               adc #49
  715.               sta mebene
  716.               lda mebene+1
  717.               adc #00
  718.               sta mebene+1
  719.               lda mebene
  720.               ldx mebene+1
  721.               sta meihe
  722.               stx meihe+1
  723.               jmp groop
  724.  
  725.  anzeige      asl
  726.               asl
  727.               asl
  728.               clc
  729.               adc #$80
  730.               sta $f3
  731.               lda #$d1
  732.               adc #00
  733.               sta $f4
  734.               sei
  735.               lda $01
  736.               and #251
  737.               sta $01
  738.               ldy #00
  739.  aoop         lda ($f3),y
  740.               sta ($fd),y
  741.               iny
  742.               cpy #08
  743.               bne aoop
  744.               lda #$37
  745.               sta $01
  746.               cli
  747.               rts
  748.  
  749.  show         lda #00
  750.               ldx #$20
  751.               sta $fd
  752.               stx $fe
  753.               lda kx
  754.               jsr anzeige
  755.               lda #08
  756.               sta $fd
  757.               lda ky
  758.               jsr anzeige
  759.               lda #16
  760.               sta $fd
  761.               lda kz
  762.               jsr anzeige
  763.               rts
  764.  
  765.   data  .byte 0,0,0,0,3,14,56,224
  766.         .byte 3,14,56,224,128,0,0,0
  767.         .byte 192,112,28,7,1,0,0,0
  768.         .byte 0,0,0,0,192,112,28,7
  769.  
  770.  dat    .byte 192,112,28,7,1,0,0,0
  771.         .byte 0,0,0,0,192,112,28,7
  772.         .byte 0,0,0,0,3,14,56,224
  773.         .byte 3,14,56,224,128,0,0,0
  774.  
  775.  
  776.  fleck        lda $fb
  777.               ldx $fc
  778.               sec
  779.               sbc #16
  780.               .byte $b0,1
  781.               dex
  782.               sta $fd
  783.               stx $fe
  784.               ldy #00
  785.  foop         lda dat,y
  786.               sta ($fd),y
  787.               iny
  788.               cpy #32
  789.               bne foop
  790.               jsr minus
  791.               ldy #00
  792.  foop1        lda data,y
  793.               sta ($fd),y
  794.               iny
  795.               cpy #32
  796.               bne foop1
  797.               rts
  798.  
  799.  gitter       lda #00
  800.               sta kx
  801.               sta ky
  802.               sta kz
  803.               jsr adresse
  804.  
  805.  gitoop       jsr fleck
  806.               inc ky
  807.               lda $fb
  808.               sec
  809.               sbc #80
  810.               sta $fb
  811.               lda $fc
  812.               sbc #01
  813.               sta $fc
  814.               lda ky
  815.               cmp #07
  816.               bne gitoop
  817.  
  818.               inc kx
  819.               lda #00
  820.               sta ky
  821.               jsr adresse
  822.               lda kx
  823.               cmp #07
  824.               bne gitoop
  825.               rts
  826.               ;---
  827.  main         jsr tafel
  828.               jsr null
  829.               ldx #00
  830.               lda #00
  831.  moop0        sta $d400,x
  832.               inx
  833.               cpx #24
  834.               bne moop0
  835.               lda #06
  836.               sta $d401
  837.               lda #$11
  838.               sta $d405
  839.               lda #$a7
  840.               sta $d406
  841.               lda #10
  842.               sta $d418
  843.               lda #80
  844.               ldx #04
  845.               sta $d402
  846.               stx $d403
  847.               lda #4
  848.               ldx #5
  849.               sta $57
  850.               stx $58
  851.               stx $59
  852.               stx $5a
  853.  
  854.               jsr $ffe4
  855.               .byte $f0,251
  856.               cmp #'1'
  857.               beq moop1
  858.               cmp #'2'
  859.               bne kenn
  860.               lda #5
  861.               ldx #7
  862.               ldy #6
  863.               sta $57
  864.               stx $58
  865.               sty $59
  866.               sty $5a
  867.               jmp moop1
  868.  
  869.  kenn         lda #13
  870.               jsr $ffd2
  871.               jsr $a560
  872.               ldx #00
  873.  koop         lda $0200,x
  874.               jsr hex
  875.               bcs kenn
  876.               sta $57,x
  877.               inx
  878.               cpx #04
  879.               bne koop
  880.  
  881.  moop1        jsr hires
  882.               jsr map
  883.               jsr video
  884.  moop         jsr $ffe4
  885.               beq moop
  886.               cmp #'x'
  887.               bne mo
  888.               jsr hires
  889.               lda #147
  890.               jsr $ffd2
  891.               ldx #$ff
  892.               jmp ($0300)
  893.  mo           cmp #'s'
  894.               .byte $d0,6
  895.               jsr hires
  896.               jmp main
  897.               cmp #13
  898.               .byte $d0,3
  899.               jmp siedeln
  900.               cmp #32
  901.               bne moop
  902.               jmp gen
  903.  
  904.               .end
  905.  
  906.  
  907.  
  908.