Request of sample code for Mega CD scaling/rotation

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

tms9918

New Member
Joined
Sep 29, 2019
Messages
2
Points
3
I am developing a Sega CD test program (see this thread )
Is anyone willing to share (simple) sample code for scaling/rotation using the mega cd ?
I read the sega retro mega cd's hardware and development manuals, but the information is rather scarce.
On the other hand the code I found is only from huge projects.
 
  • Like
Reactions: vbt

vexatious

Ban Hammered
Joined
Jun 23, 2013
Messages
19
Points
3
You need to tell us what system mode you're using (e.g. "system mode 1" or "system mode 2"), and what function. According to that link thread an Everdrive is being used which isn't exactly transparent; moreover it's being used on faulty hardware to develop the program... Unfortunately my mini howto is still alpha so doesn't explain how to start prepared.

Did you already replace capacitors on both the core and cd side?

EDIT:
You also need to explain what code system: snasm, codewarrior or something else...?
 
Last edited:

tms9918

New Member
Joined
Sep 29, 2019
Messages
2
Points
3
I already replaced all the caps, logic/laser/power board.

As long as anybody has some code, I will adapt it. For the system mode, I can just define a constant and add it, as I did in
fabiodl/megacdTest
(see the OFFSET variable)

For the developing environment i use sgdk (g++ and gnu assembler) but I have no problems in adapting code from any other assembler
 
Last edited:
Top