| |
Wanderer Account closed
Registered: Apr 2003 Posts: 478 |
Need help on packing...
(Nevermind... Beaslinker did the job) |
|
... 31 posts hidden. Click here to view all posts.... |
| |
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 ;) |
Previous - 1 | 2 | 3 | 4 | 5 - Next |