//#@DOC@ OBSOLETE - I do not remember what this is for // Copyright (C) 2006 Nathan (Acorn) Pooley // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // version 2 as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License (gpl.txt) for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // // You can contact the author, Nathan (Acorn) Pooley, by writing // to Nathan (Acorn) Pooley, 949 Buckeye Drive, Sunnyvale, CA 94086, USA // or through the form at http://www.rawbw.com/~acorn/wand/feedback.html // #include <stdio.h> void show(int prev, int next) { int d,a,e,f; prev &= 0xff; next &= 0xff; d = next-prev; a = (d<0)?-d:d; a = a & 0xff; f = (a==0) || (a==1) || (a==0x1f); printf("%02x %02x %02x %02x %02x %s\n", prev & 0xff, next & 0xff, d & 0xff, a & 0xff, f & 0xff, f ? "*@@" : " " ); } int main() { int i,j; for (i=0; ; i++) { if (i==0x85) break; if (i==0x83) i=0x84; if (i==32) i=0x82; for (j=0; ; j++) { if (j==0x85) break; if (j==0x83) j=0x84; if (j==32) j=0x82; show(j,i); //show(i,0); //show(0x82,i); //show(i,0x82); //show(0x84,i); //show(i,0x84); } } return 0; } |
This file Copyright (C) 2006 by Nathan (Acorn) Pooley
Go to TOP Wand page
Go to Acorn's personal webpage
Go to Hogwarts website: www.gotohogwarts.com
Snout: www.snout.org/game
Gadgets of Justice Unlimited
Snout GC (Wiki)
Snout Wiki
File created by do_doc at Wed May 30 03:23:39 PDT 2007