King of Fighters NeoWave(2022.03.01)

Moderators: pcwzrd13, deluxux, VasiliyRS

legolas119
fire
Posts: 70
Joined: Sat Nov 27, 2021 5:00 pm
Dreamcast Games you play Online: none

Re: King of Fighters NeoWave(2021.12.12)

Post by legolas119 »

yzb wrote:
legolas119 wrote:
yzb wrote:

Are you using an av cable or a vga cable? Or is it another type of cable that outputs video?

I use av or vga cables on the gdemu and it works fine
I'm using an RGB cable, i don't have the VGA. Hi have this issue only in this game, it is realy strange...
Try this one :oops:

track04.7z
I tried it too, but always same issue, black screen with the RGB logo that doesn't disappear https://postimg.cc/r0fpGRZZ and it seems that only sounds are present :(
I don't know how to solve, i tried a different SD card with only this game added, but it doesn't work in any case :(
User avatar
Ian Micheal
Developer
Posts: 6009
Joined: Wed Dec 19, 2018 5:23 am
Location: USA
Contact:

Re: King of Fighters NeoWave(2021.12.12)

Post by Ian Micheal »

Well not to be funny but you might have to get vga cable and ether vga to hdmi as it works fine like that.. not like your paying for the game is it..
yzb
Developer
Posts: 130
Joined: Wed Dec 23, 2015 9:32 pm
Dreamcast Games you play Online: pso

Re: King of Fighters NeoWave(2021.12.12)

Post by yzb »

legolas119 wrote:
yzb wrote:
legolas119 wrote:
I'm using an RGB cable, i don't have the VGA. Hi have this issue only in this game, it is realy strange...
Try this one :oops:

track04.7z
I tried it too, but always same issue, black screen with the RGB logo that doesn't disappear https://postimg.cc/r0fpGRZZ and it seems that only sounds are present :(
I don't know how to solve, i tried a different SD card with only this game added, but it doesn't work in any case :(
I only have av and vga cables, no rgbs cables, no test environment, and the emulator doesn't seem to restore the problem

I suggest you try with an av or vga cable to see if you have the same problem
yzb
Developer
Posts: 130
Joined: Wed Dec 23, 2015 9:32 pm
Dreamcast Games you play Online: pso

Re: King of Fighters NeoWave(2021.12.12)

Post by yzb »

Ian Micheal wrote:Well not to be funny but you might have to get vga cable and ether vga to hdmi as it works fine like that.. not like your paying for the game is it..
I wrote it using the video.s related code from Marcus Comstedt's website
Could that function be a problem for using the rgbs line? :oops:
http://mc.pp.se/dc/files/video.s

Code: Select all



	! Set up video mode according to A/V cable
	bsr	check_cable
	nop
	mov	r0,r4
	bsr	init_video
	mov	#0,r5

	! Clear the screen to black
	bsr	clrscr
	mov	#0,r4

	! Draw some white text
	.......................
	
		! Clear screen
	!
	! Assumes a 640*480 screen with RGB555 or RGB565 pixels

	! r4 = pixel colour
clrscr:	
	mov.l	vrambase,r0
	mov.l	clrcount,r1
clrloop:
	mov.w	r4,@r0	! clear one pixel
	dt	r1
	bf/s	clrloop
	add	#2,r0
	rts
	nop

	.align	4
vrambase:
	.long	0xa5000000
clrcount:
	.long	640*480


	
	! Set up video registers to the desired
	! video mode (only 640*480 supported right now)
	!
	! Note:	This function does not currently initialize
	!       all registers, but assume that the boot ROM
	!	has set up reasonable defaults for syncs etc.
	!
	! TODO:	PAL
	
	! r4 = cabletype (0=VGA, 2=RGB, 3=Composite)
	! r5 = pixel mode (0=RGB555, 1=RGB565, 3=RGB888)
init_video:
	! Look up bytes per pixel as shift value
	mov	#3,r1
	and	r5,r1
	mova	bppshifttab,r0
	mov.b	@(r0,r1),r5
	! Get video HW address
	mov.l	videobase,r0
	mov	#0,r2
	mov.l	r2,@(8,r0)
	add	#0x40,r0
	! Set border colour
	mov	#0,r2
	mov.l	r2,@r0
	! Set pixel clock and colour mode
	shll2	r1
	mov	#240/2,r3	! Non-VGA screen has 240 display lines
	shll	r3
	mov	#2,r2
	tst	r2,r4
	bf/s	khz15
	add	#1,r1
	shll	r3		! Double # of display lines for VGA
	! Set double pixel clock
	mov	#1,r2
	rotr	r2
	shlr8	r2
	or	r2,r1
khz15:	
	mov.l	r1,@(4,r0)
	! Set video base address
	mov	#0,r1
	mov.l	r1,@(0x10,r0)
	! Video base address for short fields should be offset by one line
	mov	#640/16,r1
	shll2	r1
	shll2	r1
	shld	r5,r1
	mov.l	r1,@(0x14,r0)
	! Set screen size and modulo, and interlace flag
	mov.l	r4,@-r15
	mov	#1,r2
	shll8	r2
	mov	#640/16,r1
	shll2	r1
	shld	r5,r1
	mov	#2,r5
	tst	r5,r4
	bt/s	nonlace	! VGA => no interlace
	mov	#1,r4
	add	r1,r4	! add one line to offset => display every other line
	add	#0x50,r2	! enable LACE
nonlace:
	shll8	r4
	shll2	r4
	add	r3,r4
	add	#-1,r4
	shll8	r4
	shll2	r4
	add	r1,r4
	add	#-1,r4
	mov.l	r4,@(0x1c,r0)
	mov.l	@r15+,r4
	add	#0x7c,r0
	mov.l	r2,@(0x14,r0)
	! Set vertical pos and border
	mov	#36,r1
	mov	r1,r2
	shll16	r1
	or	r2,r1
	mov.l	r1,@(0x34,r0)
	add	r3,r1
	mov.l	r1,@(0x20,r0)
	! Horizontal pos
	mov.w	hpos,r1
	mov.l	r1,@(0x30,r0)
	
	! Select RGB/CVBS
	mov.l	cvbsbase,r1
	rotr	r4
	bf/s	rgbmode
	mov	#0,r0
	mov	#3,r0
rgbmode:
	shll8	r0
	mov.l	r0,@r1
	
	rts
	nop
	
	.align	4
videobase:
	.long	0xa05f8000
cvbsbase:
	.long	0xa0702c00
bppshifttab:
	.byte	1,1,0,2
hpos:
	.word	0xa4

	

	! Check type of A/V cable connected
	!
	! 0 = VGA
	! 1 = ---
	! 2 = RGB
	! 3 = Composite

check_cable:
	! set PORT8 and PORT9 to input
	mov.l	porta,r0
	mov.l	pctra_clr,r2
	mov.l	@r0,r1
	mov.l	pctra_set,r3
	and	r2,r1
	or	r3,r1
	mov.l	r1,@r0
	! read PORT8 and PORT9
	mov.w	@(4,r0),r0
	shlr8	r0
	rts
	and	#3,r0

	.align 4
porta:
	.long	0xff80002c
pctra_clr:
	.long	0xfff0ffff
pctra_set:
	.long	0x000a0000

	.end
	
legolas119
fire
Posts: 70
Joined: Sat Nov 27, 2021 5:00 pm
Dreamcast Games you play Online: none

Re: King of Fighters NeoWave(2021.12.12)

Post by legolas119 »

ah! so this game doesn't work with RGB cable, understood. :\ I don't have any other cable to try. I have this issue only with this game, it is strange.
In the future i could buy for example an mClassic cable in order to use Dreamcast with a good picture quality on HDMI on my tv? Do you know mClassic? https://www.marseilleinc.com/mclassic/
yzb
Developer
Posts: 130
Joined: Wed Dec 23, 2015 9:32 pm
Dreamcast Games you play Online: pso

Re: King of Fighters NeoWave(2021.12.12)

Post by yzb »

legolas119 wrote:ah! so this game doesn't work with RGB cable, understood. :\ I don't have any other cable to try. I have this issue only with this game, it is strange.
In the future i could buy for example an mClassic cable in order to use Dreamcast with a good picture quality on HDMI on my tv? Do you know mClassic? https://www.marseilleinc.com/mclassic/
Because of the need to read the vmu and display the status of the save and load messages to the screen, an additional part of the display program was added

Of course, if the display is turned off, I guess the game can be played normally :oops:
legolas119
fire
Posts: 70
Joined: Sat Nov 27, 2021 5:00 pm
Dreamcast Games you play Online: none

Re: King of Fighters NeoWave(2021.12.12)

Post by legolas119 »

i performed several test not only with KoF neowave, but with others games too, using my emulators (Redream and Demul) with both RGB and VGA output.

1) Vampire Chronicles: with VGA perfectly works, with RGB there is a video issue, with GDEMU and with emulators: https://postimg.cc/8FW5N4Gg So for sure this game can't work with an RGB cable

2) The Ghost Blade: it works both in VGA and RGB using Demul (Redream doesn't support it yet). But it doesn't work on GDEMU: it appears this: https://postimg.cc/bd6Tr6gk

3) KoF NeoWave: it correctly works both in RGB and VGA with Redream and Demul.

I don't understand...
User avatar
Ian Micheal
Developer
Posts: 6009
Joined: Wed Dec 19, 2018 5:23 am
Location: USA
Contact:

Re: King of Fighters NeoWave(2021.12.12)

Post by Ian Micheal »

legolas119 wrote:i performed several test not only with KoF neowave, but with others games too, using my emulators (Redream and Demul) with both RGB and VGA output.

1) Vampire Chronicles: with VGA perfectly works, with RGB there is a video issue, with GDEMU and with emulators: https://postimg.cc/8FW5N4Gg So for sure this game can't work with an RGB cable

2) The Ghost Blade: it works both in VGA and RGB using Demul (Redream doesn't support it yet). But it doesn't work on GDEMU: it appears this: https://postimg.cc/bd6Tr6gk

3) KoF NeoWave: it correctly works both in RGB and VGA with Redream and Demul.

I don't understand...
DC emulators have all sorts of bugs and are not hardware can never base what works or does not on them = what works on real dreamcast included speed functions or even booting
Jade1975
minority
Posts: 66
Joined: Fri Aug 24, 2018 4:28 am
Dreamcast Games you play Online: No

Re: King of Fighters NeoWave(2021.12.12)

Post by Jade1975 »

New version doesn't work on RGB

But works with older version 2021.01.11ImageImageImage

Sent from my M2103K19G using Tapatalk
Post Reply