-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Geneva example maybe wrong #119
Comments
You're right, you can't use wind_create with extended attributes. Binding is: I have a working setup for Hatari + Geneva here. [EDIT] Confirmed. Works with x_wind_create
|
Btw @th-otto, are there Geneva bindings for gcc? (I wrote x_wind_create by hand for testing) |
No, i don' think so, they are still missing. I guess there aren't many programs that make use of geneva specific calls. All the corresponding definitions (X_MENU etc) are missing, too. |
I wonder if I can move the two conflicting bits of the high-word of xkind and use intin[1] instead of intin[5] in XaAES so x_wind_create will be compatible with both Geneva and XaAES. This will allow access to others extended attributes such as UPARROW1 and LFARROW1 |
Hm, i don't understand. Where are you referencing intin[5]? Anyway, you simply cannot change the way parameters are passed to AES. |
XaAES is able to use intin[5] as high-word of window attributes but there is no binding yet X_MENU (Geneva) et XMENU (XaAES) are the same thing. Unfortunately menu events are not the same |
Patch: Fixes:
|
Thanks, applied now. |
BTW, while looking up the programmer documentation, i noticed that the file that i have (gnvamain.rtf) seems to have the same corruptions that you already fixed in the patch above. There seem to be lots of truncated words, bit-flips etc. Is there maybe some better version floating around? |
All files are corrupted (rtf, html, ascii). I don't have a tool to convert the other available files (stw and papyrus). |
Don't know what *.stw is, but i could not even extract the lzh archive. The papyrus doc seems to have the same corruptions as the other files. There is a pdf version of the manual also on dev-docs, but it seems to be from some older version (1.02) and therefor not quite complete. Also it is just an image scan, no text available there :( |
I don't have any other docs. About *.stw, I thought it was Star-Writer but it's Atari Works. File cannot be opened. Looks corrupted too. With an hex-editor, some text is readable but the second half doesn't make sense. |
Quickly tried files from https://taflee.tripod.com/gnvamain.html, they look fine? Or is that the older version Thorsten was talking about? |
They also seem to be corrupted. If you look at https://taflee.tripod.com/gnvb.html#26.6, you can't click most of the links, and eg. x_appl_sleep() (26.6.4) isn't rendered at all. |
I think the example a
tos.hyp/gem/aes/wind_/wind_get_set_geneva.ui
Line 462 in 040c7ba
is wrong, and the call should be
x_wind_create(MOVER, X_MENU
You cannot OR in X_MENU to the normal window flags, because they conflict. @pulsar122 can you maybe check this?
The text was updated successfully, but these errors were encountered: