First checkin of F2MC-16L disassembler and LC2412 EPROM bit twiddler.

This commit is contained in:
2011-02-13 01:18:46 +00:00
commit 936619ba59
2 changed files with 1689 additions and 0 deletions

1671
disassem.pl Executable file

File diff suppressed because it is too large Load Diff

18
twiddle.pl Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/pkg/bin/perl
binmode STDIN;
binmode STDOUT;
while (1)
{
my $byte = getc;
last unless defined($byte);
$byte = ord($byte);
$a = $byte & 0x08;
$b = $byte & 0x10;
$byte = $byte & 0xe7;
$byte = $byte | 0x08 if ($b);
$byte = $byte | 0x10 if ($a);
printf "%c", $byte;
}