diff --git a/programs/3d_renderer.asm b/programs/3d_renderer.asm index a48ee38..861d537 100644 --- a/programs/3d_renderer.asm +++ b/programs/3d_renderer.asm @@ -5,25 +5,68 @@ MOV $0x00FF,%R4h MOV $0xFFFF,%R1l MOV $0xFFFF,%R1h MOV %R1,(%R4) +MOV $0x0008,%R7l +MOV $0x0000,%R7h #The number of rotate,render itrations +:MAIN_LOOP +PUSH %R7 +PUSH %R6 CALL $RENDER -MOV $>DATA_START,%R0l -MOV $DATA_START,%R0l -MOV $DATA_START,%R0l +MOV $DATA_START,%R0l MOV $