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

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

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

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

Registered: Nov 2011
Posts: 364
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

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

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: 2109
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

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

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

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
Users Online
Guests online: 57
Top Demos
1 Uncensored  (9.7)
2 Comaland 100%  (9.7)
3 Unboxed  (9.7)
4 Edge of Disgrace  (9.7)
5 Coma Light 13  (9.6)
6 The Shores of Reflec..  (9.6)
7 Lunatico  (9.6)
8 Wonderland XII  (9.6)
9 Old Men in Used Cars  (9.5)
10 C=Bit 18  (9.5)
Top onefile Demos
1 Arok 20 Invitation  (9.6)
2 Daah, Those Acid Pil..  (9.5)
3 FMX Music Demo  (9.5)
4 Crystal Gazer  (9.5)
5 Pandemoniac Part 2 o..  (9.5)
6 Rewind  (9.5)
7 Dawnfall V1.1  (9.5)
8 Party Horse  (9.4)
9 Dawnfall  (9.4)
10 In Memoriam BHF  (9.4)
Top Groups
1 Oxyron  (9.4)
2 Booze Design  (9.4)
3 Censor Design  (9.4)
4 Finnish Gold  (9.3)
5 The Transfer Team  (9.3)
Top Graphicians
1 Razorback  (9.8)
2 Mirage  (9.8)
3 Archmage  (9.7)
4 Veto  (9.7)
5 Facet  (9.7)

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