dev/render-all-scene-cache-and-camera-integration #16
@ -92,6 +92,8 @@ pub fn generate() -> Result<()> {
|
||||
const_pool: vec![
|
||||
ConstantPoolEntry::String("stress".into()),
|
||||
ConstantPoolEntry::String("frame".into()),
|
||||
ConstantPoolEntry::String("overlay".into()),
|
||||
ConstantPoolEntry::String("composer".into()),
|
||||
],
|
||||
functions,
|
||||
code: rom,
|
||||
@ -175,16 +177,26 @@ fn heavy_load(rom: &mut Vec<u8>) {
|
||||
rom.extend(asm("JMP 0"));
|
||||
let row_loop_end = rom.len() as u32;
|
||||
|
||||
rom.extend(asm("PUSH_I32 8\n\
|
||||
rom.extend(asm("GET_GLOBAL 0\nPUSH_I32 3\nMUL\nPUSH_I32 220\nMOD\n\
|
||||
PUSH_I32 8\n\
|
||||
PUSH_CONST 0\n\
|
||||
GET_GLOBAL 0\nPUSH_I32 2047\nMUL\nPUSH_I32 65535\nBIT_AND\n\
|
||||
HOSTCALL 1"));
|
||||
rom.extend(asm("PUSH_I32 8\n\
|
||||
PUSH_I32 20\n\
|
||||
rom.extend(asm("PUSH_I32 12\n\
|
||||
GET_GLOBAL 0\nPUSH_I32 2\nMUL\nPUSH_I32 120\nMOD\nPUSH_I32 24\nADD\n\
|
||||
PUSH_CONST 1\n\
|
||||
GET_GLOBAL 0\nPUSH_I32 4093\nMUL\nPUSH_I32 65535\nBIT_AND\n\
|
||||
HOSTCALL 1"));
|
||||
rom.extend(asm("PUSH_I32 220\n\
|
||||
GET_GLOBAL 0\nPUSH_I32 5\nMUL\nPUSH_I32 140\nMOD\n\
|
||||
PUSH_CONST 2\n\
|
||||
GET_GLOBAL 0\nPUSH_I32 1237\nMUL\nPUSH_I32 65535\nBIT_AND\n\
|
||||
HOSTCALL 1"));
|
||||
rom.extend(asm("GET_GLOBAL 0\nPUSH_I32 4\nMUL\nPUSH_I32 180\nMOD\nPUSH_I32 80\nADD\n\
|
||||
GET_GLOBAL 0\nPUSH_I32 3\nMUL\nPUSH_I32 90\nMOD\nPUSH_I32 70\nADD\n\
|
||||
PUSH_CONST 3\n\
|
||||
GET_GLOBAL 0\nPUSH_I32 3001\nMUL\nPUSH_I32 65535\nBIT_AND\n\
|
||||
HOSTCALL 1"));
|
||||
|
||||
rom.extend(asm("GET_GLOBAL 0\nPUSH_I32 60\nMOD\nPUSH_I32 0\nEQ"));
|
||||
let jif_log_offset = rom.len() + 2;
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user