diff --git a/examples/charset.p8 b/examples/charset.p8 index a4d97054e..c0a0d7365 100644 --- a/examples/charset.p8 +++ b/examples/charset.p8 @@ -33,12 +33,7 @@ charset { set_irqd() ubyte bank = @($0001) @($0001) = bank & %11111011 ; enable CHAREN, so the character rom accessible at $d000 - ; memcopy($d000, CHARSET, 256*8*2) ; copy the charset to RAM TODO memcopy > 256 length - uword cc = 0 - repeat 256*8*2 { - @(CHARSET+cc) = @($d000+cc) - cc++ - } + memcopy($d000, CHARSET, 256*8*2) ; copy the charset to RAM @($0001) = bank ; reset previous memory banking clear_irqd() diff --git a/examples/cx16/cobramk3-gfx.p8 b/examples/cx16/cobramk3-gfx.p8 index ed8dabdea..9e4422e5e 100644 --- a/examples/cx16/cobramk3-gfx.p8 +++ b/examples/cx16/cobramk3-gfx.p8 @@ -224,9 +224,7 @@ main { shipdata { - %option force_output - - ; Ship model data converted from BBC Elite's Cobra MK 3 + ; Ship model data converted from BBC Elite's Cobra MK 3 ; downloaded from http://www.elitehomepage.org/archive/index.htm const ubyte totalNumberOfEdges = 51 diff --git a/examples/hello.p8 b/examples/hello.p8 index b34fde48b..25e099eb2 100644 --- a/examples/hello.p8 +++ b/examples/hello.p8 @@ -5,9 +5,6 @@ ; Note: this program is compatible with C64 and CX16. -; TODO why has the prg become bigger since register args? - - main { sub start() { diff --git a/examples/swirl-float.p8 b/examples/swirl-float.p8 index dd3622a77..9fd666dc3 100644 --- a/examples/swirl-float.p8 +++ b/examples/swirl-float.p8 @@ -4,8 +4,6 @@ ; Note: this program is compatible with C64 and CX16. -; TODO why has the prg become bigger since register args? - main { struct Ball {