How edit screensaver text ?

...
  • Show us code lines you don't understand
    И мы уже давно не пешки,
    Мы пули, мы орлы, и решки!
    Война ютит бинарный код,
    Умри, или иди вперед!
  • 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
  • Knight110 wrote: i think that it's the text of macros.inc
    tnx
    Yes it is. :)

    Code: Select all

    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: Select all

    db '/my_path/my_file.txt',0
  • Yason wrote:
    Knight110 wrote: i think that it's the text of macros.inc
    tnx
    Yes it is. :)

    Code: Select all

    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: Select all

    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: Select all

    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 :(
  • 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 '
  • 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)
  • Who is online

    Users browsing this forum: No registered users and 4 guests