King of Fighters NeoWave(2022.03.01)

Moderators: pcwzrd13, deluxux, VasiliyRS

legolas119
fire
Posts: 70

Re: King of Fighters NeoWave(2021.12.12)

Post#121 » Wed Dec 29, 2021 5:12 pm

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: 6005
Contact:

Re: King of Fighters NeoWave(2021.12.12)

Post#122 » Wed Dec 29, 2021 6:30 pm

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..

User avatar
yzb
Developer
Posts: 130

Re: King of Fighters NeoWave(2021.12.12)

Post#123 » Thu Dec 30, 2021 6:16 am

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

User avatar
yzb
Developer
Posts: 130

Re: King of Fighters NeoWave(2021.12.12)

Post#124 » Thu Dec 30, 2021 6:21 am

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

Re: King of Fighters NeoWave(2021.12.12)

Post#126 » Thu Dec 30, 2021 7:16 am

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/

User avatar
yzb
Developer
Posts: 130

Re: King of Fighters NeoWave(2021.12.12)

Post#127 » Thu Dec 30, 2021 7:27 am

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

Re: King of Fighters NeoWave(2021.12.12)

Post#128 » Thu Dec 30, 2021 12:31 pm

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: 6005
Contact:

Re: King of Fighters NeoWave(2021.12.12)

Post#129 » Thu Dec 30, 2021 1:57 pm

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

Re: King of Fighters NeoWave(2021.12.12)

Post#130 » Thu Dec 30, 2021 3:48 pm

New version doesn't work on RGB

But works with older version 2021.01.11ImageImageImage

Sent from my M2103K19G using Tapatalk

  • Similar Topics
    Replies
    Views
    Last post

Return to “Atomiswave Ports”

Who is online

Users browsing this forum: No registered users