last known Amiga cross-compile -> outdated
Place the last known Amiga cross-compile effort into the outdated folder
tree.
This shell script was meant to be run from the top of the NetHack tree:
outdated/sys/unix/cross-amiga.sh
It attempts two things:
1. obtain the source-code for the Amiga cross compiler and build it
from scratch. Warning: it pulls a number of the required packages
from the internet and installs them. (Linux was tested, but the macOS
usage never was).
2. move the outdated hints file and hints include files for Amiga
into the live tree for someone attempting to resurrect an Amiga port.
It doesn't tinker with any of the files needed for the NetHack-3.7
work-in-progess for other platforms.
Once the shell script completes those things, the cross-compile build
steps would be:
i) cd sys/unix ; sh setup.sh hints/cross-amiga ; cd ../..
ii) make CROSS_TO_AMIGA=1 all
iii) make CROSS_TO_AMIGA=1 package
This commit is contained in:
@@ -2002,8 +2002,14 @@ if(u.uz.dlevel != x){
|
||||
} else /* AMII, or Rogue level in either version */
|
||||
{
|
||||
/* map glyph to character and color */
|
||||
(void) mapglyph(glyph, &och, &color, &special, x, y, 0);
|
||||
ch = (uchar) och;
|
||||
#if 0
|
||||
(void) mapglyph(glyph, &och, &color, &special, x, y, 0);
|
||||
ch = (uchar) och;
|
||||
#else
|
||||
glyph_info gi;
|
||||
map_glyphinfo(0, 0, glyph, 0, &gi);
|
||||
ch = gi.ttychar;
|
||||
#endif
|
||||
if (WINVERS_AMIV) { /* implies Rogue level here */
|
||||
amii_curs(win, x, y);
|
||||
amiga_print_glyph(win, NO_COLOR, ch + 10000);
|
||||
|
||||
Reference in New Issue
Block a user