Rihards Balass / 4DGL-mbed-32PTU
Revision:
19:a259bc128867
Parent:
18:829f3e2c064c
Child:
20:88e137b9ea46
diff -r 829f3e2c064c -r a259bc128867 Picaso_4DGL-32PTU.h
--- a/Picaso_4DGL-32PTU.h	Thu Sep 15 12:40:48 2016 +0000
+++ b/Picaso_4DGL-32PTU.h	Thu Sep 15 13:31:53 2016 +0000
@@ -101,6 +101,7 @@
 #define MEDIA_WRITE_SECTOR  0x0017
 #define MEDIA_READ_BYTE     0xFF8F
 #define MEDIA_READ_WORD     0xFF8E
+#define MEDIA_WRITE_BYTE    0xFF8D
 
 
 // Screen answers
@@ -290,7 +291,8 @@
     bool media_WrSector(char *); // write sector
     bool media_WrData(char *, int); // write sector
     bool media_ReadByte(); // read byte
-    bool media_ReadWord(); // read byte
+    bool media_ReadWord(); // read word
+    bool media_WriteByte(short); // write byte
 
 // Texts Commands
     void setFont(char); // set desired font from embedded fonts
@@ -319,6 +321,7 @@
     bool readSectorResponse(int); // response from read sector command
     bool writeSectorResponse(int); // response from write sector command
     bool readResponse(); // response from read byte or read word commands
+    bool writeByteResponse(); // response from write sector command
     
 protected :