Board.KolibriOS.org
http://board.kolibrios.org/

How edit screensaver text ?
http://board.kolibrios.org/viewtopic.php?f=48&t=3038
Страница 1 из 1

Автор:  Knight110 [ Ср апр 08, 2015 7:18 am ]
Заголовок сообщения:  How edit screensaver text ?

hi
i want change screensaver text , how can i do that ?
i download source code and saw @SS.ASM file.
how change it ?
tnx

Автор:  Gluk [ Вт апр 14, 2015 12:00 pm ]
Заголовок сообщения:  Re: How edit screensaver text ?

Show us code lines you don't understand

Автор:  Knight110 [ Ср апр 15, 2015 11:15 pm ]
Заголовок сообщения:  Re: How edit screensaver text ?

i don't know assembly language : (

this is screensaver :
http://www.uppic.com/uploads/14291288161.png
i think that it's the text of macros.inc
i want change it , so i changed the macros.inc address in @SS.ASM with a txt file.
but i faced error when compile it.
i want change screensaver text with my text , how should i do that ?

tnx

Автор:  Yason [ Чт апр 16, 2015 9:49 am ]
Заголовок сообщения:  Re: How edit screensaver text ?

Knight110 писал(а):
i think that it's the text of macros.inc
tnx
Yes it is. :)
Код:
fileinfo:
   dd 0
   dd 0
   dd 0
.size:   dd 0
.point:   dd 0
   db '/sys/macros.inc',0   ; <--- path to file.
Knight110 писал(а):
i want change it , so i changed the macros.inc address in @SS.ASM with a txt file.
but i faced error when compile it.
i want change screensaver text with my text , how should i do that ?

tnx
Try to change path to your text file in line 595. :wink:

Example:
Код:
db '/my_path/my_file.txt',0

Автор:  Knight110 [ Сб апр 18, 2015 2:22 pm ]
Заголовок сообщения:  Re: How edit screensaver text ?

Yason писал(а):
Knight110 писал(а):
i think that it's the text of macros.inc
tnx
Yes it is. :)
Код:
fileinfo:
   dd 0
   dd 0
   dd 0
.size:   dd 0
.point:   dd 0
   db '/sys/macros.inc',0   ; <--- path to file.
Knight110 писал(а):
i want change it , so i changed the macros.inc address in @SS.ASM with a txt file.
but i faced error when compile it.
i want change screensaver text with my text , how should i do that ?

tnx
Try to change path to your text file in line 595. :wink:

Example:
Код:
db '/my_path/my_file.txt',0


i couldn't find these lines :(
"macros.inc" just one time come in @SS.ASM and it's :

Код:
used_memory = 0x10000

   db     'MENUET01'     ; 8 byte id
   dd     0x01           ; header version
   dd     START          ; start of code
   dd     I_END          ; size of image
   dd     used_memory    ; memory for app
   dd     used_memory    ; esp
   dd     0x0 , 0x0      ; I_Param , I_Icon

include   'lang.inc'
include   '..\..\macros.inc'
purge mov       ; decrease kpack'ed size


in addition it have just 501 lines :(

Автор:  Wildwest [ Сб апр 18, 2015 3:10 pm ]
Заголовок сообщения:  Re: How edit screensaver text ?

http://websvn.kolibrios.org/filedetails ... F%40ss.asm

check out the end of file and try to change these strings

buttext db 'SHOW',0
flag db 'V '
title db 'SCREENSAVER SETUP',0
setuptext db 'TYPE: < >',0
db 'TIME: < > MINUTES NEVER',0
typetext db 'BLACK SCREENCOLOR LINES ASSEMBLER '

Автор:  Yason [ Сб апр 18, 2015 3:53 pm ]
Заголовок сообщения:  Re: How edit screensaver text ?

Knight110 писал(а):
i couldn't find these lines :(
"macros.inc" just one time come in @SS.ASM and it's :
in addition it have just 501 lines :(
Oh no. you do not understand! :shock: These strings are in the file @SS.ASM, at the very end (line 595).
Thus, you will be able to display on the screen, any text file that you want. Then compile the file and drop into an kolibri.img image with your text file. :)

Or just change text in macros.inc. Then no rebuild is necessary. 8)

Страница 1 из 1 Часовой пояс: UTC+03:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/