Deutsch English Français Italiano |
<vjpdlq$15qkd$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Terje Mathisen <terje.mathisen@tmsw.no> Newsgroups: comp.arch Subject: Re: Got Quake 2 running on my MRISC32 FPGA computer Date: Mon, 16 Dec 2024 15:32:26 +0100 Organization: A noiseless patient Spider Lines: 34 Message-ID: <vjpdlq$15qkd$1@dont-email.me> References: <vjnouf$po8u$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 16 Dec 2024 15:32:26 +0100 (CET) Injection-Info: dont-email.me; posting-host="2c938ca35b19c50db94d862b2070a1f8"; logging-data="1239693"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1953eW0AxQwgBNNKKeqzTvdR36PVv/BHPlWqTsgIrH2rA==" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.19 Cancel-Lock: sha1:tbOg5KQdxx1VOjGhjtYILEp2NYI= In-Reply-To: <vjnouf$po8u$1@dont-email.me> Bytes: 2291 Well done! Marcus wrote: > Some progress... > > Earlier this year I spent some time porting Quake 2 to my MRISC32 based > computer. It required some refactoring since Quake 2 used a modular > rendering and game logic system based on dynamically loaded libraries > (DLLs). My computer isn't that fancy, so I had to get everything > statically linked into a single executable ELF32 binary (and the > Quake 2 source code didn't support that at all). > > My patched source code: https://gitlab.com/mbitsnbites/mc1-quake2 > > When I finally got a working build, it only worked in my simulator but > not on my FPGA board, so I dropped the effort. > > Yesterday, however, I went and bumped my GNU toolchain to GCC 15.x and > fixed a few bugs in my MRISC32 back end, and lo and behold, the binary > actually started working on the FPGA (not sure if it was a compiler bug > or if it's a CPU implementation bug that got hidden by the compiler > update). > > Video: https://vimeo.com/1039476687 > > It's not much (about 10 FPS at 320x180 resolution), but at least it's > progress. > > /Marcus -- - <Terje.Mathisen at tmsw.no> "almost all programming can be viewed as an exercise in caching"