get prescaler factor

This commit is contained in:
Darkress
2023-06-15 20:53:19 +02:00
parent 049a16f8a6
commit 3910731cae
3 changed files with 25 additions and 1 deletions

View File

@@ -121,6 +121,11 @@ public class Memory
memory[0x8A] = data & 0x1F;
}
public static int getOption()
{
return memory[0x81];
}
public static boolean getZeroBit()
{
return (memory[0x03] & 0x04) == 0x04;