forked from KolibriOS/kolibrios
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
975284f5f3 | ||
8ece779b4b | |||
a218a83bd5 | |||
c762489408 |
@ -1223,7 +1223,7 @@ KOSAPI void _ksys_debug_puts(const char* s)
|
||||
KOSAPI void ksys_draw_bitmap_palette(void* bitmap, int x, int y, int w, int h, int bpp, void* palette, int offset)
|
||||
{
|
||||
asm_inline(
|
||||
"pushl %%ebp,\n\t" // save EBP register
|
||||
"pushl %%ebp\n\t" // save EBP register
|
||||
"movl 0x24(%%ebp), %%ebp\n\t" // 0x24 - "offset" param
|
||||
"int $0x40\n\t"
|
||||
"popl %%ebp" // restore EBP register
|
||||
|
@ -62,6 +62,7 @@ char *actions[] = {
|
||||
#define T_FD "„¨áª¥â "
|
||||
#define T_HD "†¥á⪨© ¤¨áª "
|
||||
#define T_SATA "SATA ¤¨áª "
|
||||
#define T_NVME "NVMe disk "
|
||||
#define T_USB "USB ¤¨áª "
|
||||
#define T_RAM "RAM ¤¨áª "
|
||||
#define T_UNC "<22>¥¨§¢¥áâ® "
|
||||
@ -160,6 +161,7 @@ char *actions[] = {
|
||||
#define T_FD "Floppy disk "
|
||||
#define T_HD "Hard disk "
|
||||
#define T_SATA "SATA disk "
|
||||
#define T_NVME "NVMe disk "
|
||||
#define T_USB "USB disk "
|
||||
#define T_RAM "RAM disk "
|
||||
#define T_UNC "Unknown "
|
||||
@ -252,6 +254,7 @@ char *devinfo = {
|
||||
"hd", 4, T_HD,
|
||||
"bd", 4, T_HD,
|
||||
"sd", 4, T_SATA,
|
||||
"nv", 4, T_NVME,
|
||||
"tm", 5, T_RAM,
|
||||
"us", 6, T_USB,
|
||||
0
|
||||
|
Loading…
Reference in New Issue
Block a user