diff --git a/mcdp/.classpath b/mcdp/.classpath index 15e8e18..435f3b7 100644 --- a/mcdp/.classpath +++ b/mcdp/.classpath @@ -3,5 +3,5 @@ - + diff --git a/mcdp/scrapBook.jpage b/mcdp/scrapBook.jpage index 5356119..9ecc960 100644 --- a/mcdp/scrapBook.jpage +++ b/mcdp/scrapBook.jpage @@ -106,3 +106,10 @@ System.out.println("0x" + Integer.toHexString(retValue)); ++++++ System.out.println(((512 - 6) / 2) & 0xFFFC); ++++++ +int MR30TSPR = 0x7FC003A6; +int spr = 158; +System.out.println(((spr & 0x1F) * 0x20 + (spr >>> 5)) * 0x800 + MR30TSPR); ++++++++ +int val = 0xFFFFFA00; +System.out.println("0x" + Integer.toHexString(val >>> 16)); +System.out.println("0x" + Integer.toHexString(val & 0xFFFF));