In article <[EMAIL PROTECTED]>, Malcolm Lear
<[EMAIL PROTECTED]> writes
>Try a system reset and running it again. Due to old protection stuff it
>will complain
>if the cadtk.ext is reloaded without a reset. Meanwhile if I have the
>time it will be
>fixed.
>
>Malcolm Cadman wrote:
>
>> In article <[EMAIL PROTECTED]>, Malcolm Lear
>> <[EMAIL PROTECTED]> writes
>>
>>> My mistake, sorry. Renaming the file cadtk.bin to cadtk.ext should solve the
>>> problem. QPCII works quite happily with dot extensions.
>>
>>
>> OK ... the 'cadtk_ext' is the binary file ... there is no 'cadtk_bin'
>> file supplied in the present distribution.
>>
>> I have now got this as the boot file >
>>
>> 100 dev$='win1_PCB_'
>> 110 a=RESPR(7052) :LBYTES dev$&'tk_ext' ,a:CALL a
>> 120 a=RESPR(14124):LBYTES dev$&'printer_ext',a:CALL a
>> 130 a=RESPR(32224):LBYTES dev$&'cadtk_ext',a:CALL a
>> 140 REMark CALL a,0 :REMark AUTOMATIC (does not always work)
>> 150 REMark CALL a,512,256,131072:REMark QL
>> 160 REMark CALL a,640,350,205472:REMark QXL EGA (screen address may
>> vary)
>> 170 REMark CALL a,640,480,238240 :REMark QXL VGA ( " "
>> " " )
>> 180 REMark CALL a,800,600,238240:REMark QXL SVGA ( " " " "
>> )
>> 182 CALL a,SCR_XLIM,SCR_YLIM,SCR_BASE:REMark SMSQ/E
>> 190 LRUN dev$&'cad_bas'
>>
>> It now gives an 'invalid parameter' report at line 182
>>
>> The 'xlim' reports as 640, and the 'ylim' as 480. It is the 'scr_base'
>> that it doesn't like.
Malcolm Lear has now sent me a new version of pcbcad. There was a
problem with the SMSQ/E scr_base in the cadtk_ext file.
It now loads OK ... nice front screen :-) Thanks.
However, there is an error report in the basic file - cad_bas - at line
1380:1 error in expression >
1380 padsize=INT(a$/5E-3+1E-3) : IF padsize>63 THEN padsize=63
Does it need another set of brackets ?
Like padsize=INT(a$/(5E-3+1E-3)) ?
I've forgotten what the evaluation priorities are ...
I note that the basic file is numbered up to 22790 :-( ... large ...
--
Malcolm Cadman