User Tools

Site Tools


x68000:writing_drivers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
x68000:writing_drivers [2014/07/11 00:57] – [Human68k driver loading and structure] eidisx68000:writing_drivers [2014/07/11 01:04] – [0x04 - Input (read)] eidis
Line 87: Line 87:
 **Command execution result flags :** **Command execution result flags :**
  
-This list contains all acceptable values to fill the result status flags in the request packet header. S_**** flags will display (or hide) the "A"bort, "R"etry and "I"gnore line, and E_**** will show an appropriate error message. "Result status" member can be any combination of S_**** flags (ORed together), but only one E_**** can be set.+This list contains all acceptable values to fill the result status flags in the request packet header. S_**** flags will display (or hide) the "A"bort, "R"etry and "I"gnore line, and E_**** will show an appropriate error message. 
 + 
 +"Result status" member can be any combination of S_**** flags (ORed together), but only one E_**** can be set.
  
   * 0x1000 - S_ABORT : "A"bort the whole request.   * 0x1000 - S_ABORT : "A"bort the whole request.
Line 153: Line 155:
  
   
-Output parameters :+**Output parameters :**
  
 ^  Position  ^  Type  ^  Description  ^ ^  Position  ^  Type  ^  Description  ^
Line 218: Line 220:
  
 ^  Position  ^  Type  ^  Description  ^ ^  Position  ^  Type  ^  Description  ^
-|  14  |  Long  |  Pointer to a buffer that'll contain readed data from the unit. The driver is responsible of filling this buffer. +|  14  |  Long  |Pointer to a buffer that'll contain readed data from the unit. The driver is responsible of filling this buffer. 
-|  18  |  Long  |  Buffer size  |+|  18  |  Long  |Buffer size  |
   
 **Output parameters :** none **Output parameters :** none
Line 225: Line 227:
 ===== 0x04 - Input (read) ===== ===== 0x04 - Input (read) =====
  
-Command ID : 0x04 (C_INPUT)+**Command ID :** 0x04 (C_INPUT)
  
 **Availability :** Block/Character **Availability :** Block/Character
Line 236: Line 238:
 |  13  |  Byte  |Block device driver only. Media type.  |     |  13  |  Byte  |Block device driver only. Media type.  |    
 |  14  |  Long  |Pointer to a buffer that'll contain the readed data from the unit.The driver is responsible of filling this buffer.  | |  14  |  Long  |Pointer to a buffer that'll contain the readed data from the unit.The driver is responsible of filling this buffer.  |
-|  18  |  Long  |Block device driver : number of sector to read. A sector length is normally specified by the BPB. +|  18  |  Long  |Block device driver : number of sector to read. A sector length is normally specified by the BPB.  | 
-Character device driver : Buffer size.  | +| | |Character device driver : Buffer size.  |
 |  22  |  Long  |Block device driver only : logical start sector to read from.  | |  22  |  Long  |Block device driver only : logical start sector to read from.  |
  
x68000/writing_drivers.txt · Last modified: 2019/08/27 20:45 by 127.0.0.1