| |
Wanderer Account closed
Registered: Apr 2003 Posts: 478 |
Need help on packing...
(Nevermind... Beaslinker did the job) |
|
| |
QuasaR
Registered: Dec 2001 Posts: 145 |
Try this one, links up to 48 files between $0000 to $ffff... Should be enough for everyone (or was this B. Gates, talking about 640k of RAM... ?)
ftp://c64.rulez.org/pub/c64/Tools/Compression/Linkers/Beastlink.. |
| |
Wanderer Account closed
Registered: Apr 2003 Posts: 478 |
How can you link from 0000-ffff? Where does the packer reside?
As I found out, Beastlinker does NOT do this job. I tried packing files from 0800-ffff and it locked up.
I don't want to freeze-release this thing, but I may have to.
|
| |
H.O Account closed
Registered: Oct 2002 Posts: 70 |
I use exomizer myself: http://web.comhem.se/~u13114991/exo/
Havent tried packing stuff above cfff yet, but it seems reliable enough to be able to handle that (and its a damned good packer)
|
| |
Moloch
Registered: Jan 2002 Posts: 2928 |
Try XTC Packer v2.3
$0200-$ffff
http://www.ntscene.com/archive/tools/compression/xtc-packer.v2.3
|
| |
Wanderer Account closed
Registered: Apr 2003 Posts: 478 |
Excellent, if it works I'll gladly give you a thanks :) |
| |
Moloch
Registered: Jan 2002 Posts: 2928 |
Should work fine, I've used it plenty of times on releases in the past.
|
| |
Wanderer Account closed
Registered: Apr 2003 Posts: 478 |
Quote: Should work fine, I've used it plenty of times on releases in the past.
I tried the c64 packer Moloch suggested but after asking for the first filename, it immediately asks for the second file. It doesn't even try to load the first, and upon entering the second filename, gives a disk error.
I'll try Exomizer (cool, it works on the PC) and see if it meets my needs.
|
| |
Rattus Account closed
Registered: Apr 2004 Posts: 34 |
Why not try Sledgehammer ? |
| |
Wanderer Account closed
Registered: Apr 2003 Posts: 478 |
Quote: Why not try Sledgehammer ?
The Sledgehammer I tried only packs single files.
I'll figure it out, somehow... :)
|
| |
Richard
Registered: Dec 2001 Posts: 621 |
Quote: The Sledgehammer I tried only packs single files.
I'll figure it out, somehow... :)
Huh? It can pack multiple files as well as single.
Try this version:
Sledgehammer V2.1+
You could try ECA Compactor/Linker V5. It is very old, but handy for linking files. But has occasional bugs in the packer itself.
|
| |
Wanderer Account closed
Registered: Apr 2003 Posts: 478 |
Quote: Huh? It can pack multiple files as well as single.
Try this version:
Sledgehammer V2.1+
You could try ECA Compactor/Linker V5. It is very old, but handy for linking files. But has occasional bugs in the packer itself.
ECA works great for 2 of the 3 files. One file is $a000-$cfff and the other is $d000-ffff. It always crashes on the third file, no matter which order I place them. I'll try that version.
This is proving to be a real pain in the ass. :)
|
| |
Richard
Registered: Dec 2001 Posts: 621 |
I think I remember the 'East Linker' packer. It was on Tools 4 Fools 7. You can link multiple files, like with the Sledgehammer. You can link files from $0200 - $FFFF and depack programs pretty fast (depending on filesize), with no depack mess or effects :)
Tools 4 Fools #7 |
| |
tlr
Registered: Sep 2003 Posts: 1790 |
Quote: The Sledgehammer I tried only packs single files.
I'll figure it out, somehow... :)
Yeah, someone reused the sledgehammer name. I have a Sledgehammer released by 1001-crew in 1986. It plays a sample from Peter Gabriels "Sledgehammer" when it starts. :) This is some kind of cruncher, which is slow, but was somewhat cool when it was released. I think MeanTeam did an improved version of it later on. |
| |
tlr
Registered: Sep 2003 Posts: 1790 |
Quote: ECA works great for 2 of the 3 files. One file is $a000-$cfff and the other is $d000-ffff. It always crashes on the third file, no matter which order I place them. I'll try that version.
This is proving to be a real pain in the ass. :)
What is the region of your third file?
What did you set "skip" and "lowmem" to?
You edited your first post, so I don't know your requirements, but if it is ok that it links from disk with the original file start adresses you may try crosslink 2.0 (mr.cross/xakk).
http://www.funet.fi/pub/cbm/c64/packers/Crosslink-v2.0.prg
If you can do a big file with all your stuff in one file, there are many packers that will do the trick. |
| |
Moloch
Registered: Jan 2002 Posts: 2928 |
There are quite a few "improved" versions of Sledgehammer out there. The version I use the most was "improved" by Cross.
|
| |
Wanderer Account closed
Registered: Apr 2003 Posts: 478 |
Quote: There are quite a few "improved" versions of Sledgehammer out there. The version I use the most was "improved" by Cross.
Here's the problem. I have never, in my 20 years on the 64, been able to save under ROM. Sad hmm... I set the value of $01 and save $a000-bfff or $e000-ffff and it doesn't work. I get the ROM instead. Only if I make a routine to set $01 to 34 and xfer the memory into RAM (eg. from $a000 to $1000) I can save it.
So I can't save a complete file from $0800-$ffff and pack it, I thought about doing that.
I was able to use Exomizer [thank you Magnus :) ] to pack them on the PC and create a c64 file.
ECA, I set low mem to $0800 and didn't touch skip. I've always heard to use $d000 but I dont know what that means. It won't relocate code to $d000? It won't allow files into $d000? It won't touch $d000 upon depacking? I don't know, ECA never had a very good user manual lol.
|
| |
tlr
Registered: Sep 2003 Posts: 1790 |
Quote: Here's the problem. I have never, in my 20 years on the 64, been able to save under ROM. Sad hmm... I set the value of $01 and save $a000-bfff or $e000-ffff and it doesn't work. I get the ROM instead. Only if I make a routine to set $01 to 34 and xfer the memory into RAM (eg. from $a000 to $1000) I can save it.
So I can't save a complete file from $0800-$ffff and pack it, I thought about doing that.
I was able to use Exomizer [thank you Magnus :) ] to pack them on the PC and create a c64 file.
ECA, I set low mem to $0800 and didn't touch skip. I've always heard to use $d000 but I dont know what that means. It won't relocate code to $d000? It won't allow files into $d000? It won't touch $d000 upon depacking? I don't know, ECA never had a very good user manual lol.
What do you use for saving? Are coding this yourself, or do you use a monitor?
Saving under kernal obviously doesn't work with the kernal save routine ($ffd8), but saving under basic does.
ECA linker:
"Skip" is the start of the address space that you cannot use.
$d000 means that $d000-$dfff is (virtually) occupied by the linker code. |
| |
Tch Account closed
Registered: Sep 2004 Posts: 512 |
Hi Wanderer,
I recognise your problem.
$A000-BFFF never was a problem for me though.
Using the "Power Cartridge" in VICE solved all my problems.
When it is installed,press F2 to enter the Monitor.
It starts with displaying several pointers.
Change the #37 (sometimes #77) into #34.
Tranfer $A000-FFFF to $1000 and save the crap.
I always used Sledgehammer 2 (the Brutal version ;P)
Shouldn´t give you any problems,I still use it.
Ps,the "Power Cartridge" stores itself on $8000-9FFF,better detach it before you run any stuff in Vice.
|
| |
Zagon Account closed
Registered: Apr 2002 Posts: 14 |
If you are using the Vice emulator you can just use the built in monitor entered by [alt]-[m].
typing "bank ram" will enable you to save all of the memory including below the roms or IO area without relocation.
"s "filename" 0 0800 ffff" will then save all memory from $0800 to $1000 to the current directory. No rom images will be mirrored in the saved file.
|
| |
Wanderer Account closed
Registered: Apr 2003 Posts: 478 |
Quote: If you are using the Vice emulator you can just use the built in monitor entered by [alt]-[m].
typing "bank ram" will enable you to save all of the memory including below the roms or IO area without relocation.
"s "filename" 0 0800 ffff" will then save all memory from $0800 to $1000 to the current directory. No rom images will be mirrored in the saved file.
I use CCS64. If I'd known about the Vice method I would have shaved a few hours off of this project :) Thanks.
I used to use a ripper program from, I believe, Alpha Flight, to save under ROM. I've lost a lot of knowledge over the years.
|
| |
Tch Account closed
Registered: Sep 2004 Posts: 512 |
Quote: If you are using the Vice emulator you can just use the built in monitor entered by [alt]-[m].
typing "bank ram" will enable you to save all of the memory including below the roms or IO area without relocation.
"s "filename" 0 0800 ffff" will then save all memory from $0800 to $1000 to the current directory. No rom images will be mirrored in the saved file.
I have been trying to save from the Alt-M shit a couple of times.
Your way doesn´t save anything either.
What am I doing wrong?
|
| |
Tch Account closed
Registered: Sep 2004 Posts: 512 |
Quote: I have been trying to save from the Alt-M shit a couple of times.
Your way doesn´t save anything either.
What am I doing wrong?
Damn,it saves to my harddisc,not the attached D64. LOL! |
| |
Wanderer Account closed
Registered: Apr 2003 Posts: 478 |
Quote: Damn,it saves to my harddisc,not the attached D64. LOL!
Yep, the monitor saves to c:\64 instead of the .d64 file and that is VERY ANNOYING. I import it with the D64 Editor. |
| |
Slartibartfast Account closed
Registered: Jul 2002 Posts: 230 |
s "rip" 8 0800 ffff
That saves to drive 8, your attached d64.
You could also try reading the comprehensive help files. |
| |
Wanderer Account closed
Registered: Apr 2003 Posts: 478 |
Quote: s "rip" 8 0800 ffff
That saves to drive 8, your attached d64.
You could also try reading the comprehensive help files.
s "rip" 0800 ffff will save up to $9fff.
$a000-bfff will be ROM, $c000-cfff will be RAM and $d000-ffff will be ROM memory.
If you set $01 to $34 it still seems to save ROM, I was told once why this happens but now I forget. |
| |
Slartibartfast Account closed
Registered: Jul 2002 Posts: 230 |
Well, that has been dealt with in a reply in this thread, and a good read of the comprehensive VICE documentation should clear up any other problems you're having. |
| |
Wanderer Account closed
Registered: Apr 2003 Posts: 478 |
Quote: Well, that has been dealt with in a reply in this thread, and a good read of the comprehensive VICE documentation should clear up any other problems you're having.
I use CCS64, tried the save method you suggested. It didn't work.
If it had though, I'd have been very happy. Importing into .d64 files is a pain. |
| |
Slartibartfast Account closed
Registered: Jul 2002 Posts: 230 |
Zagon mentioned the vice method, you seemed to be acknowledging it for future use. So I was just pointing out that saving to 0 is your pc hdd, and saving to drive numbers saves to attached d64s.
The method zagon describes allows for you to save the entire ram.
Anyway, Vice is better for most things, except maybe NTSC. |
| |
Tch Account closed
Registered: Sep 2004 Posts: 512 |
Quote: s "rip" 8 0800 ffff
That saves to drive 8, your attached d64.
You could also try reading the comprehensive help files.
Tried this a long time ago.
It must be a "1" to save to the attached D64.
Also the "true drive emulator" must be turned off.
Thanx anyway,I finally figured it out. 8) |
| |
Steppe
Registered: Jan 2002 Posts: 1510 |
To make Vice save the ROM, type a
bank ram
s "file.dat" 0 0000 ffff
That indeed saves the whole mem to the last accessed directory. |
| |
QuasaR
Registered: Dec 2001 Posts: 145 |
Maybe this sound a bit harsh, but if you can't code, RFTM:
Memory Configuration
The signals /CharEn, /HiRam and /LoRam are used to select the memory
configuration. They can be set using the processor port $01. The following
logic applies (if expression on the right side is true, area mentioned on
the left side will be activated. Otherwise, there is RAM):
Kernal ROM = (/HiRam)
Basic ROM = (/LoRam AND /HiRam)
That means, you cannot switch in Basic when the Kernal is off. Please
note also, that an EPROM starting at $8000 will be disabled when you
switch off the Basic ROM.
Char. ROM = ((NOT (/CharEn)) AND (/LoRam OR /HiRam))
I/O-Area = (/CharEn AND (/LoRam OR /HiRam))
These two areas can just be activated, if at least one other signal is
high. Then /CharEn selects either Char. ROM or I/O-Area.
As a result, we get the following possibilities for the corresponding
bits of $01:
Bit+-------------+-----------+------------+
210| $8000-$BFFF |$D000-$DFFF|$E000-$FFFF |
+---+---+-------------+-----------+------------+
| 7 |111| Cart.+Basic | I/O | Kernal ROM |
+---+---+-------------+-----------+------------+
| 6 |110| RAM | I/O | Kernal ROM |
+---+---+-------------+-----------+------------+
| 5 |101| RAM | I/O | RAM |
+---+---+-------------+-----------+------------+
| 4 |100| RAM | RAM | RAM |
+---+---+-------------+-----------+------------+
| 3 |011| Cart.+Basic | Char. ROM | Kernal ROM |
+---+---+-------------+-----------+------------+
| 2 |010| RAM | Char. ROM | Kernal ROM |
+---+---+-------------+-----------+------------+
| 1 |001| RAM | Char. ROM | RAM |
+---+---+-------------+-----------+------------+
| 0 |000| RAM | RAM | RAM |
+---+---+-------------+-----------+------------+
|||
/CharEn|/LoRam
|
/HiRam
Taken from Ninjas (nearly) PERFECT C64 documentation, lacoated here: http://www.the-dreams.de/aay.html
This should solve all your saving problems in future (and your packing problems which seems not to derive from the packers/linkers/cruncher you're using...)
Just my 2 cents... |
| |
QuasaR
Registered: Dec 2001 Posts: 145 |
[sorry for the bad layout, just check the original site...] |
| |
Steppe
Registered: Jan 2002 Posts: 1510 |
Of course I meant "if you want to save the _RAM_".
(Now where did that edit button go again...?) |
| |
Wanderer Account closed
Registered: Apr 2003 Posts: 478 |
Yes your post was harsh. I know how to set $01.
The monitor would not save that area of memory unless it was transferred out. I DON'T use Vice, so all of this
(ad)Vice I'm getting is of no use. (Again, I did NOT use Vice during this problem)
The monitor does not expose RAM when the $01 is set. And the matter of linking, the problem remains that the three packers I used that claimed to pack $0200-ffff (or $0400-ffff) failed. They crashed.
Whether I saved the entire RAN from $0400-ffff as a single file or little files, the linkers I use choked.
Anyway the matter has been solved... I found a linker (Exomizer) that did it perfectly. |
| |
Zagon Account closed
Registered: Apr 2002 Posts: 14 |
Just for the record.
The CCS64 emulator also has an mc-monitor reached by [alt]+[m]. This monitor, like Vice, has a bank command to control what is displayed: memory, io or roms.
However, this bank command takes a number between 0-7 that corresponds directly to the last digit of the hexvalue normally in $01.
So the following command should save only memory in ccs64 to the current directory:
bank 4
sp "name" 0400 10000
(sp to save .prg file, only s excludes the two initial address bytes).
|
| |
Wanderer Account closed
Registered: Apr 2003 Posts: 478 |
Quote: Just for the record.
The CCS64 emulator also has an mc-monitor reached by [alt]+[m]. This monitor, like Vice, has a bank command to control what is displayed: memory, io or roms.
However, this bank command takes a number between 0-7 that corresponds directly to the last digit of the hexvalue normally in $01.
So the following command should save only memory in ccs64 to the current directory:
bank 4
sp "name" 0400 10000
(sp to save .prg file, only s excludes the two initial address bytes).
Cool. I did not know about the SP command. I've been saving the files like $0ffe-$4000 instead of $1000-$4000 to get the 2 initial load addresses.
I learned something new today :)
|
| |
elsiebopp Account closed
Registered: Apr 2005 Posts: 2 |
IM A FIRST TIME USER AND WOULD LOVE TO PLAY THE C64 GAMES, ONE PROBLEM I HAVE A MAC G5 OSX AND HAVING DIFFICULTY ACCESSING THE RIGHT INFO TO DOWNLOADS. ANYONE GOT ANY TIPS??????
|
| |
TDJ
Registered: Dec 2001 Posts: 1879 |
Quote: IM A FIRST TIME USER AND WOULD LOVE TO PLAY THE C64 GAMES, ONE PROBLEM I HAVE A MAC G5 OSX AND HAVING DIFFICULTY ACCESSING THE RIGHT INFO TO DOWNLOADS. ANYONE GOT ANY TIPS??????
I have a tip: lowercase. Believe me, people will not listen to you using caps all the time. |
| |
Steppe
Registered: Jan 2002 Posts: 1510 |
Another hint: Avoid posting stuff completely irrelevant to a certain thread. ;-)
Besides, it's really unclear to me what exactly your problem is. For games I suggest you visit gamebase64.com or lemon64.com. |
| |
Richard
Registered: Dec 2001 Posts: 621 |
Quote: IM A FIRST TIME USER AND WOULD LOVE TO PLAY THE C64 GAMES, ONE PROBLEM I HAVE A MAC G5 OSX AND HAVING DIFFICULTY ACCESSING THE RIGHT INFO TO DOWNLOADS. ANYONE GOT ANY TIPS??????
Never use capital letters iun forums, and that. Mainly because it is judged as flaming or shouting at another person. Use lower case please.
By the way, if you're a first time user and you're after an emulator for a PC Mac then http://www.zzap64.co.uk/c64/c64emulators.html#mac should hopefully help you.
BTW: This should go into a new thread ;) |
| |
Tch Account closed
Registered: Sep 2004 Posts: 512 |
Greetinx Elsiebopp (great name!)
I hope Richard has been of help to you,he is a cool dude!
Enjoy the C64 stuff if that´s the (lower) case.
You might be amazed what has been done on "our" machine.
I wish you a lot of entertainment! |