LikTwiik v1.9;

Videomodes up to your ears!

Recent updates:

I noticed that Goldstar Studioworks 15" had problems with 50hz mode...
The reason turned out to be that it blanks itself if the mode is slower than
50.0 hz, and some were as low as 49.8! I have changed this now, so it works
perfectly also on those screens.. Perhaps even on Targa 15"? Who knows =)..




50, 60, 70hz... what's the difference, except flicker?

70hz is the highest normal VGA refresh rate, used by the 350 and 400 line
modes. 60hz is the refresh rate used by 480 line modes and NTSC tv's (usa).
50hz is the refresh rate used by PAL tv's and video's.


--- Why use 50hz? ---

50hz indeed flickers a little, but that is almost invisible for moving
effects.

  MUCH more rastertime per frame

  Faster graphics memory! (the gfx processor doesn't have to access its
   memory so much, so you can instead =)

  PAL-compatible! If you happen to own a vga-2-tv converter (like me) then
   you don't need any stupid driver whatsoever if you use 50hz!


About the mode files:

The mode files are in pure basic. The easiest way to try them is to load
them into QBASIC, type SCREEN 13 at the top, and run with SHIFT-F5.
A Converter is included in the package, which converts the basic sources to
C, Pascal or Assembler. No, it won't work on all sources =)..

I had severe problems with changing the 3C0 port, so you must set a 256 or
16 colour graphicsmode first (depending on which mode file you want to use).
For textmodes, just set a textmode. =)


Filenaming system:

70\320200c.256      is 70hz, 320*200 and chained. If this file exists then it's
                    pure mode 13.
                    The C means CHAINED.

50\320200c.256      is the mode 13 equivalent in 50hz. Mind you that it is PAL
                    standard, i.e. 400 lines don't use the whole screen.
                    However, non-digital vga screens aren't aware of this fact,
                    so it displays them fullscreen anyway.

50\320200co.256     is a mode 13 like mode in 50hz, but this one uses
                    600 lines instead of 400 -> it's fullscreen, and even
                    overscan. (that's what the O is for).
                    On *some* screens, this looks better than the 400-line
                    version. Therefore, i recommend you to do an interactive
                    mode selection in beginning of the demo.

50\256192c?.256     Now THIS is an interesting mode. This mode is made by me
                    from scratch, and nobody has made anything similar before.
                    What's so special about it?

                     256 pixels width (though this is not unique)
                     fullscreen! (now THAT is unique!)
                     SQUARE PIXELS! (even more unique for a 256 width mode!)

                    However, this is a fussy mode. I have made 11 (yes ELEVEN)
                    different versions of it, to make it work on all
                    screens. i haven't found a screen it doesn't work on!
                    (except for old crappy SALORA's which can't even handle
                     320*200 60hz.)

                    mode 1-B are different fullscreen versions, and the
                    unnumbered one is a non-fullscreen version, but that one
                    is (should be) compatible with ALL equipment (yes it
                    works on my little sisters b/w vga monitor, and also
                    with my vga-2-tv converter).
                    
                    Anyway, all nine modes are all the same TO THE PROGRAMMER,
                    but NOT to the display equipment! Therefore, if you wish to
                    use this mode, you *MUST* make a mode selection setup, in
                    which you should be able to test the modes. I have made a
                    sample mode selector which you can try.

                    If you can't get ANY of the fullscren version to work on
                    your screen, then there is a way for you to define your
                    own! Jump into VMSELECT and read the on-screen
                    instructions! Then you can (hopefully) make a mode that
                    works on your screen, and send it to me, and i'll include
                    it to the forthcoming LikTwiik packets!

50\376564.256       This is an unchained mode (mode-x format, 4 planes).
                    The unchained modes are hell if you want to run effects,
                    but they are nice to show pictures etc.

50\200.256          This is not a real videomode, but more a STANDARD setting.
                    (Or a "switch") as some like to call it.
                    It only changes the vertical registers, so you can get
                    50hz in almost any 400 line mode (like 320*400, 640*400,
                    320*200 etc). What's the use? Well, if you want to use an
                    SVGA mode (like 320*200*65536 colours, or even 24 bit) then
                    just set the mode, and include this file! bang, there you
                    have your favourite refresh rate in your favourite SVGA
                    mode.


--- I have had lots of help by Robert Schmidt's TWEAK (thanks dude! =). ---

Message to him:     Tweak is some fine piece of code, but it has one bad
                    thing! It waits for vblank when you test the mode. This
                    is not so great, because if the mode is so bad that it
                    NEVER gets a vblank, all i can do is to push the reset
                    button. i had to debug tweak.exe to fix this =)...


--- Compatibility Credits ---

    These people have modified modes to get them to work on their screens
    (i.e. better compatibility!):

    Mr-Z (.hu)       : 256*192c9 - for Hyundai HCM-425e LR...
    Flux/Inside (.fi): 256*192cB - for Panasonic PanaSync 5G, 17"

    Thanks dudes!


--- Other Credits ---

    Huge thankyou's to Shadow/Noice for making a fabolous converter in only
    4k!!! (no i couldn't redo that in basic =)


--- Productions which have used modes from Liktwiik so far: ---

    Xtal by Complex                                     (code: Jmagic)
    Shoebox Universe BBS intro                          (code: Naali)
    Charity / sYmptom                                   (code: Tonic)
    Panik / sYmptom                                     (code: Tonic)
    Confusion / Noice                                   (code: Network)
    The sea robot of love / Orange                      (code: Hoplite)
    The royal family / Orange                           (code: Hoplite)
    380 volt / Goto10                                   (code: Liket (me))

I'm sure many are missing from this list... Please let me know.


--- Compatibility problems and fuckups ---

    I was hoping i would never had to write this chapter... =(

    Anyway, those of you who attended The Party 5 noticed that at least two
    productions bugged on the bigscreen - half of the screen was visible?
    why? because the bigscreen sucked? Well, partly, but that's not all.
    The bigscreen couldn't handle the standard 320*200 50hz mode. Sigh.
    I, Tonic and Network were the ones who got our productions fucked up
    because of this... Anyway, you needn't fear! =)... It HAS proven to work
    on other bigscreens (like the one XTAL was shown on) etc etc. And this
    was the first party I attended where 50hz mode was used. So, for the
    next time i'm better prepared.

    We *could* have solved this problem at the party. I did have my vga-2-pal
    converter there, so we could have run the 50hz demos through it and feed
    the bigscreen with PAL signal instead. This would have worked perfectly,
    but since i didn't know in advance the organizers didn't have time (which
    i don't really understand, but it seemed they at least tried). Anyway,
    the next time i'm aware of this fact, and will check with the organizers
    if it works - and if not i'll use the converter. 50hz is a great refresh
    rate for demos, so i don't really want to just give up =)...

    It works on 99.9% of all screens and probably 99.9% on all bigscreens as
    well. We simply ran out of luck. However, one good thing (as a security
    measure) might be to use a timer for all movement, and let the user
    select between 70 and 50hz. Orange did this on their both tp5 intros, and
    they're really happy for that today! =)..

    Anyway, LCD screens have trouble with 50hz -> CRT's do not.

    Conclusion: You can use 50hz without fearing compatibility problems -
    especially if you include a 70hz override.

    If you have any questions, contact me..


--- Last words ---

    If you use any of these modes, please credit me, and let me know too, so
    that i can add the production to the list above! =)
    
    And, if you want a certain mode, then let me know, and i'll see what i can
    do! i'm very friendly. (yes i really am =)



My addy:

Leif Claesson
Strms vg 37
420 17 Olofstorp
Gothenburg, Sweden

+46-31-7020425

Samskolan@one.se

irc #coders


see you!


///Liket of Goto10

