On 4 Nov 2010, at 13:42, Dilwyn Jones wrote: >>> Norman Dunbar Does It In Assembler >>> George Gwilt Does It Turbo-Charged >>> Tony Firshman Does It In Pearl(s) >>> >>> Now all I need is one for Rich Mellor, which I failed to provide, possibly >>> something like Rich Mellor Does It With Second User Hardware, but I thought >>> that was too rude ;-) >>> >>> Now, if you want something to puzzle with, try my little pointer driven >>> puzzle program at http://www.dilwyn.me.uk/games/djpuzzle.zip >> >> A nice little program. It is the first QLIBbed program that I have managed >> to run. All the others I tried complained that some extras were not loaded.
I've just managed to solve a simple version of the program only to find that it is upside down. >> >> George > Thank you. > > It's strange that you get 'extras not loaded' errors with QLibed programs > because they usually have their extensions linked in with $$asmb directives, > like the Turbo equivalent, or simply say in their manuals that "this program > needs toolkit 2 extensions" or whatever. > > I've made mistakes myself in the past with various extensions and the > directives required. A common one is the uncertainty over whether the > programmer has used JSR...RTS or just JMP in the call to bp.init (i.e. > whether you use $$asmb filename,0,12 or 0,10). Some other programmers put > this further on in the code, e.g. some of Simon's DIY Toolkit extensions, > where you have to look at the assembler source to work out the directive > required. And most extensions don't use the first initialisation number > (usually 0), although some extensions like the Easyptr code extensions do > make use of it. > > Can you provide an example of a QLibed program you can't get to run? I'm not > promising I'll be able to fix it, but it'd be interesting to look to see if I > can figure out what's going wrong It's years since I last tried a program I knew was QLIBb ed and which did not run and I can't remember what the program was. If I do come across another example I'll make it known. George _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
