Cyprian Posted October 21, 2018 Share Posted October 21, 2018 In JagDox we can read that the object list has to be created every VBL due to OP modify it. What is the reason of that "modification"? https://www.mulle-kybernetik.com/jagdox/op.html 2.5 The object in the objectlist are *modified* by the OP. This means that an object list is only good for one frame. You need to continually refresh your object list each VBLANK. By a modification I understand the process of reading a phrase from a memory and writing it modified back. It is two cycles per phrase. Am I correct? Quote Link to comment https://forums.atariage.com/topic/284204-object-processor-and-the-object-list/ Share on other sites More sharing options...
Seedy1812 Posted October 22, 2018 Share Posted October 22, 2018 The OP itself updates the memory in the list. As it builds the display a scanline at a time it does some logic on members . Now this is vague memories from years ago , but a normal sprite will have a start Y and an end Y and a data pointer for the current Y. The OP will ignore it until the Y matches . I then think as long as its not the end Y the start Y gets updated and the data pointer will be updated to the next line down. Quote Link to comment https://forums.atariage.com/topic/284204-object-processor-and-the-object-list/#findComment-4139463 Share on other sites More sharing options...
Zerosquare Posted October 22, 2018 Share Posted October 22, 2018 (edited) The Object Processor works this way because it renders the screen one line at a time, not one object at a time. So for each object, it needs to remember what has already been drawn, and what remains to be drawn. If it didn't modify the object list, it would need extra memory for that, which is a problem since there is no hard limit on the number of objects per screen. Edited October 22, 2018 by Zerosquare 4 Quote Link to comment https://forums.atariage.com/topic/284204-object-processor-and-the-object-list/#findComment-4139546 Share on other sites More sharing options...
swapd0 Posted October 22, 2018 Share Posted October 22, 2018 It would be nice if the Object Processor could calculate the bitmap address using the scan line number (address = bitmap_base + (current_scan_line - bitmap_y) * image_width ), so you don't need to rebuild the list on each frame. Quote Link to comment https://forums.atariage.com/topic/284204-object-processor-and-the-object-list/#findComment-4139651 Share on other sites More sharing options...
Zerosquare Posted October 22, 2018 Share Posted October 22, 2018 Lots of things would be nice to have in hardware, but the Jaguar is what it is 3 Quote Link to comment https://forums.atariage.com/topic/284204-object-processor-and-the-object-list/#findComment-4139692 Share on other sites More sharing options...
Cyprian Posted October 23, 2018 Author Share Posted October 23, 2018 Seedy1812, Zerosquare, that sounds reasonable. thx Quote Link to comment https://forums.atariage.com/topic/284204-object-processor-and-the-object-list/#findComment-4140240 Share on other sites More sharing options...
LinkoVitch Posted October 23, 2018 Share Posted October 23, 2018 and also because if it was all easy, there would be no 'fun' 2 Quote Link to comment https://forums.atariage.com/topic/284204-object-processor-and-the-object-list/#findComment-4140423 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.