More support for DS80C400
[fw/sdcc] / device / include / ds400rom.h
1 // Interface to DS80C400 ROM functions.
2
3 #ifndef DS400ROM_H_
4 #define DS400ROM_H_
5
6 extern unsigned char rom_init(void xdata *loMem,
7                               void xdata *hiMem) _naked;
8
9 // Utility functions.
10
11 // A wrapper which calls rom_init allocating all available RAM in CE0
12 // to the heap.
13 unsigned char romInit(unsigned char noisy);
14
15 // Install an interrupt handler.
16 void installInterrupt(void (*isrPtr)(void), unsigned char offset);
17
18 #endif