Commit Graph

163 Commits

Author SHA1 Message Date
Laurent Vivier
d7ef366023 use libconfig 2007-08-25 21:33:57 +00:00
Laurent Vivier
b9431c6cf7 emile_config_get() return -1 if tag is not found 2007-08-24 09:20:55 +00:00
Laurent Vivier
b01815f349 emile_config_read_next() return -1 on end of file 2007-08-23 19:54:27 +00:00
Laurent Vivier
3de771d453 move config variable from static to stack of main() 2007-05-12 19:31:52 +00:00
Laurent Vivier
d03d07ed11 add support for gestalid, vga, modem and printer 2007-05-12 19:28:08 +00:00
Laurent Vivier
1d732318d1 read kernel, initrd, parameters and emile information from emile.conf using functions from emile_config.c 2007-05-11 12:21:58 +00:00
Laurent Vivier
f1e93f3a84 Add emile_config.c and emile_config.h 2007-05-11 12:20:14 +00:00
Laurent Vivier
bff6076aa9 remove uneeded variable, correct return value from get_tag() 2007-05-11 12:18:27 +00:00
Laurent Vivier
09e4ba8e43 on restoring backup, rename file to .old 2007-05-09 19:26:48 +00:00
Laurent Vivier
e0cbb39f65 Add missing } 2007-05-09 19:25:55 +00:00
Laurent Vivier
592f3e2068 add kernel_map and initrd_map 2007-05-09 19:08:23 +00:00
Laurent Vivier
45e29cda8a emile_config_get() can manage many types, given by tag id 2007-05-06 23:12:29 +00:00
Laurent Vivier
10026118a2 hide map files 2007-05-06 23:03:55 +00:00
Laurent Vivier
a2cfb4a4a7 First revision 2007-05-05 22:05:43 +00:00
Laurent Vivier
49480d82b3 correct ramdisk management, rename it to initrd 2007-05-04 20:45:21 +00:00
Laurent Vivier
a1d8405965 correct flag ACTION_RAMDISK 2007-05-04 09:22:15 +00:00
Laurent Vivier
e8bdbd5e5f enable option "-r" 2007-05-04 09:19:57 +00:00
Laurent Vivier
09423e7e90 to remove warning on signedness with gcc 4, cast some parameters 2007-02-24 14:02:40 +00:00
Laurent Vivier
7be7cf61df Add -Werror 2007-02-24 14:02:11 +00:00
Laurent Vivier
479702a005 Add default pathes for first and second level, manage some error cases 2006-11-03 12:39:55 +00:00
Laurent Vivier
c44daf1cd4 correctly set second level information 2006-10-28 22:35:44 +00:00
Laurent Vivier
a4abee7327 allow to read scsi info in first level 2006-10-28 22:21:39 +00:00
Laurent Vivier
73c91de7a6 emile_first_set_param_scsi_extents() takes block size in argument 2006-10-20 17:12:30 +00:00
Laurent Vivier
c6bce62661 use a default size (64KiB) for driver partition, in block0 counts blocks in blocksize blocks 2006-10-20 07:57:29 +00:00
Laurent Vivier
5fa77b2ff2 print size of device found in block0 using blocksise blocks instead of 512 bytes blocs, correct typo 2006-10-20 07:55:27 +00:00
Laurent Vivier
e101bf5337 display driver type, correct driver signature 2006-10-18 21:57:41 +00:00
Laurent Vivier
da8b04e3b4 display driver signature 2006-10-18 18:38:47 +00:00
Laurent Vivier
60ce7c18eb Allow to not provide kernel or ramdisk 2006-10-18 18:13:35 +00:00
Laurent Vivier
656abb6c79 allow to read driver if block is given using 'blocksize' bytes unit instead of 512 bytes unit; extract only bootsize bytes from the driver partition 2006-10-16 20:03:22 +00:00
Laurent Vivier
151189f71f Create a more generic data structure for mkisofs, allows to write my own apple driver 2006-10-16 20:01:40 +00:00
Laurent Vivier
54521d6fe9 Allow to find driver if base is not in block_size but using 512 bytes block 2006-10-15 22:08:42 +00:00
Laurent Vivier
c2fa547aea correct source file for emile-mkisofs 2006-10-08 17:04:07 +00:00
Laurent Vivier
c470022639 remove definition of second driver in block0, compute some values for map of driver in 2048 block size 2006-09-24 22:59:08 +00:00
Laurent Vivier
6abf87cc0b Read driver in memory before writing it 2006-09-24 22:46:26 +00:00
Laurent Vivier
51c32ac892 Get the partition size and write all the content of the driver partition to the file 2006-09-24 22:24:02 +00:00
Laurent Vivier
c3e57818e4 Fixe temporarily size of Apple_Driver partition 2006-09-23 22:28:12 +00:00
Laurent Vivier
13c80d5e27 Set some default value found on install CD of MacOS 7.6 2006-09-23 22:13:26 +00:00
Laurent Vivier
c54484befc Display patch info 2006-09-23 22:09:08 +00:00
Laurent Vivier
7a0405a53f add iso9660:(sd3) before kernel and ramdisk path 2006-09-20 23:29:44 +00:00
Laurent Vivier
723a50c993 modify emile_second_set_param() to not check if bootblock is present, checking is moving before call 2006-09-20 23:28:53 +00:00
Laurent Vivier
2438e1a8c0 Display where second level is 2006-09-20 23:08:48 +00:00
Laurent Vivier
20bf00341d emile-mkisofs.c 2006-09-20 22:42:48 +00:00
Laurent Vivier
53f4028182 use emile_first_set_param_scsi_extents 2006-09-20 21:52:16 +00:00
Laurent Vivier
0e2fed5a0f Display driver type using hex, not dec 2006-09-20 21:51:00 +00:00
Laurent Vivier
1bb375da59 Change my email address to Laurent@lvivier.info 2006-09-15 14:55:39 +00:00
Laurent Vivier
8113b3e654 allow to provide disk and partition on command line (like "/dev/cdrom 1" instead of "/dev/hdc1" 2006-09-13 21:33:49 +00:00
Laurent Vivier
9d5ff84740 Check map can be opened 2006-09-13 20:39:55 +00:00
Laurent Vivier
b0838c149a base is given using block size of 2048 (ISO9660), but SCSI uses block size of 512, so base is multiplicated by 4 2006-09-12 00:59:59 +00:00
Laurent Vivier
916b8de203 allow to set manually blocks to load for second 2006-09-12 00:58:31 +00:00
Laurent Vivier
5596502a8d option '-i' allows to dump start base and size of given file 2006-09-09 21:25:35 +00:00