weewonder / garglk

Automatically exported from code.google.com/p/garglk
Other
0 stars 0 forks source link

Hyperlinks ids limited to 15 #139

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use a glk_set_hyperlink(id) statement, with id > 16
2. Or unpack the attached archive
3. Compile with -G and run the ulx with Gargoyle

What is the expected output? What do you see instead?

I expect the link to return the id value, but it returns id % 16
In the attached file I expect the links to return 7, 21 and 32, but they 
returns 7, 5 and there's no '32' link.

What version of the product are you using? On what operating system?

2010.1 on Windows XP

Please provide any additional information below.

When I put a glk_set_hyperlink(id) statement, it looks like it's translated to 
glk_set_hyperlink(id%16). I checked glk specs, but I cannot find anything about 
that. WindowsFrotz works fine.

thanks, bye

Original issue reported on code.google.com by plucche...@gmail.com on 18 Feb 2011 at 2:30

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed in r504, thanks for tracking this down!

Original comment by bcressey@gmail.com on 18 Feb 2011 at 11:35

GoogleCodeExporter commented 8 years ago
Issue 142 has been merged into this issue.

Original comment by bcressey@gmail.com on 10 Mar 2011 at 3:48

GoogleCodeExporter commented 8 years ago
Issue 150 has been merged into this issue.

Original comment by bcressey@gmail.com on 10 Jun 2011 at 4:11