Wrathchild Posted February 9, 2022 Share Posted February 9, 2022 21 minutes ago, alucardX said: I found some info for the 68k family of cpus. Is it helpful to select the 68000 in this way? This is dependent on the toolchain build. On the whole, the gcc m68k support left the 68000 side behind and 68020 and above were maintained. The relatively recent work on ones like m68k-ataribrown, GGN's work have sought to rectify this and there is then the added complexity of the libraries that need to be linked too and generating native/cross binaries. So in theory you could just build a toolset that only works for/defaults to -mcpu=68000 And interesting exercise to study was Paul Coene's work on getting ucLinux to build and boot under emulation. With the non-MMU support having been since merged into the main Linux codebase combined with more modern gcc better supporting 68000, I would be fun (but yes, of little practical use) to see that re-attempted. Quote Link to comment Share on other sites More sharing options...
42bs Posted February 9, 2022 Share Posted February 9, 2022 -mshort is the key. It tells GCC that int is 16 bit. But this may break the code if it assumes int to be 32 bit. Selecting the CPU as mc68000 is mandatory, as the Coldfire is not compatible. 1 Quote Link to comment Share on other sites More sharing options...
Gunther Posted February 9, 2022 Author Share Posted February 9, 2022 1 Quote Link to comment Share on other sites More sharing options...
swapd0 Posted February 9, 2022 Share Posted February 9, 2022 Best viewed at x2 speed XD 3 Quote Link to comment Share on other sites More sharing options...
Gunther Posted February 9, 2022 Author Share Posted February 9, 2022 12 minutes ago, swapd0 said: Best viewed at x2 speed XD Still cool though. 1 Quote Link to comment Share on other sites More sharing options...
+CyranoJ Posted February 9, 2022 Share Posted February 9, 2022 27 minutes ago, swapd0 said: Best viewed at x2 speed XD So 1.5 seconds / frame? 1 5 Quote Link to comment Share on other sites More sharing options...
alucardX Posted February 9, 2022 Share Posted February 9, 2022 9 hours ago, Gunther said: Still cool though. Very very cool 1 Quote Link to comment Share on other sites More sharing options...
alucardX Posted February 11, 2022 Share Posted February 11, 2022 You know, this frame rate is ALMOST as good as SuperCross 3D. 1 10 Quote Link to comment Share on other sites More sharing options...
Gunther Posted February 13, 2022 Author Share Posted February 13, 2022 The next Jaguar de-make/port - GBA Wing Commander Prophecy: https://forums.atari.io/topic/6458-after-openlara-jag-wing-commander-prophecy-gba-jag/#comment-76887 3 Quote Link to comment Share on other sites More sharing options...
KidGameR186496 Posted February 14, 2022 Share Posted February 14, 2022 Has anybody tested out the current .ROM on Phoenix? Just curious... Quote Link to comment Share on other sites More sharing options...
PeterG Posted February 14, 2022 Share Posted February 14, 2022 10 hours ago, KidGameR186496 said: Has anybody tested out the current .ROM on Phoenix? Just curious... It starts but after the splash screen all you see is the energy bar on the top over a black screen. Quote Link to comment Share on other sites More sharing options...
KidGameR186496 Posted February 14, 2022 Share Posted February 14, 2022 2 hours ago, PeterG said: It starts but after the splash screen all you see is the energy bar on the top over a black screen. Well crap. Oh well Quote Link to comment Share on other sites More sharing options...
PeterG Posted February 14, 2022 Share Posted February 14, 2022 5 hours ago, KidGameR186496 said: Well crap. Oh well You should try it with a Skunk or a GameDrive if you have one. It's reaaaally slow but still an interesting experience to try out if you got the patience. ? Quote Link to comment Share on other sites More sharing options...
KidGameR186496 Posted February 15, 2022 Share Posted February 15, 2022 16 hours ago, PeterG said: You should try it with a Skunk or a GameDrive if you have one. It's reaaaally slow but still an interesting experience to try out if you got the patience. ? I know, but finding a Jaguar for cheap on eBay is easier said than done. The GameDrive is the least issue, however. And yes, I've been trained by the N64 and the Jaguar (I had two previously before no more) to tolerate low framerate Quote Link to comment Share on other sites More sharing options...
PeterG Posted February 15, 2022 Share Posted February 15, 2022 1 hour ago, KidGameR186496 said: I know, but finding a Jaguar for cheap on eBay is easier said than done. The GameDrive is the least issue, however. And yes, I've been trained by the N64 and the Jaguar (I had two previously before no more) to tolerate low framerate Well this is beyond low framerate truth to be told. But still incredibly cool in my book. And I am very curious to see if any progress happens to port the code to the more capable processors of the Jaguar. Even 5 FPS would be double the speed and I would explore the cave a bit further. Good luck finding a relative cheap Jaguar I think it is worth to look out for it. Then again easy for me to say having mine since 1994 or 1995 . ? 1 Quote Link to comment Share on other sites More sharing options...
agradeneu Posted February 15, 2022 Share Posted February 15, 2022 41 minutes ago, PeterG said: Well this is beyond low framerate truth to be told. But still incredibly cool in my book. And I am very curious to see if any progress happens to port the code to the more capable processors of the Jaguar. Even 5 FPS would be double the speed and I would explore the cave a bit further. Good luck finding a relative cheap Jaguar I think it is worth to look out for it. Then again easy for me to say having mine since 1994 or 1995 . ? Double the speed would be 1FPS. He said 1 FPS per 2 Secs on twitter. So even an an increase of 5x would mean some measly 2,5 FPS. Keep in mind the GPU was not designed for running C compiled code. For any meaningful performance, rewriting large parts of the renderer in assembly was required. 2 Quote Link to comment Share on other sites More sharing options...
phoboz Posted February 15, 2022 Share Posted February 15, 2022 (edited) 1 hour ago, agradeneu said: For any meaningful performance, rewriting large parts of the renderer in assembly was required. Question is how much it is re-writing as compared to starting from scratch? If it's not only C code, but if it's code using floating point variables? This is something that needs to be emulated (very slow) even if run on the GPU. E.g. the Jaguar does not have a FPU (Floating Point Unit), nor did the PSX, nor did any other non-high-performace-computing-system at that time (with the exception of systems equipped with the Motorola 68881/2, 486DX, or Pentium II processors) So in that case it's not only about re-writing some code in assembler, but to completely redo the math. Unfortunately every code example for 3D today uses floating point variables, even many code examples for 2D games does, because everyone programs on PC these days. The most useful code examples I find are usually for the Arduino, for example the ATmega 3D engine. Edited February 15, 2022 by phoboz 1 Quote Link to comment Share on other sites More sharing options...
alucardX Posted February 15, 2022 Share Posted February 15, 2022 3 hours ago, agradeneu said: Double the speed would be 1FPS. He said 1 FPS per 2 Secs on twitter. So even an an increase of 5x would mean some measly 2,5 FPS. Keep in mind the GPU was not designed for running C compiled code. For any meaningful performance, rewriting large parts of the renderer in assembly was required. It is impressive that this is running at all using only the 68000. If the 68000 were cut out of the picture entirely and all the routines were moved to RISCs, I would think the frame rate would at least be somewhat playable. That's just a total guess on my part though, no number wang going on or anything like that. Quote Link to comment Share on other sites More sharing options...
alucardX Posted February 15, 2022 Share Posted February 15, 2022 2 hours ago, phoboz said: If it's not only C code, but if it's code using floating point variables? This is something that needs to be emulated (very slow) even if run on the GPU. E.g. the Jaguar does not have a FPU (Floating Point Unit), nor did the PSX, nor did any other non-high-performace-computing-system at that time Does the GBA have a FPU? Quote Link to comment Share on other sites More sharing options...
42bs Posted February 15, 2022 Share Posted February 15, 2022 9 minutes ago, alucardX said: Does the GBA have a FPU? GBA is ARM7TDMI, so no FPU. 1 Quote Link to comment Share on other sites More sharing options...
alucardX Posted February 15, 2022 Share Posted February 15, 2022 3 minutes ago, 42bs said: GBA is ARM7TDMI, so no FPU So there is no advantage for the GBA to run this type of math over what the Jaguar can do then? Quote Link to comment Share on other sites More sharing options...
42bs Posted February 15, 2022 Share Posted February 15, 2022 1 minute ago, alucardX said: So there is no advantage for the GBA to run this type of math over what the Jaguar can do then? ARM7TMDI is better MIPS wise and in the GBA slightly quicker (16 instead of 13MHz). Big plus is the barrel shifter. While a shift in the 68k cost 2 cycles per shift, the ARM7TDMI always shifts (no matter how much) in 1 cycle. Same for multiplication: 68K needs 74 cycles, where as ARM7TDMI in the worst case 5. 2 Quote Link to comment Share on other sites More sharing options...
alucardX Posted February 15, 2022 Share Posted February 15, 2022 6 minutes ago, 42bs said: ARM7TMDI is better MIPS wise and in the GBA slightly quicker (16 instead of 13MHz). Big plus is the barrel shifter. While a shift in the 68k cost 2 cycles per shift, the ARM7TDMI always shifts (no matter how much) in 1 cycle. Same for multiplication: 68K needs 74 cycles, where as ARM7TDMI in the worst case 5. And how would the RISCs handle this? Quote Link to comment Share on other sites More sharing options...
+Stephen Posted February 15, 2022 Share Posted February 15, 2022 24 minutes ago, alucardX said: And how would the RISCs handle this? Not fast enough to get an immediate jump from 2 seconds per frame to fluid playability as so many people assume. 1 Quote Link to comment Share on other sites More sharing options...
agradeneu Posted February 15, 2022 Share Posted February 15, 2022 (edited) 33 minutes ago, 42bs said: ARM7TMDI is better MIPS wise and in the GBA slightly quicker (16 instead of 13MHz). Big plus is the barrel shifter. While a shift in the 68k cost 2 cycles per shift, the ARM7TDMI always shifts (no matter how much) in 1 cycle. Same for multiplication: 68K needs 74 cycles, where as ARM7TDMI in the worst case 5. Hm, are you sure? The GPU is clocked 26 MHZ and does all the math for 3D, including barrel shifter, Matrix multiplication, support for FPU? The 68K is not supposed to do any 3D heavy lifting. Its should not be a reference for Jaguars 3D computing. Edited February 15, 2022 by agradeneu 3 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.