Use printf(1) in a POSIX-compliant way
POSIX printf(1) doesn't support the \xXX specifier to print characters by their hexadecimal values. By contrast, printing octal values is portable. Reference: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/printf.html Signed-off-by: Jeff Epler <jepler@unpythonic.net>
This commit is contained in:
parent
40ed8fddd4
commit
c10e48b9ef
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -2,7 +2,7 @@ all:
|
|||
ca65 80columns.s
|
||||
ca65 -o charset.o charset.s
|
||||
ld65 -C 80columns.cfg 80columns.o charset.o -o 80columns.bin
|
||||
printf "\x00\xc8" > 80columns.prg
|
||||
printf "\0\310" > 80columns.prg
|
||||
cat 80columns.bin >> 80columns.prg
|
||||
exomizer sfx 51200 -q -n -o 80columns-compressed.prg 80columns.prg
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue