diff --git a/Appl/Breadbox/frotz/Geos/gtext.goc b/Appl/Breadbox/frotz/Geos/gtext.goc index 96975c2d9..0b894740f 100644 --- a/Appl/Breadbox/frotz/Geos/gtext.goc +++ b/Appl/Breadbox/frotz/Geos/gtext.goc @@ -19,6 +19,7 @@ -------- -------- ----------- 98-06-06 GerdB Initial Version. 2024-01-02 RainerB Fix a lot of compiler warnings. + 2024-02-29 Bariossimo Enabled Latin1 To ASCII-Conversion ***********************************************************************/ @@ -447,10 +448,8 @@ void os_display_char (zchar c) int width = os_char_width (c); /* Handle accented characters */ -#if 0 - - if (c >= ZC_LATIN1_MIN && (story_id != BEYOND_ZORK || (h_flags & GRAPHICS_FLAG))) - if (display == _CGA_ || display == _MCGA_) { + if (c >= ZC_LATIN1_MIN && (story_id != BEYOND_ZORK || (h_flags & GRAPHICS_FLAG))) { + char *ptr = latin1_to_ascii + 3 * (c - ZC_LATIN1_MIN); @@ -467,15 +466,7 @@ void os_display_char (zchar c) return; - } else if (display == _AMIGA_ && current_font == TEXT_FONT && !(current_style & FIXED_WIDTH_STYLE) && user_font != 0) { - - if (c >= ZC_LATIN1_MIN) - c -= 32; - - } else - c = latin1_to_ibm[c - ZC_LATIN1_MIN]; - -#endif + } /* Handle special indentations */ if (c == ZC_INDENT) { diff --git a/Appl/Breadbox/frotz/Lowlev/fastmem.c b/Appl/Breadbox/frotz/Lowlev/fastmem.c index 1273845e3..7816fb51a 100644 --- a/Appl/Breadbox/frotz/Lowlev/fastmem.c +++ b/Appl/Breadbox/frotz/Lowlev/fastmem.c @@ -94,7 +94,12 @@ zword get_header_extension (int entry) zword addr; zword val; - if (h_extension_table == 0 || entry > hx_table_size) + /* if (h_extension_table == 0 || entry > hx_table_size) */ + + /* 29.02.24 Bariossimo: + Reading of h_extension_table-Entries fails in GEOS. + LOW_WORD (addr, val) reads random values to val + Because of that, use of extension_table was disabled */ return 0; addr = h_extension_table + 2 * entry;