[HN Gopher] Pico-8 CPU
       ___________________________________________________________________
        
       Pico-8 CPU
        
       Author : tosh
       Score  : 28 points
       Date   : 2022-10-28 20:38 UTC (3 days ago)
        
 (HTM) web link (pico-8.fandom.com)
 (TXT) w3m dump (pico-8.fandom.com)
        
       | carl_dr wrote:
       | This link discusses how many cycles you have for your game per
       | frame at 30fps and 60fps, and specifies how many cycles different
       | functions, variable accesses, etc take, and methods of
       | optimisation.
       | 
       | Very interesting, I've been reading up on/reminding myself about
       | 6502 opcodes and their cycles recently. It's kinda cool that
       | Pico-8 is documented to a similar level, even if it seems like
       | those limitations seem artificial (you get a set number of cycles
       | regardless of the speed of the host computer.)
        
       | tmountain wrote:
       | I love pico-8, but it's never really seemed like a VM to me--at
       | least in the sense that there are virtual instructions running in
       | the background. It feels more like the constraints and memory
       | mapping are integrated into an event loop with a Lua API to
       | interact with the "machine". Does anyone know precisely how the
       | internals work?
        
       ___________________________________________________________________
       (page generated 2022-10-31 23:00 UTC)