My Little Pony Demo

GO TO ADMIN PANEL > ADD-ONS AND INSTALL VERTIFORO SIDEBAR TO SEE FORUMS AND SIDEBAR

Ponut

New Member
Joined
Feb 19, 2018
Messages
54
Points
18
Age
25
Finally, I can post here!
Yeah I made that. You can read more about what I'm doing on the Jo engine forums.
Lately I'm struggling with SGL PCM. (At least I'm struggling less there than with SBL PCM, which i couldn't get to work at all)
 

XL2

Member
Joined
Jul 5, 2017
Messages
208
Points
43
Age
35
Finally, I can post here!
Yeah I made that. You can read more about what I'm doing on the Jo engine forums.
Lately I'm struggling with SGL PCM. (At least I'm struggling less there than with SBL PCM, which i couldn't get to work at all)
Well, Jo Engine already includes PCM functions using mainly SBL, so you could take a look there.
Rockin B Saturn tutorial also shows how to do it.
 

fafling

New Member
Joined
Aug 11, 2019
Messages
38
Points
8
Age
44
gcc 9.2 environment by vbt.
Add %COMPILER_DIR%\SH_ELF\bin in the PATH in compile.bat to avoid a missing dll error.
 

Attachments

fafling

New Member
Joined
Aug 11, 2019
Messages
38
Points
8
Age
44
So to get the border area to display black instead of the back screen color, I had to set the TVMD register at vblank, just like you did when you were setting the screen to hi res. This is what I added in function vblank_requirements of render.c, the value is the same as Jo engine for NTSC but with the BDCLMD bit set to 0 :
Code:
vdp2_TVmode[0] = 32784;
The values that Jo engine put in this register at init set the border to the back screen color (JO_VDP2_TVMD in core.c). But changing those values has no effect on the border color, and I couldn't find something else that modified the TVMD register.
 

XL2

Member
Joined
Jul 5, 2017
Messages
208
Points
43
Age
35
So to get the border area to display black instead of the back screen color, I had to set the TVMD register at vblank, just like you did when you were setting the screen to hi res. This is what I added in function vblank_requirements of render.c, the value is the same as Jo engine for NTSC but with the BDCLMD bit set to 0 :
Code:
vdp2_TVmode[0] = 32784;
The values that Jo engine put in this register at init set the border to the back screen color (JO_VDP2_TVMD in core.c). But changing those values has no effect on the border color, and I couldn't find something else that modified the TVMD register.
Wait, so the tvmd register has to be modified at vblank?
That's a SGL issue I guess?
 

Ponut

New Member
Joined
Feb 19, 2018
Messages
54
Points
18
Age
25
Almost certainly an SGL issue.
Why did they feel the need to write all the registers all the time?
 
Top