Emulator for the Sharp CE-140F Diskette Driver
Dependencies: mbed SDFileSystem
This is an attempt (for the time being, it isn't complete yet!) of emulating the Sharp CE-140F disk drive with a Nucleo board, attached to a Sharp Pocket Computer though its platform-proprietary 11-pin interface.
commands.h@8:70f13d97eb44, 21 months ago (annotated)
- Committer:
- ffxx68
- Date:
- Tue Jul 19 14:03:08 2022 +0000
- Revision:
- 8:70f13d97eb44
- Parent:
- 7:0243d36a655a
minor change
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ffxx68 | 7:0243d36a655a | 1 | #ifndef COMMANDS_H |
ffxx68 | 7:0243d36a655a | 2 | #define COMMANDS_H |
ffxx68 | 7:0243d36a655a | 3 | |
ffxx68 | 7:0243d36a655a | 4 | #include "mbed.h" |
ffxx68 | 7:0243d36a655a | 5 | |
ffxx68 | 7:0243d36a655a | 6 | #define BUF_SIZE 256 // comms data depth |
ffxx68 | 7:0243d36a655a | 7 | |
ffxx68 | 7:0243d36a655a | 8 | extern volatile char inDataBuf[]; |
ffxx68 | 7:0243d36a655a | 9 | extern volatile char outDataBuf[]; |
ffxx68 | 7:0243d36a655a | 10 | extern volatile uint16_t inBufPosition; |
ffxx68 | 7:0243d36a655a | 11 | extern volatile uint16_t outBufPosition; |
ffxx68 | 7:0243d36a655a | 12 | extern volatile uint8_t checksum; |
ffxx68 | 7:0243d36a655a | 13 | |
ffxx68 | 7:0243d36a655a | 14 | void ProcessCommand ( void ) ; |
ffxx68 | 7:0243d36a655a | 15 | |
ffxx68 | 7:0243d36a655a | 16 | #endif |