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: 463
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: 1160
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: 3193
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: 11386
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
REBEL 1/HF
Paul Bearer
Linus/MSL
Mike
Didi/Laxity
Krill/Plush
Guests online: 77
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Party Elk 2  (9.6)
4 Cubic Dream  (9.6)
5 Copper Booze  (9.6)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Logo Graphicians
1 t0m3000  (10)
2 Sander  (9.8)
3 Mermaid  (9.5)
4 Facet  (9.4)
5 Shine  (9.4)

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