Skip to content

Commit

Permalink
Minor reordering for M2-Planet
Browse files Browse the repository at this point in the history
  • Loading branch information
oriansj committed Aug 8, 2021
1 parent f159820 commit fbf8635
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
15 changes: 1 addition & 14 deletions hex2.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,7 @@
* along with mescc-tools. If not, see <http://www.gnu.org/licenses/>.
*/

#include "hex2.h"
/* Globals */
FILE* output;
struct entry** jump_tables;
int BigEndian;
int Base_Address;
int Architecture;
int ByteMode;
int exec_enable;
int ip;
char* scratch;
char* filename;
int linenumber;
int ALIGNED;
#include "hex2_globals.h"

/* The essential functions */
void first_pass(struct input_files* input);
Expand Down
15 changes: 15 additions & 0 deletions hex2_linker.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,21 @@

#include "hex2_globals.h"

/* Globals */
FILE* output;
struct entry** jump_tables;
int BigEndian;
int Base_Address;
int Architecture;
int ByteMode;
int exec_enable;
int ip;
char* scratch;
char* filename;
int linenumber;
int ALIGNED;

/* For processing bytes */
int hold;
int toggle;

Expand Down

0 comments on commit fbf8635

Please sign in to comment.