Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user silpheed ! (Registered 2018-10-14) You are not logged in 
CSDb User Forums


Forums > C64 Coding > Covert Bitops loader + exomizer + TDE = corruption
2018-05-25 04:17
Kruthers

Registered: Jul 2016
Posts: 16
Covert Bitops loader + exomizer + TDE = corruption

I'm testing in Vice and when I use the covert bitops loader w/ exomizer and enable true drive emulation, I get corrupted data.

However, if I disable TDE (and the loader uses fake mode or whatever), it decrunches fine. Also, if I use the loader with an unpacked file, it works fine with or w/o TDE. It's only the combination of all three that fails for me!

I've tried 1 bit and 2 bit protocols, various other toggles in the cfg, made sure I'm not overwriting the loader, disabled all IRQs. I'm using vice 3.1, exomizer 2.0.9 and covert loader 2.26.

And weirdly the data isn't completely trashed, just partly. Here's a pic of part of the hex diff.

Any ideas what I'm doing wrong? I'm going crazy over here...
2018-05-25 05:49
Style

Registered: Jun 2004
Posts: 484
maybe post the loader config you're using?
2018-05-25 06:22
Flavioweb

Registered: Nov 2011
Posts: 362
I used this configuration many times and worked just fine.
My guess is that your code, at some point, overwrite exomizer buffers/zp "variables"...
2018-05-25 08:41
cadaver

Registered: Feb 2002
Posts: 1068
Sector buffer overlapping Exomizer buffer?
2018-05-25 12:45
Kruthers

Registered: Jul 2016
Posts: 16
Ahhhggg... i found it! What happened is I'm loading under basic but I didn't disable basic rom. Writing to rom is ok of course, but a compression routine like exomizer also needs to read where it writes so... doh.

What threw me off is it working fine without TDE. I don't understand that but don't need to.

ANyway, thx for the suggestions, they made me hunt harder. :)
2018-05-25 14:37
iAN CooG

Registered: May 2002
Posts: 2048
I know for sure that Inject to RAM loading method sees all RAM, so it can load >202 blocks files.
But that works for prg files, from d64 it should always fail for >202 blocks files, or in any case exceeding $cfff.
Unless you're also using a cart like TFR 0.8 in VICE, which loads all mem also with TDE off.
2018-05-26 03:27
Kruthers

Registered: Jul 2016
Posts: 16
My prg ends around $c300 so IO wasn't a problem.

The covert loader has a LOAD_UNDER_IO flag that seems to manipulate $01 at critical times, but I didn't even think to try because I didn't need to load under IO. But it might have fixed the problem if it switches out basic too...
2018-05-26 03:31
Groepaz

Registered: Dec 2001
Posts: 8829
you dont have basic switched out by default? /o\
2018-05-27 05:25
Kruthers

Registered: Jul 2016
Posts: 16
Well in my defense I, uh... yeah there really is no excuse.
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
Steel/SCS & TRC/G★P
Mike
Steppe
Akkara/Inox
Guests online: 25
Top Demos
1 Uncensored  (9.7)
2 Comaland 100%  (9.7)
3 Edge of Disgrace  (9.7)
4 Coma Light 13  (9.6)
5 The Shores of Reflec..  (9.6)
6 Wonderland XII  (9.6)
7 Lunatico  (9.6)
8 We Come in Peace  (9.6)
9 Incoherent Nightmare  (9.5)
10 Wonderland XIII  (9.5)
Top onefile Demos
1 FMX Music Demo  (9.6)
2 Daah, Those Acid Pil..  (9.6)
3 Arok 20 Invitation  (9.5)
4 Merry Xmas 2017  (9.5)
5 Pandemoniac Part 2 o..  (9.5)
6 Party Horse  (9.5)
7 Dawnfall V1.1  (9.4)
8 Demo Factory 2018  (9.4)
9 In Memoriam BHF  (9.4)
10 Dawnfall  (9.4)
Top Groups
1 Oxyron  (9.4)
2 Booze Design  (9.4)
3 Censor Design  (9.4)
4 Finnish Gold  (9.3)
5 Crest  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Zyron  (9.8)
3 Splatterhead  (9.8)
4 Walker  (9.7)
5 Acidchild  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2018
Page generated in: 0.054 sec.