At 03:29 PM 3/8/99 +0100, you wrote:

>When I wrote this, I tried it with the FM-PAC in slot 1. Now I got
>myself a slotexpander, so I put the FM-PAC in the slotexpander (slot 2-1
>it was). Now Athler Wars 2 does NOT crash, but it totally ignores the
>FM-PAC! Other software works fine with the FM-PAC in both slots...
>HOW CAN THAT BE??

Maybe AW2 does not have proper search routines for the FM-PAC. If it looks
only in primary slots and not in sub slots, that explains why it is not
seen. If that is true, it wouldn't detect the internal MSX-MUSIC in a turbo
R either.

>Another thing: nice, a slotexpander... So I put my SCC in the
>slotexpander, and now none of my SCC-cracks recognize it... (except
>Solid Snake and the Games Collection disks for normal SCC...) Is this
>normal?

Most SCC cracks use a fixed slot for the SCC instead of searching for it.
And even if you have a crack that lets you input the SCC slot, it probably
only accepts primary slots.
Solid Snake has a new loader (by me) and the Games Collections were cracked
recently (by Sean Young?). Nowadays people care about slot expanders, but
that was not true in the old days (were slot expanders even around back
then?).

I think there may be a way to make your SCC work even in a slot expander.
What about this little assembly program:

        org     #C000
        ld      a,SLOT_ID
        ld      h,#80
        call    #0024
        ld      a,(#F342)
        ld      h,#80
        call    #0024
        ret

Where you have to replace SLOT_ID with the slot ID of your SCC. A slot ID
format is like this:
        E000SSPP
                E  = expanded (1 if subslot)
                SS = subslot number (0 if not expanded)
                PP = slot number
For example, if your SCC is in slot 2-1, slot ID becomes %10000110 (#86).

It will select the SCC in address range #8000-#BFFF and then select RAM
again in that range and return. What happens is that, if your SCC and RAM
are not in the same primary slot, the secundary slot select register
(#FFFF) of the primary slot the SCC is in will get the right value.
By "right value" I mean that if later on that primary slot is selected
using port #A8 only (not using the #0024 BIOS call and therefore not
modifying the secundary slot select register), the SCC will still be
selected at address range #8000-#BFFF.

You could add the routine to a BASIC loader like this:
(untested - someone please verify this)

10 SL = 2: SB = 1: 'SCC slot and subslot
20 AD = &HC000: RESTORE 60
30 READ H$:IF H$<>"*" THEN POKE AD,VAL("&H"+H$):AD=AD+1:GOTO 30
40 POKE &HC001,&H80 + SB*4 + SL
50 DEFUSR=&HC000:A=USR(0)
60 DATA 3E,00,26,80,CD,24,00,3A,42,F3,26,80,CD,24,00,C9,*
70 'rest of crack loader

Hope this helps!

Bye,
                Maarten


****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****

Reply via email to