mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
Exclude apple2enh-only functionality from apple2 biuld on source code level.
This commit is contained in:
parent
6891862bbe
commit
b1c38729d0
@ -7,6 +7,7 @@
|
||||
; void __fastcall__ textframe (unsigned char width, unsigned char height,
|
||||
; unsigned char style);
|
||||
;
|
||||
.ifdef __APPLE2ENH__
|
||||
|
||||
.export _textframexy, _textframe
|
||||
.import popa, pusha, _gotoxy
|
||||
@ -103,3 +104,5 @@ LENGTH: .byte 0, <-2, 0, <-2, <-2, 0, <-2, 0
|
||||
; - hibit set means normal printable character
|
||||
; - hibit clear means MouseText character
|
||||
CHAR: .byte '_'|$80, '_', 'L', 'Z', 'L', 'Z', '_'|$80, '_'
|
||||
|
||||
.endif ; __APPLE2ENH__
|
||||
|
@ -3,6 +3,7 @@
|
||||
;
|
||||
; unsigned __fastcall__ videomode (unsigned mode);
|
||||
;
|
||||
.ifdef __APPLE2ENH__
|
||||
|
||||
.export _videomode
|
||||
.import COUT
|
||||
@ -63,3 +64,5 @@ done: lda #$11 ; Ctrl-char code for 40 cols
|
||||
bpl :+
|
||||
lda #$12 ; Ctrl-char code for 80 cols
|
||||
: rts ; X was preserved all the way
|
||||
|
||||
.endif ; __APPLE2ENH__
|
||||
|
Loading…
x
Reference in New Issue
Block a user