1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 02:29:52 +00:00
cc65/libsrc/cbm/curdevice.s
ol.sc 89d4f4a90c Introduced getcurrentdevice() and implemented it for CBM and Apple.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5863 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-21 14:35:17 +00:00

20 lines
347 B
ArmAsm

;
; Oliver Schmidt, 2012-10-21
;
; unsigned char getcurrentdevice (void);
;
.export _getcurrentdevice
.import curunit
;------------------------------------------------------------------------------
; _getcurrentdevice
.proc _getcurrentdevice
lda curunit
ldx #$00
rts
.endproc