Board.KolibriOS.org

Official KolibriOS board
It is currently Sat Apr 20, 2019 6:08 am

All times are UTC+03:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Wed Apr 08, 2015 7:18 am 
Offline

Joined: Wed Apr 08, 2015 7:13 am
Posts: 3
hi
i want change screensaver text , how can i do that ?
i download source code and saw @SS.ASM file.
how change it ?
tnx


Top
   
PostPosted: Tue Apr 14, 2015 12:00 pm 
Offline
User avatar

Joined: Mon Apr 16, 2007 6:38 pm
Posts: 1222
Show us code lines you don't understand

_________________
И мы уже давно не пешки,
Мы пули, мы орлы, и решки!
Война ютит бинарный код,
Умри, или иди вперед!


Top
   
PostPosted: Wed Apr 15, 2015 11:15 pm 
Offline

Joined: Wed Apr 08, 2015 7:13 am
Posts: 3
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


Top
   
PostPosted: Thu Apr 16, 2015 9:49 am 
Offline
User avatar

Joined: Sat Sep 27, 2014 2:59 pm
Posts: 102
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


Top
   
PostPosted: Sat Apr 18, 2015 2:22 pm 
Offline

Joined: Wed Apr 08, 2015 7:13 am
Posts: 3
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 :(


Top
   
PostPosted: Sat Apr 18, 2015 3:10 pm 
Offline

Joined: Wed May 18, 2005 7:27 pm
Posts: 1001
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 '


Top
   
PostPosted: Sat Apr 18, 2015 3:53 pm 
Offline
User avatar

Joined: Sat Sep 27, 2014 2:59 pm
Posts: 102
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)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 posts ] 

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited