Blitz Basic Coding Tips - System System Tips Adding Version support to your programs Use the following code fragment near the start of your program. Goto SkipVer Even DC.b "$VER ProgName xx.xx (dd.mm.yy)" Even SkipVer: progName should the base name of your program, containing no spaces. xx.xx should be the version number, and dd.mm.yy should be the release date. Executing external programs from within a Blitz program see the Execute_ command. Its syntax is: Execute_ com$,Input_,OutPut_ Execute_ com$,0,0 the first one will direct input and output to a CLI, which MUST be open. The second will direct i/o to NIL:. To run something asyncronously, use a command line like "Run Amigaguide VW.guide". How to achieve more accurate timing se the VPos command. This indicates the beams position on the screen, and gives a resolution 1/256 per vertical blank, or 1/(50*256) per second. Getting rid of the title bar on an OS screen you need to use OpenScreenTags using the tags #SA_Quiet=True and #SA_ShowTitle=False. You will also need to use the command MenusOff after opening the screen. Amiga Mode Hardware Scrolling Provided by Josh Farley insert use this code after opening your screen: *s0.Screen=Peek.l(Addr Screen(0)) *v0.ViewPort=*s0\_ViewPort *r0.RasInfo=*v0\RasInfo Now, use the following code in your main loop: *r0\_BitMap=Addr BitMap(cb),x,y ScrollVPort_ *v0 cb=1-cb Where cb= the current bitmap number (for double buffering), x = the x offset within that bitmap, and y = the y offset within that bitmap. Brought to you by the Blitz Basic Information Centre, courtesy of Sergeant Bilko!