mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
ae38242db9
git-svn-id: svn://svn.cc65.org/cc65/trunk@1546 b7a2c559-68d2-44c3-8de9-860c34a00d81
27 lines
416 B
ArmAsm
27 lines
416 B
ArmAsm
;
|
|
; Ullrich von Bassewitz, 19.11.2002
|
|
;
|
|
; OPEN replacement function for the PETs
|
|
;
|
|
|
|
.export OPEN
|
|
.import checkst
|
|
|
|
.include "pet.inc"
|
|
|
|
|
|
.proc OPEN
|
|
|
|
lda PET_DETECT
|
|
cmp #PET_4000
|
|
bne @L1
|
|
jsr $F563 ; BASIC 4
|
|
jmp checkst
|
|
|
|
@L1: jsr $F524 ; BASIC 2&3
|
|
jmp checkst
|
|
|
|
.endproc
|
|
|
|
|