Parent Directory | Revision Log | Patch
revision 24 by dpavlin, Mon Jul 30 13:29:57 2007 UTC | revision 26 by dpavlin, Mon Jul 30 14:23:22 2007 UTC | |
---|---|---|
# | Line 9 use warnings; | Line 9 use warnings; |
9 | ||
10 | my $mem = (0) x 0x10000; # 64M | my $mem = (0) x 0x10000; # 64M |
11 | ||
12 | # program counter | |
13 | our $PC = 0xbeef; | our $PC = 0xbeef; |
14 | # CPU registars | |
15 | our ( $A, $P, $X, $Y, $S ) = (0) x 5; | |
16 | # Set IPeriod to number of CPU cycles between calls to Loop6502 | |
17 | our $IPeriod = 20000; | |
18 | ||
19 | =head1 init | |
20 | ||
21 | Called before C<Run6502> | |
22 | ||
23 | =cut | |
24 | ||
25 | sub init { | |
26 | warn "inside init\n"; | |
27 | print "stdout\n"; | |
28 | }; | |
29 | 1; | 1; |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |