X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Fasmutils.s;h=e4402ffb354a06e49c6be97cc2d2bff4feae68f9;hb=e52fb441a4d2b47237726b2f93612ba124b39e5a;hp=e1e09451cedfa8eb176a03c60c780c769e92bb82;hpb=720ee7f6244cb51cc123a7fd16832161db9a3b4d;p=libpicofe.git diff --git a/gp2x/asmutils.s b/gp2x/asmutils.s index e1e0945..e4402ff 100644 --- a/gp2x/asmutils.s +++ b/gp2x/asmutils.s @@ -1,8 +1,10 @@ +@ vim:filetype=armasm @ some color conversion and blitting routines @ (c) Copyright 2006, notaz @ All Rights Reserved +@ vim:filetype=armasm @ Convert 0000bbb0 ggg0rrr0 0000bbb0 ggg0rrr0 @ to 00000000 rrr00000 ggg00000 bbb00000 ... @@ -197,7 +199,6 @@ vidCpyM2_32col_nobord: b vidCpyM2_32_loop_out -@ test .global spend_cycles @ c spend_cycles: @@ -208,3 +209,12 @@ spend_cycles: bpl .sc_loop bx lr + + +@ test +.global flushcache + +flushcache: + swi #0x9f0002 + mov pc, lr +