Skip to content
This repository was archived by the owner on Sep 14, 2025. It is now read-only.
This repository was archived by the owner on Sep 14, 2025. It is now read-only.

Changes made to QNICE submodule #2

@Rhialto

Description

@Rhialto

For the record, here are the changes to the QNICE submodule that I had to make to get my current compiler to accept it:

diff --git a/c/vasm/cond.c b/c/vasm/cond.c
index 8d1a12c..910065a 100644
--- a/c/vasm/cond.c
+++ b/c/vasm/cond.c
@@ -8,7 +8,7 @@ int clev;  /* conditional level */
 static char cond[MAXCONDLEV+1];
 static char *condsrc[MAXCONDLEV+1];
 static int condline[MAXCONDLEV+1];
-static ifnesting;
+static int ifnesting;
 
 
 /* initialize conditional assembly */
diff --git a/emulator/uart.h b/emulator/uart.h
index f5b3e49..86ce36c 100644
--- a/emulator/uart.h
+++ b/emulator/uart.h
@@ -55,7 +55,8 @@ typedef struct uart
 #define RESET_OUTPUT_PORT 15
 
 //flag to ensure restoring a working terminal when closing the emulator by closing the SDL window
-enum uart_status_t {uart_undef, uart_init, uart_rundown} uart_status;
+enum uart_status_t {uart_undef, uart_init, uart_rundown};
+extern enum uart_status_t uart_status;
 
 unsigned int uart_read_register(uart *, unsigned int);
 void uart_write_register(uart *, unsigned int, unsigned int);

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions