MegaFlashROM SCC+ emulation

Página 4/5
1 | 2 | 3 | | 5

Por ARTRAG

Enlighted (6445)

Imagen del ARTRAG

23-10-2010, 00:15

haow can i cancel the flash or skip the booting from the rom?
I loaded a bad rom and now the emulator remember that rom forever (!!)

Por Huey

Prophet (2655)

Imagen del Huey

23-10-2010, 09:10

[ESC] during start.

Por Guillian

Prophet (3361)

Imagen del Guillian

23-10-2010, 12:59

Or whatever key you set with the /T option

Por Manuel

Ascended (16980)

Imagen del Manuel

23-10-2010, 13:47

11723 fixes another small bug, which prevented Space Manbow (and maybe other software as well) not to run in the MegaFlashROM SCC+ cartridge.

Any feedback from you guys, ARTRAG and Huey?

Por Manuel

Ascended (16980)

Imagen del Manuel

24-10-2010, 00:44

11723 is available now, by the way (thanks Vampier!).

Por ARTRAG

Enlighted (6445)

Imagen del ARTRAG

24-10-2010, 08:38

in order to tell if it works i need some help:
This code works on SCC but not on SCC-I
(it is used to compute the exact period for a replayer)


PcmSccAdjust:
        di
        
        or      a               ; Set an appropiate starting point PAL/NTSC
        ld      hl,Period60-2
        jr      z,1f
        ld      hl,Period50-2
1:      ld      (Period),hl

    ;RET; DEBUG

        ld      a,3Fh
        ld      (Bank3),a       ; Access to SCC registers

;        ld      a,00011000B     ; enable ch4 & ch5
        xor     a
        ld      (988Fh),a

        ld      hl,9800h+32*3   ; counter in channel 4
        ld      bc,2000h
_counter:
        ld      (hl),c
        inc     hl
        inc     c
        djnz    _counter

        ld      a,10100000B     ; rotate channel 4&5, reset wav if freq is written
        ld      (98E0h),a		; scc
		;ld      (98C0h),a		; scc+

        ld      hl,(Period)

        ld      c,0FFh           ; any value > 31
        in      a,(99h)

_loop:

1:      in      a,(99h)
        and     80h
        jp      z,1b         ; wait vblank

        ld      a,(9800h+32*3)
        cp      c
        jp      z,_end

        ld      c,31
        inc     hl
        

1:      in      a,(99h)
        and     80h
        jp      z,1b         ; wait vblank

        ld      (9888h),hl
        ld      (9886h),hl

        jp      _loop
_end:
        ld      (Period),hl

		ld	a,2
        ld  (Bank3),a
        ret

How should be modified to make it work on SCC-I (in SCC compatibility mode)?
I tried to write at 98C0h what now I write at 98E0h but it has no effect

Por Manuel

Ascended (16980)

Imagen del Manuel

24-10-2010, 13:28

In SCC compatibility mode, do you need to do something else? I guess it isn't called compatibility mode for nothing...

Por ARTRAG

Enlighted (6445)

Imagen del ARTRAG

24-10-2010, 17:37

sorry but deformation register is NOT compatible
but it seems that it is not simply relocated

ld (98E0h),a ; scc
;ld (98C0h),a ; scc+

Por Huey

Prophet (2655)

Imagen del Huey

24-10-2010, 17:43

sorry but deformation register is NOT compatible
but it seems that it is not simply relocated

ld (98E0h),a ; scc
;ld (98C0h),a ; scc+

Yes. They are on different locations. But IIRC you can set the operation mode from the SCC-I to SCC (if needed).
More info: http://bifi.msxnet.org/msxnet/tech/soundcartridge.html#using

Por ARTRAG

Enlighted (6445)

Imagen del ARTRAG

25-10-2010, 14:14

As far as I understand even in compatibility mode the deformation register is NOT compatible

Página 4/5
1 | 2 | 3 | | 5