IRIX Network Forums
dMagnetic- A Magnetic Scrolls Interpreter - Printable Version

+- IRIX Network Forums (//forums.irixnet.org)
+-- Forum: SGI/MIPS (//forums.irixnet.org/forum-3.html)
+--- Forum: IRIX/Software (//forums.irixnet.org/forum-7.html)
+--- Thread: dMagnetic- A Magnetic Scrolls Interpreter (/thread-1644.html)



dMagnetic- A Magnetic Scrolls Interpreter - dettus - 11-24-2019

Hello!

My name is Thomas Dettbarn, and I am new to this forum. I just posted in the HW section, since I have a problem with my monitor.
But then I stumpled across this one here, and just wanted to brag about my awesome project dMagnetic: http://www.dettus.net/dMagnetic.

It is an interpreter for classic text adventures, such as "The Pawn", "The Guild of Thieves", "Fish!", "Jinxter", "Myth", "Corruption" and "Wonderland".
The beautiful graphics are being rendered in glorious ANSI-Art, as you can see in the PNG it attached to this post.

I was able to compile and run it on IRIX 6.5 with a little bit of patching. I would post a screenshot of it, running in the 4DWM window manager, but I still have some issues with the monitor.


For the next release, I would like to include the patch I did, but I need some help with that: Is there any pre-processor define in GCC that is unique to IRIX?


RE: dMagnetic- A Magnetic Scrolls Interpreter - Raion - 11-25-2019

I have moved this thread to the software section. The emulation section is about emulating IRIX specifically.


RE: dMagnetic- A Magnetic Scrolls Interpreter - jpstewart - 11-25-2019

(11-24-2019, 10:09 PM)dettus Wrote:  For the next release, I would like to include the patch I did, but I need some help with that: Is there any pre-processor define in GCC that is unique to IRIX?

I forget whether it is __sgi or __sgi__ (two underscores leading/trailing), but one or the other is defined by both GCC and the native MIPSpro compiler on IRIX and can be reliably used to detect the platform.


RE: dMagnetic- A Magnetic Scrolls Interpreter - Raion - 11-25-2019

It's __sgi for MIPSPro i know this as both danielhams and gijoe77 have used that preprocessor flag.


RE: dMagnetic- A Magnetic Scrolls Interpreter - jpstewart - 11-25-2019

Thanks Raion! It will be the same for GCC to identify the OS. There are other symbols to differentiate the two compilers.


RE: dMagnetic- A Magnetic Scrolls Interpreter - dettus - 11-30-2019

I just looove the way modern software runs on old hardware. Smile