swapd0 Posted November 19, 2018 Share 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 Link to comment Share on other sites More sharing options...
neo_rg Posted November 19, 2018 Share Posted November 19, 2018 Classic demo Quote Link to comment Share on other sites More sharing options...
+CyranoJ Posted November 19, 2018 Share Posted November 19, 2018 Very nice Quote Link to comment Share on other sites More sharing options...
Cyprian Posted November 20, 2018 Share Posted November 20, 2018 need more Quote Link to comment Share on other sites More sharing options...
swapd0 Posted November 20, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
Clint Thompson Posted November 20, 2018 Share 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 Link to comment Share on other sites More sharing options...
+CyranoJ Posted November 20, 2018 Share 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 Link to comment Share on other sites More sharing options...
swapd0 Posted November 20, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
LinkoVitch Posted November 20, 2018 Share 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 Link to comment Share on other sites More sharing options...
swapd0 Posted November 21, 2018 Author Share Posted November 21, 2018 https://youtu.be/9nZJL-yyOFQ I need to fix the timer for ntsc jaguars... XD 1 Quote Link to comment Share on other sites More sharing options...
swapd0 Posted November 21, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
+Saturn Posted November 21, 2018 Share 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 Link to comment Share on other sites More sharing options...
Machine Posted November 21, 2018 Share 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 Link to comment Share on other sites More sharing options...
Clint Thompson Posted November 21, 2018 Share 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 Link to comment Share on other sites More sharing options...
swapd0 Posted November 21, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
JagChris Posted November 21, 2018 Share Posted November 21, 2018 Go swap! Go! Quote Link to comment Share on other sites More sharing options...
walter_J64bit Posted November 22, 2018 Share Posted November 22, 2018 Interesting demo. :thumbsup: Quote Link to comment Share on other sites More sharing options...
Christos Posted November 22, 2018 Share Posted November 22, 2018 And here is the original. One of my favourite STE demos. Great work porting this over swapd. 1 Quote Link to comment Share on other sites More sharing options...
JagChris Posted November 22, 2018 Share 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 Link to comment Share on other sites More sharing options...
swapd0 Posted November 22, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
Christos Posted November 22, 2018 Share Posted November 22, 2018 Also this is Leonard/oxg, it is by definition beyond more optimizations, especially automatic ones. 1 Quote Link to comment Share on other sites More sharing options...
SCPCD Posted November 23, 2018 Share 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 Link to comment Share on other sites More sharing options...
Cyprian Posted November 23, 2018 Share 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 Link to comment Share on other sites More sharing options...
swapd0 Posted November 23, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
Zerosquare Posted November 23, 2018 Share Posted November 23, 2018 SCPCD: we need a video 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.