diff --git a/docs/changelog/roadmap.md b/docs/changelog/roadmap.md index 96127e4..4a51ede 100644 --- a/docs/changelog/roadmap.md +++ b/docs/changelog/roadmap.md @@ -44,7 +44,7 @@ Currently, I have two options: ### Current status -Work on PingusVM have been started. At worst there will be an assembly-like scripting language, with options to write a compiler. +~~Work on PingusVM have been started. At worst there will be an assembly-like scripting language, with options to write a compiler.~~ Dropped in favor of a binding to wasmtime. ## Path management @@ -64,7 +64,7 @@ Added benefits are speed (10 000+ objects per frame!), the possibility of low-re ### Pre-requirements -Mostly finishing iota to a state it can replace the current SDL functionality. +Mostly finishing iota to a state it can replace the current SDL functionality. (DONE!) ### Things probably need to be changed before, through, or after the GPU transition diff --git a/docs/formats/imbc.md b/docs/formats/imbc.md index 995f3d8..dfe7add 100644 --- a/docs/formats/imbc.md +++ b/docs/formats/imbc.md @@ -391,13 +391,13 @@ Bytecode layout: ``` or ``` -[02]{24 most significant bits of time value}{32 least significant bits of time value} +[02]{24 least significant bits of time value}{32 most significant bits of time value} ``` Human-readable format: ``` -wait {int} +wait {number of tics in time format} ``` or ``` @@ -639,10 +639,20 @@ Control commands are used to control the processing of the file in real time. #### Set register -`ctrl setReg R25 6181` +`ctrl setReg [Register] [Data to be written to register]` + +`0xF0 0x01 [register number: 8 bits] [padding: 8 bits] [data to be written to register 32 bits]` `0x01`/`setReg` will set the register value specified by command code +#### Sync for external chain + +`ctrl syncXC [sync flags as hexanumeric data]` + +`0xF0 0x02 [sync flags: 16 bits]` + +`0x02`/`syncXC` tells the sequencer that it's okay to process synchronized (external) pattern branching commands with the given flags. + ## Display command Bytecode layout: