Welcome to GameHourz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Complex cloack idea (too complex for now :):):))

 
   Game Forums (Home) -> Core War RSS
Related Topics:
Demonstration: Cloack/Decloack Technology V3 :) - ;redcode ;name ;author Skybuck Flying ;strategy ;version 3 ;date 26 january 2008 ; I am a bit bored right now, so let's do something usefull and write a ; little bit of code which I might re-use later or..

Score Surface for 94nop - Hi, some anonymous person (still called for ;-) is so kind to provide access to a pile of I have suggested to calculate one score surface for standard settings. It takes roughly 1000 times the time of one surface to..

Bug in pMARS - Hi, either I don't know how EQUs work or I have found a bug in the parser of pMARS. So far I cound pin it down to: ;name test ;assert CORESIZE == 800 v3 EQU 3 * (3 / 2 + 1) + 3 v4 EQU (CORESIZE - v3) dat.f v3, v4 With the..

KOTH.ORG: Status - ICWS Experimental 94 03/06/06 - Weekly Status on 03/06/06 -=- is up! Meetings held in #corewars -=- Tons of new features on pages -=- *FAQ* page located at: Current Status of the KOTH.ORG ICWS 94..

KOTH.ORG: Status - MultiWarrior 94 03/06/06 - Weekly Status on 03/06/06 -=- is up! Meetings held in #corewars -=- Tons of new features on pages -=- *FAQ* page located at: Current Status of the KOTH.ORG 94 CoreWar..
Next:  Core War: Demonstration: CloackTechnologyV4Unrolled (possible ideas ..  
Author Message
Skybuck Flying

External


Since: May 25, 2006
Posts: 295



(Msg. 1) Posted: Sat Jan 26, 2008 12:27 pm
Post subject: Complex cloack idea (too complex for now :):):))
Archived from groups: rec>games>corewar (more info?)

Hello,

Here is a complex cloack idea:

The idea is to assign a code to each possible instructions.

There are like 16 instructions or so or whatever.

Each instruction has it's own code.

Only problem is with modifiers and operators.

So that would make the different ammount of instructions huge.

Maybe warriors could be limited to a certain range of instruction
combinations.

Then the instruction code itself gets loaded into p-space as well.

Now the idea is to use a little pointer which gets loaded from p-space which
makes it point to the correct instruction, then load the parameters from
p-space into that location and then execute the instruction... then clear it
again and load next instruction... like sorta a mini cpu.

This to prevent too many instructions from showing.

It sounds complex but maybe it's not so complex at least not the decoding:

InstructionTable
instruction
instruction
instruction


Now decode:

LoadInstructionCode from p-space into pointer
LoadInstructionParameterA to pointer instruction
LoadInstructionParameterB to pointer instruction
ExecuteInstructionPointer

only problem is with last statement... that's nasty.
and ofcourse other nasty problems with jumps and such.

Oh well, way too complex, I'll forget about this idea for now Wink

Bye,
Skybuck.

 >> Stay informed about: Complex cloack idea (too complex for now :):):)) 
Back to top
Login to vote
pauldkline

External


Since: Dec 01, 2007
Posts: 19



(Msg. 2) Posted: Sat Jan 26, 2008 5:47 pm
Post subject: Re: Complex cloack idea (too complex for now :):):)) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jan 26, 5:27 am, "Skybuck Flying" <s....RemoveThis@hotmail.com> wrote:
> Hello,
>
> Here is a complex cloack idea:
>
> The idea is to assign a code to each possible instructions.
>
> There are like 16 instructions or so or whatever.

This isn't going to work in coresize 8000, but maybe on one of the
Large hills where you have more room. You could limit the instruction
set to just those combinations you need, no one uses all the opcode/
modifier/indirect/value combinations. Then pre-compress the program
into an array of values and a small decoder. In the first round move
the array into p-space. After that, just boot the decoder somewhere
into core and you are all set.

P. Kline

 >> Stay informed about: Complex cloack idea (too complex for now :):):)) 
Back to top
Login to vote
Display posts from previous:   
   Game Forums (Home) -> Core War All times are: Ekaterinburg, Islamabad, Karachi, Tashkent (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]