From b8e5a66f29587f3108c107667c8aca767f75e859 Mon Sep 17 00:00:00 2001 From: Christian Groessler Date: Fri, 16 May 2014 02:12:01 +0200 Subject: [PATCH] changed version, startup screen now not fine anymore --- asminc/atari5200.mac | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/asminc/atari5200.mac b/asminc/atari5200.mac index ece654bcc..59d7ff29c 100644 --- a/asminc/atari5200.mac +++ b/asminc/atari5200.mac @@ -1,7 +1,14 @@ ; Convert characters to screen codes - + ; Helper macro that converts and outputs one character .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) .byte (char + 64) .elseif (char >= 32) .and (char <= 95) @@ -17,6 +24,7 @@ .else .error "scrcode: Character constant out of range" .endif +.endif .endmacro .macro scrcode arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 @@ -56,4 +64,3 @@ ; Call the macro recursively with the remaining args scrcode arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 .endmacro - -- 2.39.5