From 519c762287219429f590728b025d2a12968d570a Mon Sep 17 00:00:00 2001 From: "(Tim) Efthimis Kritikos" Date: Fri, 16 Feb 2024 21:55:42 +0000 Subject: [PATCH] Programs: Made the 3d renderer spin the 3d model --- programs/3d_renderer.asm | 161 +++++++++++++++++++++++++-------------- 1 file changed, 102 insertions(+), 59 deletions(-) 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 $