Files
mop3/include/devices.h
kamkow1 a346a5667c
All checks were successful
Build documentation / build-and-deploy (push) Successful in 1m59s
Implement TERMINAL_DIMENSIONS op for the terminal device, CE add terminfo command
2026-03-05 16:42:02 +01:00

21 lines
425 B
C

#ifndef _DEVICES_H
#define _DEVICES_H
/* terminal device */
#define TERMINAL_PUTSTR 0
#define TERMINAL_DIMENSIONS 1
/* keyboard device */
#define KB_READ_KEY 0
/* drive devices */
#define XDRV_TYPE_RAMDRV 0
#define XDRV_TYPE_PARTDRV 1
#define XDRV_GET_SIZE 0
#define XDRV_GET_SECTOR_SIZE 1
#define XDRV_GET_DEVICE_TYPE 2
#define XDRV_READ 3
#define XDRV_WRITE 4
#endif // _DEVICES_H