Библиотека console.obj - работа с консолью
-
Тут в документации написано, что существует функция con_set_title http://websvn.kolibrios.org/filedetails ... xt#line-21, но в таблице экспорта http://websvn.kolibrios.org/filedetails ... #line-2580 её почему-то нет. Она вообще работает? Почему она не доступна?
Функция есть и должна работать. Вероятно diamond забыл включить её в экспорт.
#6603 — добавил con_set_title в таблицу экспорта.
Обновил цвета скролла.
- Attachments
-
-
console.png (17.04 KiB)Viewed 10966 times
-
Из хаоса в космос
Импорт console.obj в kos32-gcc
Одновременно рядом вызовы и cout'а, и функций либы
/contrib/sdk/samples/cpp_hello
Одновременно рядом вызовы и cout'а, и функций либы
/contrib/sdk/samples/cpp_hello
- Attachments
-
-
CONSOLE.zip (2.7 KiB)Downloaded 197 times
-
Last edited by maxcodehack on Sat Sep 12, 2020 5:21 pm, edited 1 time in total.
Last edited by maxcodehack on Tue Jan 05, 2021 10:39 am, edited 1 time in total.
Работаю над поддержкой кодировок в Delphi, и обнаружил, что шрифт, встроенный в console.obj, реализует набор символов, соответствующий альтернативной модифицированной кодировке ГОСТ, популярной в DOS. Она отличается от CP866. Это баг или фича?
It was true. Forgot to mention in commit info, but fixed in #9105.SoUrcerer wrote:В обработке escape-последовательности перемещения курсора в console.obj ошибка, перепутаны cols и rows. Полтора часа бился над проблемой, пока не проверил работу escape-ов.
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
According to English wikipedia page on CP866, it is an unofficial modified variant.Freeman wrote:Работаю над поддержкой кодировок в Delphi, и обнаружил, что шрифт, встроенный в console.obj, реализует набор символов, соответствующий альтернативной модифицированной кодировке ГОСТ, популярной в DOS. Она отличается от CP866. Это баг или фича?
https://en.wikipedia.org/wiki/Code_page ... e_page_866
I Believe it's a bug. KFAR (also by the hand of Diamond) has multiple font sizes, and all other sizes have regular CP866 codepage!
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
Who is online
Users browsing this forum: No registered users and 0 guests