Fix codestyle
This commit is contained in:
@@ -6,33 +6,33 @@
|
||||
; unsigned char __fastcall__ flash (unsigned char onoff)
|
||||
;
|
||||
|
||||
.export _revers, _flash
|
||||
.export _revers, _flash
|
||||
|
||||
.include "agat.inc"
|
||||
.include "agat.inc"
|
||||
|
||||
_revers:
|
||||
tax
|
||||
beq noinv
|
||||
lda TATTR
|
||||
and #$D7
|
||||
sta TATTR
|
||||
rts
|
||||
tax
|
||||
beq noinv
|
||||
lda TATTR
|
||||
and #$D7
|
||||
sta TATTR
|
||||
rts
|
||||
noinv:
|
||||
lda TATTR
|
||||
ora #$20
|
||||
sta TATTR
|
||||
rts
|
||||
lda TATTR
|
||||
ora #$20
|
||||
sta TATTR
|
||||
rts
|
||||
|
||||
_flash:
|
||||
tax
|
||||
beq noflash
|
||||
lda TATTR
|
||||
and #$DF
|
||||
ora #$08
|
||||
sta TATTR
|
||||
rts
|
||||
tax
|
||||
beq noflash
|
||||
lda TATTR
|
||||
and #$DF
|
||||
ora #$08
|
||||
sta TATTR
|
||||
rts
|
||||
noflash:
|
||||
lda TATTR
|
||||
ora #$20
|
||||
sta TATTR
|
||||
rts
|
||||
lda TATTR
|
||||
ora #$20
|
||||
sta TATTR
|
||||
rts
|
||||
|
||||
Reference in New Issue
Block a user