-
Notifications
You must be signed in to change notification settings - Fork 0
/
x_scroll.asm
807 lines (787 loc) · 17.8 KB
/
x_scroll.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
processor 6502
org $801
StartBlock801:
; Starting new memory block at $801
.byte $b ; lo byte of next line
.byte $8 ; hi byte of next line
.byte $0a, $00 ; line 10 (lo, hi)
.byte $9e, $20 ; SYS token and a space
.byte $32,$30,$36,$34
.byte $00, $00, $00 ; end of program
; Ending memory block at $801
EndBlock801:
org $810
StartBlock810:
; Starting new memory block at $810
x_scroll
; LineNumber: 261
jmp block1
; LineNumber: 34
; LineNumber: 35
; LineNumber: 37
from_ptr = $02
; LineNumber: 37
to_ptr = $04
; LineNumber: 37
screen_base_ptr = $08
; LineNumber: 37
backbuffer_base_ptr = $16
; LineNumber: 37
map_ptr = $0B
; LineNumber: 39
map_column dc.w $00
; LineNumber: 41
current_screen dc.b $00
; LineNumber: 41
i dc.b $00
; LineNumber: 42
row dc.b $00
; LineNumber: 42
numlines dc.b $00
; LineNumber: 42
startline dc.b $00
; LineNumber: 44
scroll dc.b $07
; NodeProcedureDecl -1
; *********** Defining procedure : DrawColumn39ToBack
; Procedure type : User-defined procedure
rts
end_procedure_DrawColumn39ToBack
; NodeProcedureDecl -1
; *********** Defining procedure : init16x8mul
; Procedure type : Built-in function
; Requires initialization : no
mul16x8_num1Hi = $4c
mul16x8_num1 = $4e
mul16x8_num2 = $50
mul16x8_procedure
lda #$00
ldy #$00
beq mul16x8_enterLoop
mul16x8_doAdd
clc
adc mul16x8_num1
tax
tya
adc mul16x8_num1Hi
tay
txa
mul16x8_loop
asl mul16x8_num1
rol mul16x8_num1Hi
mul16x8_enterLoop
lsr mul16x8_num2
bcs mul16x8_doAdd
bne mul16x8_loop
rts
end_procedure_init16x8mul
; NodeProcedureDecl -1
; *********** Defining procedure : initeightbitmul
; Procedure type : Built-in function
; Requires initialization : no
multiplier = $4c
multiplier_a = $4e
multiply_eightbit
cpx #$00
beq mul_end
dex
stx $4e
lsr
sta multiplier
lda #$00
ldx #$08
mul_loop
bcc mul_skip
mul_mod
adc multiplier_a
mul_skip
ror
ror multiplier
dex
bne mul_loop
ldx multiplier
rts
mul_end
txa
rts
initeightbitmul_multiply_eightbit2
rts
end_procedure_initeightbitmul
; NodeProcedureDecl -1
; *********** Defining procedure : screen_swap
; Procedure type : User-defined procedure
rts
end_procedure_screen_swap
; NodeProcedureDecl -1
; *********** Defining procedure : irq_line_65
; Procedure type : User-defined procedure
; LineNumber: 57
irq_line_65
; LineNumber: 59
; StartIRQ
pha
txa
pha
tya
pha
asl $d019
; LineNumber: 63
; //SetMultiColorMode();
; //startline := 0;
; //numlines := 12;
; //copy_colors();
; // Don't actually need for this example.
; Binary clause Simplified: EQUALS
clc
lda scroll
; cmp #$00 ignored
bne irq_line_65_elsedoneblock7
irq_line_65_ConditionalTrueBlock5: ;Main true block ;keep
; LineNumber: 64
; LineNumber: 68
irq_line_65_elsedoneblock7
; LineNumber: 70
; RasterIRQ : Hook a procedure
lda #$f5
sta $d012
lda #<irq_begin_vblank
sta $fffe
lda #>irq_begin_vblank
sta $ffff
; LineNumber: 72
; CloseIRQ
pla
tay
pla
tax
pla
; LineNumber: 74
rti
end_procedure_irq_line_65
; // ------------------------------------------------------------------------
; // irq_begin_vblank
; //
; // The main interrupt at around the vblank area at the bottom of the screen.
; // Scrolls the screen right to left using the pixel hardware scroll.
; // Will either copy the top half of the screen to the back buffer shifted
; // left one char, or the same the other direction, or will point the VIC
; // at the other screen when the time comes, that being when the h/w scroll
; // position has gone all the way to the left(<0)
; // ------------------------------------------------------------------------
; NodeProcedureDecl -1
; *********** Defining procedure : irq_begin_vblank
; Procedure type : User-defined procedure
; LineNumber: 115
irq_begin_vblank
; LineNumber: 117
; StartIRQ
pha
txa
pha
tya
pha
asl $d019
; LineNumber: 119
; Test Inc dec D
dec scroll
; LineNumber: 122
; Binary clause Simplified: GREATEREQUAL
lda scroll
; Compare with pure num / var optimization
cmp #$7f;keep
bcc irq_begin_vblank_elseblock13
irq_begin_vblank_ConditionalTrueBlock12: ;Main true block ;keep
; LineNumber: 122
; LineNumber: 124
; // 2's complement, >= 127 means < 0
jsr swap_screens
; LineNumber: 126
jmp irq_begin_vblank_elsedoneblock14
irq_begin_vblank_elseblock13
; LineNumber: 127
; LineNumber: 129
lda scroll
; ScrollX method
sta $58
lda $d016
and #$F8
ora $58
sta $d016
; LineNumber: 132
; Binary clause Simplified: EQUALS
lda scroll
; Compare with pure num / var optimization
cmp #$4;keep
bne irq_begin_vblank_elsedoneblock34
irq_begin_vblank_ConditionalTrueBlock32: ;Main true block ;keep
; LineNumber: 133
; LineNumber: 134
; // Copy top half of char screen to back buffer.
lda #$4
; Calling storevariable on generic assign expression
sta startline
; LineNumber: 135
; // zero-based
lda #$8
; Calling storevariable on generic assign expression
sta numlines
; LineNumber: 136
; // one-based
jsr copy_and_shift
; LineNumber: 137
irq_begin_vblank_elsedoneblock34
; LineNumber: 140
; Binary clause Simplified: EQUALS
lda scroll
; Compare with pure num / var optimization
cmp #$2;keep
bne irq_begin_vblank_elsedoneblock40
irq_begin_vblank_ConditionalTrueBlock38: ;Main true block ;keep
; LineNumber: 141
; LineNumber: 142
; // Copy bottom half of char screen to back buffer.
lda #$c
; Calling storevariable on generic assign expression
sta startline
; LineNumber: 143
lda #$9
; Calling storevariable on generic assign expression
sta numlines
; LineNumber: 144
jsr copy_and_shift
; LineNumber: 145
irq_begin_vblank_elsedoneblock40
; LineNumber: 146
irq_begin_vblank_elsedoneblock14
; LineNumber: 148
lda $D016
and #%11110111
sta $D016
; LineNumber: 149
; RasterIRQ : Hook a procedure
lda #$41
sta $d012
lda #<irq_line_65
sta $fffe
lda #>irq_line_65
sta $ffff
; LineNumber: 152
; CloseIRQ
pla
tay
pla
tax
pla
; LineNumber: 154
rti
end_procedure_irq_begin_vblank
; // ------------------------------------------------------------------------
; // copy_and_shift()
; //
; // Copies the current screen to the backbuffer screen but shifted left one
; // char, leaving a row at the the right where a new slice of the map will be
; // drawn in.
; // ------------------------------------------------------------------------
; NodeProcedureDecl -1
; *********** Defining procedure : copy_and_shift
; Procedure type : User-defined procedure
; LineNumber: 164
copy_and_shift
; LineNumber: 166
; Binary clause Simplified: EQUALS
clc
lda current_screen
; cmp #$00 ignored
bne copy_and_shift_elseblock46
copy_and_shift_ConditionalTrueBlock45: ;Main true block ;keep
; LineNumber: 167
; LineNumber: 168
lda #$00
ldx #$30
sta from_ptr
stx from_ptr+1
; LineNumber: 169
ldx #$34
sta to_ptr
stx to_ptr+1
; LineNumber: 171
jmp copy_and_shift_elsedoneblock47
copy_and_shift_elseblock46
; LineNumber: 172
; LineNumber: 173
lda #$00
ldx #$34
sta from_ptr
stx from_ptr+1
; LineNumber: 174
ldx #$30
sta to_ptr
stx to_ptr+1
; LineNumber: 175
copy_and_shift_elsedoneblock47
; LineNumber: 178
; // Move down to start row.
; Generic 16 bit op
; integer assignment NodeVar
ldy from_ptr+1 ; keep
lda from_ptr
copy_and_shift_rightvarInteger_var54 = $54
sta copy_and_shift_rightvarInteger_var54
sty copy_and_shift_rightvarInteger_var54+1
; Generic 16 bit op
ldy #0
lda #$1
copy_and_shift_rightvarInteger_var57 = $56
sta copy_and_shift_rightvarInteger_var57
sty copy_and_shift_rightvarInteger_var57+1
; Right is PURE NUMERIC : Is word =1
; 16 bit mul or div
; Mul 16x8 setup
ldy #0
lda startline
sta mul16x8_num1
sty mul16x8_num1Hi
lda #$28
sta mul16x8_num2
jsr mul16x8_procedure
; Low bit binop:
clc
adc copy_and_shift_rightvarInteger_var57
copy_and_shift_wordAdd55
sta copy_and_shift_rightvarInteger_var57
; High-bit binop
tya
adc copy_and_shift_rightvarInteger_var57+1
tay
lda copy_and_shift_rightvarInteger_var57
; Low bit binop:
clc
adc copy_and_shift_rightvarInteger_var54
copy_and_shift_wordAdd52
sta copy_and_shift_rightvarInteger_var54
; High-bit binop
tya
adc copy_and_shift_rightvarInteger_var54+1
tay
lda copy_and_shift_rightvarInteger_var54
sta from_ptr
sty from_ptr+1
; LineNumber: 180
; // Start copying chars positions 1 .. 40 from front
; // to char positions 0 .. 39 on back.
; Generic 16 bit op
; integer assignment NodeVar
ldy to_ptr+1 ; keep
lda to_ptr
copy_and_shift_rightvarInteger_var60 = $54
sta copy_and_shift_rightvarInteger_var60
sty copy_and_shift_rightvarInteger_var60+1
; Right is PURE NUMERIC : Is word =1
; 16 bit mul or div
; Mul 16x8 setup
ldy #0
lda startline
sta mul16x8_num1
sty mul16x8_num1Hi
lda #$28
sta mul16x8_num2
jsr mul16x8_procedure
; Low bit binop:
clc
adc copy_and_shift_rightvarInteger_var60
copy_and_shift_wordAdd58
sta copy_and_shift_rightvarInteger_var60
; High-bit binop
tya
adc copy_and_shift_rightvarInteger_var60+1
tay
lda copy_and_shift_rightvarInteger_var60
sta to_ptr
sty to_ptr+1
; LineNumber: 182
lda #$0
; Calling storevariable on generic assign expression
sta row
; LineNumber: 183
copy_and_shift_while61
copy_and_shift_loopstart65
; Binary clause Simplified: LESS
lda row
; Compare with pure num / var optimization
cmp numlines;keep
bcs copy_and_shift_elsedoneblock64
copy_and_shift_ConditionalTrueBlock62: ;Main true block ;keep
; LineNumber: 184
; LineNumber: 187
; memcpyfast
ldy #38
copy_and_shift_memcpy72
lda (from_ptr),y
sta (to_ptr),y
dey
bpl copy_and_shift_memcpy72
; LineNumber: 192
lda from_ptr
clc
adc #$28
sta from_ptr+0
; Optimization : A := A op 8 bit - var and bvar are the same - perform inc
bcc copy_and_shift_WordAdd73
inc from_ptr+1
copy_and_shift_WordAdd73
; LineNumber: 193
lda to_ptr
clc
adc #$28
sta to_ptr+0
; Optimization : A := A op 8 bit - var and bvar are the same - perform inc
bcc copy_and_shift_WordAdd74
inc to_ptr+1
copy_and_shift_WordAdd74
; LineNumber: 195
; Test Inc dec D
inc row
; LineNumber: 197
jmp copy_and_shift_while61
copy_and_shift_elsedoneblock64
copy_and_shift_loopend66
; LineNumber: 198
rts
end_procedure_copy_and_shift
; // ------------------------------------------------------------------------
; // DrawColumn39FromMap
; //
; // Draws the next column of chars from the map at the rightmost column on
; // the back buffer screen.
; // ------------------------------------------------------------------------
; NodeProcedureDecl -1
; *********** Defining procedure : DrawColumn39FromMap
; Procedure type : User-defined procedure
; LineNumber: 207
DrawColumn39FromMap
; LineNumber: 209
; Binary clause Simplified: EQUALS
clc
lda current_screen
; cmp #$00 ignored
bne DrawColumn39FromMap_elseblock78
DrawColumn39FromMap_ConditionalTrueBlock77: ;Main true block ;keep
; LineNumber: 209
lda #$00
ldx #$34
sta to_ptr
stx to_ptr+1
jmp DrawColumn39FromMap_elsedoneblock79
DrawColumn39FromMap_elseblock78
; LineNumber: 211
lda #$00
ldx #$30
sta to_ptr
stx to_ptr+1
DrawColumn39FromMap_elsedoneblock79
; LineNumber: 215
; // 4 blank rows, then 17 map rows, then 4 blank rows.
lda #$1
; Calling storevariable on generic assign expression
sta i
; LineNumber: 217
lda to_ptr
clc
adc #$a0
sta to_ptr+0
; Optimization : A := A op 8 bit - var and bvar are the same - perform inc
bcc DrawColumn39FromMap_WordAdd84
inc to_ptr+1
DrawColumn39FromMap_WordAdd84
; LineNumber: 218
; // Start on screen row 4
; Generic 16 bit op
; integer assignment NodeVar
ldy map_column+1 ; keep
lda map_column
DrawColumn39FromMap_rightvarInteger_var87 = $54
sta DrawColumn39FromMap_rightvarInteger_var87
sty DrawColumn39FromMap_rightvarInteger_var87+1
; Integer constant assigning
ldy #$50
lda #$00
; Low bit binop:
clc
adc DrawColumn39FromMap_rightvarInteger_var87
DrawColumn39FromMap_wordAdd85
sta DrawColumn39FromMap_rightvarInteger_var87
; High-bit binop
tya
adc DrawColumn39FromMap_rightvarInteger_var87+1
tay
lda DrawColumn39FromMap_rightvarInteger_var87
sta map_ptr
sty map_ptr+1
; LineNumber: 228
lda #$0
; Calling storevariable on generic assign expression
sta i
DrawColumn39FromMap_forloop88
; LineNumber: 221
; LineNumber: 223
; Load pointer array
ldy #$0
lda (map_ptr),y
; Calling storevariable on generic assign expression
; Storing to a pointer
ldy #$27
sta (to_ptr),y
; LineNumber: 224
lda to_ptr
clc
adc #$28
sta to_ptr+0
; Optimization : A := A op 8 bit - var and bvar are the same - perform inc
bcc DrawColumn39FromMap_WordAdd97
inc to_ptr+1
DrawColumn39FromMap_WordAdd97
; LineNumber: 225
lda map_ptr
clc
adc #$00
sta map_ptr+0
lda map_ptr+1
adc #$02
sta map_ptr+1
; LineNumber: 227
DrawColumn39FromMap_forloopcounter90
DrawColumn39FromMap_loopstart91
; Compare is onpage
; Test Inc dec D
inc i
lda #$11
cmp i ;keep
bcs DrawColumn39FromMap_forloop88
DrawColumn39FromMap_loopdone99: ;keep
DrawColumn39FromMap_forloopend89
DrawColumn39FromMap_loopend92
; LineNumber: 229
lda map_column
clc
adc #$01
sta map_column+0
; Optimization : A := A op 8 bit - var and bvar are the same - perform inc
bcc DrawColumn39FromMap_WordAdd100
inc map_column+1
DrawColumn39FromMap_WordAdd100
; LineNumber: 230
; Binary clause INTEGER: EQUALS
; Compare INTEGER with pure num / var optimization. GREATER.
lda map_column+1 ; compare high bytes
cmp #$00 ;keep
bne DrawColumn39FromMap_elsedoneblock104
lda map_column
cmp #$fe ;keep
bne DrawColumn39FromMap_elsedoneblock104
jmp DrawColumn39FromMap_ConditionalTrueBlock102
DrawColumn39FromMap_ConditionalTrueBlock102: ;Main true block ;keep
; LineNumber: 229
ldy #0 ; Force integer assignment, set y = 0 for values lower than 255
lda #$0
; Calling storevariable on generic assign expression
sta map_column
sty map_column+1
DrawColumn39FromMap_elsedoneblock104
; LineNumber: 232
rts
end_procedure_DrawColumn39FromMap
; // ------------------------------------------------------------------------
; // swap_screens
; //
; // Flips the current screen between pointing at the front and back buffers.
; // ------------------------------------------------------------------------
; NodeProcedureDecl -1
; *********** Defining procedure : swap_screens
; Procedure type : User-defined procedure
; LineNumber: 240
swap_screens
; LineNumber: 242
jsr DrawColumn39FromMap
; LineNumber: 243
lda #$7
; Calling storevariable on generic assign expression
sta scroll
; LineNumber: 244
; ScrollX method
sta $58
lda $d016
and #$F8
ora $58
sta $d016
; LineNumber: 246
; 8 bit binop
; Add/sub where right value is constant number
; 8 bit binop
; Add/sub where right value is constant number
lda current_screen
clc
adc #$1
; end add / sub var with constant
and #$1
; end add / sub var with constant
; Calling storevariable on generic assign expression
sta current_screen
; LineNumber: 247
; Binary clause Simplified: EQUALS
; Compare with pure num / var optimization
cmp #$1;keep
bne swap_screens_elseblock110
swap_screens_ConditionalTrueBlock109: ;Main true block ;keep
; LineNumber: 247
lda $d018
and #%00001111
ora #208
sta $d018
jmp swap_screens_elsedoneblock111
swap_screens_elseblock110
; LineNumber: 249
lda $d018
and #%00001111
ora #192
sta $d018
swap_screens_elsedoneblock111
; LineNumber: 252
; Multicolor mode
lda #16
ora $d016
sta $d016
; LineNumber: 256
rts
end_procedure_swap_screens
block1
main_block_begin_
; LineNumber: 262
; //copy_colors(1);
; // ------------------------------------------------------------------------
; // Main program.
; // ------------------------------------------------------------------------
sei
; LineNumber: 264
; // System IRQs, not mine.
; Disable interrupts
ldy #$7f ; $7f = %01111111
sty $dc0d ; Turn off CIAs Timer interrupts
sty $dd0d ; Turn off CIAs Timer interrupts
; LineNumber: 266
lda #$00
ldx #$30
sta screen_base_ptr
stx screen_base_ptr+1
; LineNumber: 267
ldx #$34
sta backbuffer_base_ptr
stx backbuffer_base_ptr+1
; LineNumber: 268
; Clear screen with offset
lda #$1
ldx #$fa
MainProgram_clearloop116
dex
sta $0000+$3000,x
sta $00fa+$3000,x
sta $01f4+$3000,x
sta $02ee+$3000,x
bne MainProgram_clearloop116
; LineNumber: 268
; Clear screen with offset
lda #$1
ldx #$fa
MainProgram_clearloop117
dex
sta $0000+$3400,x
sta $00fa+$3400,x
sta $01f4+$3400,x
sta $02ee+$3400,x
bne MainProgram_clearloop117
; LineNumber: 272
; // Sort-of-correct paletter from the game Uridium.
; Assigning memory location
lda #$0
; Calling storevariable on generic assign expression
sta $d020
; LineNumber: 273
; Assigning memory location
lda #$1
; Calling storevariable on generic assign expression
sta $d021
; LineNumber: 274
lda #$7
; Calling storevariable on generic assign expression
sta $D021+$1
; LineNumber: 275
lda #$8
; Calling storevariable on generic assign expression
sta $D021+$2
; LineNumber: 276
; Multicolor mode
lda #16
ora $d016
sta $d016
; LineNumber: 278
lda #$0
; Calling storevariable on generic assign expression
sta current_screen
; LineNumber: 279
lda $d018
and #%00001111
ora #192
sta $d018
; LineNumber: 280
; Set Memory Config
lda $01
and #%11111000
ora #%101
sta $01
; LineNumber: 282
; // Do this last.
lda $d018
and #%11110001
ora #8
sta $d018
; LineNumber: 283
sei
; Disable interrupts
ldy #$7f ; $7f = %01111111
sty $dc0d ; Turn off CIAs Timer interrupts
sty $dd0d ; Turn off CIAs Timer interrupts
; RasterIRQ : Hook a procedure
lda #$41
sta $d012
lda #<irq_line_65
sta $fffe
lda #>irq_line_65
sta $ffff
; Enable raster IRQ
lda $d01a
ora #$01
sta $d01a
lda #$1B
sta $d011
asl $d019
cli
; LineNumber: 284
jmp * ; loop like (�/%
; LineNumber: 286
main_block_end_
; End of program
; Ending memory block at $810
EndBlock810:
org $2000
StartBlock2000:
org $2000
charset:
incbin "C:/Users/alanp/dev/trse/trse-scroller///resources/UridiumChars.bin"
end_incbin_charset:
EndBlock2000:
org $5000
StartBlock5000:
org $5000
map:
incbin "C:/Users/alanp/dev/trse/trse-scroller///resources/UridiumMap.bin"
end_incbin_map:
EndBlock5000: