dos33fsprogs/demos/lovebyte2023/loveduck_512/ld.s

27 lines
469 B
ArmAsm
Raw Normal View History

2023-02-09 02:20:51 +00:00
; Wrapper to load loveduck high
;
; by deater (Vince Weaver) <vince@deater.net>
; the problem is the boot loader loads things to $800 by default
; that's lo-res page 2 which we want to use later
ld_start:
2023-02-09 03:51:58 +00:00
.byte 2 ; number of sectors to load
2023-02-09 02:20:51 +00:00
lda $C088,X ; turn off drive motor
ldy #0
loop1:
lda binary,Y
sta $1000,Y
lda binary+256,Y
sta $1000+256,Y
dey
bne loop1
jmp $1000 ; jump to entry pint
binary:
.incbin "LOVE_DUCK"