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 > Exmoizser and Mem trash RAM?
2016-11-30 11:47
oziphantom

Registered: Oct 2014
Posts: 502
Exmoizser and Mem trash RAM?

I'm using the mem option, and the depack routine provided in the src of exomizer.

The data is from BB28-DF40 I set the load address to 1000 like so
exomizer mem -l $1000 -o drop64BitmapMem.prg  dropzonebitmap.prg

However it seems the Exomizer then wants to clear all RAM between 1000-BB28 when it depacks, which trashes the depacker. How do I stop it?
 
... 10 posts hidden. Click here to view all posts....
 
2016-11-30 19:43
chatGPZ

Registered: Dec 2001
Posts: 11523
mein luftkissenboot ist voller Aale
2016-12-01 04:57
oziphantom

Registered: Oct 2014
Posts: 502
Solved the loader issue, seems a
lda dd00
and #252
sta dd00
doesn't count as a non-arbitrary dd00 write in the Krill loader's eyes and I needed to add the idle bus lock feature.

So Exomizer
Running iAN's test prg worked ( I'm using ICU=64 Vice 2.3 so I can see what the depacker is doing more easily, but 2.3 anything can and will happen, so it was a needed test of my setup )

Putting iAN's know working exo file into my d64 and it still trashes RAM... Thus my code is to be at fault... ( I "ported" the decrunch to Tass64 ), nope it is fine....

Something was trashing a byte in the "decrunch_table" which is what caused it to at the end of the decrunch to just march through RAM...

Thanks for the test cast iAN, made it a lot easier to track down.

Oddly Groepaz it's the inverse case, in that you're the euros and I'm not XD
2016-12-01 09:08
JackAsser

Registered: Jun 2002
Posts: 2038
When working with fast loaders, never ever read, mask, write dd00/02 to set vic-bank. Always do direct writes following the recommended protocol of the loader.
2016-12-01 10:59
oziphantom

Registered: Oct 2014
Posts: 502
Do you know where Krill define what you can/should write to DD00?
2016-12-01 13:35
chatGPZ

Registered: Dec 2001
Posts: 11523
dont touch dd02, write 0-3 to dd00
Previous - 1 | 2 - Next
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
iceout/Avatar/HF
iAN CooG/HVSC
MWR/Visdom
Sychamis
zscs
The Syndrom/TIA/Pret..
Guests online: 127
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Codeboys & Endians  (9.7)
4 Mojo  (9.6)
5 Coma Light 13  (9.6)
6 Edge of Disgrace  (9.6)
7 Signal Carnival  (9.6)
8 Wonderland XIV  (9.5)
9 Uncensored  (9.5)
10 Comaland 100%  (9.5)
Top onefile Demos
1 Nine  (9.7)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.5)
6 Scan and Spin  (9.5)
7 Onscreen 5k  (9.5)
8 Grey  (9.5)
9 Dawnfall V1.1  (9.5)
10 Rainbow Connection  (9.5)
Top Groups
1 Artline Designs  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Performers  (9.3)
5 Censor Design  (9.3)
Top Diskmag Editors
1 Magic  (10)
2 Jazzcat  (9.5)
3 hedning  (9.2)
4 Elwix  (9.1)
5 Peter  (9.0)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.043 sec.