/[VRac]/M6502/M6502.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /M6502/M6502.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25 - (hide annotations)
Mon Jul 30 14:02:31 2007 UTC (16 years, 8 months ago) by dpavlin
File size: 347 byte(s)
implemented some R members and callbacks from M6502
1 dpavlin 24 package M6502;
2    
3     use strict;
4     use warnings;
5    
6     # Dobrica Pavlinusic, <dpavlin@rot13.org> 07/30/07 13:23:19 CEST
7     #
8     # Simple Orao emulation
9    
10     my $mem = (0) x 0x10000; # 64M
11    
12 dpavlin 25 # program counter
13 dpavlin 24 our $PC = 0xbeef;
14 dpavlin 25 # 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 dpavlin 24
19     1;

  ViewVC Help
Powered by ViewVC 1.1.26