Use '.ifdef' and '.ifndef' instead of '.if .defined' and '.if .not .defined'.

This commit is contained in:
Christian Groessler
2013-09-19 22:36:22 +02:00
parent ae53413c5c
commit 0a7cb64d2e
9 changed files with 20 additions and 20 deletions

View File

@@ -14,7 +14,7 @@ _cgetc:
jsr setcursor
lda #12
sta ICAX1Z ; fix problems with direct call to KEYBDV
.if .not .defined(__ATARIXL__)
.ifndef __ATARIXL__
jsr @1
.else
jsr KEYBDV_handler
@@ -22,7 +22,7 @@ _cgetc:
ldx #0
rts
.if .not .defined(__ATARIXL__)
.ifndef __ATARIXL__
@1: lda KEYBDV+5
pha
lda KEYBDV+4