- SwitchSection(M6502); // Switch to 6502 section
- //
- // Initialise string conversion table(s)
- //
-
- char *p = a8internal;
- memset(strtoa8, 31, 128); // 31=fallback value ("?")
- for (; p < a8internal + sizeof(a8internal); p += 2)
- {
- strtoa8[p[0]] = p[1];
- }
-
- if (challoc == 0) {
- // Allocate and clear 64K of space for the 6502 section
- chcheck(UPSEG_SIZE);
- memset(sect[M6502].scode->chptr, 0, UPSEG_SIZE);
- }
- SwitchSection(TEXT); // Go back to TEXT
+ SwitchSection(M6502); // Switch to 6502 section
+
+ // Initialise string conversion table(s)
+ char * p = a8internal;
+ memset(strtoa8, 31, 128); // 31=fallback value ("?")
+
+ for(; p<a8internal+sizeof(a8internal); p+=2)
+ strtoa8[p[0]] = p[1];
+
+ if (challoc == 0)
+ {
+ // Allocate and clear 64K of space for the 6502 section
+ chcheck(UPSEG_SIZE);
+ memset(sect[M6502].scode->chptr, 0, UPSEG_SIZE);
+ }
+
+ SwitchSection(TEXT); // Go back to TEXT