X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fv63701.h;h=2e711dcb0d5a6cb09b7b25c20ff0f148f7afa7d3;hb=be67039a7ed493081dd1503f94cdfae4dd4d965e;hp=47c5b1802d386f164b380f06e42b433e9b8dcc84;hpb=44a4bdffcaf520bc1681fcc0fd330460cd49129f;p=thunder diff --git a/src/v63701.h b/src/v63701.h index 47c5b18..2e711dc 100644 --- a/src/v63701.h +++ b/src/v63701.h @@ -105,8 +105,8 @@ struct V63701REGS Word outputCompare; // 63701 Output Compare register uint8_t ddr1; uint8_t ddr2; - uint8_t port1; - uint8_t port2; + uint8_t port1data; + uint8_t port2data; uint8_t ramCtrl; uint8_t cWriteLatch; // Counter write latch uint8_t cReadLatch; // Counter read latch @@ -128,5 +128,11 @@ uint64_t GetCurrentV63701Clock(void); // Get the clock of the currently executi uint8_t InternalRegisterRead(uint16_t); void InternalRegisterWrite(uint16_t, uint8_t); +// These functions must be implemented by the user... +extern uint8_t V63701ReadPort1(void); +extern uint8_t V63701ReadPort2(void); +extern void V63701WritePort1(uint8_t); +extern void V63701WritePort2(uint8_t); + #endif // __V63701_H__