pr0be Posted September 30, 2009 Share Posted September 30, 2009 Hello I need to test my multiplexer engine on REAL NTSC machine, unfortunately i don't have one... Can somebody test this thing on real NTSC atari? on Atari800Win in NTSC mode seem to work fine, but to be honest i don't trust emulators too much c_test.zip Quote Link to comment Share on other sites More sharing options...
atariksi Posted September 30, 2009 Share Posted September 30, 2009 Hello I need to test my multiplexer engine on REAL NTSC machine, unfortunately i don't have one... Can somebody test this thing on real NTSC atari? on Atari800Win in NTSC mode seem to work fine, but to be honest i don't trust emulators too much It works on my 800XL (NTSC), but it doesn't scroll left (if it's suppose to). I was able to shoot a few of the enemies and jump and scroll right. But you need to post a screen shot and description so anyone who tries it can compare with it. Quote Link to comment Share on other sites More sharing options...
Fres Posted September 30, 2009 Share Posted September 30, 2009 Works fine on my XEGS. Looks like a promising project. Is that Contra? Great playability so far! Quote Link to comment Share on other sites More sharing options...
+MrFish Posted October 1, 2009 Share Posted October 1, 2009 Nice "test" Quote Link to comment Share on other sites More sharing options...
Synthpopalooza Posted October 1, 2009 Share Posted October 1, 2009 Nice "test" Indeed. How does this sprite multiplexing engine work? Very impressive. Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted October 1, 2009 Share Posted October 1, 2009 Cool stuff! looks like a Contra port on the way? or only a test? Quote Link to comment Share on other sites More sharing options...
dwhyte Posted October 1, 2009 Share Posted October 1, 2009 (edited) Bloody brilliant "test!" Excellent work! Well done, sir. Edited October 1, 2009 by dwhyte Quote Link to comment Share on other sites More sharing options...
Shannon Posted October 1, 2009 Share Posted October 1, 2009 Wowzers!! Quote Link to comment Share on other sites More sharing options...
+Allan Posted October 1, 2009 Share Posted October 1, 2009 I must be have been dreaming because I think I just played Contra on my Atari and that can't be possible. Allan Quote Link to comment Share on other sites More sharing options...
pr0be Posted October 1, 2009 Author Share Posted October 1, 2009 It works on my 800XL (NTSC), but it doesn't scroll left (if it's suppose to). I was able to shoot a few of the enemies and jump and scroll right. But you need to post a screen shot and description so anyone who tries it can compare with it. if you didn't notice any artifacts or sprite distortion like spliting sprite into two parts (one or more lines of the same sprite are in different X position) that it seems to work fine... Thanks for help! Indeed. How does this sprite multiplexing engine work? Very impressive. basically it's sorts all sprites by their Y-position, then starts from the top to bottom drawing each sprites from sorted list to PMG0-1 (if its free on current charline), if PMG0-1 is already used in current charline, the multiplexer try to draw this sprite to PMG2-3, if both PMG0-1 and PMG2-3 are not free then multiplexer try to figure out which sprite reject in next frame and which sprite to draw (it use priorities to determine sprite rejection) I was worried that NTSC machine can have problem to change six registers in one scanline, but it's seems to work fine... Cool stuff! looks like a Contra port on the way? or only a test? it's another test , but I'm very close to finish "universal" 2d game engine, so after that making a 2d game should be very easy today i started ripping graphics from super mario bros to see how it would look... maybe tommorow I finish it and share results... Quote Link to comment Share on other sites More sharing options...
analmux Posted October 1, 2009 Share Posted October 1, 2009 @ Pr0be : Don't worry about number of cycles in one scanline : There are 114 (minus refresh & gfx dma) cycles on both PAL / NTSC machines. Also the # of refresh / gfx dma cycles stolen is the same on both video systems. The bigger problem is the number of scanlines in one frame. On NTSC the vblank period is much shorter, so take care of the sorting routine. It should finish before end of vblank period, or at least before the first sprite is drawn. Anyway, nice project! Good job. Good luck finishing it. Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted October 2, 2009 Share Posted October 2, 2009 Cze Probe. Any chance for releasing the source code after your test? if so... please make the source easy to read or at least some comments... Quote Link to comment Share on other sites More sharing options...
pr0be Posted October 3, 2009 Author Share Posted October 3, 2009 The bigger problem is the number of scanlines in one frame. On NTSC the vblank period is much shorter, so take care of the sorting routine. It should finish before end of vblank period, or at least before the first sprite is drawn. I notice that... on PAL my multiplexer can display about 18-20 10x16 multicolored sprites in one frame, on NTSC only 13-14... pretty much different Any chance for releasing the source code after your test? if so... please make the source easy to read or at least some comments... I have plan to release this engine as linked library with full documentation and some examples that using it. Another quick test, this time Super Mario Bros... smb_test.zip Quote Link to comment Share on other sites More sharing options...
Tezz Posted October 3, 2009 Share Posted October 3, 2009 Just for fun and as I've had some free time.. see attached just incase Contra ever becomes a project that someone wants to take on. contra.zip Quote Link to comment Share on other sites More sharing options...
Tezz Posted October 3, 2009 Share Posted October 3, 2009 I have plan to release this engine as linked library with full documentation and some examples that using it.It's excellent, and good news. I'll look forward to that. Do you have any plans to create complete games personally with your engine? Quote Link to comment Share on other sites More sharing options...
pr0be Posted October 3, 2009 Author Share Posted October 3, 2009 that Contra title screen looks great, nice mixing hires with pmg. I'm only considering possibilities to make conversion of Contra/Super Mario Bros/other games by checking how game would look on Atari... it's small chance that I port any of this games - I would rather make exclusive title... Do you have any plans to create complete games personally with your engine? Yep... We (Me, Born and Powrooz) started a new game project some days ago... but it's too soon to say some details... It will be platform shooter for sure Quote Link to comment Share on other sites More sharing options...
Tezz Posted October 3, 2009 Share Posted October 3, 2009 Yep... We (Me, Born and Powrooz) started a new game project some days ago... but it's too soon to say some details... It will be platform shooter for sure awesome. That's great news! Quote Link to comment Share on other sites More sharing options...
Jetboot Jack Posted October 3, 2009 Share Posted October 3, 2009 A couple of really nice demo's of your techniques - very intriguing, can't wait to see what you decide to make!! sTeVE Quote Link to comment Share on other sites More sharing options...
w1k Posted October 3, 2009 Share Posted October 3, 2009 very very nice.. Quote Link to comment Share on other sites More sharing options...
analmux Posted October 3, 2009 Share Posted October 3, 2009 The bigger problem is the number of scanlines in one frame. On NTSC the vblank period is much shorter, so take care of the sorting routine. It should finish before end of vblank period, or at least before the first sprite is drawn. I notice that... on PAL my multiplexer can display about 18-20 10x16 multicolored sprites in one frame, on NTSC only 13-14... pretty much different Any chance for releasing the source code after your test? if so... please make the source easy to read or at least some comments... I have plan to release this engine as linked library with full documentation and some examples that using it. Another quick test, this time Super Mario Bros... Interesting...could you roughly say how much CPU time the object sorter and the data stuffer individually take. I'm curious if such a PM solution would be possible for the SMB-port I'm thinking of (See elsewhere on the forum). Quote Link to comment Share on other sites More sharing options...
pr0be Posted October 3, 2009 Author Share Posted October 3, 2009 Interesting...could you roughly say how much CPU time the object sorter and the data stuffer individually take. I'm curious if such a PM solution would be possible for the SMB-port I'm thinking of (See elsewhere on the forum). blue rasterbar - clearing pmg area green rasterbar - drawing sprites and updating displaylist red rasterbar - sorter I use insertion sort for sort sprites - I think that is the fastes algorithm to sort small amount of data (radix sort is better if we have more than 16 sprites to sort) I looked into disassembled SMB source code (smbdis.asm) and i have felling that it would be easier to write all code from scratch that modifing and analyzing orginal source code (Yep it is well commented but i don't think that i would have patient to do it it's quite impressive that you manage to run nes code on atari, i don't know exactly how nes handles a sprites but i suppose that very similar that my multiplexer so i think that sprites is not a problem... more difficult would be changing engine to use LMS feature to scroll screen mp_test.zip 1 Quote Link to comment Share on other sites More sharing options...
pr0be Posted October 3, 2009 Author Share Posted October 3, 2009 I also attach smb_test with rasterbars test to see how much CPU time is consuming... smb_test2.zip 1 Quote Link to comment Share on other sites More sharing options...
Allas Posted October 4, 2009 Share Posted October 4, 2009 Good work!! I need one of those routines Quote Link to comment Share on other sites More sharing options...
matosimi Posted October 4, 2009 Share Posted October 4, 2009 Simply incredible! Quote Link to comment Share on other sites More sharing options...
Reaperman Posted October 4, 2009 Share Posted October 4, 2009 this is simply incredible. great work pr0be. I'd love to see how all this turns out. Quote Link to comment 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.