Commit Graph

146 Commits

Author SHA1 Message Date
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
Laurent Vivier
9aa7430439 allow to read image file instead of /dev/cdrom 2006-09-08 22:57:36 +00:00
Laurent Vivier
91b49f5e6b Allow to define the path of the second level 2006-09-08 21:17:13 +00:00
Laurent Vivier
bcbeb89ac4 Remove unneeded check on parameters 2006-06-05 22:29:17 +00:00
Laurent Vivier
d449f26966 allow to kernel path, ramdisk path 2006-06-02 11:45:10 +00:00
Laurent Vivier
8406b30f6d Add emile_secont_set_param(), emile_get_dev_name(), and preliminary ramdisk management 2006-06-01 23:36:57 +00:00
Laurent Vivier
5d238a87d0 use emile_second_set_param() and emile_second_get_param() 2006-06-01 23:23:42 +00:00
Laurent Vivier
cf1f03dd19 change emile_scsi_get_dev() API 2006-06-01 22:19:52 +00:00
Laurent Vivier
a3f46bd6c8 modified to be able to read info from an image like from a block device 2006-05-30 21:21:31 +00:00
Laurent Vivier
e23b98e394 Allow to examine a given device 2006-05-29 22:17:46 +00:00
Laurent Vivier
dc17cc55f7 More checking on function return 2006-05-29 20:23:18 +00:00
Laurent Vivier
0b6dcf91f1 Allow to scan ATA bus, ignoring non allocated device (to jump from hda to hdc even if there is no hdb) 2006-05-29 19:10:48 +00:00
Laurent Vivier
e910ef344e correct floppy case 2005-12-12 22:14:52 +00:00
Laurent Vivier
a90a4c3e23 correct --set-hfs 2005-12-12 07:59:06 +00:00
Laurent Vivier
65e7d52cd2 Can change output on second_scsi too 2005-12-05 19:52:48 +00:00
Laurent Vivier
3f843ab7cd Add vga parameter by default in configuration 2005-12-02 00:14:48 +00:00
Laurent Vivier
7dae74d734 remove unused buffer_size 2005-12-01 22:57:33 +00:00
Laurent Vivier
364c09f440 change interface of emile_second_create_mapfile() 2005-12-01 22:16:06 +00:00