1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-30 20:29:25 +00:00

changed version, startup screen now not fine anymore

This commit is contained in:
Christian Groessler 2014-05-16 02:12:01 +02:00
parent 0f2f19ef5b
commit b8e5a66f29

View File

@ -2,6 +2,13 @@
; Helper macro that converts and outputs one character ; Helper macro that converts and outputs one character
.macro _scrcode char .macro _scrcode char
.if 1
.if (char >= 96) .and (char <= 127)
.byte (char)
.else
.byte (char - 32)
.endif
.else
.if (char >= 0) .and (char <= 31) .if (char >= 0) .and (char <= 31)
.byte (char + 64) .byte (char + 64)
.elseif (char >= 32) .and (char <= 95) .elseif (char >= 32) .and (char <= 95)
@ -17,6 +24,7 @@
.else .else
.error "scrcode: Character constant out of range" .error "scrcode: Character constant out of range"
.endif .endif
.endif
.endmacro .endmacro
.macro scrcode arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 .macro scrcode arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9
@ -56,4 +64,3 @@
; Call the macro recursively with the remaining args ; Call the macro recursively with the remaining args
scrcode arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 scrcode arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9
.endmacro .endmacro