![]() ![]() I thought about some kind of timer event but this should look different.īut finally it works, mapped some keys like F-keys and cursor. But AROS of course is different again □ it always returns a Value sometimes 185, sometimes 184, not really know what that means. I tried that and on MorphOS and AmigaOS3 it works well, Read blocks until a Button is pressed. If console in raw mode, one can read cursor keys and F keys from the console. Now I got a hint in MorphOS Forum (always a very good Source for Implementation hints) to set the console in RAW: mode (using SetMode()) and then just read from the console the pressed keys. ![]() I tried already to implement CRT before using an old implementation, but exactly this ReadKey implementation does not work at all when KingCON or other console replacements is used. It would be of course the same to just use a ReadLn and wait for an Enter. They use it only for ReadKey() to wait for a key at end of Program. Most Tutorials about Pascal use the CRT unit in a very early Lesson. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |