4cade/src/demo/wavy.navy.a

43 lines
815 B
Plaintext
Raw Permalink Normal View History

2021-10-02 03:23:48 +00:00
;license:MIT
2022-09-27 17:20:04 +00:00
;(c) 2021-2022 by qkumba
2021-10-02 03:23:48 +00:00
!cpu 6502
2022-10-01 00:04:02 +00:00
!to "build/DEMO/WAVY.NAVY#060300",plain
2021-10-02 03:23:48 +00:00
*=$300
!source "src/constants.a" ; no code in these
!source "src/macros.a"
2021-10-02 03:23:48 +00:00
2022-09-27 17:20:04 +00:00
+ENABLE_ACCEL_LC
2022-09-10 05:36:52 +00:00
+LOAD_XSINGLE title
2021-10-02 03:23:48 +00:00
lda #$60
sta $505d
jsr $800 ; decompress
ldx #5
2022-09-27 17:20:04 +00:00
- lda $100, x
2021-10-02 03:23:48 +00:00
sta $09E8, x
sta $1547, x
dex
bpl -
inx
stx $6B22
stx $084C
2022-09-10 05:36:52 +00:00
2022-12-07 19:40:21 +00:00
lda ROM_MACHINEID
cmp #$06
bne +
lda #$d0 ; disable AN1 access on IIe-class
2022-12-06 21:02:24 +00:00
sta $AE8 ; otherwise UltraWarp dies
2022-12-07 19:40:21 +00:00
+
2022-12-06 21:02:24 +00:00
2022-09-10 05:36:52 +00:00
+DISABLE_ACCEL
2021-10-02 03:23:48 +00:00
jmp $800
2024-05-25 21:24:57 +00:00
title +PSTRING "WAVY.NAVY"
2021-10-02 03:23:48 +00:00
!if * > $3F0 {
!error "code is too large, ends at ", *
}