mirror of
https://github.com/cc65/cc65.git
synced 2024-08-30 01:29:41 +00:00
Atari: make __getdefdev function ROM-friendly
This commit is contained in:
parent
9523fa2d33
commit
c1f17e9c18
@ -60,7 +60,7 @@ __getdefdev:
|
|||||||
lda (DOSVEC),y
|
lda (DOSVEC),y
|
||||||
sta crvec+2
|
sta crvec+2
|
||||||
|
|
||||||
crvec: jsr $FFFF ; will be set to crunch vector
|
jsr crvec
|
||||||
|
|
||||||
; Get default device
|
; Get default device
|
||||||
|
|
||||||
@ -84,6 +84,8 @@ xdos: lda XDEFDEV
|
|||||||
|
|
||||||
.data
|
.data
|
||||||
|
|
||||||
|
crvec: .byte $4C,$FF,$FF ; will be set to crunch vector
|
||||||
|
|
||||||
; Default device
|
; Default device
|
||||||
|
|
||||||
__defdev:
|
__defdev:
|
||||||
|
Loading…
Reference in New Issue
Block a user