Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4774

General • Re: PT52-Lua The Modern Retro computer

$
0
0
That is the first time I've ever seen that run somewhere other than here truly amazing.

It looks like your build may be slightly out of date. I did patch the missing carriage returns.

The USB overhaul is a much safer choice, the newlib branch was corrupting files on my SD card thank fully I was able to recover them.

I've got libraries and programs written for Lua that are made just for the PT52 if you want them I could update the repo for them It's currently not live.

I would advise caution with the UART library if you activate it without removing the SD card or cutting the traces between the SD JUMPERS you could hit a pin conflict and damage either the pico or the SD card. I did this modification a long time ago.

Try this out

Code:

uses "vram"uses "draw"for c = 0,255 do draw.set_colour(c,c,c,c) endlocal p = 0vram.write("reg",0,5)for y = -1.3,1.3,0.026 do for x = -2.08, 1.1, 0.02 do  local zi, zr, i = 0, 0, 0  while i < 100 do   if (zi*zi+zr*zr >= 4) then break end   zr, zi, i = zr*zr-zi*zi+x, 2*zr*zi+y, i+1  end  vram.write(p,i) p=p+1 endendwhile 1 do end
You can also use a USB flash drive that would be the A:

Statistics: Posted by DarkElvenAngel — Sat Dec 14, 2024 2:34 pm



Viewing all articles
Browse latest Browse all 4774

Trending Articles