Pass a tool number to umka_init command

Implemented tools:
 + umka_shell
 + umka_fuse
 + umka_os
 + umka_gen_devices_dat
This commit is contained in:
2023-01-16 05:49:24 +00:00
parent 783545bdf8
commit 74a593746e
83 changed files with 126 additions and 88 deletions
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/xfs_v4_ftype1_s05k_b2k_n8k.qcow2 hd0 -c 0
/hd0: sector_size=512, capacity=618496 (302 MiB), num_partitions=1
/hd0/1: fs=xfs, start=2048 (1 MiB), length=614400 (300 MiB)
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/xfs_v4_ftype1_s05k_b2k_n8k.qcow2 hd0 -c 0
disk_add ../img/xfs_short_dir_i8.qcow2 hd1 -c 0
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/xfs_v4_ftype0_s05k_b2k_n8k.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=618496 (302 MiB), num_partitions=1
/hd0/1: fs=xfs, start=2048 (1 MiB), length=614400 (300 MiB)
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/xfs_v4_ftype0_s05k_b2k_n8k.qcow2 hd0 -c 524288
ls70 /hd0/1/sf_empty
ls70 /hd0/1/sf
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/xfs_v4_files_s05k_b4k_n8k.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=618496 (302 MiB), num_partitions=1
/hd0/1: fs=xfs, start=2048 (1 MiB), length=614400 (300 MiB)
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/xfs_v4_files_s05k_b4k_n8k.qcow2 hd0 -c 524288
# zero length
read70 /hd0/1/no_hole 0 0 -b
+1 -1
View File
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/xfs_v4_files_s05k_b4k_n8k.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=618496 (302 MiB), num_partitions=1
/hd0/1: fs=xfs, start=2048 (1 MiB), length=614400 (300 MiB)
+1 -1
View File
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/xfs_v4_files_s05k_b4k_n8k.qcow2 hd0 -c 524288
stat70 /hd0/1/
stat70 /hd0/1/hole_begin
+1 -1
View File
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/xfs_v4_files_s05k_b4k_n8k.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=618496 (302 MiB), num_partitions=1
/hd0/1: fs=xfs, start=2048 (1 MiB), length=614400 (300 MiB)
+1 -1
View File
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/xfs_v4_files_s05k_b4k_n8k.qcow2 hd0 -c 524288
pwd
cd /hd0
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/xfs_v4_files_s05k_b4k_n8k.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=618496 (302 MiB), num_partitions=1
/hd0/1: fs=xfs, start=2048 (1 MiB), length=614400 (300 MiB)
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/xfs_v4_files_s05k_b4k_n8k.qcow2 hd0 -c 524288
# hole begin
# zero length
+1 -1
View File
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/xfs_v4_ftype1_s05k_b2k_n8k.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=618496 (302 MiB), num_partitions=1
/hd0/1: fs=xfs, start=2048 (1 MiB), length=614400 (300 MiB)
+1 -1
View File
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/xfs_v4_ftype1_s05k_b2k_n8k.qcow2 hd0 -c 524288
stat70 /hd0/1/sf_empty
stat70 /hd0/1/sf_empty/.
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/xfs_v4_ftype0_s4k_b4k_n8k.qcow2 hd0 -c 524288
/hd0: sector_size=4096, capacity=77312 (302 MiB), num_partitions=1
/hd0/1: fs=xfs, start=256 (1 MiB), length=76800 (300 MiB)
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/xfs_v4_ftype0_s4k_b4k_n8k.qcow2 hd0 -c 524288
ls70 /hd0/1/sf
ls70 /hd0/1/block
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/xfs_v4_ftype0_s05k_b2k_n8k_xattr.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=618496 (302 MiB), num_partitions=1
/hd0/1: fs=xfs, start=2048 (1 MiB), length=614400 (300 MiB)
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/xfs_v4_ftype0_s05k_b2k_n8k_xattr.qcow2 hd0 -c 524288
ls70 /hd0/1/sf_empty
ls70 /hd0/1/sf
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/xfs_v4_ftype0_s05k_b2k_n8k_xattr.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=618496 (302 MiB), num_partitions=1
/hd0/1: fs=xfs, start=2048 (1 MiB), length=614400 (300 MiB)
+1 -1
View File
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/xfs_v4_ftype0_s05k_b2k_n8k_xattr.qcow2 hd0 -c 524288
stat70 /hd0/1/sf_empty
stat70 /hd0/1/sf_empty/.
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/xfs_v4_unicode.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=618496 (302 MiB), num_partitions=1
/hd0/1: fs=xfs, start=2048 (1 MiB), length=614400 (300 MiB)
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/xfs_v4_unicode.qcow2 hd0 -c 524288
stat80 /hd0/1/dir0
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/xfs_v5_ftype1_s05k_b2k_n8k.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=618496 (302 MiB), num_partitions=1
/hd0/1: fs=xfs, start=2048 (1 MiB), length=614400 (300 MiB)
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/xfs_v5_ftype1_s05k_b2k_n8k.qcow2 hd0 -c 524288
ls70 /hd0/1/sf_empty
ls70 /hd0/1/sf
+1 -1
View File
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/xfs_v5_ftype1_s05k_b2k_n8k.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=618496 (302 MiB), num_partitions=1
/hd0/1: fs=xfs, start=2048 (1 MiB), length=614400 (300 MiB)
+1 -1
View File
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/xfs_v5_ftype1_s05k_b2k_n8k.qcow2 hd0 -c 524288
stat70 /hd0/1/sf_empty
stat70 /hd0/1/sf_empty/.
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/xfs_v5_files_s05k_b4k_n8k.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=618496 (302 MiB), num_partitions=1
/hd0/1: fs=xfs, start=2048 (1 MiB), length=614400 (300 MiB)
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/xfs_v5_files_s05k_b4k_n8k.qcow2 hd0 -c 524288
# hole begin
# zero length
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/xfs_v5_files_s05k_b4k_n8k.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=618496 (302 MiB), num_partitions=1
/hd0/1: fs=xfs, start=2048 (1 MiB), length=614400 (300 MiB)
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/xfs_v5_files_s05k_b4k_n8k.qcow2 hd0 -c 524288
# zero length
read70 /hd0/1/no_hole 0 0 -b
+1 -1
View File
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> set_mouse_pos_screen 40 30
/> #disk_add ../img/kolibri.raw rd -c 0
/> ramdisk_init ../img/kolibri.raw
+1 -1
View File
@@ -1,4 +1,4 @@
umka_init
umka_init shell
set_mouse_pos_screen 40 30
#disk_add ../img/kolibri.raw rd -c 0
ramdisk_init ../img/kolibri.raw
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/xfs_v4_files_s05k_b4k_n8k.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=618496 (302 MiB), num_partitions=1
/hd0/1: fs=xfs, start=2048 (1 MiB), length=614400 (300 MiB)
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/xfs_v4_files_s05k_b4k_n8k.qcow2 hd0 -c 524288
read70 /hd0/1/4GiB_plus 0x3ff4 11 -b
+1 -1
View File
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/jfs.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=32768 (16 MiB), num_partitions=1
/hd0/1: fs=???, start=2048 (1 MiB), length=28672 (14 MiB)
+1 -1
View File
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/jfs.qcow2 hd0 -c 524288
disk_del hd0
disk_add ../img/xfs_borg_bit.qcow2 hd0 -c 524288
+1 -1
View File
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/xfs_v4_btrees_l2.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=618496 (302 MiB), num_partitions=1
/hd0/1: fs=xfs, start=2048 (1 MiB), length=614400 (300 MiB)
+1 -1
View File
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/xfs_v4_btrees_l2.qcow2 hd0 -c 524288
ls80 /hd0/1/dir_btree_l2 -f 0 -c 1
+1 -1
View File
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> i40 18 16
eax = 00040000 262144 262144
ebx = 00000010 16 16
+1 -1
View File
@@ -1,2 +1,2 @@
umka_init
umka_init shell
i40 18 16
+1 -1
View File
@@ -1,5 +1,5 @@
/> umka_set_boot_params --x_res 44 --y_res 44
/> umka_init
/> umka_init shell
/> ramdisk_init ../img/kolibri.raw
/rd: sector_size=512, capacity=2880 (1440 kiB), num_partitions=1
/rd/1: fs=fat, start=0 (0 B), length=2880 (1440 kiB)
+1 -1
View File
@@ -1,5 +1,5 @@
umka_set_boot_params --x_res 44 --y_res 44
umka_init
umka_init shell
ramdisk_init ../img/kolibri.raw
set_skin /sys/DEFAULT.SKN
+1 -1
View File
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/fat32_test0.raw hd0 -c 0
/hd0: sector_size=512, capacity=131072 (64 MiB), num_partitions=1
/hd0/1: fs=fat, start=2048 (1 MiB), length=126976 (62 MiB)
+1 -1
View File
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/fat32_test0.raw hd0 -c 0
ls80 /hd0/1/
read70 /hd0/1/A 0 16388096 -h
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/exfat_s05k_c16k_b16k.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=618496 (302 MiB), num_partitions=1
/hd0/1: fs=exfat, start=2048 (1 MiB), length=614400 (300 MiB)
+1 -1
View File
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/exfat_s05k_c16k_b16k.qcow2 hd0 -c 524288
ls70 /hd0/1/dir_0 -f 0 -c 0
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/exfat_s05k_c8k_b8k.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=618496 (302 MiB), num_partitions=1
/hd0/1: fs=exfat, start=2048 (1 MiB), length=614400 (300 MiB)
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/exfat_s05k_c8k_b8k.qcow2 hd0 -c 524288
stat70 /hd0/1/dir_000
+1 -1
View File
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/>
/> get_keyboard_mode
keyboard_mode: 0 - ASCII
+1 -1
View File
@@ -1,4 +1,4 @@
umka_init
umka_init shell
get_keyboard_mode
get_keyboard_lang
+1 -1
View File
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/>
/> get_mouse_pos_screen
x y: 200 150
+1 -1
View File
@@ -1,4 +1,4 @@
umka_init
umka_init shell
get_mouse_pos_screen
get_mouse_pos_window
+1 -1
View File
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> #set_mouse_pos_screen 40 30
/> ramdisk_init ../img/kolibri.raw
/rd: sector_size=512, capacity=2880 (1440 kiB), num_partitions=1
+1 -1
View File
@@ -1,4 +1,4 @@
umka_init
umka_init shell
#set_mouse_pos_screen 40 30
ramdisk_init ../img/kolibri.raw
set_skin /sys/DEFAULT.SKN
+1 -1
View File
@@ -1,3 +1,3 @@
umka_init
umka_init shell
check_for_event
check_for_event
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/>
/> ramdisk_init ../img/kolibri.raw
/rd: sector_size=512, capacity=2880 (1440 kiB), num_partitions=1
+1 -1
View File
@@ -1,4 +1,4 @@
umka_init
umka_init shell
ramdisk_init ../img/kolibri.raw
set_skin /sys/DEFAULT.SKN
+1 -1
View File
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/xfs_bigtime.qcow2 hd0 -c 0
/hd0: sector_size=512, capacity=618496 (302 MiB), num_partitions=1
/hd0/1: fs=xfs, start=2048 (1 MiB), length=614400 (300 MiB)
+1 -1
View File
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/xfs_bigtime.qcow2 hd0 -c 0
ls70 /hd0/1/
ls70 /hd0/1/dira
+1 -1
View File
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/xfs_nrext64.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=6291456 (3 GiB), num_partitions=1
/hd0/1: fs=xfs, start=2048 (1 MiB), length=6287360 (3070 MiB)
+1 -1
View File
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/xfs_nrext64.qcow2 hd0 -c 524288
stat70 /hd0/1/dir_sf
stat70 /hd0/1/dir_block
+1 -1
View File
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/xfs_lookup_v5.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=10485760 (5 GiB), num_partitions=1
/hd0/1: fs=xfs, start=2048 (1 MiB), length=10481664 (5118 MiB)
+1 -1
View File
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/xfs_lookup_v5.qcow2 hd0 -c 524288
cd /hd0/1/dir_sf
stat70 d0000000000/d0000000000
+1 -1
View File
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/xfs_lookup_v4.qcow2 hd0 -c 1048576
/hd0: sector_size=512, capacity=6291456 (3 GiB), num_partitions=1
/hd0/1: fs=xfs, start=2048 (1 MiB), length=6287360 (3070 MiB)
+1 -1
View File
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/xfs_lookup_v4.qcow2 hd0 -c 1048576
cd /hd0/1/dir_sf
stat70 d0000000000/d0000000000
+1 -1
View File
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/gpt_partitions_s05k.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=2097152 (1 GiB), num_partitions=24
/hd0/1: fs=???, start=2048 (1 MiB), length=2048 (1 MiB)
+1 -1
View File
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/gpt_partitions_s05k.qcow2 hd0 -c 524288
disk_del hd0
disk_add ../img/gpt_partitions_s4k.qcow2 hd0 -c 524288
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/ext2_s05k.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=10485760 (5 GiB), num_partitions=1
/hd0/1: fs=ext, start=2048 (1 MiB), length=10481664 (5118 MiB)
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/ext2_s05k.qcow2 hd0 -c 524288
ls70 /hd0/1/dir_a
ls70 /hd0/1/dir_b
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/ext4_s05k.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=10485760 (5 GiB), num_partitions=1
/hd0/1: fs=???, start=2048 (1 MiB), length=10481664 (5118 MiB)
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/ext4_s05k.qcow2 hd0 -c 524288
ls70 /hd0/1/dir_a
ls70 /hd0/1/dir_b
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/fat12_s05k.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=524288 (256 MiB), num_partitions=1
/hd0/1: fs=fat, start=2048 (1 MiB), length=520192 (254 MiB)
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/fat12_s05k.qcow2 hd0 -c 524288
ls70 /hd0/1/dir_a
ls70 /hd0/1/dir_b
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/fat16_s05k.qcow2 hd0 -c 524288
/hd0: sector_size=512, capacity=8388608 (4 GiB), num_partitions=1
/hd0/1: fs=fat, start=2048 (1 MiB), length=8384481 (4292854272 B)
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/fat16_s05k.qcow2 hd0 -c 524288
ls70 /hd0/1/dir_a
ls70 /hd0/1/dir_b
@@ -1,4 +1,4 @@
/> umka_init
/> umka_init shell
/> disk_add ../img/xfs_samehash_s05k.raw hd0 -c 0
/hd0: sector_size=512, capacity=2097152 (1 GiB), num_partitions=1
/hd0/1: fs=xfs, start=2048 (1 MiB), length=2093056 (1022 MiB)
@@ -1,4 +1,4 @@
umka_init
umka_init shell
disk_add ../img/xfs_samehash_s05k.raw hd0 -c 0
ls70 /hd0/1/dir_sf
ls70 /hd0/1/dir_block