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

Contents of /M6502/M6502.xs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 82 - (show annotations)
Wed Aug 1 21:40:17 2007 UTC (16 years, 8 months ago) by dpavlin
File size: 351 byte(s)
begin refactoring into proper XS module (really need to do this so I can handle SDL event loop)
1 #include "EXTERN.h"
2 #include "perl.h"
3 #include "XSUB.h"
4
5 #include "ppport.h"
6
7 #include "M6502.h"
8 #include "config.h"
9
10 M6502 *R;
11
12 void
13 run (void) {
14 debugf(("M6502::run"));
15 run_forever();
16 }
17
18 void
19 reset (void) {
20 debugf(("M6502::reset called"));
21 Reset6502(R);
22 dump_R;
23 }
24
25 MODULE = M6502 PACKAGE = M6502
26
27 PROTOTYPES: DISABLE
28
29 void
30 run()
31
32 void
33 reset()

  ViewVC Help
Powered by ViewVC 1.1.26