Permalink
Browse files

MAX_NAME_LENGTH is now 255 instead of 63 -> you get longer label name…

…s etc.
  • Loading branch information...
vhelin committed Jan 7, 2017
1 parent 7f2dca4 commit 41f024f835c49dbe1937a987c9bbf4192133b31c
Showing with 9 additions and 3 deletions.
  1. +1 −1 defines.h
  2. +3 −0 main.c
  3. +1 −1 pass_3.c
  4. +1 −1 wlalink/defines.h
  5. +3 −0 wlalink/main.c
View
@@ -5,7 +5,7 @@
/* want to use longer strings and labels? change this */
#define MAX_NAME_LENGTH 64
#define MAX_NAME_LENGTH 255
#ifndef M_PI
#define M_PI 3.14159265358979323846
View
3 main.c
@@ -157,6 +157,9 @@ int main(int argc, char *argv[]) {
printf("\nWLA HuC6280 Macro Assembler v9.7b\n");
#endif
printf("Written by Ville Helin in 1998-2008 - In GitHub since 2014: https://github.com/vhelin/wla-dx\n");
#ifdef WLA_DEBUG
printf("*** WLA_DEBUG defined - this executable is running in DEBUG mode ***\n");
#endif
printf("USAGE: %s [OPTIONS] <ASM FILE>\n\n", argv[0]);
printf("Options:\n");
printf("-i Add list file information\n");
View
@@ -678,7 +678,7 @@ int pass_3(void) {
continue;
default:
fprintf(stderr, "%s: INTERNAL_PASS_1: Unknown internal symbol \"%c\" in \"%s\" at offset %d.\n", get_file_name(file_name_id), c, gba_tmp_name, ftell(f_in)-1);
fprintf(stderr, "%s: INTERNAL_PASS_1: Unknown internal symbol \"%c\" in \"%s\" at offset %ld.\n", get_file_name(file_name_id), c, gba_tmp_name, ftell(f_in)-1);
return FAILED;
}
}
View
@@ -48,7 +48,7 @@
#define NO 0
#define YES 1
#define MAX_NAME_LENGTH 63
#define MAX_NAME_LENGTH 255
struct source_file_name {
char *name;
View
@@ -162,6 +162,9 @@ int main(int argc, char *argv[]) {
if (x == FAILED) {
printf("\nWLALINK GB-Z80/Z80/6502/65C02/6510/65816/HUC6280/SPC-700 WLA Macro Assembler Linker v5.8b\n");
printf("Written by Ville Helin in 2000-2008 - In GitHub since 2014: https://github.com/vhelin/wla-dx\n");
#ifdef WLALINK_DEBUG
printf("*** WLALINK_DEBUG defined - this executable is running in DEBUG mode ***\n");
#endif
printf("USAGE: %s [OPTIONS] <LINK FILE> <OUTPUT FILE>\n\n", argv[0]);
printf("Options:\n");
printf("-b Program file output\n");

0 comments on commit 41f024f

Please sign in to comment.