ULA

Change of main.py

32:da771131998b
main.py
     1.1 --- a/main.py	Sun Dec 18 19:31:33 2011 +0100
     1.2 +++ b/main.py	Tue Dec 20 01:01:28 2011 +0100
     1.3 @@ -50,7 +50,7 @@
     1.4  
     1.5      # Test MODE 2.
     1.6  
     1.7 -    ula.set_mode(2)
     1.8 +    ula.set_mode(2); ula.reset()
     1.9  
    1.10      ula.fill(0x3000, 0x5800 - 320, encode((1, 6), 4))
    1.11      ula.fill(0x5800 - 320, 0x8000, encode((2, 7), 4))
    1.12 @@ -65,7 +65,7 @@
    1.13  
    1.14      # Test MODE 6.
    1.15  
    1.16 -    ula.set_mode(6)
    1.17 +    ula.set_mode(6); ula.reset()
    1.18  
    1.19      ula.fill(0x6000, 0x6f00 + 160, encode((1, 0, 1, 1, 0, 0, 1, 1), 1))
    1.20      ula.fill(0x6f00 + 160, 0x7f40, encode((1, 0, 1, 0, 1, 0, 1, 0), 1))