2022-07-21 22:58:49 +00:00
|
|
|
;license:MIT
|
|
|
|
;(c) 2022 by qkumba
|
|
|
|
|
|
|
|
!cpu 6502
|
2022-10-01 00:04:02 +00:00
|
|
|
!to "build/DEMO/STELLAR.7#060200",plain
|
2022-07-21 22:58:49 +00:00
|
|
|
*=$200
|
|
|
|
|
|
|
|
!source "src/constants.a" ; no code in these
|
|
|
|
!source "src/macros.a"
|
|
|
|
|
|
|
|
+READ_RAM2_WRITE_RAM2
|
|
|
|
jsr EnableAccelerator
|
|
|
|
+LOAD_FILE_KEEP_DIR stellar_7, stellar_7_dir_e-stellar_7_dir_b
|
2024-05-26 04:40:54 +00:00
|
|
|
+READ_ROM_NO_WRITE
|
2022-07-21 22:58:49 +00:00
|
|
|
|
|
|
|
lda #$60
|
|
|
|
sta $863
|
|
|
|
jsr $800 ; unpack
|
|
|
|
|
2022-11-27 16:08:48 +00:00
|
|
|
+TEST_TEXT_PAGE_2
|
|
|
|
|
2022-09-27 17:20:04 +00:00
|
|
|
ldx #0
|
|
|
|
stx $AE2A
|
|
|
|
inx
|
|
|
|
stx $AE2C
|
2022-07-21 22:58:49 +00:00
|
|
|
lda #$A4
|
|
|
|
sta $AE28 ; reset vector patch
|
|
|
|
|
|
|
|
lda #<callback1
|
|
|
|
sta $AE71
|
|
|
|
lda #>callback1
|
|
|
|
sta $AE72
|
|
|
|
|
|
|
|
+DISABLE_ACCEL
|
|
|
|
jmp $AE27
|
|
|
|
|
|
|
|
callback1
|
|
|
|
jsr $AF60
|
|
|
|
lda #<callback2
|
|
|
|
sta $A572
|
|
|
|
lda #>callback2
|
|
|
|
sta $A573
|
2024-05-11 14:36:50 +00:00
|
|
|
ldx #0
|
|
|
|
stx $A473
|
|
|
|
stx $A476
|
|
|
|
stx $A47A ; start demo immediately
|
2022-07-21 22:58:49 +00:00
|
|
|
lda #$4C
|
|
|
|
sta $A484
|
|
|
|
stx $A485
|
|
|
|
inx
|
|
|
|
stx $A486
|
|
|
|
rts
|
|
|
|
|
|
|
|
callback2
|
|
|
|
lda #7
|
|
|
|
sta $8539
|
|
|
|
lda #$4C
|
|
|
|
sta $8541
|
|
|
|
sta $84C3
|
|
|
|
ldx #0
|
|
|
|
stx $8542
|
|
|
|
stx $84C4
|
|
|
|
inx
|
|
|
|
stx $8543
|
|
|
|
stx $84C5
|
|
|
|
jmp $8400
|
|
|
|
|
|
|
|
stellar_7
|
|
|
|
!byte stellar_7_e-stellar_7_b
|
|
|
|
stellar_7_b
|
|
|
|
stellar_7_dir_b
|
2024-05-11 14:36:50 +00:00
|
|
|
!text "X/STEL.DIR"
|
2022-07-21 22:58:49 +00:00
|
|
|
stellar_7_dir_e
|
2024-05-11 14:36:50 +00:00
|
|
|
!text "/STELLAR.7"
|
2022-07-21 22:58:49 +00:00
|
|
|
stellar_7_e
|