]> cloudbase.mooo.com Git - avrcpm.git/blobdiff - avr/dram-8bit.asm
* FAT buffer on ATmega328
[avrcpm.git] / avr / dram-8bit.asm
index 466f9bb4660d6adb63380cf28ec99cc367d263a8..c0553138b4c0d196e20a2bdad728f50ff8c4e0f2 100644 (file)
@@ -29,7 +29,7 @@
 ;must not alter xh:xl
 
 dram_read:
-       cli                             ;
+;      cli                             ;
        out     PORTD,xh                ;1
        out     PORTC,_RAS0             ;1
        out     PORTD,xl                ;1
@@ -41,7 +41,7 @@ dram_read:
        in      temp,PIND               ;1
        out     PORTC,_255              ;1
        out     DDRD,_255               ;1
-       sei                             ;
+;      sei                             ;
        ret
 
 
@@ -50,7 +50,7 @@ dram_read:
 ;must not alter xh:xl
 
 dram_write:
-       cli
+;      cli
        out     PORTD,xh                ;1
        out     PORTC,_RAS0             ;1
        out     PORTD,xl                ;1
@@ -58,7 +58,7 @@ dram_write:
        out     PORTD,temp              ;1
        out     PORTC,_WE               ;1
        out     PORTC,_255              ;1  = 7
-       sei
+;      sei
        ret
 
 ; -------------------------------------------------------------------