Realfun 3

ページ 2/18
1 | | 3 | 4 | 5 | 6 | 7

By FiXato

Scribe (1743)

FiXato さんの画像

20-10-2020, 07:09

gdx wrote:

The link is broken.

The link works (at least for me), however as it is served over http, rather than httpS, recent versions have started to silently ignore such links due to mixed content when the source page _is_ served over httpS.

Or, as the console in Google Chrome puts it:

Quote:

Mixed Content: The site at 'https://www.msx.org/' was loaded over a secure connection, but the file at 'http://www.xl2s.tk/realfun3trial.zip' was redirected through an insecure connection. This file should be served over HTTPS. This download has been blocked. See https://blog.chromium.org/2020/02/protecting-users-from-inse... for more details.

One workaround is to right click the link, copy the link, and then 'paste and go' the link directly in your address bar.

(Or, alternatively, xl2s could fix their certificate so a proper certificate is served, rather than one issued for 'localhost', so it could be linked over https)

By gdx

Enlighted (6219)

gdx さんの画像

20-10-2020, 09:46

Thanx FiXato, the link works now.

How to get it to work on Turbo R?

GhostwriterP wrote:

Yes, I know but I am used to io at 0E0h like for the colecovision.

On ColecoVision, this is the port FFh (mirrored at E0h~FEh).

The MMM use the port 3Fh and Franky use the port 49h. The PlaySoniq can use any port. On MSX the E0h port is unused but the ports above 7Fh can not be used on several MSXs.

By GhostwriterP

Paladin (683)

GhostwriterP さんの画像

20-10-2020, 21:14

Alright, I made a couple of changes to the interrupt handling and moved bits of code outside the interrupt and the music playback should be more steady now. It is a bit of compromise on the wave visualizers, but the music is more important. Wink

Also for the fun of it added an cpu use indicator, which gives an idea about the work load on the r800. "Corridors of time" occasionally hits the 7/8, so 80% to 90% cpu load. With the old interrupt handler it was overloading every now and then, resulting in a unsteady tempo.

Furthermore I changed the SN i/o address base to 048h, so the SN76489 extension in openMSX can now be used (as well as franky?).

Finally I added a couple of very basic test tunes (single pattern loops) to the disk. I used these to try out some effects earlier... could be interesting.

Of course I expect to hear some new and proper compositions from you guys Wink

The updated zip file can be downloaded with the same adress (www.xl2s.tk/realfun3trial.zip) or link

By tfh

Prophet (3347)

tfh さんの画像

20-10-2020, 22:19

It even seems to work fine on WebMSX. Would you be OK with it if I would add it to file-hunter.com so people can play with it online in their browser? I'll add a link to the manual of course. And I'll update the file reguarly of course.

By GhostwriterP

Paladin (683)

GhostwriterP さんの画像

20-10-2020, 22:41

Sure, it is OK with me.

By tfh

Prophet (3347)

tfh さんの画像

20-10-2020, 23:14

GhostwriterP wrote:

Sure, it is OK with me.

Cool, thanks. Here it is: Realfun3 Online
If you'd like me to add/alter/update certain thing, please do not hesitate to let me kno.

By gdx

Enlighted (6219)

gdx さんの画像

21-10-2020, 03:31

GhostwriterP wrote:

Furthermore I changed the SN i/o address base to 048h, so the SN76489 extension in openMSX can now be used (as well as franky?).

This is 49h !

To define the playsoniq port of its SN76489 at 049h:

	ld	a,01Eh		;
	out	(02Ah),a	; Add
	ld	a,049h		; Playsoniq
	out	(02Bh),a	; support

You can also use the MMM using this auto-detection routine:

EXPTBL:	equ	0FCC1h
ENASLT:	equ	00024h

	ld	H,080h
	call	MMM_Srch	; MMM detection
	cp	255
	jr	nz,No_MMM	; Jump if MMM is not found
	ld	a,080h
	out	(03Ch),a
	ld	a,040h
	ld	(0803Ch),a	; Enable the SN76489 port of MMM
No_MMM:
	ret

; Musical Memory Mapper detection

MMM_Srch:
	ld	l,0FFh
	ld	b,16

MMM_Srch_Loop:
	push	hl

	ld	a,b
	dec	a
	and	3

	ld	hl,EXPTBL
	add	a,l
	ld	l,a

	ld	a,b
	dec	a
	or	(hl)

	pop    hl

	jp	m,Sec_SLT	; Jump if secondary Slot

	and	0Fh
	cp	4
	jr	nc,NextMMM_Srch ; Jump if 3-3 Slot

Sec_SLT:
	ld	c,a

	push	bc
	push	hl
	call	ENASLT		; Slot to search
	pop	hl
	pop	bc

	di

	ld	a,080h
	out	(03Ch),a	; Enable acces to registers by memory address mode

	ld	a,(hl)
	and	%00011111
	inc	a

	out	(0FFh),a

	or	0C0h
	cp	(hl)		; Same value?

	ld	a,0
	out	(03Ch),a
	out	(0FFh),a	; Restore initial mapper page on bank 0C000H~0FFFFH 

	ei

	ld	a,c		; A = Found Slot Number (F000SSPP)
	jr	z,MMM_Found

NextMMM_Srch:
	djnz	MMM_Srch_Loop	; Jump if MMM is not found

	ld	a,0FFh		; MMM not found value
	ret

MMM_Found:
	dec	b
	ret

Auto-detection is only needed to change the value 49h to 3Fh, when an MMM is inserted. So your program can be compatible with the three cartridges using only one OUT (C),A.

By journey

Hero (575)

journey さんの画像

21-10-2020, 08:23

Hi all,

I've tried the dsk file with real MSX TurboR+MFRSCC+PowerGrapho9000 but doesn't work.

When I launch the program (with both SofaRun and MM)it goes in MSX Basic.

Is it necessary to insert some particular parameter?

Thanx

By knm1983

Hero (575)

knm1983 さんの画像

21-10-2020, 14:00

Great job, now the SN chip works perfectly on my real Turbo R ST with the FlashJacks cartridge.

A small detail, when I access the music loader, the background image of the tracker is still active and the file browser is mixed with the tracker.

My computer is a Turbo R ST with internal 512k and a fat V9990 from Tecnobytes.

Thanks for this great job. Wink Wink

By knm1983

Hero (575)

knm1983 さんの画像

21-10-2020, 14:03

journey, I extract the files from the DSK and put them in a directory, then I launch the program with autoexec.bat directly from that directory.

ページ 2/18
1 | | 3 | 4 | 5 | 6 | 7