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


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

Registered: Jul 2016
Posts: 21
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: 498
maybe post the loader config you're using?
2018-05-25 06:22
Flavioweb

Registered: Nov 2011
Posts: 447
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: 1153
Sector buffer overlapping Exomizer buffer?
2018-05-25 12:45
Kruthers

Registered: Jul 2016
Posts: 21
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: 3132
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: 21
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
chatGPZ

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

Registered: Jul 2016
Posts: 21
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
Apollyon/ALD
MCM/ONSLAUGHT
Krill/Plush
JEZ
Nordischsound/Hokuto..
Guests online: 81
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Bromance  (9.6)
10 Memento Mori  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Fullscreen Graphicians
1 Carrion  (9.8)
2 Joe  (9.8)
3 Duce  (9.8)
4 Mirage  (9.7)
5 Facet  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.047 sec.