apple2a/exporter.h

38 lines
766 B
C
Raw Normal View History

2018-08-02 07:45:58 +00:00
#ifndef __EXPORTER_H__
#define __EXPORTER_H__
// Defines functions exported in exporter.s.
extern void pushax();
extern void popax();
2018-08-06 05:59:56 +00:00
extern void incsp2();
2018-08-02 07:45:58 +00:00
extern void tosaddax();
2018-08-03 23:25:57 +00:00
extern void tossubax();
extern void tosmulax();
extern void tosdivax();
2018-08-03 23:41:52 +00:00
extern void toseqax();
extern void tosneax();
extern void tosltax();
extern void tosgtax();
extern void tosleax();
extern void tosgeax();
2018-08-05 23:27:33 +00:00
extern void bnegax();
2018-08-05 23:43:50 +00:00
extern void negax();
2018-08-06 05:59:56 +00:00
extern void aslax1();
extern void ldaxi();
extern void staxspidx();
2018-08-02 07:45:58 +00:00
2018-08-03 22:31:11 +00:00
// Two bytes each.
2018-08-06 05:59:56 +00:00
extern unsigned int sp;
#pragma zpsym ("sp");
2018-08-03 22:31:11 +00:00
extern unsigned int ptr1;
2018-08-02 21:43:55 +00:00
#pragma zpsym ("ptr1");
2018-08-03 22:31:11 +00:00
// One byte each.
extern unsigned char tmp1;
#pragma zpsym ("tmp1");
2018-08-12 07:03:01 +00:00
extern unsigned char tmp2;
#pragma zpsym ("tmp2");
2018-08-03 22:31:11 +00:00
2018-08-02 07:45:58 +00:00
#endif // __EXPORTER_H__