swapd0 #1 Posted November 19, 2018 (edited) First version, 100% C code, no GPU, no Blitter, 8 bits bitmap for rendering, screen drawn and cleared pixel by pixel (using byte pointers). By the way, this demo it's a fact why you shouldn't use the emulator to optimise the code (sorry if there are newer versions or better emulators). Look at the times... Edited November 19, 2018 by swapd0 7 Quote Share this post Link to post Share on other sites
neo_rg #2 Posted November 19, 2018 Classic demo Quote Share this post Link to post Share on other sites
+CyranoJ #3 Posted November 19, 2018 Very nice Quote Share this post Link to post Share on other sites
Cyprian #4 Posted November 20, 2018 need more Quote Share this post Link to post Share on other sites
swapd0 #5 Posted November 20, 2018 (edited) I've included a music, Elysium by Jester. Also I've fixed some issues with my start up code, some times it refuses to start. Now it takes a bit more than 12min. stniccc.zip Edited November 20, 2018 by swapd0 5 Quote Share this post Link to post Share on other sites
Clint Thompson #6 Posted November 20, 2018 I've included a music, Elysium by Jester. Also I've fixed some issues with my start up code, some times it refuses to start. Maybe now it takes a bit more than 12min. Sweet, look forward to checking this out when I get home. Thanks! Quote Share this post Link to post Share on other sites
+CyranoJ #7 Posted November 20, 2018 I've included a music, Elysium by Jester. Also I've fixed some issues with my start up code, some times it refuses to start. Now it takes a bit more than 12min. I can't get this to run on VJ, or any of my Jags in PAL or NTSC. I've also tried stripping the header off so it is a straight .BIN file Blank screen, followed by more of the same. [edit] After several retries it started.. making a video now. [edit #2] https://youtu.be/9nZJL-yyOFQ 3 Quote Share this post Link to post Share on other sites
swapd0 #8 Posted November 20, 2018 I can't get this to run on VJ, or any of my Jags in PAL or NTSC. I've also tried stripping the header off so it is a straight .BIN file Blank screen, followed by more of the same. [edit] After several retries it started.. making a video now. hmm I've almost "never" used VJ, I've fixed some issues at startup code that refuses to run with a cold boot, maybe it's still buggy. I'll have a second look later. Quote Share this post Link to post Share on other sites
LinkoVitch #9 Posted November 20, 2018 It took me a couple of tries to get it to load in VJ also, think I had to run it in Alpine mode to get it to run eventually. Quote Share this post Link to post Share on other sites
swapd0 #10 Posted November 21, 2018 https://youtu.be/9nZJL-yyOFQ I need to fix the timer for ntsc jaguars... XD 1 Quote Share this post Link to post Share on other sites
swapd0 #11 Posted November 21, 2018 I've fixed the startup code. I've tried a few times with a cold boot and always worked. Download from here http://swapd0.blogspot.com/p/st-niccc.html 4 Quote Share this post Link to post Share on other sites
+Saturn #12 Posted November 21, 2018 Took 2 tries to get it running using virtualjaguar20160613-win64.exe. No big, impressive work. I see by the video it's not my weak laptop causing the jump/pause. Not complaining, just saying. Man, I wish I could do something like that. The music is fantastic btw 1 Quote Share this post Link to post Share on other sites
Machine #13 Posted November 21, 2018 That looks amazing.... Nice Job! I see you are porting Classic Kong, any chance it will see a cart release? Quote Share this post Link to post Share on other sites
Clint Thompson #14 Posted November 21, 2018 Will be interesting to see how it progresses once or if you plan to add optimizations? Not sure what the end goal is here with this. Quote Share this post Link to post Share on other sites
swapd0 #15 Posted November 21, 2018 That looks amazing.... Nice Job! I see you are porting Classic Kong, any chance it will see a cart release? First, it must be finished Will be interesting to see how it progresses once or if you plan to add optimizations? Not sure what the end goal is here with this. I always wanted to have a 3d scene to try different polygon routines to see witch one it's faster... 3 Quote Share this post Link to post Share on other sites
JagChris #16 Posted November 21, 2018 Go swap! Go! Quote Share this post Link to post Share on other sites
walter_J64bit #17 Posted November 22, 2018 Interesting demo. :thumbsup: Quote Share this post Link to post Share on other sites
Christos #18 Posted November 22, 2018 And here is the original. One of my favourite STE demos. Great work porting this over swapd. 1 Quote Share this post Link to post Share on other sites
JagChris #19 Posted November 22, 2018 By the way, this demo it's a fact why you shouldn't use the emulator to optimise the code (sorry if there are newer versions or better emulators). Look at the times... Have you tried using Vasm? It will do automatic optimisations that might help. Quote Share this post Link to post Share on other sites
swapd0 #20 Posted November 22, 2018 Have you tried using Vasm? It will do automatic optimisations that might help. I mean that some people try his code into an emulator claiming that it runs fast, but on a real jaguar it will run a bit slower, it has nothing to do with the tools you use, it's the same code but you get different results. 1 Quote Share this post Link to post Share on other sites
Christos #21 Posted November 22, 2018 Also this is Leonard/oxg, it is by definition beyond more optimizations, especially automatic ones. 1 Quote Share this post Link to post Share on other sites
SCPCD #22 Posted November 23, 2018 Great Job swapd0 ! I try it on my JagFPGA and it works very well ! It's perfectly fluid and too fast in some part It finishs in "1:14:48" in the screen counter (60Hz) and in real time "1:02:66" to loop ! Quote Share this post Link to post Share on other sites
Cyprian #23 Posted November 23, 2018 Great Job swapd0 ! I try it on my JagFPGA and it works very well ! JagFPGA ? any details? Would be possible to run it on MiST/MiSTer? Quote Share this post Link to post Share on other sites
swapd0 #24 Posted November 23, 2018 Great Job swapd0 ! I try it on my JagFPGA and it works very well ! It's perfectly fluid and too fast in some part It finishs in "1:14:48" in the screen counter (60Hz) and in real time "1:02:66" to loop ! I know, that version has a bug with the counter in 60Hz, I'm incrementing a value in the vbl... so in 60Hz counts faster XD Anyway that's almost x12 faster, and it's using just the 68000. But you're using a 68000 @ 50Mhz with pipeline and cache.... http://scpcd.free.fr/fpga/fpga.htm 1 Quote Share this post Link to post Share on other sites
Zerosquare #25 Posted November 23, 2018 SCPCD: we need a video Quote Share this post Link to post Share on other sites