Valden [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=36251 Working with external editors <p>Hello !</p> <p>I'm trying to find a setup where I can edit the files inside of a cart with an external editor like VSCode.</p> <p>In the <a href="https://www.lexaloffle.com/dl/docs/picotron_filesystem.html">filesystem documentation</a> it's suggested that you use the following commands </p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>mkdir /live_cart mount /ram/cart /live_cart folder /live_cart</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>However this doesn't work in the current version because you can't mount a folder that already exists (here /ram/cart)</p> <p>Running <code>rm /ram/cart</code> then trying to mount it does work, however trying to <code>load</code> a cart seems to override the mount so you can't edit it.</p> <p>Copying the content of the cart from ram/cart into a folder, then mounting that folder into /ram/cart, then trying to run the cart doesn't work either because the editors will save their content into ram and override the files in your cart.</p> <p>Has anyone found a reliable solution for this use case ?</p> <p>Thanks !</p> https://www.lexaloffle.com/bbs/?tid=140946 https://www.lexaloffle.com/bbs/?tid=140946 Wed, 20 Mar 2024 19:54:02 UTC Mode 7 Demo <p><center> <table><tr><td> <a href="/bbs/?pid=143279#p"> <img src="/bbs/thumbs/pico64_mode7_demo-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=143279#p"> mode7_demo</a><br><br> by <a href="/bbs/?uid=36251"> Valden</a> <br><br><br> <a href="/bbs/?pid=143279#p"> [Click to Play]</a> </td></tr></table> </center></p> <p>A simple mode7-like effect, as seen in multiple SNES titles like Super Mario Kart and F-Zero.</p> <p>This is archieved with the <code>tline3d</code> function, called once per line on the screen. Change the <code>debug</code> variable in the source code to true to see what the <code>tline3d</code> function indexes on the real tilemap.</p> <p>The effect uses around 40% of the CPU</p> https://www.lexaloffle.com/bbs/?tid=140721 https://www.lexaloffle.com/bbs/?tid=140721 Sat, 16 Mar 2024 10:00:09 UTC