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.4 by cebix, 2000-04-24T13:10:05Z

# Line 1 | Line 1
1   /*
2   *  mon.h - mon main program
3   *
4 < *  mon (C) 1997-1999 Christian Bauer, Marc Hellwig
4 > *  mon (C) 1997-2000 Christian Bauer, Marc Hellwig
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 21 | Line 21
21   #ifndef MON_H
22   #define MON_H
23  
24 + #include <stdio.h>
25 +
26  
27   /*
28   *  Initialization, deinitialization and invocation
# Line 87 | Line 89 | extern void mon_error(const char *s);
89   extern enum Token mon_get_token(void);                  // Get next token
90   extern bool mon_expression(uint32 *number);             // Parse expression
91   extern bool mon_aborted(void);                                  // Check if Ctrl-C was pressed
92 < extern uint32 mon_read_byte(uint32 adr);                        // Memory access
93 < extern void mon_write_byte(uint32 adr, uint32 b);
92 >
93 > // Memory access
94 > extern uint32 (*mon_read_byte)(uint32 adr);
95 > extern void (*mon_write_byte)(uint32 adr, uint32 b);
96   extern uint32 mon_read_half(uint32 adr);
97   extern void mon_write_half(uint32 adr, uint32 w);
98   extern uint32 mon_read_word(uint32 adr);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines