Jump to content
IGNORED

Atari 800 (non XL) program to detect NTSC/PAL conversion


mikesk8

Recommended Posts

Hi All, I have a new Atari 800, which I suspect was converted to PAL from NTSC. The SALT shows TIA:PAL and NTSC B rom. Everything seem to be working ok though.

 

Is there any way to run a software test to detect it? I do not want to fully disassemble it yet :P

Link to comment
Share on other sites

The key repeat rate is hard-coded so if the Antic from another system is present the key repeat will seem wrong.

 

Properly converting any machine NTSC to PAL is usually a non-trivial thing since a proper PAL signal needs the 4.43 MHz crystal and extra circuitry that's usually not present on NTSC machines.

 

? PEEK(53268)

should return 1 for a PAL GTIA, 15 for an NTSC one.

 

Telling which Antic is present isn't quite as easy.  In Basic the easiest way might be to just use the frame counter updated in VBlank.

 

10 POKE 20,0:POKE19,0

20 S=PEEK(20)+PEEK(19)*256

30 POS. 0,0 : ? S/50 ; "  " ;

40 GOTO 20

 

Run that and compare against a watch after about 30 seconds.  If it's running apparently too fast then it's got an NTSC Antic.

Link to comment
Share on other sites

On 8/4/2020 at 11:29 AM, Rybags said:

The key repeat rate is hard-coded so if the Antic from another system is present the key repeat will seem wrong.

 

Properly converting any machine NTSC to PAL is usually a non-trivial thing since a proper PAL signal needs the 4.43 MHz crystal and extra circuitry that's usually not present on NTSC machines.

 

? PEEK(53268)

should return 1 for a PAL GTIA, 15 for an NTSC one.

 

Telling which Antic is present isn't quite as easy.  In Basic the easiest way might be to just use the frame counter updated in VBlank.

 

10 POKE 20,0:POKE19,0

20 S=PEEK(20)+PEEK(19)*256

30 POS. 0,0 : ? S/50 ; "  " ;

40 GOTO 20

 

Run that and compare against a watch after about 30 seconds.  If it's running apparently too fast then it's got an NTSC Antic.

I have run both tests and:

 

1) first test got 1 = PAL GTIA

2) the timing was exactly the same even after 60 sec = seems to be PAL Antic

 

Then, SALT is showing TIA:PAL, but OS is NTSC. Is it possible it runs ok with all PAL components and NTSC OS?

salt1.JPG

  • Like 1
Link to comment
Share on other sites

The main things that will be different are key repeat and the tables that control tape loading.

Supposedly the tapes shouldn't have a problem though as there's meant to be 5% tolerance built into Pokey.

 

If it actually is an NTSC OS though, the key repeat on a PAL system would be annoyingly slow.

You should be able to pick it straight away.

Link to comment
Share on other sites

14 minutes ago, Rybags said:

The main things that will be different are key repeat and the tables that control tape loading.

Supposedly the tapes shouldn't have a problem though as there's meant to be 5% tolerance built into Pokey.

 

If it actually is an NTSC OS though, the key repeat on a PAL system would be annoyingly slow.

You should be able to pick it straight away.

I will open ROM and check :) what do you mean by the key repeat? 

Link to comment
Share on other sites

7 hours ago, Rybags said:

You don't have to open anything.

 

Just start with Basic or Memopad and hold a key down.

I did a test - video attached. It looks ok to me. Does it mean my NTSC OS is not NTSC OS? The last video works in Firefox but not in Safari :( dont know how to fix it.

Edited by mikesk8
Link to comment
Share on other sites

It seems that my machine is PAL in the end with the NTSC B OS. The key repeat (video attached above - only last works in Firefox) was ok too. As I don't use tapes, but on SIO2SD and cartridges I don't see any challenges with NTSC OS on PAL machine. If I manage to get PAL OS I will compare again and let you know:) I'm curious if there are other people running NTSC OS on PAL machines and what are their conclusions? :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...