ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/mon/src/mon.h
(Generate patch)

Comparing mon/src/mon.h (file contents):
Revision 1.2 by cebix, 1999-10-04T21:16:02Z vs.
Revision 1.3 by cebix, 1999-10-25T08:04:47Z

# Line 21 | Line 21
21   #ifndef MON_H
22   #define MON_H
23  
24 + #include <stdio.h>
25 +
26 +
27 + /*
28 + *  Version information
29 + */
30 +
31 + const int MON_VERSION_MAJOR = 2;
32 + const int MON_VERSION_MINOR = 2;
33 +
34  
35   /*
36   *  Initialization, deinitialization and invocation
# Line 87 | Line 97 | extern void mon_error(const char *s);
97   extern enum Token mon_get_token(void);                  // Get next token
98   extern bool mon_expression(uint32 *number);             // Parse expression
99   extern bool mon_aborted(void);                                  // Check if Ctrl-C was pressed
100 < extern uint32 mon_read_byte(uint32 adr);                        // Memory access
101 < extern void mon_write_byte(uint32 adr, uint32 b);
100 >
101 > // Memory access
102 > extern uint32 (*mon_read_byte)(uint32 adr);
103 > extern void (*mon_write_byte)(uint32 adr, uint32 b);
104   extern uint32 mon_read_half(uint32 adr);
105   extern void mon_write_half(uint32 adr, uint32 w);
106   extern uint32 mon_read_word(uint32 adr);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines