mirror of
https://github.com/cc65/cc65.git
synced 2024-11-16 02:10:52 +00:00
d90c7e9853
There's no target with more than one serial driver (and I don't see that change anytime soon) so it's a no-brainer to apply the standard driver concept to serial drivers.
23 lines
408 B
ArmAsm
23 lines
408 B
ArmAsm
;
|
|
; Address of the static standard serial driver
|
|
;
|
|
; Oliver Schmidt, 2022-12-22
|
|
;
|
|
; const void ser_static_stddrv[];
|
|
;
|
|
|
|
.export _ser_static_stddrv
|
|
.ifdef __APPLE2ENH__
|
|
.import _a2e_ssc_ser
|
|
.else
|
|
.import _a2_ssc_ser
|
|
.endif
|
|
|
|
.rodata
|
|
|
|
.ifdef __APPLE2ENH__
|
|
_ser_static_stddrv := _a2e_ssc_ser
|
|
.else
|
|
_ser_static_stddrv := _a2_ssc_ser
|
|
.endif
|