Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in 
CSDb User Forums


Forums > C64 Coding > exomizer relocate SFX file
2020-04-29 09:57
wil

Registered: Jan 2019
Posts: 3
exomizer relocate SFX file

Is it possible to tell exomizer to place an sfx file at a given memory address? I know that there is an option -l (small L) with exomizer mem, but this does not add an sfx. Based on the set target (C64, VC20, C128, etc.) it seems that exomizer is able to place the sfx code at different memory locations, but so far I could not find out how to tell it to do so.

A different thing: when playing with the options, I also tried "exomizer sfx bin myfile.prg", but this fails because of a negative jmp address. What is the proper way to use "exomizer sfx bin"?
2020-04-29 10:17
tlr

Registered: Sep 2003
Posts: 1313
exomizer sfx 0x080d -Di_load_addr=0x4000 FILES...
2020-04-29 12:07
Groepaz

Registered: Dec 2001
Posts: 9318
this makes a file that (unpacked) runs at 080d, but the packed file is located 4000- and will get depacked by jumping to 4000? i was asking myself the same a while ago, i was totally sure it can be done.... but i forgot :) where did you find this info in the first place?
2020-04-29 12:15
tlr

Registered: Sep 2003
Posts: 1313
Quote: this makes a file that (unpacked) runs at 080d, but the packed file is located 4000- and will get depacked by jumping to 4000? i was asking myself the same a while ago, i was totally sure it can be done.... but i forgot :) where did you find this info in the first place?

Correct.

The info is in exo20info.txt (also included in exo3 distributions), section "Reference for the sfx decruncher symbols".

When I use exomizer I use that and the i_ram_* + i_irq_* symbols almost always to add a custom start up and avoid unnecessary setting of $01 and SEI/CLI's.
2020-04-29 12:44
Groepaz

Registered: Dec 2001
Posts: 9318
funky. i was totally convinced there was a (more simple) commandline option for this... and couldnt fine it :=)
2020-04-29 14:14
tlr

Registered: Sep 2003
Posts: 1313
...and in subsizer it's: -Xjmp=0x080d,load=0x4000
2020-04-29 14:16
wil

Registered: Jan 2019
Posts: 3
Works like a charm, thanks a lot! I also think there should be a command line option for this, like "-l" to work also with sfx
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
zzarko
wbochar
Guests online: 42
Top Demos
1 Coma Light 13  (9.7)
2 Uncensored  (9.7)
3 Edge of Disgrace  (9.7)
4 Comaland 100%  (9.6)
5 Unboxed  (9.6)
6 The Shores of Reflec..  (9.6)
7 Lunatico  (9.5)
8 Remains  (9.5)
9 NGC 1277 100%  (9.5)
10 Wonderland XII  (9.4)
Top onefile Demos
1 Dawnfall V1.1  (9.6)
2 Listen to Your Eyes  (9.6)
3 MD202006 - Get Well ..  (9.6)
4 The Tuneful Eight [u..  (9.5)
5 Smile to the Sky  (9.5)
6 Crystal Gazer  (9.5)
7 Instinct  (9.5)
8 Coro(l)na Nuthouse  (9.5)
9 Rewind  (9.5)
10 Bad Boy  (9.5)
Top Groups
1 PriorArt  (9.6)
2 Performers  (9.5)
3 Booze Design  (9.4)
4 Fossil  (9.4)
5 Censor Design  (9.4)
Top Public Relations Managers
1 Irata  (10)
2 Baracuda  (10)
3 hedning  (10)
4 Liesbeth  (10)
5 MacGyver  (3.0)

Home - Disclaimer
Copyright © No Name 2001-2020
Page generated in: 0.041 sec.