4cade/src/demo/high.rise.a

45 lines
841 B
Plaintext
Raw Normal View History

;license:MIT
;(c) 2021 by Frank M.
!cpu 6502
!to "res/DEMO/HIGH.RISE",plain
*=$300
!source "src/constants.a" ; no code in these
!source "src/macros.a"
+READ_RAM2_WRITE_RAM2
jsr EnableAccelerator
+LOAD_FILE_AT title, $00
lda #$60
sta $0836
jsr $0800 ; decompress
lda #$2C
sta $44AA
sta $44AD
sta $44B0 ; reset vector fix
lda #$4C
sta $455D
sta $4695
lda #0
sta $455D+1
sta $4695+1
lda #1
sta $455D+2
sta $4695+2 ; set exits
+DISABLE_ACCEL
jmp $449A
title !byte x_e-x_b
x_b !text "X/HIGH.RISE/HIGH.RISE"
x_e
!if * > $3F0 {
!error "code is too large, ends at ", *
}