Author
| Newbie - Dewoo CPC-400s. Memory prevents running MSX software
|
NYYRIKKI msx master Posts: 1510 | Posted: September 19 2006, 15:39   |
Quote:
| By the way, magic poke just freezes this machine.
|
That can't be right... Are you sure you used "\" and not "/" ?
If this is right, then RAM must be in some slot 0-X ! Maybe there are different releases of this machine?
|
|
cax
 msx professional Posts: 1018 | Posted: September 19 2006, 18:38   |
NYYRIKKI, I just took this machine config exactly as it appears in BlueMSX and added missing ROMs.
You can do the same and see what happens.
Yes, I used backslash "\" !
And yes, the memory is in extended slot 0 !
|
|
NYYRIKKI msx master Posts: 1510 | Posted: September 19 2006, 18:45   |
Ah, yes sorry... It was 0-2 not 2  I stronly suggest making few hardware changes... You can get the games running with few jump lines but software solution is much harder and need to be implemented to each game. You can try to do the modifications I suggested to emulator and see how well it works after that. |
|
cax
 msx professional Posts: 1018 | Posted: September 19 2006, 18:56   |
Are you sure the memory layout in this machine is jumper-configurable ?
Also I cannot suggest this solution to each and every user.
You are right, most software won't run on it, but at least 32K ROMs can be run if ROM loading tool will support Daewoo's memory layout, am I right ?
Or maybe it's enough to use some other poke -1 ? If not, please explain.
|
|
NYYRIKKI msx master Posts: 1510 | Posted: September 19 2006, 22:54   |
Quote:
| Are you sure the memory layout in this machine is jumper-configurable ?
|
No, I meant that cutting some foils and adding few wires should be enough to make this quite normal MSX
Quote:
| You are right, most software won't run on it, but at least 32K ROMs can be run if ROM loading tool will support Daewoo's memory layout, am I right ?
|
It very much depends of the game code it self. I'll make you a loader so that you can test how well it works.
Quote:
| Or maybe it's enough to use some other poke -1 ? If not, please explain.
|
No, this POKE is meant for solving the problem that these programs don't do any sub-slot switching at all. These programs can't work as only slot manipulation that actually IS needed in this case is sub-slot switching. |
|
NYYRIKKI msx master Posts: 1510 | Posted: September 19 2006, 23:32   |
Ok, I wrote a simple loader and sent it to the email address that I found here. I didn't test it, but I understand that you have a emulator environment where you can test it easyly. It is not a general loader so don't expect it working on other MSX computers.
|
|
cax
 msx professional Posts: 1018 | Posted: September 20 2006, 09:58   |
Thank you a lot, but in my environment your code doesn't work. It even fails to load a 16K ROM, which IIRC does no switching at all.
What I see is "Syntax error in 80" or "Syntax error in 90" and the garbage in the basic listing.
Here is the machine config as found in BlueMSX distribution:
Slot 0: expanded (four subslots)
Slot 1: primary
Slot 2: primary
Slot 3: expanded
External slots:
cartridge 1: slot 1
cartridge 2: slot 3, subslot 0
Memory:
Slot 0-0 0000-7FFF Normal +cassette patch (MSX2KR.ROM)
Slot 0-1 4000-BFFF Normal 0x4000 (MSX2HAN3.ROM)
Slot 0-2 0000-FFFF 512 kB Mapped RAM (in fact 128K only AFAIK)
Slot 0-3 0000-7FFF Normal ROM (MSX2KREXT.ROM)
Slot 2 4000-BFFF National Disk Controller (CPC400SDISK.ROM)
|
|
NYYRIKKI msx master Posts: 1510 | Posted: September 20 2006, 11:51   |
Hmm... Try to load it like this:
POKE &HF677,&HD0:POKE &HD000,0:RUN"ROMLOAD.BAS"
|
|
cax
 msx professional Posts: 1018 | Posted: September 20 2006, 14:05   |
Indeed, moving Basic area helps !
At least Arkanoid and Zanac are running now.
Thank you a lot, NYYRIKKI !
Now I have to arrange this in a nice manner, with ROM selector, without asking about the size, etc.
And again, just as in MicroWAVer project, there exist so-called "copyright protected ROMs" that won't run if not patched (Wiz, almost all Konamies - e.g Goonies, etc.).
I have to either create a set of prepatched roms, or to make a patch table for as many of them as I can.
And, of course, would be nice if ExecROM.com will support such a MSX as well.
|
|
NYYRIKKI msx master Posts: 1510 | Posted: September 20 2006, 16:50   |
Yeah, I still suggest you to modify at least your own MSX.
BTW I just noticed, that ExecROM source is available here:
http://www.alsoftware.com.br/adrianpage/index.php?page=msxexec
I think that following changes would be enough to make it work also in CPC-400s :
- add this code just before "reloc5" routine:
ld a,(0ffffh)
cpl
and 11111100b
ld (0ffffh),a
- add same code again just before "rst 0h" in the "reloc5" sub routine.
|
|
cax
 msx professional Posts: 1018 | Posted: September 20 2006, 17:00   |
Quote:
| Yeah, I still suggest you to modify at least your own MSX. 
|
That's a problem - I have no such one, and I am helping people that live thousands kilometers from me. My Yamaha is 100% OK though
Quote:
|
BTW I just noticed, that ExecROM source is available
|
I knew, but I am not so skilled to modify it myself.
Thank you again for the patch, I hope it works.
Quote:
|
I think that following changes would be enough to make it work also in CPC-400s
|
Do you know which assembler suits better to make .COM from this source ?
From my experience Z80 assemblers differ a lot in syntax they accept. |
|
NYYRIKKI msx master Posts: 1510 | Posted: September 20 2006, 19:24   |
As the extension is .MAC I think that it is made for Microsoft M80 compiler.
|
|
cax
 msx professional Posts: 1018 | Posted: September 28 2006, 18:00   |
It works !
NYYRIKKI, a million thanks !
|
|
NYYRIKKI msx master Posts: 1510 | Posted: September 29 2006, 10:50   |
I'm glad to hear that. I'm sorry that I didn't test these, but I've been a bit busy lately.
|
|
|
|
|