Welcome, Guest. Please login or register.

Author Topic: Code to boot into PAL or NTSC modes?  (Read 8450 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline psxphill

Re: Code to boot into PAL or NTSC modes?
« on: December 31, 2012, 03:13:16 PM »
Quote from: ChaosLord;720788
There is more to it than that.

It's generally all that anyone does though.
 
http://thecryptmag.com/Online/49/PaltoNTSCandBack.html
 
You can update execbase too, the source code here does that.
 
http://aminet.net/util/misc/60HzEmulator.lha
 
A lot of the source is useless, it allows switching using key combinations and faking vblank using a cia (if you don't have a fat agnus).
Updating exec base is mostly useless, generally the reason why you are switching is because the software doesn't bother to detect the mode.
« Last Edit: December 31, 2012, 03:22:32 PM by psxphill »
 

Offline psxphill

Re: Code to boot into PAL or NTSC modes?
« Reply #1 on: December 31, 2012, 06:52:48 PM »
Quote from: ChaosLord;720796
Else all the Amigas blitting routines and so forth would have wrong clip limits, wrong overscan limits, etc. Nothing will work right.

Setting the refresh rate doesn't change how much chip ram has been allocated for the screen, so blitting would never be affected.
 
I'm pretty sure that it just leaves a blank area or clips the screen, depending on whether you're going from NTSC to PAL or PAL to NTSC.
 
Most games never look at execbase, they just open the screen they want (and usually with custom copper lists). Running a PAL game on an NTSC Amiga just crops the bottom off.
 

Offline psxphill

Re: Code to boot into PAL or NTSC modes?
« Reply #2 on: December 31, 2012, 07:22:24 PM »
Quote from: ChaosLord;720813
Are you claiming that all games do not use MrgCop()? Or any other routine in the kickstart ROM whatsoever?

Most games don't, they disable multitasking, use custom copper lists etc.
 
WHDLOAD has to do it's magic to run them from hard disk.
 

Offline psxphill

Re: Code to boot into PAL or NTSC modes?
« Reply #3 on: January 01, 2013, 12:59:16 PM »
Quote from: ChaosLord;720859
A super simple one might work ok for a few games but all the rest will be braindamaged.

A super simple one will work for the majority of 80's/90's PAL games. The later HD installable ones tended to be more system friendly, but then they would generally open the screen mode properly anyway.