home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / SOUND / BETRDAYS.ZIP / PAL_NTSC.TXT < prev   
Text File  |  1994-03-06  |  9KB  |  120 lines

  1. ______________________________________________________________________________
  2. What are PAL and NTSC modes, anyway?
  3.  
  4.      There are different standards of broadcasting video signals around the 
  5. world.  The two most common are known as PAL and NTSC.  Pal is largely used in 
  6. Europe, while NTSC remains a North American standard.  PAL typically gets 
  7. better vertical resolution, but at a sacrifice of only updating the screen 
  8. display once every fifty seconds, as opposed to the NTSC standard, which 
  9. refreshes once every sixty seconds.  What does all that mean?  This is going 
  10. to get a bit technical, so bare with me for a moment.
  11.  
  12.      Inside every television set and monitor is what is called a Cathode tube. 
  13. The inside-front portion of this tube -- the part that faces you -- is coated 
  14. with tiny phosphors.  These phosphors light up when struck by any form of 
  15. light; you may remember as a child having "glow-in-the-dark" toys of one sort 
  16. or another.  These glowed because they absorbed the light energy and emitted 
  17. them much more slowly.  This effect was visible when the lights were turned 
  18. out.  Your television and monitor screens are similar in this respect, except 
  19. that the coating of phosphors on said screens is quite thin, and the energy 
  20. from a typical light is barely enough to energize the phosphors enough to 
  21. absorb.  However if you look close enough in the dark you can see that it does 
  22. emit a small amount of light even though the set isn't on.
  23.      What the Cathode tube does is emit rays that strike directly at the 
  24. phosphors, which in turn light up and emits the image that you see on your 
  25. screen.  These rays are emitted in a left-to-right, top-to-bottom fashion. The 
  26. left-to-right movement of the cathode rays is known collectively as a raster 
  27. line.  In NTSC mode, this raster line moves from the top to the bottom of your 
  28. screen sixty times each second, and then returns to the top again to start the 
  29. process over.  In PAL mode, this raster line goes from the top to the bottom 
  30. of your screen only once every fifty seconds, and therefore is slower.  This 
  31. is how we percieve the effect of movement in images that display on our 
  32. televisions.  Each time the raster line makes its trip from top to bottom, the 
  33. screen is "refreshed", and a new image is displayed on top (provided there is 
  34. a new image ready -- movies typically play at 30 frames per second, so in NTSC 
  35. mode, the raster line will spend half its time refreshing duplicate images). 
  36. This goes on so long as the set is on.
  37.  
  38. ______________________________________________________________________________
  39. So what do monitors and raster lines have to do with MODs?
  40.  
  41.      This, also, is complicated.
  42.      For years, it has been typical programming practise to allow the computer 
  43. to take care of small routines and sub-programs itself while the main part of 
  44. the program does other things.  This is what is known as Interrupt 
  45. programming; every computer has what are called Interrupt vectors. These 
  46. vectors normally remain empty, but programmers can put the address (the 
  47. location in memory) of their sub-program or routine there, and from that point 
  48. on, until the program tells  it to stop, the computer will then take care of 
  49. running that routine so that whole program itself can go on about doing other 
  50. more important things.  The most common interrupt vector that programmers use 
  51. is called a "Vertical Blank Interrupt", or VBI for short.  This is where it 
  52. ties in with televisions.
  53.      A Vertical Blank is that small bit of time in which it takes the raster 
  54. line, explained above, to get from the bottom of the screen back up to the top 
  55. again.  During this time, the computer doesn't have to worry about refreshing 
  56. the screen, and therefore has a bit of free time to take care of other things. 
  57. If there is an interrupt present in the VBI vector, the computer will then 
  58. execute that routine.  In NTSC mode, it is able to execute that routine sixty 
  59. times each second.  In PAL mode, it can only execute that routine fifty times 
  60. each second.  Now this is where it ties in with MODs.
  61.      The MODule standard was originally created on the Commodore Amiga machine 
  62. in Europe with the advent of a program called Noisetracker.  It gave the Amiga 
  63. the ability to create four track musical scores using standard PCM (Pulse Code 
  64. Modulation) sound samples.  The programmer, like most programmers, used the 
  65. VBI to execute some of the smaller routines in his program while his program 
  66. did other things, such as wait for more input from the mouse or keyboard, or 
  67. whathaveyou.  One of these routines was the routine to actually play the 
  68. musical score.  Since, when being played, the musical score is constantly in 
  69. need of attention, it only made sense to put the routine that gives it that 
  70. attention (which included playing the sound samples and doing any effects that 
  71. were added to them, incrimenting the position it is currently at in the music 
  72. score, and so on) in the VBI so that the computer can take care of it.  Since 
  73. then all programmers have put their play routine in the VBI since that's the 
  74. most logical and convenient place to put it.
  75.      Which brings us to why broadcast modes affect MODs, which you may or may 
  76. not have deduced by now.  If you are in NTSC mode, the routine to play the 
  77. musical score, since it is in the VBI, will be executed sixty times each 
  78. second.  In PAL mode, it will only be executed fifty times each second.  And 
  79. that's the clincher:  If you play a MOD that was originally designed to be 
  80. played in PAL mode on an NTSC machine, it is going to play too fast; 
  81. similarily, if you play a MOD that was originally designed in NTSC mode on a 
  82. PAL machine, it will play too slow.
  83.      On Commodore Amiga and Atari STE machines, the ability to switch between 
  84. real PAL and NTSC modes is simply a matter of loading a tiny program that will 
  85. do it.  This is because said machines have these different broadcast signal 
  86. modes built in.  The difference is that NTSC machines CAN synch down to PAL 
  87. mode (or 50Hz), but PAL machines can't synch up to NTSC mode (60Hz).  This is 
  88. why most MODs done in North American on NTSC machines are still done in PAL 
  89. mode; it is the lowest common denominator between the two different standards. 
  90. IBM PC Machines, however, do not have the ability to switch, and more 
  91. importantly, most modern IBM PC monitors and video cards operate at a higher 
  92. video frequency -- usually 72Hz, as opposed to the 60Hz NTSC and 50Hz PAL 
  93. standards.  The 72Hz refresh rate is still NTSC standard, however.  You can, 
  94. however, buy Dual-, Tri- and Multi-synch monitors that have the ability to 
  95. synch down to these lower modes.  But most people don't have these, so many 
  96. MOD players offer the ability to alter the speed of the MOD while it is being 
  97. played.  Dual MOD Player, for example, allows you to alter the tempo and 
  98. "extended tempo" (ProTracker) settings to allow you to fine tune the speed of 
  99. the MOD you are listening to.  This can be used to effectively simulate a PAL 
  100. mode.  A good rule of thumb is that playing a PAL-based MOD in NTSC mode is 
  101. generally one speed slower than it is being played at.  (That, however, is not 
  102. exact, so it may be necessary again to do more fine tuning with the "extended 
  103. tempo" settings of DMP -- this is especially important for MODs which use 
  104. whole sampled drum riffs in their songs, which may sound far too fast or slow 
  105. unless you edit the speed of the MOD itself)
  106.  
  107. So there you have it.  That's the difference between PAL and NTSC, and why it 
  108. affects MOD playing.  It's needlessly complicated, but now, at the very least, 
  109. you know about it.  Have fun!
  110.  
  111. ______________________________________________________________________________
  112. ____<___  ___// __  //  ____/ Tail of ________________________________________
  113. _______/ /   / <_/ //  <___  The Comet _______________________________________
  114. ______<_/   <_____/<______/ Productions ______________________________________
  115. |                                                                            |
  116. | Internet: diehl@io.org                             Eric March              |
  117. |           richard.hecker@canrem.com          (a.k.a. The DragonLord)       |
  118. |____________________________________________________________________________|
  119.  
  120.