File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -539,7 +539,7 @@ public void IZY() {
539
539
//INSTRUCTIONS
540
540
public void ADC () {
541
541
fetch ();
542
- short temp = (short )((short )a + (short )fetched + (short )(getFlag ('C' ) ? 1 : 0 ));
542
+ short temp = (short )((short )Byte . toUnsignedInt ( a ) + (short )Byte . toUnsignedInt ( fetched ) + (short )(getFlag ('C' ) ? 1 : 0 ));
543
543
setFlag ('C' , temp > 255 );
544
544
setFlag ('Z' , (temp & 0x00FF ) == 0 );
545
545
setFlag ('N' , (temp & 0x80 ) == 0x80 );
Original file line number Diff line number Diff line change 9
9
10
10
public class EaterEmulator extends JFrame implements ActionListener {
11
11
public static EaterEmulator emu ;
12
- public static String versionString = "1.3 " ;
12
+ public static String versionString = "1.4 " ;
13
13
14
14
//Swing Things
15
15
JPanel p = new JPanel ();
You can’t perform that action at this time.
0 commit comments