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

How edit screensaver text ?
http://board.kolibrios.org/viewtopic.php?f=48&t=3038
Page 1 of 1

Author:  Knight110 [ Wed Apr 08, 2015 7:18 am ]
Post subject:  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

Author:  Gluk [ Tue Apr 14, 2015 12:00 pm ]
Post subject:  Re: How edit screensaver text ?

Show us code lines you don't understand

Author:  Knight110 [ Wed Apr 15, 2015 11:15 pm ]
Post subject:  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

Author:  Yason [ Thu Apr 16, 2015 9:49 am ]
Post subject:  Re: How edit screensaver text ?

Knight110 wrote:
i think that it's the text of macros.inc
tnx
Yes it is. :)
Code:
fileinfo:
   dd 0
   dd 0
   dd 0
.size:   dd 0
.point:   dd 0
   db '/sys/macros.inc',0   ; <--- path to file.
Knight110 wrote:
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:
Code:
db '/my_path/my_file.txt',0

Author:  Knight110 [ Sat Apr 18, 2015 2:22 pm ]
Post subject:  Re: How edit screensaver text ?

Yason wrote:
Knight110 wrote:
i think that it's the text of macros.inc
tnx
Yes it is. :)
Code:
fileinfo:
   dd 0
   dd 0
   dd 0
.size:   dd 0
.point:   dd 0
   db '/sys/macros.inc',0   ; <--- path to file.
Knight110 wrote:
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:
Code:
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 :

Code:
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 :(

Author:  Wildwest [ Sat Apr 18, 2015 3:10 pm ]
Post subject:  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 '

Author:  Yason [ Sat Apr 18, 2015 3:53 pm ]
Post subject:  Re: How edit screensaver text ?

Knight110 wrote:
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)

Page 1 of 1 All times are UTC+03:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/