changed false order of arrayelements

This commit is contained in:
WickedJack99
2022-04-28 10:47:50 +02:00
parent ae946c109a
commit f2c87ed361
4 changed files with 10 additions and 10 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -227,7 +227,7 @@ public class RAM {
set_T0IF(true);
set_TMR0((iValTMR0 + 1) & 255);
} else {
set_T0IF(false);
//set_T0IF(false);
set_TMR0(iValTMR0 + 1);
}
//Prescaler assigned to TMR0, increment TMR0 if prescaled TMR0 equals TMR0 prescaler-rate.
@@ -241,7 +241,7 @@ public class RAM {
set_T0IF(true);
set_TMR0((iValTMR0 + 1) & 255);
} else {
set_T0IF(false);
//set_T0IF(false);
set_TMR0(iValTMR0 + 1);
}
}

View File

@@ -163,14 +163,14 @@ public class GUIRegistersDetailed extends JPanel {
}
public void setIntcon(int[] aiIntcon) {
oIntconTable.setValueAt(aiIntcon[0] + "", 1, 0);
oIntconTable.setValueAt(aiIntcon[1] + "", 1, 1);
oIntconTable.setValueAt(aiIntcon[2] + "", 1, 2);
oIntconTable.setValueAt(aiIntcon[3] + "", 1, 3);
oIntconTable.setValueAt(aiIntcon[4] + "", 1, 4);
oIntconTable.setValueAt(aiIntcon[5] + "", 1, 5);
oIntconTable.setValueAt(aiIntcon[6] + "", 1, 6);
oIntconTable.setValueAt(aiIntcon[7] + "", 1, 7);
oIntconTable.setValueAt(aiIntcon[7] + "", 1, 0);
oIntconTable.setValueAt(aiIntcon[6] + "", 1, 1);
oIntconTable.setValueAt(aiIntcon[5] + "", 1, 2);
oIntconTable.setValueAt(aiIntcon[4] + "", 1, 3);
oIntconTable.setValueAt(aiIntcon[3] + "", 1, 4);
oIntconTable.setValueAt(aiIntcon[2] + "", 1, 5);
oIntconTable.setValueAt(aiIntcon[1] + "", 1, 6);
oIntconTable.setValueAt(aiIntcon[0] + "", 1, 7);
}
public void setTheme(int iThemeNr) {