Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Gaming > Core War > Re: New qscanne...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 5 Topic 2202 of 2343
Post > Topic >>

Re: New qscanner

by pauldkline@[EMAIL PROTECTED] Feb 17, 2008 at 03:55 AM

On Feb 17, 5:27=A0am, Roy <roy.van.r...@[EMAIL PROTECTED]
> wrote:
> I think I could add one more line of code, that would allow me to
> double the scanned positions. But the drawback is that it will also
> need more tablespace. It would be cool to have a function that works
> with both >tabvalue and <tabvalue, but I don't think that is very
> managable.

I spent a couple days doing the math for one of those, also <tabvalue
followed by another <tabvalue.  It required using substitutions like
qM*qMod =3D 2 instead of 1.  Eventually I realized that the separation
between those scans was 1 :-)

There may be a solution using a- and b- tabs.  For example using only
one Tab and a multiplier:

qIncr    dat x,x
qTab    dat A,B

    sne   ptr+qA*qDist  , ptr+q*qDist+qStep
    seq   {qTab           , ptr+(qA-1)*qDist+qStep
    jmp
    sne   ptr+qB*qDist  , ptr+qB*qDist+qStep
    seq   <qTab           , ptr+(qB-1)*qDist+qStep
    jmp
    mul.f qIncr ,qTab
    repeat scans with new values

If x was an imp number, you could create a useable series of values
with repeated multiplictions.

P. Kline
 




 5 Posts in Topic:
New qscanner
Roy <roy.van.rijn@[EMA  2008-02-16 16:27:45 
Re: New qscanner
pauldkline@[EMAIL PROTECT  2008-02-16 18:58:34 
Re: New qscanner
Roy <roy.van.rijn@[EMA  2008-02-17 03:27:46 
Re: New qscanner
pauldkline@[EMAIL PROTECT  2008-02-17 03:55:09 
Re: New qscanner
Roy <roy.van.rijn@[EMA  2008-02-17 15:16:34 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 11:14:49 CDT 2008.