From: Christian Groessler Date: Tue, 31 May 2016 07:28:53 +0000 (+0200) Subject: Atari: make __getdefdev function ROM-friendly X-Git-Tag: V2.16~134^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c1f17e9c18603724c7795709cbcb4b9b5a18f60b;p=cc65 Atari: make __getdefdev function ROM-friendly --- diff --git a/libsrc/atari/getdefdev.s b/libsrc/atari/getdefdev.s index 56ad8ff65..ed0d49907 100644 --- a/libsrc/atari/getdefdev.s +++ b/libsrc/atari/getdefdev.s @@ -60,7 +60,7 @@ __getdefdev: lda (DOSVEC),y sta crvec+2 -crvec: jsr $FFFF ; will be set to crunch vector + jsr crvec ; Get default device @@ -84,6 +84,8 @@ xdos: lda XDEFDEV .data +crvec: .byte $4C,$FF,$FF ; will be set to crunch vector + ; Default device __defdev: